text stringlengths 1 1.04M | language stringclasses 25 values |
|---|---|
package jp.co.future.uroborosql.mapping;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import java.time.LocalDate;
import java.time.Month;
import java.util.List;
import java.util.Optional;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import jp.co.future.uroborosql.SqlAgent;
import jp.co.future.uroborosql.UroboroSQL;
import jp.co.future.uroborosql.config.SqlConfig;
import jp.co.future.uroborosql.filter.AuditLogSqlFilter;
import jp.co.future.uroborosql.filter.SqlFilterManager;
import jp.co.future.uroborosql.mapping.annotations.Domain;
import jp.co.future.uroborosql.mapping.annotations.Table;
/**
* Mapperのサンプル実装
*
* @author ota
*/
public class ORMSampleTest {
private static SqlConfig config;
@BeforeClass
public static void setUpBeforeClass() throws Exception {
String url = "jdbc:h2:mem:ORMSampleTest;DB_CLOSE_DELAY=-1";
String user = null;
String password = null;
try (Connection conn = DriverManager.getConnection(url, user, password)) {
conn.setAutoCommit(false);
// テーブル作成
try (Statement stmt = conn.createStatement()) {
stmt.execute(
"drop table if exists test");
stmt.execute(
"create table if not exists test( id NUMERIC(4),name VARCHAR(10),age NUMERIC(5),birthday DATE,memo VARCHAR(500), primary key(id))");
}
}
config = UroboroSQL.builder(url, user, password).build();
SqlFilterManager sqlFilterManager = config.getSqlFilterManager();
sqlFilterManager.addSqlFilter(new AuditLogSqlFilter());
}
@Before
public void setUpBefore() throws Exception {
try (SqlAgent agent = config.agent()) {
agent.required(() -> {
agent.updateWith("delete from test").count();
// 準備
for (int i = 0; i < 24; i++) {
TestEntity test = new TestEntity();
test.setId(i + 1);
test.setName("name" + (i + 1));
test.setAge(20 + i);
test.setBirthday(LocalDate.of(1990, Month.of(i % 12 + 1), 1));
test.setMemo(Optional.of("memo text"));
agent.insert(test);
}
});
agent.commit();
}
}
public static class TestEntity {
private long id;
private String name;
private int age;
private LocalDate birthday;
private Optional<String> memo;
public TestEntity() {
}
public String getName() {
return name;
}
/* 他のgetterは省略 */
public void setId(final long id) {
this.id = id;
}
public void setName(final String name) {
this.name = name;
}
public void setAge(final int age) {
this.age = age;
}
public void setBirthday(final LocalDate birthday) {
this.birthday = birthday;
}
public void setMemo(final Optional<String> memo) {
this.memo = memo;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + age;
result = prime * result + (birthday == null ? 0 : birthday.hashCode());
result = prime * result + (int) (id ^ id >>> 32);
result = prime * result + (memo == null ? 0 : memo.hashCode());
result = prime * result + (name == null ? 0 : name.hashCode());
return result;
}
@Override
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
TestEntity other = (TestEntity) obj;
if (age != other.age) {
return false;
}
if (birthday == null) {
if (other.birthday != null) {
return false;
}
} else if (!birthday.equals(other.birthday)) {
return false;
}
if (id != other.id) {
return false;
}
if (memo == null) {
if (other.memo != null) {
return false;
}
} else if (!memo.equals(other.memo)) {
return false;
}
if (name == null) {
if (other.name != null) {
return false;
}
} else if (!name.equals(other.name)) {
return false;
}
return true;
}
@Override
public String toString() {
return "TestEntity [id=" + id + ", name=" + name + ", age=" + age + ", birthday=" + birthday + ", memo="
+ memo + "]";
}
}
@Test
public void testFind() throws Exception {
try (SqlAgent agent = config.agent()) {
// KEYを指定して取得
TestEntity data = agent.find(TestEntity.class, /* KEY */2).orElse(null);
assertThat(data.getName(), is("name2"));
}
}
@Test
public void testQuery() throws Exception {
try (SqlAgent agent = config.agent()) {
// 条件なし
List<TestEntity> list = agent.query(TestEntity.class).collect();
assertThat(list.size(), is(24));
// 条件あり
list = agent.query(TestEntity.class)
.equal("birthday", LocalDate.of(1990, Month.MAY, 1))
.collect();
assertThat(list.size(), is(2));
}
}
@Test
public void testInsert() throws Exception {
try (SqlAgent agent = config.agent()) {
agent.required(() -> {
// INSERT
TestEntity test = new TestEntity();
test.setId(100);
test.setName("name100");
test.setAge(20);
test.setBirthday(LocalDate.of(1990, Month.APRIL, 1));
test.setMemo(Optional.of("memo text"));
agent.insert(test);
// check
TestEntity data = agent.find(TestEntity.class, 100).orElse(null);
assertThat(data, is(test));
});
}
}
@Test
public void testUpdate() throws Exception {
try (SqlAgent agent = config.agent()) {
agent.required(() -> {
TestEntity test = agent.find(TestEntity.class, 1).orElse(null);
// UPDATE
test.setName("update!!");
agent.update(test);
// check
TestEntity data = agent.find(TestEntity.class, 1).orElse(null);
assertThat(data, is(test));
assertThat(data.getName(), is("update!!"));
});
}
}
@Test
public void testDelete() throws Exception {
try (SqlAgent agent = config.agent()) {
agent.required(() -> {
TestEntity test = agent.find(TestEntity.class, 1).orElse(null);
assertThat(test, is(not(nullValue())));
// DELETE
agent.delete(test);
// check
TestEntity data = agent.find(TestEntity.class, 1).orElse(null);
assertThat(data, is(nullValue()));
});
}
}
// Doaminを定義
@Domain(valueType = String.class, toJdbcMethod = "getName")
public static class NameDomain {
private final String name;
public NameDomain(final String name) {
this.name = name;
}
public String getName() {
return name;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + (name == null ? 0 : name.hashCode());
return result;
}
@Override
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
NameDomain other = (NameDomain) obj;
if (name == null) {
if (other.name != null) {
return false;
}
} else if (!name.equals(other.name)) {
return false;
}
return true;
}
@Override
public String toString() {
return "NameDomain [name=" + name + "]";
}
}
@Table(name = "TEST")
public static class DomainTestEntity {
private long id;
// 定義したDoaminを利用
private NameDomain name;
public DomainTestEntity() {
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + (int) (id ^ id >>> 32);
result = prime * result + (name == null ? 0 : name.hashCode());
return result;
}
@Override
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
DomainTestEntity other = (DomainTestEntity) obj;
if (id != other.id) {
return false;
}
if (name == null) {
if (other.name != null) {
return false;
}
} else if (!name.equals(other.name)) {
return false;
}
return true;
}
@Override
public String toString() {
return "DomainTestEntity [id=" + id + ", name=" + name + "]";
}
}
@Test
public void testDomain() throws Exception {
// Domainを定義したクラスを扱う
try (SqlAgent agent = config.agent()) {
agent.required(() -> {
// INSERT
DomainTestEntity test = new DomainTestEntity();
test.id = 100;
test.name = new NameDomain("name1");
agent.insert(test);
// SELECT
DomainTestEntity data = agent.find(DomainTestEntity.class, 100).orElse(null);
assertThat(data, is(test));
});
}
}
}
| java |
Climbing with a view, you just can't get enough !!
This is just the beginning of the climb !! Though it looks a bit scary at the top but you get some super talented climbers to support you and train you at the venue !! You can also hire climbing gears and rope if you want to !!
| english |
{
"extends": ["tslint-config-standard", "tslint-react"],
"rules": {
"jsx-alignment": false,
"jsx-boolean-value": [true, "never"],
"jsx-no-multiline-js": false,
"jsx-wrap-multiline": true,
"no-unused-variable": false,
"ter-indent": false,
"object-literal-shorthand": true,
"ter-arrow-body-style": true
}
}
| json |
{"PREVALENCE_BY_GENDER_AGE_YEAR":{"TRELLIS_NAME":"0-9","SERIES_NAME":"MALE","X_CALENDAR_YEAR":2013,"Y_PREVALENCE_1000PP":0.02809},"PREVALENCE_BY_MONTH":{"X_CALENDAR_MONTH":[200301,200304],"Y_PREVALENCE_1000PP":[0.00186,0.0021]},"OBS_FREQUENCY_DISTRIBUTION":{"Y_NUM_PERSONS":[0,0],"X_COUNT":[1,2]},"OBSERVATIONS_BY_TYPE":{"CONCEPT_NAME":"Observation recorded from EHR","COUNT_VALUE":172},"AGE_AT_FIRST_OCCURRENCE":{"CATEGORY":["FEMALE","MALE"],"MIN_VALUE":[1,0],"P10_VALUE":[5,3],"P25_VALUE":[22,4],"MEDIAN_VALUE":[39,7],"P75_VALUE":[51,32],"P90_VALUE":[64,57],"MAX_VALUE":[84,70]}}
| json |
Magic Hour Movie Streaming Watch Online. Magic Hour is about isolation versus intimacy. Grey (Chloe Sevigny) is married and living in a home that is bathed in beauty and warmth. But, she is imprisoned by her own isolation. Los Angeles reinforces and adds to her stagnation, but the inability to connect lives inside of her. Her isolation is such that she can only open up to her husband when they are separated by a telephone. The reveal of this short vignette is that her husband has been right outside, on the other side of the wall, the whole time and she knows it.
| english |
Heeramandi star Sharmin Segal, who recently tied knot with Aman Mehta, hosted a lavish reception in Mumbai. The event was graced by the crème de la crème of Bollywood. Let's take a closer look!
Actress Sharmin Segal, the talented niece of filmmaker Sanjay Leela Bhansali, is poised to make her mark in the OTT realm with the upcoming show Heeramandi. Besides her professional endeavors, Sharmin recently embarked on a personal milestone by tying the knot with businessman Aman Mehta in a lavish ceremony. The couple celebrated their union with a grand reception in Mumbai, attended by numerous Bollywood celebrities. Among the star-studded guest list were Sara Ali Khan, Sonakshi Sinha and her beau Zaheer Iqbal, Ranveer Singh, Aditi Rao Hydari, Sonali Bendre, and more.
The wedding reception of Sharmin Segal and Aman Mehta was a star-studded affair. Sara Ali Khan added to the glamour of the event, elegantly adorned in a stunning purple anarkali embellished with gold work. Her choice of minimal jewelry, featuring gold earrings extending up to her hair, a ring, and a charming bracelet, complemented her overall look. The diva exuded ethereal charm as she posed for the cameras, her radiant smile adding an extra touch of grace to the festivities. Take a look:
Sonakshi Sinha made a striking appearance at the event, accompanied by her partner Zaheer Iqbal. She looked absolutely captivating in a green traditional ensemble adorned with subtle gold accents, perfectly paired with a gold potli bag, necklace, and jhumkas. Zaheer, showcasing his dapper style, opted for a formal look with a tuxedo suit layered over a stylish shirt and trousers. The couple, visibly in love, confidently posed for the paparazzi.
Aditi Rao Hydari, Sonali Bendre, and Ranveer Singh graced the occasion with their distinctive styles. Aditi turned heads in a metallic Lehenga ensemble paired with elaborate danglers, radiating striking beauty. Sonali, in a fusion of western and traditional attire, looked absolutely fabulous and stole the spotlight. Ranveer Singh, making a solo entrance, exuded charm in his formal attire, showcasing his dapper appeal. Ranveer was seen with acclaimed director Sanjay Leela Bhansali as they exchanged a warm hug as the actor made an exit from the party.
All things considered, the wedding reception was a glamorous affair, with each guest contributing their unique touch of style and elegance.
NET Worth: ~ 41.7 MN USD (RS 345 cr)
| english |
<reponame>coopersystem-fsd/server
package com.rideaustin.utils;
import static com.rideaustin.service.FareTestConstants.BASE_FARE;
import static com.rideaustin.service.FareTestConstants.BOOKING_FEE;
import static com.rideaustin.service.FareTestConstants.DISTANCE_FARE;
import static com.rideaustin.service.FareTestConstants.MINIMUM_FARE;
import static com.rideaustin.service.FareTestConstants.TIME_FARE;
import static com.rideaustin.service.FareTestConstants.money;
import static com.rideaustin.service.FareTestConstants.stubCityCarType;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.closeTo;
import static org.hamcrest.Matchers.is;
import java.math.BigDecimal;
import org.joda.money.CurrencyUnit;
import org.joda.money.Money;
import org.junit.Test;
import com.rideaustin.Constants;
import com.rideaustin.model.ride.CityCarType;
import com.rideaustin.model.ride.FareDetails;
import com.rideaustin.model.ride.Ride;
public class FareUtilsTest {
private static final CityCarType CITY_CAR_TYPE = stubCityCarType().get();
@Test
public void testCalculateCityFee() {
//city fee = fare * 1%
Money result = FareUtils.calculateCityFee(money(1), CITY_CAR_TYPE);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(0.01), BigDecimal.ZERO)));
}
@Test
public void testCalculateProcessingFeeWithBigFare() {
Money result = FareUtils.calculateProcessingFee(CITY_CAR_TYPE);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(1.0), BigDecimal.ZERO)));
}
@Test
public void testCalculateProcessingFeeWithSmallFare() {
Money result = FareUtils.calculateProcessingFee(CITY_CAR_TYPE);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(1), BigDecimal.ZERO)));
}
@Test
public void testCalculateProcessingFeeWithoutCityCarType() {
Money result = FareUtils.calculateProcessingFee(null);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(1), BigDecimal.ZERO)));
}
@Test
public void testEstimateMinimumFareReturnsMinimumFareIfItsGreaterThanBase() {
//distance rate = $1.5 / mi
//time rate = $0.25 / minute
//minimum fare = $5
Money result = FareUtils.estimateNormalFare(CITY_CAR_TYPE, BigDecimal.ONE, BigDecimal.ONE);
assertThat(result.getAmount(), is(closeTo(MINIMUM_FARE.getAmount(), BigDecimal.ZERO)));
}
@Test
public void testEstimateMinimumFareReturnsBaseIfItsGreaterThanMinimum() {
//base fare = $1.5
//distance rate = $1.5 / mi
//time rate = $0.25 / minute
//minimum fare = $5
Money result = FareUtils.estimateNormalFare(CITY_CAR_TYPE, BigDecimal.TEN, BigDecimal.TEN);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(19L), BigDecimal.ZERO)));
}
@Test
public void testEstimateFare() {
Money airportFee = Money.of(CurrencyUnit.USD, BigDecimal.TEN);
BigDecimal surgeFactor = BigDecimal.valueOf(1.5);
//minimum fare = $19
//surge factor = 1.5
//city fee = fare * 1%
//booking fee = 1.5 * surge factor
//processing fee = max(fare * processingFeeRate + processingFeeFixedPart, processingFeeMinimum)
//processingFeeRate = 2.3%
//fixedPart = $0.3
//processingFeeMinimum = $1
//airport fee = $10
//fare estimate = minimum fare * surge factor + city fee + processing fee + airport fee ()
Money result = FareUtils.estimateFare(CITY_CAR_TYPE, BigDecimal.TEN, BigDecimal.TEN, surgeFactor, airportFee);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(42.16), BigDecimal.ZERO)));
}
@Test
public void testCalculateNormalFareReturnsMinimumFareIfItsGreaterThanBase() {
//distance rate = $1.5 / mi
//time rate = $0.25 / minute
//minimum fare = $5
FareDetails fareDetails = FareDetails.builder()
.minimumFare(MINIMUM_FARE)
.baseFare(BASE_FARE)
.timeFare(TIME_FARE)
.distanceFare(DISTANCE_FARE)
.build();
Money result = FareUtils.calculateNormalFare(fareDetails);
assertThat(result.getAmount(), is(closeTo(MINIMUM_FARE.getAmount(), BigDecimal.ZERO)));
}
@Test
public void testCalculateNormalFareReturnsBaseIfItsGreaterThanMinimum() {
//distance rate = $1.5 / mi
//time rate = $0.25 / minute
//minimum fare = $5
FareDetails fareDetails = FareDetails.builder()
.minimumFare(MINIMUM_FARE)
.baseFare(BASE_FARE)
.timeFare(TIME_FARE)
.distanceFare(DISTANCE_FARE.multipliedBy(5))
.build();
Money result = FareUtils.calculateNormalFare(fareDetails);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(10.5), BigDecimal.ZERO)));
}
@Test
public void testCalculateSurgeFareReturnsZeroIfSurgeFactorNotSet() {
FareDetails fareDetails = FareDetails.builder()
.subTotal(money(10d))
.bookingFee(BOOKING_FEE)
.build();
Ride ride = new Ride();
Money surgeFare = FareUtils.calculateSurgeFare(fareDetails, ride);
assertThat(surgeFare.getAmount(), is(closeTo(BigDecimal.ZERO, BigDecimal.ZERO)));
}
@Test
public void testCalculateSurgeFareReturnsZeroIfRideIsNotUnderSurge() {
FareDetails fareDetails = FareDetails.builder()
.subTotal(money(10d))
.bookingFee(BOOKING_FEE)
.build();
Ride ride = new Ride();
ride.setSurgeFactor(BigDecimal.ONE);
Money surgeFare = FareUtils.calculateSurgeFare(fareDetails, ride);
assertThat(surgeFare.getAmount(), is(closeTo(BigDecimal.ZERO, BigDecimal.ZERO)));
}
@Test
public void testCalculateSurgeFare() {
FareDetails fareDetails = FareDetails.builder()
.subTotal(MINIMUM_FARE)
.minimumFare(MINIMUM_FARE)
.baseFare(BASE_FARE)
.timeFare(TIME_FARE)
.distanceFare(DISTANCE_FARE)
.bookingFee(BOOKING_FEE)
.build();
BigDecimal surgeFactor = BigDecimal.valueOf(1.5);
Ride ride = new Ride();
ride.setSurgeFactor(surgeFactor);
Money surgeFare = FareUtils.calculateSurgeFare(fareDetails, ride);
BigDecimal expected = FareUtils.calculateNormalFare(fareDetails)
.multipliedBy(surgeFactor.subtract(BigDecimal.ONE), Constants.ROUNDING_MODE)
.getAmount();
assertThat(surgeFare.getAmount(), is(closeTo(expected, BigDecimal.ZERO)));
}
@Test
public void testCalculateSubTotal() {
FareDetails fareDetails = FareDetails.builder()
.normalFare(money(10d))
.surgeFare(money(5d))
.build();
Money result = FareUtils.calculateSubTotal(fareDetails);
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(15), BigDecimal.ZERO)));
}
@Test
public void testCalculateRoundUp() {
Money totalCharge = money(10.5);
Money roundUp = FareUtils.calculateRoundUp(totalCharge);
assertThat(roundUp.getAmount(), is(closeTo(BigDecimal.valueOf(0.5), BigDecimal.ZERO)));
}
@Test
public void testAdjustStripeChargeAmountReturnsZeroIfChargeIsLessThanMinimum() {
Money charge = Constants.MINIMUM_STRIPE_CHARGE.minus(0.01);
Money result = FareUtils.adjustStripeChargeAmount(charge);
assertThat(result.getAmount(), is(closeTo(BigDecimal.ZERO, BigDecimal.ZERO)));
}
@Test
public void testAdjustStripeChargeAmountReturnsChargeIfItsMoreThanMinimum() {
Money charge = Constants.MINIMUM_STRIPE_CHARGE.plus(0.01);
Money result = FareUtils.adjustStripeChargeAmount(charge);
assertThat(result.getAmount(), is(closeTo(charge.getAmount(), BigDecimal.ZERO)));
}
@Test
public void testCalculateRAFeeWhenSubTotalIsMinimumNoSurge() {
Money result = FareUtils.calculateRAFee(CITY_CAR_TYPE, CITY_CAR_TYPE.getMinimumFare());
assertThat(result.getAmount(), is(closeTo(BigDecimal.ZERO, BigDecimal.ZERO)));
}
@Test
public void testCalculateRAFeeWhenSubtotalIsLessThanMinimumPlusFeeNoSurge() {
Money result = FareUtils.calculateRAFee(CITY_CAR_TYPE, CITY_CAR_TYPE.getMinimumFare().plus(money(0.5)));
assertThat(result.getAmount(), is(closeTo(BigDecimal.valueOf(0.5), BigDecimal.ZERO)));
}
@Test
public void testCalculateRAFeeWhenSubtotalIsMoreThanMinimumNoSurge() {
Money subtotal = CITY_CAR_TYPE.getMinimumFare().plus(money(5));
Money result = FareUtils.calculateRAFee(CITY_CAR_TYPE, subtotal);
assertThat(result.getAmount(), is(closeTo(CITY_CAR_TYPE.getFixedRAFee().getAmount(), BigDecimal.ZERO)));
}
} | java |
<reponame>4Ykw/ecency-vision<gh_stars>10-100
import React from "react";
import {Search} from "./index";
import renderer from "react-test-renderer";
import {createBrowserHistory, createLocation} from "history";
import {initialState as trendingTags} from "../../store/trending-tags";
import {globalInstance} from "../../helper/test-helper";
const props = {
history: createBrowserHistory(),
location: createLocation({}),
global: globalInstance,
trendingTags,
fetchTrendingTags: () => {
},
};
const component = renderer.create(<Search {...props} />);
it("(1) Default render", () => {
expect(component.toJSON()).toMatchSnapshot();
});
it("(2) With query", () => {
const instance: any = component.getInstance();
instance.setState({query: "foo"});
expect(component.toJSON()).toMatchSnapshot();
});
| typescript |
Liger actor Vijay Deverakonda has embarked on a new professional journey. The actor has commenced filming for his next, titled VD 12 for now. The movie went on the floors recently in Hyderabad. Taking to his Twitter handle, Vijay Deverakonda shared a poster from the movie. The picture features him holding a gun pointed toward the camera, along with the words, “Shoot begins” written on it. The comment section of the post saw several remarks from netizens and his fans.
Jersey fame Gowtam Tinnanuri will helm the project. It also features Sree Leela as the female lead opposite Vijay Deverakonda.
With the film just going on the floors, further details about the cast and crew are still under wraps. However, as per reports, Vijay Deverakonda will be portraying the role of a police officer. If that happens, this will be his first on-screen portrayal of a police officer.
Here’s Vijay Deverakonda’s post:
Vijay Deverakonda has also joined forces with Sita Ramam actress Mrunal Thakur for another yet-to-be-titled drama. Helmed by director Parasuram Petla, the venture will be backed by the production banner Sri Venkateswara Creations.
Recently, Mrunal Thakur took to Instagram and shared some glimpses from the film's pooja ceremony.
She captioned the post, "The first step in a very exciting journey. . . It's my 1st time working with @srivenkateswaracreations and I'm really thrilled to be sharing the screen with @thedeverakonda. . . Can't wait for the shoot to begin @parasurampetla #KUMohanan @gopisundar__official #VasuVarma #DilRaju #Shirish @harshithsri @hanshithareddy"
Vasu Varma is the creative producer and KU Mohanan is in charge of cinematography. While Gopi Sunder has rendered the tunes for the drama, AS Prakash is the art director.
Additionally, Vijay Deverakonda will be seen romancing Samantha Ruth Prabhu in the much-hyped drama, Kushi. Financed by Mythri Movie Makers banner, the romantic entertainer will be reaching the silver screens on September 1. The Shiva Nirvana's directorial also stars Jayaram, Sachin Khedekar, Murali Sharma, Vennela Kishore, Lakshmi, Rohini, Ali, Rahul Ramakrishna, Srikanth Iyengar, and Sharanya Pradeep. | english |
Zach Johnson recently indicated Justin Thomas' inclusion in the upcoming Ryder Cup. While the latter currently stands in 14th rank in the US team rankings, his pick most depends on the captain.
In a tweet shared by NUCLR GOLF, Johnson spoke about potentially including Thomas in the US team for the upcoming Rome event during a Golf Subpar podcast.
"We've been communicating. I would hope that he understands and he does. Open lines, we're gonna keep the honesty train going, we're gonna leave it all out there," Zach Johnson said.
Zach Johnson cleared that he had a discussion with Justin Thomas and the latter is positive about it. He also emphasized that Thomas is in consideration since he was 'great in locker room' and had been part of the team since 2017.
"I told him I don't know what's in store but he's obviously still in consideration, he's been a part of Team USA since 2017, guys wanna be around him, he's great in the locker room, and obviously what he's done inside the ropes in these cups has been well documented. His resume speaks for itself. But I also gotta look at all the other factors involved," Johnson said.
During the last event of the PGA Tour season, the 2023 Wyndham Championship, Justin Thomas shared that he would opt for a 2023 Ryder Cup spot rather than the post-season playoffs.
During a media interaction at Sedgefield Country Club, as quoted by Golfweek, Justin Thomas said:
"I want to make the Ryder Cup team so bad. I mean, it's so important to me. I mean, I legitimately would rather make the Ryder Cup than the Playoffs, which is really, really messed up to say, but it's just the truth."
The two-time PGA Championship winner highlighted that he has not been in top form in the past few months as it was in 2016.
"But because of that, I think that's why I played so poorly the last month and a half or two months. Like it's just I'm putting so much pressure on myself to play well, it's very similar to what happened to me in 2016," Thomas added.
When will Captain Zach Johnson make the US Team pick for the 2023 Ryder Cup?
With the upcoming Rome event just one and a half months away, the US team is set to announce their squad on August 29, 2023. The announcement will be made at the headquarters of the PGA of America, Frisco, Texas.
| english |
Prince Harry recently won his phone hacking lawsuit, and the judge's verdict stated that Piers Morgan was well aware of the hacks. However, Morgan has denied his involvement in the case after the judge stated that he was involved in the hacking while he was working at the Daily Mirror, as per the BBC.
As the verdict mentioned Morgan's involvement in the hacking, a video of his has also gone viral on social media platforms. The video featured Morgan speaking of a trick on how to hack a phone and listen to all the messages. He said in the video that if journalists "change their pincode, you can access their voicemails."
The video, which was shared on X (formerly Twitter) under the username BladeoftheSun, has been trending everywhere. Netizens have also shared their reactions, with a majority of them being negative, with one of them saying that Piers Morgan allowed everything to happen despite the fact that he held the position of editor.
The verdict on Prince Harry's phone hacking lawsuit came out after a trial that lasted for seven weeks. The evidence brought up during the trial allegedly proved that Piers Morgan knew that Harry's phone was being hacked. According to the BBC, the evidence presented during the trial went back to events that happened many years ago.
This included the time when he was a student in 2002, and Omid Scobie reportedly claimed that he saw Morgan having a conversation related to an article of Kylie Minogue with another journalist. Scobie said that Morgan acquired information about the article through a voicemail.
Former political editor for Mirror David Seymour stated that Morgan had a habit of lying and that he allegedly heard Piers explain phone hacking to CEO of BT Group plc, Ben Verwaayen.
Morgan once explained to the managing partner of Global Counsel, Benjamin Wegg-Prosser, the process used to acquire information regarding the alleged affair of Sven Goran-Eriksson and Ulrika Jonson. Benjamin was not present at the trial, but his statement presented in court reads:
"Mr. Morgan told me the default PIN for that network. He then explained that the default PIN numbers were well known and rarely changed, which is how mobile phone messages could be accessed remotely. He said to me, 'That was how we got the story on Sven and Ulrika', with a smile, or words to that effect."
As mentioned earlier, Piers Morgan denied his involvement in Prince Harry's phone hacking case.
The judgment in Prince Harry's phone hacking lawsuit mentioned that Piers Morgan was also aware of the hacking. After the verdict was declared by the court, Morgan addressed the allegations against him and stated:
"I want to reiterate, as I've consistanely said for many years now – I've never hacked a phone or told anybody else to hack a phone. And nobody has produced any actual evidence to prove that I did."
According to the Independent, he continued by claiming that Omid Scobie was lying and described him as a "deluded fantasist." He additionally expressed criticism towards Prince Harry and Meghan Markle's decision to step down as royals and Harry's response to the media's intervention in the lives of the royal family members.
"He talked today about the appalling behaviour of the press. But this is the guy who has repeatedly trashed his family in public for hundreds of millions of dollars even as two of its most senior and respected members were dying – his grandparents."
Piers Morgan also stated that Harry has been exposed on multiple occasions, and his real intention has been the destruction of the "British monarchy," which Morgan will never support.
| english |
// SPDX-License-Identifier: Apache-2.0
// Copyright 2018 <NAME>
package cmd
import (
"fmt"
"github.com/melato/lxdtool/op"
"github.com/spf13/cobra"
)
func profileExportCommand(t *op.ProfileExport) *cobra.Command {
cmd := &cobra.Command{}
cmd.Use = "export [flags] [profile] ..."
cmd.Short = "Export profiles"
cmd.RunE = func(cmd *cobra.Command, args []string) error {
return t.Run(args)
}
cmd.PersistentFlags().StringVarP(&t.Dir, "dir", "d", "", "export directory")
cmd.PersistentFlags().BoolVarP(&t.All, "all", "a", false, "export all profiles")
cmd.PersistentFlags().StringVarP(&t.File, "file", "f", "", "container-profile csv file")
return cmd
}
func profileImportCommand(t *op.ProfileImport) *cobra.Command {
cmd := &cobra.Command{}
cmd.Use = "import [flags] [profile-file] ..."
cmd.Short = "Create or Update profiles"
cmd.RunE = func(cmd *cobra.Command, args []string) error {
return t.ImportProfiles(args)
}
cmd.PersistentFlags().BoolVarP(&t.Update, "update", "u", false, "update existing profiles")
return cmd
}
func ProfileCommand(tool *op.Tool) *cobra.Command {
var opProfile = op.Profile{tool}
var profileCmd = &cobra.Command{
Use: "profile",
Short: "profile export, etc.",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("profile run")
},
}
var listCmd = &cobra.Command{
Use: "list",
Short: "List profile names",
Run: func(cmd *cobra.Command, args []string) {
opProfile.List()
},
}
profileCmd.AddCommand(listCmd)
var opExport = &op.ProfileExport{}
opExport.Tool = tool
profileCmd.AddCommand(profileExportCommand(opExport))
var opImport = &op.ProfileImport{}
opImport.Tool = tool
profileCmd.AddCommand(profileImportCommand(opImport))
return profileCmd
}
| go |
<reponame>amaajemyfren/data<gh_stars>100-1000
{
"copyright_text": "Creative Commons Attribution license (reuse allowed)",
"description": "Neural networks are everywhere nowadays. But while it seems everyone is\nusing them, training your first neural network can be quite a hurdle to\novercome.\n\nIn this talk I will take you by the hand, and following an example image\nclassifier I trained, I will take you through the steps of making an\nimage classifier in PyTorch. I will show you code snippets and explain\nthe more intricate parts. Also, I will tell you about my experience, and\nabout what mistakes to prevent. After this all you need to start\ntraining your first classifier is a data set!\n\nOf course I will provide a link to the full codebase at the end. The\ntalk will focus on the practical aspect of training a neural network,\nand will only touch the theoretical side very briefly. Some basic prior\nknowledge of neural networks is beneficial, but not required, to follow\nthis talk.",
"duration": 2523,
"language": "eng",
"recorded": "2019-07-10",
"related_urls": [
{
"label": "Conference schedule",
"url": "https://ep2019.europython.eu/schedule/"
},
{
"label": "slides",
"url": "https://ep2019.europython.eu/media/conference/slides/gsjFVRV-how-to-train-an-image-classifier-using-pytorch.pdf"
}
],
"speakers": [
"<NAME>"
],
"tags": [
"Deep Learning",
"Fun and Humor",
"Image Processing",
"Machine-Learning",
"Scientific Libraries (Numpy/Pandas/SciKit/...)"
],
"thumbnail_url": "https://i.ytimg.com/vi/eDRck258bnw/maxresdefault.jpg",
"title": "How to train an image classifier using PyTorch",
"videos": [
{
"type": "youtube",
"url": "https://www.youtube.com/watch?v=eDRck258bnw"
}
]
}
| json |
{
"name": "sidekickjs",
"version": "0.1.1",
"description": "Modern opinionated web backend for rapid prototyping",
"main": "dist/index.js",
"scripts": {
"test": "npx nodemon dist/test/test.js -e js --delay 300ms --watch dist/test ",
"test2": "(grep PGUSER_API_PW .env | cut -d '=' -f2 )",
"compile": "npx tsc",
"watch": "npx tsc -w",
"nodemon": "npx nodemon . -e html,js --delay 200ms --ignore custom/dist/pages/js --watch custom/dist/pages",
"test-watch": "mocha --recursive --watch",
"watch-graphql": "npx postgraphile -c postgres://sidekick_api:todoChangeMe@localhost:6543/sidekick -s mysider,sidekick --enhance-graphiql --allow-explain --default-role sidekick_public --watch --owner-connection postgres://sidekick_admin:psqlpw123@localhost:6543/sidekick --jwt-token-identifier sidekick.jwt_token --jwt-secret SECRET_FOR_JWT",
"tw-prod": "env NODE_ENV=production npx tailwindcss build resources/private/css/tw-source.css -o resources/private/css/tw-core.css",
"tw": "npx tailwindcss build resources/private/css/tw-source.css -o resources/private/css/tw-core.css"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EzzatOmar/sidekickjs.git"
},
"keywords": [],
"author": "<NAME>",
"license": "ISC",
"bugs": {
"url": "https://github.com/EzzatOmar/sidekickjs/issues"
},
"homepage": "https://github.com/EzzatOmar/sidekickjs#readme",
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/koa": "^2.11.6",
"@types/koa-router": "^7.4.1",
"@types/koa-send": "^4.1.2",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.16",
"@types/pg": "^7.14.7",
"@types/rewire": "^2.5.28",
"@types/ua-parser-js": "^0.7.35",
"chai": "^4.2.0",
"chai-immutable": "^2.1.0",
"rewire": "^5.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"dependencies": {
"@tailwindcss/forms": "^0.2.1",
"@types/koa-websocket": "^5.0.5",
"autoprefixer": "^10.1.0",
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"graphile-worker": "^0.9.0",
"handlebars": "^4.7.6",
"immutable": "^4.0.0-rc.12",
"koa": "^2.13.0",
"koa-body": "^4.2.0",
"koa-compose": "^4.1.0",
"koa-router": "^10.0.0",
"koa-send": "^5.0.1",
"koa-session2": "^2.2.10",
"koa-websocket": "^6.0.0",
"pg": "^8.5.1",
"pg-native": "^3.0.0",
"postcss": "^8.2.2",
"postgraphile": "^4.10.0",
"rate-limiter-flexible": "^2.2.1",
"tailwindcss": "^2.0.2"
}
}
| json |
A new promotional video for Scarlett Johansson's next film Black Widow was released by Marvel Studios on Monday. The special look video shows the actress on a globe-trotting mission against a masked villain.
By India Today Web Desk: Marvel Studios on Monday released a special look video of the upcoming film Black Widow starring Scarlett Johansson and Florence Pugh. The film sees Black Widow reuniting with her family to complete an unfinished business.
The 1. 30-minute video shows Natasha (Scarlett Johansson) on a run to complete a mission, and has as her adversary a masked villain. The superhero reunites with her sister (Yelena Belova), who is also a trained killer, just like Natasha.
Watch Black Widow special look here:
The new trailer is full of action sequences featuring Scarlett Johansson doing some hardcore stunts. Black Widow is the first film fully dedicated to the superhero. It is a prequel, set after the events of Captain America: Civil War and before Avengers: Infinity War and Avengers: Endgame.
Black Widow stars Stranger Things' David Harbour as Alexei Shostakov aka Red Guardian. Rachel Weisz will be seen as Melina Vostokoff, while OT Fagbenle will be seen as Taskmaster, the villain. Natasha shares a past with the Taskmaster.
Watch Black Widow first trailer here:
Johansson Scarlett has been nominated in two categories at the 92nd Academy Awards. She has received the Best Actress Oscar nomination for her performance in Marriage Story and a Best Supporting Actress nomination for Jojo Rabbit. She will be contesting against Florence Pugh, her Black Widow co-star, in the latter category.
Black Widow, directed by Cate Shortland, will be released in India on April 30, one day ahead of its US release. | english |
{
"name": "bootstrap-admin-template",
"description": "Free Admin Template Based On Twitter Bootstrap 3.x",
"version": "2.4.0",
"homepage": "https://github.com/puikinsh/Bootstrap-Admin-Template",
"author": "puikinsh (http://github.com/puikinsh)",
"repository": {
"type": "git",
"url": "git+https://github.com/puikinsh/Bootstrap-Admin-Template.git"
},
"bugs": {
"url": "https://github.com/puikinsh/Bootstrap-Admin-Template/issues"
},
"license": "MIT",
"keywords": [
"twbs",
"assemble",
"gulp",
"less",
"admin",
"template"
],
"main": "dist/core.js",
"style": "dist/main.css",
"files": [
"dist"
],
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"preinstall": "bower install",
"clean": "./node_modules/.bin/rimraf public dist",
"build": "npm run clean && ./node_modules/.bin/gulp && ./node_modules/.bin/assemble --file assemblefile.js",
"mainrtldist": "rtlcss dist/main.css dist/main.rtl.css && csso dist/main.rtl.css dist/main.rtl.min.css",
"mainrtlpublic": "rtlcss dist/main.css public/assets/css/main.rtl.css && csso dist/main.rtl.css public/assets/css/main.rtl.min.css",
"bootstraprtl": "rtlcss node_modules/bootstrap/dist/css/bootstrap.css public/assets/lib/bootstrap/css/bootstrap.rtl.css",
"bootstraprtlmin": "csso public/assets/lib/bootstrap/css/bootstrap.rtl.css public/assets/lib/bootstrap/css/bootstrap.rtl.min.css",
"rtl": "npm run mainrtldist && npm run mainrtlpublic && npm run bootstraprtl && npm run bootstraprtlmin",
"buildrtl": "npm run build && npm run rtl"
},
"devDependencies": {
"assemble": "^0.16.2",
"babel-core": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"browser-sync": "^2.13.0",
"css-flip": "^0.5.0",
"del": "^2.2.1",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
"gulp-babel": "^6.1.2",
"gulp-concat": "^2.6.0",
"gulp-cssnano": "^2.1.2",
"gulp-extname": "^0.2.2",
"gulp-format-md": "^0.1.9",
"gulp-header": "^1.8.7",
"gulp-if": "^2.0.1",
"gulp-less": "^3.1.0",
"gulp-load-plugins": "^1.2.4",
"gulp-open": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-size": "^2.1.0",
"gulp-uglify": "^1.5.4",
"handlebars-helpers": "^0.7.3",
"helper-markdown": "^0.2.1",
"helper-md": "^0.2.1",
"noty": "^2.3.8",
"rtlcss": "^2.0.6"
},
"dependencies": {
"animate.css": "^3.5.1",
"bootstrap": "^3.3.7",
"cleave.js": "^0.5.2",
"clipboard": "^1.5.12",
"font-awesome": "^4.6.3",
"fullcalendar": "^2.9.0",
"gmaps": "^0.4.24",
"jquery": "2.2.4",
"jquery-validation": "^1.15.1",
"metismenu": "^2.5.2",
"screenfull": "^3.0.0"
},
"verb": {
"toc": true,
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
]
}
}
| json |
India consolidated from where they left at Eden Gardens, Kolkata. Restricting Sri Lanka for 205 in the opening day of the second Test, they are in the driver’s seat at the moment. Trailing by 194 runs, hosts will like to get rid off the deficit soon and dictate terms from thereon. On the other hand, Sri Lanka interim head coach Nic Pothas termed the first day as ‘disappointing’ for the Lankans wherein they failed to score on a good pitch.
First session of a Test match, you try to set a base and try to bat for a long time. You try and bat for a day and a bit if you win the toss. New-ball spells are always tough and you try to blunt that. I thought India bowled well, I don’t think there were too many free balls going that we missed out on, but we adapted after lunch.
“We have to execute our plans. The wicket has got no demons. It hasn’t spun, it hasn’t seamed. There were six straight ball dismissals. Ashwin and Jadeja have got wickets bowling stump to stump. At this level you can’t be missing straight balls.
“That’s a professional environment. They are planning. They are looking forward to another series that is coming up. They have every right in their country to prepare the wickets they want. That’s what every side do.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
| english |
Oh, potty training. Sometimes it’s easy, sometimes… not so much. Parents looking for potty training tips from the experts may want to check out the Small Talk Potty Training event at the buybuyBaby story in West Edmonton Mall on Saturday, June 30. Sessions run at 10 am, 11 am, and 4 pm, and there are plenty of cool prize giveaways at each. The events are free, but please RSVP as space is limited.
Small Talk Potty Training Event:
| english |
<gh_stars>0
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from decouple import config
from django.views.decorators.cache import cache_page
@cache_page(60 * 10)
@login_required
def dashboard(request):
return render(request, 'base/index.html')
@login_required
def charts(request):
return render(request, 'charts-morris.html')
@login_required
def maps(request):
return render(request, 'maps-google.html')
@login_required
def blank(request):
return render(request, 'page-blank.html')
@login_required
def badges(request):
return render(request, 'ui-badges.html')
@login_required
def breadcrumb_pagination(request):
return render(request, 'ui-breadcrumb-pagination.html')
@login_required
def forms(request):
return render(request, 'ui-forms.html')
@login_required
def button(request):
return render(request, 'ui-button.html')
@login_required
def collapse(request):
return render(request, 'ui-collapse.html')
@login_required
def icons(request):
return render(request, 'ui-icons.html')
@login_required
def tables(request):
return render(request, 'ui-tables.html')
@login_required
def tabs(request):
return render(request, 'ui-tabs.html')
@login_required
def typography(request):
return render(request, 'ui-typography.html')
| python |
const ark = require('../../../lib/client')
const { TRANSACTION_TYPES } = require('../../../lib/constants')
const feeManager = require('../../../lib/managers/fee')
const transactionBuilderTests = require('./__shared__/transaction')
let builder
beforeEach(() => {
builder = ark.getBuilder().timelockTransfer()
global.builder = builder
})
describe('Timelock Transfer Transaction', () => {
transactionBuilderTests()
it('should have its specific properties', () => {
expect(builder).toHaveProperty(
'data.type',
TRANSACTION_TYPES.TIMELOCK_TRANSFER,
)
expect(builder).toHaveProperty(
'data.fee',
feeManager.get(TRANSACTION_TYPES.TIMELOCK_TRANSFER),
)
expect(builder).toHaveProperty('data.amount', 0)
expect(builder).toHaveProperty('data.recipientId', null)
expect(builder).toHaveProperty('data.senderPublicKey', null)
expect(builder).toHaveProperty('data.timelockType', 0x00)
expect(builder).toHaveProperty('data.timelock', null)
})
describe('timelock', () => {
it('establishes the time lock', () => {
builder.timelock('time lock')
expect(builder.data.timelock).toBe('time lock')
})
it('establishes the time lock type', () => {
builder.timelock(null, 'time lock type')
expect(builder.data.timelockType).toBe('time lock type')
})
})
describe('vendorField', () => {
it('should set the vendorField', () => {
const data = 'dummy'
builder.vendorField(data)
expect(builder.data.vendorField).toBe(data)
})
})
})
| javascript |
package pl.fhframework.fhPersistence.conversation;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;
import pl.fhframework.core.session.scope.SessionScope;
import pl.fhframework.fhPersistence.transaction.ConversationStatelessManagerImpl;
import pl.fhframework.SessionManager;
import javax.annotation.PostConstruct;
/**
* Created by pawel.ruta on 2018-03-19.
*/
@Component
@Scope(scopeName = SessionScope.SESSION_SCOPE, proxyMode = ScopedProxyMode.INTERFACES)
public class ConversationManagerUtilsImpl implements ConversationManagerUtils {
@Autowired
private ApplicationContext applicationContext;
@Getter
private ConversationManager conversationManager;
@PostConstruct
public void init() {
if (SessionManager.getUserSession() != null) {
conversationManager = applicationContext.getBean(ConversationManager.class);
}
if (SessionManager.getNoUserSession() != null) {
conversationManager = new ConversationStatelessManagerImpl();
}
}
}
| java |
{
"source_article_link": "https://timesofindia.indiatimes.com/india/arun-jaitley-questions-rahuls-knowledge/articleshow/64486731.cms?&utm_source=Articleshow&utm_medium=Organic&utm_campaign=Related_Stories",
"title": "<NAME> questions Rahul's knowledge",
"date_published": "2018-06-07T05:49:11+05:30",
"source_type": "news_article",
"source_name": "timesofindia.indiatimes.com",
"image_link": [],
"article_body": "NEW DELHI: Soon after 's tirade against the Modi government in a speech in Madhya Pardesh, finance minister on Wednesday hit back, questioning the Congress President's knowledge about various national issues and ground realities. \"Every time I listen to the view of <NAME>, both inside and outside Parliament, I ask myself the same question \u2014 how much does he know? When will he know,\" Jaitley said shortly after Rahul's speech in Mandsaur, which was the seat of farmers' protests last year in the state. \"Listening to his speech delivered in today reaffirms my curiosity about the answer. Is he being inadequately briefed or is he being a little too liberal with his facts,\" Jaitley wrote. The minister gave point-by-point rebuttal to virtually each of Rahul's charges against the Modi government. Jaitley described as \"completely false\" Gandhi's accusation that PM has waived the loans of Rs 2.5 lakh crore of the 15 top industrialists. The government, he said, has not waived a single rupee due from any industrialist. The facts are to the contrary. \"Those who owed money to the banks and other creditors have been declared insolvent and removed from their companies by IBC enacted by the government. These loans were given largely during the UPA Government,\" said Jaitley, who is recovering after a kidney transplant surgery. Congress shot back at Jaitley's post, saying it reflected BJP's arrogance as it had remained \"blind\" to farm distress. \"How much does <NAME> know? ... How are empty-worded blogs an answer to betrayal of farmers by the Modi government?\" Congress spokesperson <NAME> said.",
"description": "NEW DELHI: Soon after 's tirade against the Modi government in a speech in Madhya Pardesh, finance minister on Wednesday hit back, questioning the Congress President's knowledge about various national issues and ground realities. \"Every time I listen to the view of <NAME>, both inside and outside Parliament, I ask myself the same question \u2014 how much does he know? When will he know,\" Jaitley said shortly after Rahul's speech in Mandsaur, which was the seat of farmers' protests last year in the state. \"Listening to his speech delivered in today reaffirms my curiosity about the answer. Is he being inadequately briefed or is he being a little too liberal with his facts,\" Jaitley wrote.",
"time_scraped": "2018-08-19 21:00:17.430902",
"article_id": "64486731",
"article_category": "IndiaNews",
"image_details": []
} | json |
Search results — 1025 items matching your search terms.
- Can the Matters Dealt with in the Aadhaar Act be the Objects of a Money Bill?
- Can the Aadhaar Act 2016 be Classified as a Money Bill?
- Putting Users First: How Can Privacy be Protected in Today’s Complex Mobile Ecosystem?
- 11th Meeting of Information Systems Security Sectional Committee (LITD 17)
| english |
#encode.py
#ASCII
print(ord('A'))
print(ord('a'))
print(chr(65))
#UTF-8
s = "世界,你好!"
bs = s.encode("utf-8")
print(bs)
print(bs.decode("utf-8"))
print(bs.encode("gbk")) | python |
# AspNet.Security.HandySignatur
Handy-Signatur [1] authentication provider for ASP.NET Core 2.1 [2].
:warning: Alpha, do not use in production!
## Usage
Install the NuGet package:
PM> Install-Package AspNet.Security.HandySignatur -Version 2.1.0-alpha.3
Adapt your `Startup` class to include the following:
public void ConfigureServices(IServiceCollection services)
{
// ...
services.AddAuthentication()
.AddHandySignatur(options => { options.IdentityLinkDomainIdentifier = "TODO"; });
// ...
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
// ...
app.UseAuthentication();
// ...
}
where the `IdentityLinkDomainIdentifier` is the identifier of the requesting authority in the private sector encoded as URN, see [3].
The following claims are available:
* NameIdentifier
* GivenName
* Surname
* Name
* DateOfBirth
To customize the redirect views, the `RedirectToAtrustViewCreator` and `RedirectFromAtrustViewCreator` options can be used.
## References
[1] https://www.handy-signatur.at/
[2] https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-2.1
[3] https://www.buergerkarte.at/konzept/securitylayer/spezifikation/20080220/tutorial/tutorial.html
| markdown |
<gh_stars>1-10
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.editor.colors;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.ui.ColorUtil;
import com.intellij.util.messages.Topic;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import java.awt.*;
public abstract class EditorColorsManager {
public static final Topic<EditorColorsListener> TOPIC = new Topic<>(EditorColorsListener.class, Topic.BroadcastDirection.TO_DIRECT_CHILDREN);
@NonNls public static final String DEFAULT_SCHEME_NAME = "Default";
@NonNls public static final String COLOR_SCHEME_FILE_EXTENSION = ".icls";
public static EditorColorsManager getInstance() {
return ApplicationManager.getApplication().getService(EditorColorsManager.class);
}
public abstract void addColorsScheme(@NotNull EditorColorsScheme scheme);
/**
* @deprecated Does nothing, left for API compatibility.
*/
@Deprecated
public abstract void removeAllSchemes();
public abstract EditorColorsScheme @NotNull [] getAllSchemes();
public abstract void setGlobalScheme(EditorColorsScheme scheme);
@NotNull
public abstract EditorColorsScheme getGlobalScheme();
public abstract EditorColorsScheme getScheme(@NotNull String schemeName);
public abstract boolean isDefaultScheme(EditorColorsScheme scheme);
/**
* @deprecated use {@link #TOPIC} instead
*/
@SuppressWarnings("MethodMayBeStatic")
@Deprecated
public final void addEditorColorsListener(@NotNull EditorColorsListener listener) {
ApplicationManager.getApplication().getMessageBus().connect().subscribe(TOPIC, listener);
}
/**
* @deprecated use {@link #TOPIC} instead
*/
@SuppressWarnings("MethodMayBeStatic")
@Deprecated
public final void addEditorColorsListener(@NotNull EditorColorsListener listener, @NotNull Disposable disposable) {
ApplicationManager.getApplication().getMessageBus().connect(disposable).subscribe(TOPIC, listener);
}
public abstract boolean isUseOnlyMonospacedFonts();
public abstract void setUseOnlyMonospacedFonts(boolean b);
@NotNull
public EditorColorsScheme getSchemeForCurrentUITheme() {
return getGlobalScheme();
}
public boolean isDarkEditor() {
Color bg = getGlobalScheme().getDefaultBackground();
return ColorUtil.isDark(bg);
}
/**
* Resolves a temporary link to a bundled scheme using bundled scheme's name.
* @param scheme The scheme with unresolved parent. The call will be ignored for other schemes.
* @throws com.intellij.openapi.util.InvalidDataException If a referenced scheme doesn't exist or is not read-only.
*/
public void resolveSchemeParent(@NotNull EditorColorsScheme scheme) {
}
}
| java |
A primer on the Nagorno-Karabakh (Armenia vs Azerbaijan) conflict, as it somehow is trending in India.
1/n the USSR didn't pay any heed to geography, culture, ethnic or historical precedents. Nagorno-Karabakh historically was ruled by the Kingdom of Armenia. But in the reorganization, the USSR deemed it an autonomous Oblast attached to Azerbaijan (sort of like a UT in India)
5/n who now deployed Russian combat units acting as mercs (like Pakistani army and ISI units leading Taliban assaults) by the end of 92, Armenia openly sent active combat units (till now it was a merc war) and the conflict escalated yet again.
6/n Armenia was trouncing Azerbaijan on all fronts, this provoked Turkey and Iran to mobilise and they threatened their own overt wars on tiny Armenia and Armenia slowed down the tempo of ops.
7/n Armenia stepped up its offensives and captured yet more land from Azerbaijan. A note here, from the start, Armenia fought on behalf of this republic which was said to be autonomous but in reality was a client state of the Armenians.
8/n they opened negotiations with the Republic (thus recognising it's legality) and the war began to ebb. A cease fire was signed but the fly in the ointment? Like India and Pakistan the was no peace treaty so this uncomfortable status quo continued.
9/n was a part of Azerbaijan but an independent republic comprised of a majority Armenian population and run by an elected govt which was a client state of Armenia. Which brings us to the present.
We don't know who started the war (both sides claim it was the other)
We don't know who started the war (both sides claim it was the other)
10/10 but the reason is the same. Azerbaijan wants to occupy the whole region, dismantle the republic and govern it as a province. Armenia wants the region to maintain its independence.
Russia backs Armenia and Turkey Azerbaijan.
Russia backs Armenia and Turkey Azerbaijan.
| english |
{"word":"professionally","definition":"In a professional manner or capacity; by profession or calling; in the exercise of one's profession; one employed professionally."} | json |
<reponame>MaledongGit/haoide-vscode<filename>src/settings/index.ts
import Settings from './settings';
import ExtensionSettings from './extension';
import Session from './session';
import Metadata from './metadata';
export const extensionSettings = ExtensionSettings.getInstance();
export const settings = Settings.getInstance();
export const _session = Session.getInstance();
export const metadata = Metadata.getInstance(); | typescript |
export const volume2percent = (value: number) => Math.round(value * 100)
| typescript |
SmackDown has been on FOX for over a year now and the first year has had its ups and downs. The debut of SmackDown on FOX on October 4th, 2019 was a fantastic show. On a recent episode of his podcast 83 Weeks, former Smackdown executive Eric Bischoff discussed the first SmackDown on FOX. Kofi Kingston defended the WWE Championship against Brock Lesnar on the first SmackDown on FOX.
Lesnar destroyed Kofi Kingston, ending his 180 day title reign in a matter of seconds. Following the match, former UFC star Cain Velazquez came out and attacked Lesnar.
Eric Bischoff gave his thoughts on the angle, calling it a great storyline. Bischoff also spoke about how the storyline made 'The Beast' look like a cowardly "chicken sh*t heel". Bischoff also expressed some disappointment in the shape Cain Velazquez was in at the time but added that he felt that it didn't affect the angle:
Cain Velazquez went on to face Brock Lesnar at Crown Jewel in 2019 for the WWE Championship. Brock Lesnar won the match convincingly in under 2 minutes. Velazquez ended up being released by WWE earlier this year in April. | english |
On a scale of 1 to 10, how much do you want a new phone? I always hover around 0 for the first 6 months I’ve had a handset and then over the next couple of months I rise steadily through the scale until I get to 10. I can’t get myself a new handset every 6 months, though; they cost a fortune. Even if I traded in my old one I’d still be laying out $200-300 every eight months just to make my phone feel new again.
In reality, there are plenty of things that can be done to make a phone feel new again, even if it is over two years old. Check out these tips below and you’ll be loving your little buddy again in no time.
This is the same principle that has seen you reinstalling Windows on your PC every few years. Old files and applications will clog up your device and every process will take longer to execute. Think of Usain Bolt running through a swamp and you’ll get the picture.
Google Photos is by far and away the best app for this purpose. You can set it up so it will automatically backup your photos and then, based on your settings, the app will remove old photos from your phone if they’ve already been backed up. This way you’ll always have plenty of space and your phone will run that bit quicker.
Now, if you love your current wallpaper so much you’d take it with you if you bought a new phone, don’t change it. If you’re not head over heels in love with your wallpaper, however, getting yourself a brand new one will be one of the quickest ways you can get your phone feeling fresh again. Go on, treat yourself.
Our Spanish site recently featured a whole pile of cool wallpapers, so maybe you could find a good one here.
Lack of battery power is one of the biggest frustrations people have with old phones. Especially iPhones, which only have about 5 minutes of power in them straight out the box.
Before you go running off to eBay to buy a new battery, remember that it might not be that easy swapping the batteries yourself. It might be better if you look for reputable place near you that’ll give you the screen and installation for a fixed price. I’ve seen prices of about $50 to replace the screens of phones like Samsung galaxy s5 round here. If you’ve got a cracked screen as well, you could try and get yourself a bit of discount if they’ll replace both at once.
This option may cost a little but a quick look at the price of new phones will have you laughing all the way to the bank when you see how much you’ll be saving.
This one is useful because it’ll get all your apps running a bit quicker. These days, however, updating apps is also an important security procedure. Recent events have brought to public attention modern threats like ransomware. The best defense against these is to keep all of your apps up to date with the latest security patches. If viruses or malware do get on to your phone, it’ll only make it you want a new one more.
This one may cost a little, but it will have a huge effect on how you feel about your phone. There are so many options out there as well. These days you can get cases that will protect your phone from a fall, defy gravity, and even give your phone a battery boost. In fact, it isn’t just phone cases that can make your phone feel good as new; there are so many cool accessories out there that will make your phone feel like a new friend. This one is my favorite.
So there you have a few ways to get a bit more out of your faithful old friend. If you’re like me,you’ll have a bit of an emotional attachment to your phone that will trump that innate need to consume that has been bred into all of us. Of course, sooner or later, phones need to be replaced.
Just not yet!
| english |
<reponame>christopher-burke/warmups
#!/usr/bin/env python3
"""Find the element that appears once in sorted array.
Given a sorted array A, size N, of integers; every element appears twice except for one. Find that element
in linear time complexity and without using extra memory.
Source:
https://practice.geeksforgeeks.org/problems/find-the-element-that-appears-once-in-sorted-array/0
"""
def find_unique_value(items: list):
"""Find the element that appears once in sorted array."""
unique = -1
for index, i in enumerate(items):
# Set the unique value. Continue to next i value.
if unique < 0:
unique = i
continue
# If duplicate found and next is different, reset to -1.
if unique == i and i != items[index + 1]:
unique = -1
# Since list is sorted, once unique is greater than 0
# and i is less than unique break from loop.
if unique > 0 and unique < i:
break
return unique
def main():
print(find_unique_value(
items=[1, 1, 1, 2, 2, 2, 3, 3, 4, 50, 50, 65, 65, ]))
if __name__ == "__main__":
main()
| python |
Jio Fiber data vouchers are now available starting at Rs. 101 to help subscribers increase their data allocation. The new data vouchers, which are available to Jio Fiber paid users, can be availed after signing in to the Jio website or through the MyJio app. Jio provides up to 2000GB or 2TB additional data through the data vouchers that are priced between Rs. 101 and Rs. 4,001. Unlike the existing Jio Fiber plans, the data vouchers don't carry any additional validity benefits. The new offering, however, is helpful, especially if you're about to exhaust your given data allocation.
As per the listing visible on the Jio website and MyJio app after signing in to Jio Fiber existing account, there is a total of six data vouchers that are provided under the Data Voucher section. The vouchers start at Rs. 101 that bring 20GB data quota and go up to Rs. 4,001 that include 2TB data allocation. Customers have also been provided with the Rs. 251, Rs. 501, Rs. 1,001, and Rs. 2,001 data vouchers to avail additional data benefits.
The new data vouchers provided by Jio Fiber don't make any changes to your plan validity. Similarly, you won't see any differences in terms of the download speeds of your plan.
Having said that, the addition of the data vouchers enable Jio Fiber customers to get additional data allocation -- over and above the data quota they get through their existing Jio Fiber plans.
It is also worth pointing out that Jio Fiber doesn't provide the option to carry forward your data quota to the next billing cycle. This is unlike what you'll get on ISPs such as Spectra and You Broadband that do offer data carry forward to their customers, as noted by Telecom Talk. Jio Fiber competitor and one of the leading ISPs, Bharti Airtel, also recently removed the data rollover facility for its broadband customers.
Earlier, Jio Fiber provided a 40GB free top-up voucher to persuade new customers. The telco, however, is no longer offering any free top-up data voucher.
Jio also in November spotted discontinuing the Preview Offer for new Jio Fiber customers. This was aimed to push new customers to join the service with its paid plans.
| english |
The death toll from the Sitakunda oxygen plant fire rose to seven as another person succumbed to his injuries at Chittagong Medical College Hospital (CMCH) Sunday night, police said.
"Probesh Lal Sharma, 55, of Sitakunda died at the intensive care unit of CMCH at 10:30pm. He was an operator of the oxygen plant," said Nurul Alam Ashek, in-charge of the hospital police outpost.
The other deceased were identified as Salauddin (33) of Lakshmipur, Ratan Nakrek (50) of Netrakona, Md Kader Mia (58) of Noakhali; Selim Richil (39), Shamsul Alam (65), and Md Farid (32) of Sitakunda.
The firefighting teams resumed rescue operations for the second day at Seema Oxygen in Sitakunda at 7am today.
They searched through the debris at the blast site until late evening. However, they did not find any more bodies, according to the Agrabad Control Room of the fire service.
The explosion at Seema Oxygen Plant in the Keshabpur area rocked nearby neighbourhoods Saturday, killing seven people and injuring more than 50.
Chattogram Civil Surgeon Ilias Chowdhury said the process of handing over the bodies of the deceased to their relatives was underway. "Tk 50,000 was given to the family of each deceased."
Thirty people are now receiving treatment at CMCH. They were initially given Tk7,000 each.
Also, the authorities announced Tk 200,000 in monetary aid to the family of each deceased.
Meanwhile, the Chattogram district administration formed a seven-member probe committee to investigate the fire.
The committee was asked to submit a report within five working days, Deputy Commissioner Abul Bashar Mohammed Fakhruzzaman said.
| english |
Serena Williams recently spoke about how her daughter Olympia is fearless, a state she doesn't want to upend just yet, leading the 23-time Grand Slam champion to do everything in her power to prevent the five-year-old from taking on her own fears.
The 23-time Grand Slam singles champion expanded on the topic to Meghan Markle on the latter's podcast 'Archetypes,' where she touched on the idea of fearlessness and how fear could go on a variety of levels.
"That is absolutely true. You’re fearless, like, even, you know, this is so silly because, you know, I’m a little silly, but... Like swimming, I won’t swim in the ocean, hahaha. You can't get me in the ocean now. I'm so afraid of open water like it's a joke. But, yeah, fearless, fear can go on so many different levels. When you're younger, it's like you don't think about it," Serena said.
From that tangent, Serena Williams went on to talk about her daughter Olympia's fearless nature, adding that it was an important part of parenthood, not allowing one's child to take on the parent's fears.
"Everything is such, such an amazing experience. And I see it in Olympia. I see, like, how fearless she is. And I encourage her because I'm afraid of heights. And I just be like, 'Oh, this is great'. And she, like, embraces it because I don't want her to take on my fears. And I think that's important that when you're raising a child you don't let them take on your fears," the 41-year-old.
Serena Williams also said that she thinks her daughter doesn't really know who she is or what she does, and that she hasn't yet explained to the child wexactly whyshe is as popular as she is around the globe.
"She's still young and I don't even know if she knows what I do/did/currently do, I guess. I don't know. I don’t know, I don’t know if she really even knows who I am, She’ll be like, 'Why does that person know your name?' And I’m like, 'Uh, I don’t know, what do I say to that?' But yeah, I think fearlessness is super important. I think as you grow with the experience that you get, you think of it as a wound - if you burn yourself, obviously you don't touch the fire again," Serena said.
"So you're learning behaviors that make you stop and that gives you this healthy fear – because there is a healthy fear and, you know, kind of like a godly fear as well. And it's not a bad thing. It's just a precaution that we need," she added.
| english |
<reponame>ognarb/raytracer
/**
* Copyright © 2019
* <NAME> <<EMAIL>>,
* <NAME> <<EMAIL>>,
* <NAME> <<EMAIL>>
*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the LICENSE file for more details.
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See the LICENSE
* file for more details. **/
use crate::ray::Ray;
use crate::shader::Shader;
use crate::world::World;
use nalgebra::{Unit, Vector2, Vector3};
pub struct MirrorShader {
pub initial_step: f64,
}
impl Shader for MirrorShader {
fn get_appearance_for(
&self,
intersection_pos: Vector3<f64>,
ray_dir: Vector3<f64>,
surface_normal: Vector3<f64>,
world: &World,
_surface_pos: Vector2<f64>,
recursion_depth: f64,
) -> Vector3<f64> {
if recursion_depth < 1.0 {
return Vector3::new(0.0, 0.0, 0.0);
}
let unit_normal = surface_normal.normalize();
let othogonal_part = unit_normal.dot(&-ray_dir) * unit_normal;
let mirror_ray_dir = (2.0 * othogonal_part + ray_dir).normalize();
let mirror_ray = Ray {
start: intersection_pos + mirror_ray_dir * self.initial_step,
dir: Unit::new_normalize(mirror_ray_dir),
};
world.appearance(mirror_ray, recursion_depth - 1.0)
}
}
| rust |
"use strict";
var consts_1 = require("../consts");
var favorites_manager_1 = require("../services/favorites-manager");
function register(library, apiKey) {
library.dialog('edit-favorite-location-dialog', createDialog());
}
exports.register = register;
function createDialog() {
return [
function (session, args) {
session.dialogData.args = args;
session.dialogData.toBeEditted = args.toBeEditted;
session.dialogData.args.skipDialogPrompt = true;
session.send(session.gettext(consts_1.Strings.EditFavoritePrompt, args.toBeEditted.name));
session.beginDialog('retrieve-location-dialog', session.dialogData.args);
},
function (session, results, next) {
if (results.response && results.response.place) {
var favoritesManager = new favorites_manager_1.FavoritesManager(session.userData);
var newfavoriteLocation = {
location: results.response.place,
name: session.dialogData.toBeEditted.name
};
favoritesManager.update(session.dialogData.toBeEditted, newfavoriteLocation);
session.send(session.gettext(consts_1.Strings.FavoriteEdittedConfirmation, session.dialogData.toBeEditted.name, newfavoriteLocation.location.address.formattedAddress));
session.endDialogWithResult({ response: { place: results.response.place } });
}
else {
next(results);
}
}
];
}
| javascript |
<reponame>cunningt/camel-spring-boot<filename>components-starter/camel-jt400-starter/src/main/docs/jt400.json<gh_stars>10-100
{
"groups": [
{
"name": "camel.component.jt400",
"type": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration"
},
{
"name": "camel.component.jt400.customizer",
"type": "org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration",
"sourceMethod": "getCustomizer()"
}
],
"properties": [
{
"name": "camel.component.jt400.autowired-enabled",
"type": "java.lang.Boolean",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration",
"defaultValue": true
},
{
"name": "camel.component.jt400.bridge-error-handler",
"type": "java.lang.Boolean",
"description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration",
"defaultValue": false
},
{
"name": "camel.component.jt400.connection-pool",
"type": "com.ibm.as400.access.AS400ConnectionPool",
"description": "Default connection pool used by the component. Note that this pool is lazily initialized. This is because in a scenario where the user always provides a pool, it would be wasteful for Camel to initialize and keep an idle pool. The option is a com.ibm.as400.access.AS400ConnectionPool type.",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration"
},
{
"name": "camel.component.jt400.customizer.enabled",
"type": "java.lang.Boolean",
"sourceType": "org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties"
},
{
"name": "camel.component.jt400.enabled",
"type": "java.lang.Boolean",
"description": "Whether to enable auto configuration of the jt400 component. This is enabled by default.",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration"
},
{
"name": "camel.component.jt400.lazy-start-producer",
"type": "java.lang.Boolean",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
"sourceType": "org.apache.camel.component.jt400.springboot.Jt400ComponentConfiguration",
"defaultValue": false
}
],
"hints": []
} | json |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class PaletteVisualStudio2019Base
| Krypton Component Suite 2019
BSD 3-Clause License
� Component Factory Pty Ltd, 2006-2019, All rights reserved. </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class PaletteVisualStudio2019Base
| Krypton Component Suite 2019
BSD 3-Clause License
� Component Factory Pty Ltd, 2006-2019, All rights reserved. ">
<meta name="generator" content="docfx 2.48.0.0">
<link rel="shortcut icon" href="../Krypton.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../Logo.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="ComponentFactory.Krypton.Toolkit.PaletteVisualStudio2019Base">
<h1 id="ComponentFactory_Krypton_Toolkit_PaletteVisualStudio2019Base" data-uid="ComponentFactory.Krypton.Toolkit.PaletteVisualStudio2019Base">Class PaletteVisualStudio2019Base
</h1>
<div class="markdown level0 summary"><p>Provides a base for Visual Studio 2019 palettes.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">System.MarshalByRefObject</span></div>
<div class="level2"><span class="xref">System.ComponentModel.Component</span></div>
<div class="level3"><a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html">PaletteBase</a></div>
<div class="level4"><span class="xref">PaletteVisualStudio2019Base</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_PalettePaint">PaletteBase.PalettePaint</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_AllowFormChromeChanged">PaletteBase.AllowFormChromeChanged</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_BasePaletteChanged">PaletteBase.BasePaletteChanged</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_BaseRendererChanged">PaletteBase.BaseRendererChanged</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_ButtonSpecChanged">PaletteBase.ButtonSpecChanged</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetAllowFormChrome">PaletteBase.GetAllowFormChrome()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRenderer">PaletteBase.GetRenderer()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackDraw_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackDraw(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackGraphicsHint_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackGraphicsHint(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackColor1_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackColor1(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackColor2_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackColor2(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackColorStyle_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackColorStyle(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackColorAlign_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackColorAlign(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackColorAngle_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackColorAngle(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackImage_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackImage(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackImageStyle_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackImageStyle(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBackImageAlign_ComponentFactory_Krypton_Toolkit_PaletteBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBackImageAlign(PaletteBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderDraw_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderDraw(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderDrawBorders_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderDrawBorders(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderGraphicsHint_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderGraphicsHint(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderColor1_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderColor1(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderColor2_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderColor2(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderColorStyle_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderColorStyle(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderColorAlign_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderColorAlign(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderColorAngle_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderColorAngle(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderWidth_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderWidth(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderRounding_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderRounding(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderImage_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderImage(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderImageStyle_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderImageStyle(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetBorderImageAlign_ComponentFactory_Krypton_Toolkit_PaletteBorderStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetBorderImageAlign(PaletteBorderStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentDraw_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentDraw(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentDrawFocus_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentDrawFocus(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentImageH_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentImageH(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentImageV_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentImageV(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentImageEffect_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentImageEffect(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentImageColorMap_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentImageColorMap(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentImageColorTo_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentImageColorTo(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentImageColorTransparent_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentImageColorTransparent(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextFont_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextFont(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextNewFont_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextNewFont(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextHint_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextHint(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextPrefix_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextPrefix(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextMultiLine_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextMultiLine(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextTrim_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextTrim(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextH_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextH(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextV_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextV(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextMultiLineH_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextMultiLineH(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextColor1_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextColor1(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextColor2_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextColor2(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextColorStyle_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextColorStyle(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextColorAlign_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextColorAlign(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextColorAngle_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextColorAngle(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextImage_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextImage(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextImageStyle_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextImageStyle(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentShortTextImageAlign_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentShortTextImageAlign(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextFont_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextFont(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextNewFont_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextNewFont(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextHint_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextHint(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextPrefix_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextPrefix(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextMultiLine_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextMultiLine(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextTrim_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextTrim(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextH_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextH(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextV_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextV(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextMultiLineH_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextMultiLineH(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextColor1_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextColor1(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextColor2_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextColor2(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextColorStyle_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextColorStyle(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextColorAlign_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextColorAlign(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextColorAngle_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextColorAngle(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextImage_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextImage(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextImageStyle_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextImageStyle(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentLongTextImageAlign_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentLongTextImageAlign(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentPadding_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentPadding(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContentAdjacentGap_ComponentFactory_Krypton_Toolkit_PaletteContentStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetContentAdjacentGap(PaletteContentStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetMetricInt_ComponentFactory_Krypton_Toolkit_PaletteState_ComponentFactory_Krypton_Toolkit_PaletteMetricInt_">PaletteBase.GetMetricInt(PaletteState, PaletteMetricInt)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetMetricBool_ComponentFactory_Krypton_Toolkit_PaletteState_ComponentFactory_Krypton_Toolkit_PaletteMetricBool_">PaletteBase.GetMetricBool(PaletteState, PaletteMetricBool)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetMetricPadding_ComponentFactory_Krypton_Toolkit_PaletteState_ComponentFactory_Krypton_Toolkit_PaletteMetricPadding_">PaletteBase.GetMetricPadding(PaletteState, PaletteMetricPadding)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetTreeViewImage_System_Boolean_">PaletteBase.GetTreeViewImage(Boolean)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetCheckBoxImage_System_Boolean_System_Windows_Forms_CheckState_System_Boolean_System_Boolean_">PaletteBase.GetCheckBoxImage(Boolean, CheckState, Boolean, Boolean)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRadioButtonImage_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">PaletteBase.GetRadioButtonImage(Boolean, Boolean, Boolean, Boolean)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDropDownButtonImage_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetDropDownButtonImage(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContextMenuCheckedImage">PaletteBase.GetContextMenuCheckedImage()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContextMenuIndeterminateImage">PaletteBase.GetContextMenuIndeterminateImage()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetContextMenuSubMenuImage">PaletteBase.GetContextMenuSubMenuImage()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetGalleryButtonImage_ComponentFactory_Krypton_Toolkit_PaletteRibbonGalleryButton_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetGalleryButtonImage(PaletteRibbonGalleryButton, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecIcon_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecIcon(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecImage_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetButtonSpecImage(PaletteButtonSpecStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecImageTransparentColor_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecImageTransparentColor(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecShortText_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecShortText(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecLongText_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecLongText(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecToolTipTitle_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecToolTipTitle(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecColorMap_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecColorMap(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecColorTransparent_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecColorTransparent(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecStyle_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecStyle(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecLocation_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecLocation(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecEdge_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecEdge(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetButtonSpecOrientation_ComponentFactory_Krypton_Toolkit_PaletteButtonSpecStyle_">PaletteBase.GetButtonSpecOrientation(PaletteButtonSpecStyle)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonShape">PaletteBase.GetRibbonShape()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonContextTextAlign_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonContextTextAlign(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonContextTextFont_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonContextTextFont(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonContextTextColor_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonContextTextColor(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonDisabledDark_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonDisabledDark(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonDisabledLight_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonDisabledLight(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonDropArrowLight_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonDropArrowLight(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonDropArrowDark_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonDropArrowDark(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonGroupDialogDark_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonGroupDialogDark(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonGroupDialogLight_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonGroupDialogLight(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonGroupSeparatorDark_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonGroupSeparatorDark(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonGroupSeparatorLight_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonGroupSeparatorLight(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonMinimizeBarDark_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonMinimizeBarDark(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonMinimizeBarLight_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonMinimizeBarLight(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonTabSeparatorColor_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonTabSeparatorColor(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonTabSeparatorContextColor_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonTabSeparatorContextColor(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonTextFont_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonTextFont(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonTextHint_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonTextHint(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonQATButtonDark_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonQATButtonDark(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonQATButtonLight_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonQATButtonLight(PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonBackColorStyle_ComponentFactory_Krypton_Toolkit_PaletteRibbonBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonBackColorStyle(PaletteRibbonBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonBackColor1_ComponentFactory_Krypton_Toolkit_PaletteRibbonBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonBackColor1(PaletteRibbonBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonBackColor2_ComponentFactory_Krypton_Toolkit_PaletteRibbonBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonBackColor2(PaletteRibbonBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonBackColor3_ComponentFactory_Krypton_Toolkit_PaletteRibbonBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonBackColor3(PaletteRibbonBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonBackColor4_ComponentFactory_Krypton_Toolkit_PaletteRibbonBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonBackColor4(PaletteRibbonBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonBackColor5_ComponentFactory_Krypton_Toolkit_PaletteRibbonBackStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonBackColor5(PaletteRibbonBackStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetRibbonTextColor_ComponentFactory_Krypton_Toolkit_PaletteRibbonTextStyle_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetRibbonTextColor(PaletteRibbonTextStyle, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetElementColor1_ComponentFactory_Krypton_Toolkit_PaletteElement_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetElementColor1(PaletteElement, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetElementColor2_ComponentFactory_Krypton_Toolkit_PaletteElement_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetElementColor2(PaletteElement, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetElementColor3_ComponentFactory_Krypton_Toolkit_PaletteElement_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetElementColor3(PaletteElement, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetElementColor4_ComponentFactory_Krypton_Toolkit_PaletteElement_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetElementColor4(PaletteElement, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetElementColor5_ComponentFactory_Krypton_Toolkit_PaletteElement_ComponentFactory_Krypton_Toolkit_PaletteState_">PaletteBase.GetElementColor5(PaletteElement, PaletteState)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropFeedback">PaletteBase.GetDragDropFeedback()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropSolidBack">PaletteBase.GetDragDropSolidBack()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropSolidBorder">PaletteBase.GetDragDropSolidBorder()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropSolidOpacity">PaletteBase.GetDragDropSolidOpacity()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropDockBack">PaletteBase.GetDragDropDockBack()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropDockBorder">PaletteBase.GetDragDropDockBorder()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropDockActive">PaletteBase.GetDragDropDockActive()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_GetDragDropDockInactive">PaletteBase.GetDragDropDockInactive()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_BaseFontSize">PaletteBase.BaseFontSize</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_DefineFonts">PaletteBase.DefineFonts()</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_ColorTable">PaletteBase.ColorTable</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_MergeColors_System_Drawing_Color_System_Single_System_Drawing_Color_System_Single_">PaletteBase.MergeColors(Color, Single, Color, Single)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_MergeColors_System_Drawing_Color_System_Single_System_Drawing_Color_System_Single_System_Drawing_Color_System_Single_">PaletteBase.MergeColors(Color, Single, Color, Single, Color, Single)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_FadedColor_System_Drawing_Color_">PaletteBase.FadedColor(Color)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_InputControlPadding">PaletteBase.InputControlPadding</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_OnUserPreferenceChanged_System_Object_Microsoft_Win32_UserPreferenceChangedEventArgs_">PaletteBase.OnUserPreferenceChanged(Object, UserPreferenceChangedEventArgs)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_OnPalettePaint_System_Object_ComponentFactory_Krypton_Toolkit_PaletteLayoutEventArgs_">PaletteBase.OnPalettePaint(Object, PaletteLayoutEventArgs)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_OnAllowFormChromeChanged_System_Object_System_EventArgs_">PaletteBase.OnAllowFormChromeChanged(Object, EventArgs)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_OnBasePaletteChanged_System_Object_System_EventArgs_">PaletteBase.OnBasePaletteChanged(Object, EventArgs)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_OnBaseRendererChanged_System_Object_System_EventArgs_">PaletteBase.OnBaseRendererChanged(Object, EventArgs)</a>
</div>
<div>
<a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html#ComponentFactory_Krypton_Toolkit_PaletteBase_OnButtonSpecChanged_System_Object_System_EventArgs_">PaletteBase.OnButtonSpecChanged(Object, EventArgs)</a>
</div>
<div>
<span class="xref">System.ComponentModel.Component.Dispose()</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.Dispose(System.Boolean)</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.GetService(System.Type)</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.ToString()</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.CanRaiseEvents</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.Events</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.Site</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.Container</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.DesignMode</span>
</div>
<div>
<span class="xref">System.ComponentModel.Component.Disposed</span>
</div>
<div>
<span class="xref">System.MarshalByRefObject.MemberwiseClone(System.Boolean)</span>
</div>
<div>
<span class="xref">System.MarshalByRefObject.GetLifetimeService()</span>
</div>
<div>
<span class="xref">System.MarshalByRefObject.InitializeLifetimeService()</span>
</div>
<div>
<span class="xref">System.MarshalByRefObject.CreateObjRef(System.Type)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
</div>
<h6><strong>Namespace</strong>: System.Dynamic.ExpandoObject</h6>
<h6><strong>Assembly</strong>: Krypton Toolkit.dll</h6>
<h5 id="ComponentFactory_Krypton_Toolkit_PaletteVisualStudio2019Base_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract class PaletteVisualStudio2019Base : PaletteBase, IComponent, IDisposable, IPalette</code></pre>
</div>
<h3 id="seealso">See Also</h3>
<div class="seealso">
<div><a class="xref" href="ComponentFactory.Krypton.Toolkit.PaletteBase.html">PaletteBase</a></div>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Modifications by <NAME> (aka Wagnerp) & <NAME> (aka Smurf-IV) 2017 - 2019. All rights reserved. <a href="https://github.com/Wagnerp/Krypton-NET-5.470">https://github.com/Wagnerp/Krypton-NET-5.470</a></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>
| html |
<filename>hawkbot/__main__.py
from . import bot
from configparser import ConfigParser
import sys
def get_config(filename):
config = ConfigParser()
config.read(filename)
return config
def main():
config = get_config(sys.argv[1])
bot.config = config
bot.run(config['login']['token'])
if __name__ == '__main__':
main() | python |
<gh_stars>0
require("dotenv").config();
var express = require("express");
var bodyParser = require("body-parser");
var exphbs = require("express-handlebars");
var passport = require("passport");
var db = require("./models");
var app = express();
var PORT = process.env.PORT || 3000;
// Middleware
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
app.use(express.static("public"));
app.use(express.static('public/images'));
app.use(passport.initialize());
// Handlebars
app.engine(
"handlebars",
exphbs({
defaultLayout: "main",
// helpers allows us to run
helpers: {
section: function(name, options) {
if (!this._sections) this._sections = {};
this._sections[name] = options.fn(this);
return null;
}
}
})
);
app.set("view engine", "handlebars");
// Routes
require("./routes/apiRoutes")(app);
require("./routes/htmlRoutes")(app);
var syncOptions = { force: false };
// If running a test, set syncOptions.force to true
// clearing the `testdb`
// if (process.env.NODE_ENV === "test") {
// syncOptions.force = true;
// }
// Starting the server, syncing our models ------------------------------------/
db.sequelize.sync().then(function () {
app.listen(PORT, function () {
console.log("App listening on PORT " + PORT);
});
});
module.exports = app; | javascript |
Singles are going to fall in love with someone from the opposite sex who has recently come to stay in the neighborhood. Both will be mutually attracted towards each other with their affirmative gestures! They will want to meet at a convenient place and time to express their feelings more appropriately. A beautiful relationship begins! Do not suggest your partner for enjoying sensual pleasures at the moment. It is not recommended to do so in the initial stages of your relationship. In spite of differences of opinions, married couples will have a very romantic time together this week. Some issue within the family may keep you negatively stressed.
The week seems to be excellent in terms of academic performance of students. Although, they will need to be a little patient with certain situations. Students pursuing graduation will be able to study for extended hours. They will be able to learn complicated subjects easily and their memorizing skills will be as sharp! They will remain positively motivated to achieve bright results. Students pursuing higher education will want to migrate abroad for higher studies. However, they may not be successful in acquiring an admission in a university of their choice in their first attempt. They will need to persevere and try again. They will definitely be successful!
This week should not be a problem as far as matters of your health and fitness are concerned, if you exercise certain precautions. Going to the gym for light cardiovascular exercises every morning will help you stay fit. You will need to keep your digestive system in order. Avoid junk food at all costs. Refrain from having heavy late night dinners, as this will create a severe imbalance in your biological clock and disturb your digestive system. The planet Mars seems to be moving through your twelfth house which distinctly heightens the probability of an injury due to falling from height. You need to remain careful in this regard.
The shadow planet Rahu seems to be moving through the second house, which is not good news. You will need to work really hard to increase the inflow of money. Things are certainly not going to be easy. Rahu may tempt you to adopt unethical practices of earning money quickly. Such risks often seem to be initially lucrative, but always have a disastrous end. Ganesha says, you will be able to increase your financial inflow in a very legitimate way! Be patient. Avoid unnecessary habitual shopping and keep a tight leash around unwanted expenses this week. This will ensure that you remain in a stable financial position.
Negotiations for a major deal may get delayed for some reason. Businessmen will be stressed about it. They may fear losing a very reputed customer. However, patience will have its rewards. Businessmen will be able to strike a very profitable deal around mid-week. This will eliminate all the stress and will fill them up with enthusiasm! Salaried employees will be devoid of enthusiasm due to mental frustrations. They will not be able to deliver their best. This will be because of not receiving the promotion they had been expecting since long. They will need to reinstate lost focus at all costs. Perseverance will be a driving factor for them. | english |
The country’s first cloned Assamese buffalo was born at the Central Institute for Research on Buffaloes at Hisar in Haryana, according to media reports.
The cloned calf was born on December 22 last year, according to information disclosed by the research institute only recently.
According to the experts, the calf named ‘Sach-Gaurav’ was cloned using ‘unique methods’ and was born through normal delivery to a Murrah buffalo.
Notably, the calf is also the first to be born in open field, some 100 kms from the cloning laboratory at the Hi Tech Sach Dairy Farm in Hisar, according to the research institute experts.
The Assamese buffaloes are found only in the north-eastern region and the CIRB aspires to conserve superior animals of all buffalo breeds.
The cloned calf of the Assamese buffalo weighed 54. 2 kgs and it was healthy at the time of birth showing all parametres normal.
According to scientists, the genotype of the calf was confirmed by microsatellite analysis and chromosome analysis. | english |
<reponame>StoDevX/course-data
{
"clbid": 118620,
"credits": 1.0,
"crsid": 548,
"departments": [
"GREEK"
],
"description": [
"Like the genre that it describes, the word drama is itself of Greek origin. From the treasure-trove left to us by Aeschylus, Sophocles, Euripides, Aristophanes, and Menander, students translate one or two complete plays and discuss the evolution of the Greek theater, staging, and modern interpretations. Offered alternate years. Prerequisite: GREEK 231 or equivalent."
],
"gereqs": [
"FOL-K"
],
"instructors": [
"<NAME>"
],
"level": 300,
"locations": [
"TOH 300",
"TOH 300"
],
"name": "Greek Drama",
"number": 374,
"pn": false,
"prerequisites": "GREEK 231 or equivalent.",
"revisions": [
{
"_updated": "2018-02-03T00:04:45.219194+00:00",
"prerequisites": "Prerequisite: GREEK 231 or equivalent."
}
],
"semester": 1,
"status": "O",
"term": 20181,
"times": [
"T 0120-0245PM",
"Th 0215-0335PM"
],
"type": "Research",
"year": 2018
}
| json |
// tslint:disable
// TODO: cleanup this file, it's copied as is from Angular CLI.
const resolve = require('resolve');
// Resolve dependencies within the target project.
export function resolveProjectModule(root: string, moduleName: string) {
return resolve.sync(moduleName, { basedir: root });
}
// Require dependencies within the target project.
export function requireProjectModule(root: string, moduleName: string) {
return require(resolveProjectModule(root, moduleName));
}
| typescript |
<reponame>sudhirs745/UberClone<gh_stars>1-10
package com.iramml.uberclone.GoogleAPIRoutesRequest;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class GoogleMapsAPIRequest {
@SerializedName("routes")
public ArrayList<Routes> routes;
}
| java |
<filename>19/Mündliche Frage/19-271273.json
{
"vorgangId": "271273",
"VORGANG": {
"WAHLPERIODE": "19",
"VORGANGSTYP": "Mündliche Frage",
"TITEL": "Anzahl der Abschiebungen und freiwilligen Ausreisen im Jahr 2020",
"AKTUELLER_STAND": "Beantwortet",
"SIGNATUR": "",
"GESTA_ORDNUNGSNUMMER": "",
"EU_DOK_NR": "",
"SCHLAGWORT": [
{
"_fundstelle": "true",
"__cdata": "Abschiebung"
},
"Rückführung ausreisepflichtiger Personen"
],
"ABSTRAKT": "Originaltext der Frage(n): \r\n \r\nWie viele Abschiebungen gab es im bisherigen Jahr 2020 (bitte zwischen Dublin-Überstellungen und Abschiebungen differenzieren und außerdem nach den fünf wichtigsten Zielstaaten sowie zwischen Charter- und Linienflügen aufschlüsseln), und wie viele Personen sind im bisherigen Jahr 2020 nach Kenntnis der Bundesregierung \"freiwillig\" ausgereist (bitte nach den acht wichtigsten Zielstaaten differenzieren)?"
},
"VORGANGSABLAUF": {
"VORGANGSPOSITION": [
{
"ZUORDNUNG": "BT",
"URHEBER": "Mündliche Frage ",
"FUNDSTELLE": "11.12.2020 - BT-Drucksache 19/25158, Nr. 14",
"FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/19/251/1925158.pdf"
},
{
"ZUORDNUNG": "BT",
"URHEBER": "Mündliche Frage/Schriftliche Antwort",
"FUNDSTELLE": "16.12.2020 - BT-Plenarprotokoll 19/201, S. 25292B - 25292C",
"FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btp/19/19201.pdf#P.25292",
"PERSOENLICHER_URHEBER": [
{
"VORNAME": "Ulla",
"NACHNAME": "Jelpke",
"FUNKTION": "MdB",
"FRAKTION": "DIE LINKE",
"AKTIVITAETSART": "Frage",
"SEITE": "25292B"
},
{
"VORNAME": "Volkmar",
"NACHNAME": "Vogel",
"FUNKTION": "Parl. Staatssekr.",
"RESSORT": "Bundesministerium des Innern, für Bau und Heimat",
"AKTIVITAETSART": "Antwort",
"SEITE": "25292C"
}
]
}
]
}
}
| json |
Kevin Durant had one of the best nights of his career against the New York Knicks, scoring 53 points in the Brooklyn Nets' 110-107 win on Sunday.
Durant finished just shy of his career high of 54 points, set against the Golden State Warriors in 2014. He set his career high for field-goal attempts at 19 of 37.
Durant, with six rebounds and nine assists, secured Brooklyn's third straight win by making a clutch 3-pointer over RJ Barrett with less than a minute left.
Andre Drummond, who bore witness to Durant's sizzling performance, said this on Sunday:
"It's fun to watch. It's fun to watch. It's fun to be a part of. He's the best player in the world, you know. It's real cool for me just to be a part of this and to watch him be great. "
Drummond himself had a great night, totaling 16 points and 10 rebounds, with Bruce Brown Jr. adding 15 points, seven rebounds and five assists.
Kevin Durant's uber-aggressive approach Sunday reflected the Nets' desperate need for wins. The Nets (35-33) are eighth in the Eastern Conference. Teams 7-10 go into the play-in tournament. The team that finishes sixth avoids the play-in tournament. Brooklyn, with 14 games remaining, is 3. 5 games behind the sixth-place Cleveland Cavaliers (38-29).
Since KD's return, the Nets (35-33) have gone 3-2. Irving and Durant have each produced 50-point efforts in their three-game winning streak. They also secured a 129-100 win in the much-anticipated game against the Philadelphia 76ers on Thursday. The winning streak came after a 3-17 tailspin.
Before Durant sprained his MCL, he was having an MVP-caliber season, averaging 29. 7 points per game, his highest since his 2013-14 MVP season. Durant's play-making has also seen a rise, with him averaging 5. 9 assists a game, the second-highest in career.
With Irving still only available in games outside of New York City, Durant shoulders both his and Irving's scoring burden when they play at the Barclays Arena. The unvaccinated Irving can be a spectator when the Nets play at home or in Madison Square Garden, owing to to a private-sector mandate for unvaccinated people.
Irving, then, can only play in four of Brooklyn's remaining 14 games. He is ineligible to play at Madison Square Garden on April 6.
The Nets will look to secure the majority of their wins in the absence of Irving. They will have to pin their hopes on Durant propelling them into the playoffs, steering them clear of the play-in games.
5 Times Steph Curry Was HUMILIATED On And Off The Court! | english |
Top resort-wear designer Anupamaa Dayal opened the second season of Gionee India Beach Fashion Week 2015 with her stunning 'Swayamavar' collection, dedicated to the gorgeous Indian bride on the biggest day of her life.
Beautiful sunsets, emerald fields, and riots of unruly creepers are some of the influences behind the gorgeous collection. Known for her exotic rainbow-coloured holiday wear, Anupamaa presented an ultra-glam bridal collection celebrating the free-spirited woman, who seeks timeless fashion that is also comfortable, whether during wedding ceremonies or on her honeymoon. Apart from luxurious sharara-inspired trousers and skirts fashioned after traditional lehengas, the designs also included vivid jamas and angrakhas, off-shoulder gowns, bikinis with sarongs, and ponchos with layered slit skirts.
Colors inspired by the sky and the sea and a luxurious floral theme capture the soul of this collection. Made from feather-light silks and cottons, the delicate organic fabrics are ideal for the beach bride, whether she chooses to attend events from dawn to dusk or party the night away. Particularly eye-catching were floral-print kurtas that shimmered with badla work, the striking butterfly motif on crushed-silk skirts, and saris with a profusion of prints worn with halter cholis and trendy blouses.
The collection also showcased stunning accessories and striking make-up and hair-styles. Tasseled earrings, beaded slippers and ornaments for the feet along with brightly-coloured plaits and hair highlights were perfectly complemented by the models’ exquisite silver lips that glittered under the ramp lights. | english |
<reponame>deoxxa/metlink
{
"name": "metlink",
"description": "Abstraction of the API backing Metlink's iPhone app",
"version": "0.1.1",
"author": {
"name": "<NAME>",
"email": "<EMAIL>",
"url": "http://www.fknsrs.biz/"
},
"url": "http://github.com/deoxxa/metlink",
"license" : "BSD",
"repository" : { "type":"git", "url":"git://github.com/deoxxa/metlink.git" },
"keywords" : [
"metlink",
"api"
],
"main": "./lib/metlink.js",
"dependencies": {
"request": "2.9.x"
}
}
| json |
116/7 (17. 0 ov)
119/4 (16. 1 ov)
172/7 (20. 0 ov)
157 (20. 0 ov)
Batting great Sachin Tendulkar recalled how a mongoose proved to be good omen for India in their sensational last-over win in the semifinal of Hero Cup at Eden Gardens in 1993.
Chris Jordan has been dropped for the next tour to the West Indies by England to play ODIs, and said he was working hard to get back into not only the 50-over side but also the Test outfit.
Young leg-spinner Yuzvendra Chahal said big grounds like the one at the VCA Stadium in Jamtha provides him with a chance to use flighted deliveries more in order to create a deception in the minds of the batsmen.
India will now want to level the series in the 2nd T20I as they take on England at Nagpur on Sunday.
India lost the first T20I at Kanpur by 7 wickets on Virat Kohli's captaincy debut at Kanpur.
Among the nine matches at the VCA Stadium, was a lone game featuring India, against New Zealand, that ended in defeat for the home team before they recovered to reach the semi-finals.
“Obviously, the toughest team would be Pakistan. They have been our opponents in all the three versions of the event in the finals,” Patrick Rajkumar said.
"I think the ODI series against England is the turning point of my cricketing career," said Kedar Jadhav.
The BCCI and the BCB announce the itinerary of Bangladesh Cricket Team’s Tour of India - 2017 to play One-off Paytm Test Match against India at Hyderabad.
Even as the 17-member Indian team led by Ajay Kumar Reddy gears up for the mega-event, Naik said he was confident that the youngsters will win the trophy again for the country. | english |
<reponame>Necrys/chatbot
package bot
import (
"../Config"
"../CmdProcessor"
"log"
"fmt"
)
type Context struct {
Admins map[string]bool
Waiting chan bool
Debug bool
ChatsDb *KnownChatsDB
UserLocDb *UserLocationsDB
CmdProc *cmdprocessor.CmdRegistry
HomeCtrl *SmartHomeController
}
func NewContext(cfg *config.Config) (*Context, error) {
log.Print( "NewContext" )
SetDebug( cfg.Debug )
ctx := &Context { Admins : make(map[string]bool),
Waiting : make(chan bool),
Debug : cfg.Debug,
ChatsDb : NewKnownChatsDB(),
UserLocDb : NewUserLocationsDB() }
ctx.HomeCtrl = NewSmartHomeController( cfg, ctx )
ctx.ChatsDb.LoadFromFile()
ctx.UserLocDb.LoadFromFile()
ctx.Admins[ "__thisbot__" ] = true;
return ctx, nil
}
func (this* Context) IsAdmin(UserId string) (bool) {
flag, ok := this.Admins[UserId]
if ok == false {
return false
}
return flag
}
func ( this* Context ) SayHello( s string, users []string ) () {
for _, v := range users {
ch, svc, err := this.ChatsDb.GetChatAndServiceByName( v )
if err == nil {
l, err := GetListener( svc )
if err != nil {
log.Panic( fmt.Sprintf( "%v", err ) )
continue
}
l.PushMessage( ch, fmt.Sprintf( "say %s %s", ch, s ) )
}
}
}
| go |
<filename>docs/AchillesWeb/data/achilleResult/conditions/condition_72418.json
{"PREVALENCE_BY_GENDER_AGE_YEAR":{"TRELLIS_NAME":[],"SERIES_NAME":[],"X_CALENDAR_YEAR":[],"Y_PREVALENCE_1000PP":[]},"PREVALENCE_BY_MONTH":{"X_CALENDAR_MONTH":[],"Y_PREVALENCE_1000PP":[]},"CONDITIONS_BY_TYPE":{"CONCEPT_NAME":"EHR Chief Complaint","COUNT_VALUE":41},"AGE_AT_FIRST_DIAGNOSIS":{"CATEGORY":["MALE","FEMALE"],"MIN_VALUE":[27,26],"P10_VALUE":[27,39],"P25_VALUE":[35,50],"MEDIAN_VALUE":[65,61],"P75_VALUE":[68,68],"P90_VALUE":[69,75],"MAX_VALUE":[69,86]}}
| json |
<filename>discussions/401802.json
[
{
"Id": "936216",
"ThreadId": "401802",
"Html": "\r\n<p>Hi All,</p>\r\n<p>I used this lib for the display of a component. Please take a look at</p>\r\n<p>http://dealgood.vn/index.php?option=com_goodsmanager&view=goods&id=64&sid=15&Itemid=46&tag=ao-voan-angry-bird#<span style=\"color:#ff0000\">ad-image-3</span></p>\r\n<p>When the script runs, the red post-fix of link accordingly change. For example, there 're four 4 images, which makes change of index from 1 to 4 (<span style=\"color:#ff0000\">ad-image-1,...,</span><span style=\"color:#ff0000\">ad-image-4)\r\n</span>during the loop time. So, when pressing the "Back" or "Next" button on the bar, It will turn to the previous or next image instead of coming back the previous page or next page as usual.</p>\r\n<p>How should I do to fix this bug.</p>\r\n<p>Thanks in advance to honor who help me solve this problem.</p>\r\n",
"PostedDate": "2012-11-03T20:33:28.183-07:00",
"UserRole": null,
"MarkedAsAnswerDate": null
}
] | json |
All set to wow fans with impressive performances in the upcoming film Jogira Sara Ra, Fitness icon and actress Neha Sharma's Instagram feed is a visual delight.
Netizens can not get enough of Nawazuddin Siddiqui and Neha Sharma's electrifying chemistry. They root and are manifesting for their off-screen romance as well.
Nawazuddin Siddiqui met Union Home Minister Amit Shah recently, and a photograph of their meeting was circulated on social media. According to reports, the actor paid a courtesy call. | english |
{"template":{"small":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/1.0","medium":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/2.0","large":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/3.0"},"channels":{"eusoeu7":{"title":"eusoeu7","channel_id":36036496,"link":"http://twitch.tv/eusoeu7","desc":null,"plans":{"$4.99":"22527","$9.99":"26204","$24.99":"26205"},"id":"eusoeu7","first_seen":"2017-04-15 19:55:03","badge":"https://static-cdn.jtvnw.net/badges/v1/3fa7db81-9363-47b1-a90a-12c745a45b5b/1","badge_starting":"https://static-cdn.jtvnw.net/badges/v1/3fa7db81-9363-47b1-a90a-12c745a45b5b/3","badge_3m":"https://static-cdn.jtvnw.net/badges/v1/b9dd223c-df0b-488b-861b-b91abc60b26f/3","badge_6m":"https://static-cdn.jtvnw.net/badges/v1/2088ecd4-7494-44ae-9e4e-ee310543a1f6/3","badge_12m":"https://static-cdn.jtvnw.net/badges/v1/5305c61a-547d-47b7-b7b7-ea97c27ab0c6/3","badge_24m":"https://static-cdn.jtvnw.net/badges/v1/e176e0f0-aa98-4b63-87fe-3e24ca951531/3","badges":{"0":{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/3fa7db81-9363-47b1-a90a-12c745a45b5b/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/3fa7db81-9363-47b1-a90a-12c745a45b5b/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/3fa7db81-9363-47b1-a90a-12c745a45b5b/3","description":"Subscriber","title":"Subscriber","click_action":"subscribe_to_channel","click_url":""},"3":{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/b9dd223c-df0b-488b-861b-b91abc60b26f/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/b9dd223c-df0b-488b-861b-b91abc60b26f/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/b9dd223c-df0b-488b-861b-b91abc60b26f/3","description":"3-Month Subscriber","title":"3-Month Subscriber","click_action":"subscribe_to_channel","click_url":""},"6":{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/2088ecd4-7494-44ae-9e4e-ee310543a1f6/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/2088ecd4-7494-44ae-9e4e-ee310543a1f6/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/2088ecd4-7494-44ae-9e4e-ee310543a1f6/3","description":"6-Month Subscriber","title":"6-Month Subscriber","click_action":"subscribe_to_channel","click_url":""},"12":{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/5305c61a-547d-47b7-b7b7-ea97c27ab0c6/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/5305c61a-547d-47b7-b7b7-ea97c27ab0c6/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/5305c61a-547d-47b7-b7b7-ea97c27ab0c6/3","description":"1-Year Subscriber","title":"1-Year Subscriber","click_action":"subscribe_to_channel","click_url":""},"24":{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/e176e0f0-aa98-4b63-87fe-3e24ca951531/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/e176e0f0-aa98-4b63-87fe-3e24ca951531/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/e176e0f0-aa98-4b63-87fe-3e24ca951531/3","description":"2-Year Subscriber","title":"2-Year Subscriber","click_action":"subscribe_to_channel","click_url":""}},"bits_badges":null,"cheermote1":null,"cheermote100":null,"cheermote1000":null,"cheermote5000":null,"cheermote10000":null,"set":22527,"emotes":[{"code":"v5571Sleep","image_id":163907,"set":22527},{"code":"v5571Bugues","image_id":163909,"set":22527}]}}}
| json |
<reponame>hltfbk/E3C-Corpus<gh_stars>0
{
"authors": [
{
"author": "<NAME>"
},
{
"author": "<NAME>"
}
],
"doi": "10.35371/aoem.2019.31.e2",
"publication_date": "2019-09-24",
"id": "EN111830",
"url": "https://pubmed.ncbi.nlm.nih.gov/31543963",
"source": "Annals of occupational and environmental medicine",
"source_url": "",
"licence": "CC BY",
"language": "en",
"type": "pubmed",
"description": "",
"text": "A 47-year-old right-handed man who worked for 15 years in an assembly line at an automotive manufacturing company has been diagnosed with a complete tear of right EPL tendon. We investigated the patient's occupational history in detail and evaluated the tasks ergonomically through musculoskeletal risk factors survey and job strain index (JSI) using the 22 task-related videos recorded by the patient. Three out of the 12 tasks (25%) were identified as high-risk work on the hand and wrist in the musculoskeletal risk factors survey in 2016. Among the 22 tasks analyzed by JSI, 11 tasks (50%) were evaluated as probably hazardous. In addition, he used localized vibration tools in 19 (86.4%) out of 22 tasks."
} | json |
{
"name": "API Documentation",
"description": "Full permissions on the entire API, special documentation role",
"defaultTablePermission": "A",
"defaultViewPermission": "A",
"defaultFunctionPermission": "N",
"globals": {
},
"apiVisibility": {
"table": {
"isRestricted": false,
"restrictedTo": null
},
"view": {
"isRestricted": false,
"restrictedTo": null
},
"resource": {
"isRestricted": false,
"restrictedTo": null
},
"procedure": {
"isRestricted": false,
"restrictedTo": null
},
"metatable": {
"isRestricted": false,
"restrictedTo": null
},
"function": {
"isRestricted": false,
"restrictedTo": null
}
},
"entityPermission": {
},
"functionPermission": {
}
}
| json |
<gh_stars>10-100
{
"vorgangId": "253912",
"VORGANG": {
"WAHLPERIODE": "19",
"VORGANGSTYP": "Schriftliche Frage",
"TITEL": "Förderung des Schul-, Breiten- sowie Spitzensports an Universitäten und Hochschulen ",
"AKTUELLER_STAND": "Beantwortet",
"SIGNATUR": "",
"GESTA_ORDNUNGSNUMMER": "",
"WICHTIGE_DRUCKSACHE": {
"DRS_HERAUSGEBER": "BT",
"DRS_NUMMER": "19/13638",
"DRS_TYP": "Schriftliche Fragen",
"DRS_LINK": "http://dipbt.bundestag.de:80/dip21/btd/19/136/1913638.pdf"
},
"EU_DOK_NR": "",
"SCHLAGWORT": [
"Bundesministerium für Bildung und Forschung",
"Freizeitsport",
{
"_fundstelle": "true",
"__cdata": "Hochschule"
},
"Leistungssport",
{
"_fundstelle": "true",
"__cdata": "Sport"
},
"Sportunterricht",
"Sportwissenschaft",
"Student",
"Universität"
],
"ABSTRAKT": "Originaltext der Frage(n): \r\n \r\nWelche Rolle sollte aus Sicht der Bundesregierung der Schul-, Breiten- sowie Spitzensport an Universitäten und Hochschulen spielen, und was müsste nach Auffassung des Bundesministeriums für Bildung und Forschung getan werden, damit Deutschland auch hinsichtlich des Hochschulsportes in diesen drei Facetten international zur Weltspitze gezählt werden kann? \r\n \r\nIn welcher Weise hat das Bundesministerium für Bildung und Forschung den Schul-, Breiten- und Spitzensport an den Universitäten und Hochschulen in Deutschland in der 18. Sowie 19. Wahlperiode gefördert bzw. unterstützt (bitte Art und Umfang der Aktivitäten nennen), und inwieweit teilt das Bundesministerium die in einem \"Positionspapier des Deutschen Basketball Bundes (DBB) zur Lage der Basketball-Ausbildung von Studierenden der Sportwissenschaft an Hochschulen in Deutschland\" vom 3. Juli 2019 beschriebenen Problemlagen und Forderungen?"
},
"VORGANGSABLAUF": {
"VORGANGSPOSITION": {
"ZUORDNUNG": "BT",
"URHEBER": "Schriftliche Frage/Schriftliche Antwort ",
"FUNDSTELLE": "27.09.2019 - BT-Drucksache 19/13638, Nr. 118,119",
"FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/19/136/1913638.pdf",
"PERSOENLICHER_URHEBER": [
{
"PERSON_TITEL": "Dr.",
"VORNAME": "André",
"NACHNAME": "Hahn",
"FUNKTION": "MdB",
"FRAKTION": "DIE LINKE",
"AKTIVITAETSART": "Frage"
},
{
"PERSON_TITEL": "Dr.",
"VORNAME": "Michael",
"NACHNAME": "Meister",
"FUNKTION": "Parl. Staatssekr.",
"RESSORT": "Bundesministerium für Bildung und Forschung",
"AKTIVITAETSART": "Antwort"
}
]
}
}
}
| json |
<gh_stars>0
import React from 'react';
import {Button, Form, Icon, Input} from 'antd';
import { FormComponentProps } from 'antd/lib/form';
import {MarketText} from '@src/Styles';
const FormItem = Form.Item;
interface Props extends FormComponentProps {
title: string,
hint: string
}
/**
* Simple subscription form to subscriping to different GetResponse Lists.
* Just specify the campaignToken for the list and it should work out of the box
*
*/
class MarketSubscriberForm extends React.Component<Props> {
handleSubmit = (e: Event) => {
this.props.form.validateFields((errors, _) => {
if (errors) {
e.preventDefault();
}
})
}
render() {
const { getFieldDecorator } = this.props.form;
return (<div>
<MarketText style={{fontSize: '24px', marginBottom: '30px'}}>{this.props.title}</MarketText>
<Form action="https://marketprotocol.us17.list-manage.com/subscribe/post" onSubmit={this.handleSubmit} acceptCharset="utf-8" method="post">
<input type="hidden" name="u" value="ef1f265a21b4aae9002084ee3" />
<input type="hidden" name="id" value="491f750dec" />
<FormItem>
{getFieldDecorator('email', {
rules: [
{ required: true, message: 'Please input an Email!' },
{ type: 'email', message: 'Please input a correct Email' }
],
})(
<Input
name="MERGE0"
placeholder={this.props.hint}
suffix={(
<Button className="search-btn" htmlType="submit" size="large" type="primary" style={{padding: '0 10px', height: '38px'}}>
<Icon type="arrow-right" />
</Button>
)} />
)}
</FormItem>
{/* These are the field name for these parameters in mailchimp */}
{/* <input type="text" name="MERGE1" id="MERGE1" /> */} {/*First Name*/}
{/* <input type="text" name="MERGE2" id="MERGE2" /> */} {/*Last Name*/}
</Form>
</div>);
}
}
const WrappedForm = Form.create()(MarketSubscriberForm);
export default WrappedForm;
| typescript |
<filename>commercetools-models/src/main/java/io/sphere/sdk/carts/CustomLineItemDraftImpl.java
package io.sphere.sdk.carts;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.LocalizedString;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.taxcategories.ExternalTaxRateDraft;
import io.sphere.sdk.taxcategories.TaxCategory;
import io.sphere.sdk.types.CustomFieldsDraft;
import javax.annotation.Nullable;
import javax.money.MonetaryAmount;
final class CustomLineItemDraftImpl extends Base implements CustomLineItemDraft {
private final LocalizedString name;
private final MonetaryAmount money;
private final String slug;
@Nullable
private final Reference<TaxCategory> taxCategory;
private final Long quantity;
@Nullable
private final CustomFieldsDraft custom;
@Nullable
private final ExternalTaxRateDraft externalTaxRate;
@JsonCreator
CustomLineItemDraftImpl(final LocalizedString name, final String slug, final MonetaryAmount money, @Nullable final Reference<TaxCategory> taxCategory, final Long quantity, @Nullable final CustomFieldsDraft custom, final ExternalTaxRateDraft externalTaxRate) {
this.name = name;
this.money = money;
this.slug = slug;
this.custom = custom;
this.taxCategory = taxCategory;
this.quantity = quantity;
this.externalTaxRate = externalTaxRate;
}
@Override
public LocalizedString getName() {
return name;
}
@Override
public MonetaryAmount getMoney() {
return money;
}
@Override
public String getSlug() {
return slug;
}
@Override
public Reference<TaxCategory> getTaxCategory() {
return taxCategory;
}
@Override
public Long getQuantity() {
return quantity;
}
@Nullable
@Override
public CustomFieldsDraft getCustom() {
return custom;
}
@Override
@Nullable
public ExternalTaxRateDraft getExternalTaxRate() {
return externalTaxRate;
}
}
| java |
A species of small holly tree that was last seen nearly two centuries ago and was feared extinct has been rediscovered pluckily clinging to life in an urban area in northeastern Brazil, scientists said Tuesday.
The tree, "Ilex sapiiformis," was found in the city of Igarassu, in Pernambuco state, by an expedition that spent six days combing the region in hopes of finding it, said the conservation group that backed the project, Re:wild, co-founded by Hollywood star Leonardo DiCaprio.
Better known as the Pernambuco holly, the tree was first documented in Western science by the Scottish biologist George Gardner in 1838.
His collection was the only confirmed sighting -- until March 22, when the new expedition found four of the trees on the bank of a small river in the city of Igarassu, just outside the state capital, Recife.
"It's incredible that the Pernambuco holly was rediscovered in a metropolitan area that is home to nearly six million people," Re:wild's lost species program officer, Christina Biggs, said in a statement.
"We don't often think of plants as being lost to science, because they don't move like animals, but they are every bit as integral to the ecosystems they are native to."
The team found the plants after following a trail of small white flowers characteristic of the species.
"It seemed that the world had stopped turning its gears," said expedition member Juliana Alencar.
"Nature surprises us. Finding a species that hasn't been heard of in nearly two centuries doesn't happen every day. It was an incredible moment."
The expedition leader, ecologist Gustavo Martinelli, said the group now hopes to start a breeding program for the tree.
| english |
<reponame>ShadeSoft/rocker-radio<gh_stars>1-10
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,600);
body {
background: #000;
color: #eee;
display: flex;
align-items: center;
justify-content: center;
font: 16px 'Open Sans', sans-serif;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
text-align: center;
}
img {
display: inline-block;
max-width: 250px;
width: 50vw;
}
#song-title { font-weight: 300; }
#song-artist { font-weight: 600; }
#toggle-player { cursor: pointer; } | css |
.notification {
position: fixed;
top: calc(10% + 3rem);
right: 3.5rem;
color: #fff;
padding: .5rem 3.5rem .5rem 2rem;
border-radius: .75rem;
cursor: pointer;
}
.notification.error {
background-color: rgba(255, 0, 0, .6);
}
.notification.warning {
background-color: rgba(255, 165, 0, .7);
}
.notification.success {
background-color: rgba(0, 255, 0, .5);
}
.notification.info {
background-color: rgba(0, 0, 0, .3);
}
.notification-message {
letter-spacing: 1px;
}
.notification-close {
position: absolute;
top: 20px;
right: 20px;
font-size: 1.3rem;
}
@media (max-width: 600px) {
.notification {
right: 1rem;
}
} | css |
No, Madhuri Dixit is not making her comeback with Zoya Akhtar's film. Nor is she staging a comeback with an Indra Kumar production [Madhuri and director Indra Kumar have delivered hits in DIL, BETA, RAJA].
Madhuri's comeback vehicle will be directed by Somnath Sen and produced by Kavita Munjal, the team that made the Dimple Kapadia starrer LEELA. It'll be a Hindi film, with usage of English, wherever necessary, Kavita tells me.
Here's some exclusive info on the project Remember, you got the facts on IndiaFM first. Over to producer Kavita Munjal [Lemontree Films].
# Madhuri's co-star: We are currently talking to Amitabh Bachchan. We've had preliminary discussions with him, but haven't signed him yet. If all goes well, Amit-ji and Madhuri will be teamed for the first time.
# Will it star more names?: The film will star two more heroes and one more heroine. We've had discussions with Fardeen Khan and Karan Nath. But, again, no one has been confirmed yet.
# When will the project roll?: We have Madhuri's dates from August 2004 onwards. So we will have to roll in the month of August for sure. The film will be shot in Mumbai completely and should be ready for release by the end of the year. It will be Madhuri's first release after DEVDAS.
# What's the film all about? The story has two layers - one, comedy of errors and two, the generational drama. The story is penned by T.V. Narayan, while the screenplay is by T.V. Narayan and Somnath Sen jointly.
# Co-producers? We're in negotiations with Manmohan Shetty's Entertainment One to co-produce the film. The paperwork is still on.
Catch us for latest Bollywood News, New Bollywood Movies update, Box office collection, New Movies Release , Bollywood News Hindi, Entertainment News, Bollywood Live News Today & Upcoming Movies 2024 and stay updated with latest hindi movies only on Bollywood Hungama.
| english |
<filename>test/fixtures/util.css
.is-selector {
/* [PASS] -restyle--is-selector(.test): true */
/* [PASS] -restyle--is-selector-js(.test): true */
/* [PASS] -restyle--is-selector(#test): true */
/* [PASS] -restyle--is-selector-js(#test): true */
/* [PASS] -restyle--is-selector(%test): false */
/* [PASS] -restyle--is-selector-js(%test): false */
/* [PASS] -restyle--is-selector(test): false */
/* [PASS] -restyle--is-selector-js(test): false */
/* [PASS] -restyle--is-selector(& test): true */
/* [PASS] -restyle--is-selector-js(& test): true */
/* [PASS] -restyle--is-selector(> test): true */
/* [PASS] -restyle--is-selector-js(> test): true */
/* [PASS] -restyle--is-selector(test a): true */
/* [PASS] -restyle--is-selector-js(test a): true */
/* [PASS] -restyle--is-selector(test{foo}): false */
/* [PASS] -restyle--is-selector-js(test{foo}): false */ }
.get-directive {
/* [PASS] -restyle--get-directive(@restyle.foo): foo */
/* [PASS] -restyle--get-directive-js(@restyle.foo): foo */
/* [PASS] -restyle--get-directive(foo): false */
/* [PASS] -restyle--get-directive-js(foo): false */
/* [PASS] -restyle--get-directive(restyle-foo): foo */
/* [PASS] -restyle--get-directive-js(restyle-foo): foo */ }
.normalize-property {
/* [PASS] -restyle--normalize-property(test\foo): test */
/* [PASS] -restyle--normalize-property-js(test\foo): test */
/* [PASS] -restyle--normalize-property(test{foo}): test */
/* [PASS] -restyle--normalize-property-js(test{foo}): test */
/* [PASS] -restyle--normalize-property(test-foo): test-foo */
/* [PASS] -restyle--normalize-property-js(test-foo): test-foo */
/* [PASS] -restyle--normalize-property(test): test */
/* [PASS] -restyle--normalize-property-js(test): test */ }
.normalize-word {
/* [PASS] -restyle--normalize-word-js(yellow): yellow */ }
| css |
'use strict'
const WebRTCStar = require('libp2p-webrtc-star')
const WebSockets = require('libp2p-websockets')
const Mplex = require('libp2p-mplex')
const SPDY = require('libp2p-spdy')
const SECIO = require('libp2p-secio')
const Railing = require('libp2p-railing')
const libp2p = require('libp2p')
// Find this list at: https://github.com/ipfs/js-ipfs/blob/master/src/core/runtime/config-browser.json
const bootstrapers = [
'/dns4/ams-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd',
'/dns4/sfo-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx',
'/dns4/lon-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3',
'/dns4/sfo-2.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z',
'/dns4/sfo-3.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM',
'/dns4/sgp-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu',
'/dns4/nyc-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm',
'/dns4/nyc-2.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64',
'/dns4/wss0.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmZMxNdpMkewiVZLMRxaNxUeZpDUb34pWjZ1kZvsd16Zic',
'/dns4/wss1.bootstrap.libp2p.io/tcp/443/wss/ipfs/Qmbut9Ywz9YEDrz8ySBSgWyJk41Uvm2QJPhwDJzJyGFsD6'
]
class Node extends libp2p {
constructor (peerInfo, peerBook, options) {
options = options || {}
const wstar = new WebRTCStar()
const modules = {
transport: [
wstar,
new WebSockets()
],
connection: {
muxer: [
Mplex,
SPDY
],
crypto: [SECIO]
},
discovery: [
wstar.discovery,
new Railing(bootstrapers)
]
}
super(modules, peerInfo, peerBook, options)
}
}
module.exports = Node
| javascript |
Commerce and Industry Minister Piyush Goyal on Thursday criticised the previous governments for allegedly not doing sufficient stakeholder consultations on free trade agreements, saying the India-ASEAN FTA is “most ill-conceived” and unfair to the domestic industry.Goyal also said that in the free trade agreements with Japan and Korea, India has opened its markets for the two countries, but they have not allowed Indian exports to their country.
The trade-in goods agreement came into force between the 10-member Association of Southeast Asian Nations (ASEAN) and India on January 1, 2010.Similarly, India and Japan implemented the Comprehensive Economic Partnership Agreement (CEPA) in August 2011. A similar pact with Korea was implemented in January 2010.India is seeking a review of these trade pacts.The “ASEAN agreement…(is the) most ill-conceived agreement. If anyone would have read that, it is so unfair to Indian industry,” he said here at a function of chemicals and petrochemicals industry.
The minister said that India’s exports to Japan have not grown “at all”, but imports from Japan have jumped 200 per cent.”What it (India’s exports to Japan) was 10 years ago, it is the same today with Japan…kisko fayda hua (who has got benefitted),” he said, adding “If they (UPA-government) had done stakeholders engagements and if they had understood from you (industry) all the pain points, we would not have seen this day that we are requesting them and asking them to renegotiate with us the FTA to make it more balanced, fair and equitable”.India’s exports to Japan dipped to USD 5.46 billion in 2022-23 from USD 6.17 billion in 2021-22.
However, imports have increased to USD 16.5 billion in 2022-23 from USD 14.4 billion in 2021-22.India’s exports to South Korea fell to USD 6.65 billion in 2022-23 from USD 8 billion in 2021-22. However, imports rose to USD 21.22 billion in 2022-23 from USD 17.5 billion in 2021-22.Similarly, the country’s exports to the ASEAN bloc have increased to USD 44 billion in 2022-23 from USD 42.32 billion in 2021-22. Imports too have risen to USD 87.57 billion in 2022-23 from USD 68 billion in 2021-22.The ten Asean members are Brunei, Cambodia, Indonesia, Laos, Malaysia, Myanmar, the Philippines, Singapore, Thailand and Vietnam.
The minister said the Modi government held a series of consultations with industry and other stakeholders on the Regional Comprehensive Economic Partnership (RCEP) and then decided to be out of that pact which was not in India’s interest.Further emphasising the importance of sustainability, Goyal said India’s international business will get “severely” impacted if the domestic industry is not able to commit and conform to the standards of the developed countries.He said that the Indian industry would have to be conscious about the environment and that products and processes should move towards carbon neutrality.
| english |
<gh_stars>0
import React from 'react';
export default function ListItem({ recipe }) {
return (
<article className="p-4 flex space-x-4">
<img
src={recipe.image}
alt=""
className="flex-none w-18 h-18 rounded-lg object-cover bg-gray-100"
width="144"
height="144"
/>
<div className="min-w-0 relative flex-auto sm:pr-20 lg:pr-0 xl:pr-20">
<h2 className="text-lg font-semibold text-black mb-0.5">
{recipe.title}
</h2>
<dl className="flex flex-wrap text-sm font-medium whitespace-pre">
<div>
<dt className="sr-only">Time</dt>
<dd>
<abbr title={`${recipe.time} minutes`}>{recipe.time}m</abbr>
</dd>
</div>
<div>
<dt className="sr-only">Difficulty</dt>
<dd> · {recipe.difficulty}</dd>
</div>
<div>
<dt className="sr-only">Servings</dt>
<dd> · {recipe.servings} servings</dd>
</div>
<div className="flex-none w-full mt-0.5 font-normal">
<dt className="inline">By</dt>{' '}
<dd className="inline text-black">{recipe.author}</dd>
</div>
<div className="absolute top-0 right-0 rounded-full bg-amber-50 text-amber-900 px-2 py-0.5 hidden sm:flex lg:hidden xl:flex items-center space-x-1">
<dt className="text-amber-500">
<span className="sr-only">Rating</span>
<svg width="16" height="20" fill="currentColor">
<path d="M7.05 3.691c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.372 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.539 1.118l-2.8-2.034a1 1 0 00-1.176 0l-2.8 2.034c-.783.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.363-1.118L.98 9.483c-.784-.57-.381-1.81.587-1.81H5.03a1 1 0 00.95-.69L7.05 3.69z" />
</svg>
</dt>
<dd>{recipe.rating}</dd>
</div>
</dl>
</div>
</article>
);
} | typescript |
Joseph Lewis Thomas is an American singer, songwriter and record producer. Raised in Opelika, Alabama, Joe later relocated to New Jersey. In 1992 he signed a record deal with Polygram Records. He rose to prominence after releasing his debut album Everything the following year.
Business :
Business :
Low fuel cost keeps inflation under RBI limit, more cuts expected (Roundup)
Business :
Aug factory output at 81-month low, manufacturing shrinks (Roundup)
Business :
July retail inflation softens to 3. 15% on lower fuel rates (Roundup)
National : | english |
The Punjab and Haryana High Court has decided to compulsorily retire Additional District and Sessions Judge (ADSJ) Manju Rana posted at Moga district courts after finding her previous service record not befitting her further continuation in service.
The decision was taken in the full court meeting headed by Acting Chief Justice Shiavax Jal Vazifdar and attended by other judges of the high court last week. Rana had joined as ADSJ at Moga on April 1, 2014, and was among the senior most ADSJs in the state.
As per high court official records, as many as four judicial officers in Punjab are under suspension following inquiries pending against them on the basis of complaints. These are ADSJs Asha Coundal (Amritsar) and Dr Hemant Gopal (Faridkot). Civil Judges (senior division) under suspension are Harsh Mehta (Mansa) and Ravinder Kumar Condal (Amritsar).
In Rana’s case, the high court sent a communication to the Moga District and Sessions Judge Gurpreet Singh Bakshi dated August 11 to immediately withdraw her judicial work. It is learnt that Bakshi has in turn passed an order that all the civil and criminal cases being heard by Rana would now be heard by ADSJ Gurjant Singh. Following the laid down procedure, the high court would now address a communication to the Punjab government to retire the judicial officer prematurely.
According to the rules, the high court reviews previous service record of judicial officers at three stages after they attain the age of 50, 55 and 58 years so as to weed out dead wood for maintaining high standard of efficiency and honesty in judicial service. During this exercise, integrity of the judicial officer, his/her competency and previous annual confidential reports are ascertained. | english |
{"id": 5272, "date": "2020-07-31T14:32:12.947Z", "user": "SonicMark", "post": "<p>Discount code 20% OFF on everything:<br>\n\u2013 <em><strong>20FIRSTOFF</strong></em></p>\n<p><strong>OpenVZ VPS</strong> (<a href=\"https://sonicfast.io/vps-ovz.php\" class=\"inline-onebox\" rel=\"nofollow noopener\">SonicFast - DDoS Protected OpenVZ 7 VPS</a>)</p>\n<ul>\n<li>100Gbps DDoS protection</li>\n<li>SSD Powered</li>\n<li>OpenVZ 7</li>\n</ul>\n<p><strong>KVM VPS</strong> (<a href=\"https://sonicfast.io/vps-kvm.php\" class=\"inline-onebox\" rel=\"nofollow noopener\">SonicFast - DDoS Protected VPS KVM - Windows and Linux</a>)</p>\n<ul>\n<li>100Gbps DDoS protection</li>\n<li>SSD Powered</li>\n<li>Dedicated resources</li>\n</ul>\n<p><strong>VPS Reseller</strong> (<a href=\"https://sonicfast.io/vps-reseller.php\" rel=\"nofollow noopener\">https://sonicfast.io/vps-reseller.php</a>)</p>\n<ul>\n<li>Manage your servers through control panel</li>\n<li>Build servers with custom resources</li>\n<li>OpenVZ 7 virtualized</li>\n</ul>\n<p>\u2013</p>\n<p><strong>Web Hosting</strong> (<a href=\"https://sonicfast.io/web-hosting.php\" rel=\"nofollow noopener\">https://sonicfast.io/web-hosting.php</a>)</p>\n<ul>\n<li>100% uptime</li>\n<li>UK located</li>\n<li>4 hourly backups</li>\n<li>Layer 3/4 protected</li>\n</ul>\n<p>\u2013</p>\n<p><strong>Layer 7 DDoS protection</strong> (<a href=\"https://sonicfast.io/firewall.php\" rel=\"nofollow noopener\">https://sonicfast.io/firewall.php</a>)</p>\n<ul>\n<li>Sensor-mode challenges.</li>\n<li>Multiple challenges (JS Challenge, Captcha)</li>\n<li>Based on IP reputation system</li>\n<li>WAF included</li>\n<li>Rate limit & custom rules</li>\n</ul>\n<p>For any questions,<br>\nemail: <a href=\"mailto:<EMAIL>\"><EMAIL></a><br>\nphone: +39 0915567236<br>\nwebsite: <a href=\"https://sonicfast.io/\" rel=\"nofollow noopener\">https://sonicfast.io/</a></p>"} | json |
<reponame>wujie1314520/RxJava2-_Retrofit2_GoodHttpUtils
package com.wj.goodhttp.map;
/**
* 作者:wujie on 2018/11/25 15:41
* 邮箱:<EMAIL>
* 功能:
*/
import com.wj.goodhttp.exception.ApiException;
import com.wj.goodhttp.vo.HttpResult;
import io.reactivex.annotations.NonNull;
import io.reactivex.functions.Function;
/**
* 功能:主要是捕捉服务端api返回的data——这个需要根据自己的服务端返回协议做响应处理
* 比如请求不成功,返回 {"ok":false, "errorcode":"usercode_invalid, "errormsg":"用户无效"}
* 请求成功,返回 {"ok":false, "data":...}
*/
public class HttpResultFunc<T> implements Function<HttpResult<T>, T> {
@Override
public T apply(@NonNull HttpResult<T> tHttpResult) throws Exception {
if (!tHttpResult.isOk()) {
throw new ApiException(tHttpResult.getErrormsg(), tHttpResult.getErrorcode(), tHttpResult.getData());
}
return tHttpResult.getData();
}
}
| java |
In 2023, sustainable fashion has surpassed mere trend status and solidified its place as a foundational element in the fashion industry. Historically, this industry has significantly contributed to global pollution, but a transformation is underway.
As climate change continues to shape our world, many globally recognized brands are stepping up. They are incorporating innovative and eco-friendly practices to reduce the industry's environmental footprint. This transformation isn't solely due to corporate initiatives. Consumers, more informed and conscious than ever, demand transparency, ethical practices, and accountability from brands.
Their collective voice reshapes the fashion landscape, steering it towards a more sustainable future. In response, several brands are setting exemplary standards.
Take a deep dive into the seven most sustainable fashion labels of 2023 championing this change.
Under the leadership of CEO Bjørn Gulden, Adidas has made monumental strides in its sustainability journey. Their ambitious goal for 2024 is to eliminate the use of virgin polyester, replacing it with its recycled counterpart.
Since 2015, their collaboration with 'Parley for the Oceans' has become a flagship example. This partnership is centered on the utilization of 'Parley Ocean Plastic' as an innovative alternative to virgin polyester. In 2022, Adidas impressively produced 27 million pairs of shoes using this sustainable material.
Guided by CEO Hali Borenstein, Reformation seamlessly integrates sustainability into its core ethos. The brand has introduced the 'RefScale' to meticulously measure each product's carbon and water footprint.
This not only bolsters their commitment to reducing waste, water, and energy use but also ensures complete transparency with the environmental impact of their products regularly shared with consumers.
With Ryan Gellert at its helm, Patagonia is frequently lauded as the gold standard in sustainable fashion. Their operational model emphasizes creating enduring items. Every piece of clothing, from specialized tees to hiking gear, balances superior performance with minimal environmental consequences.
With a commitment to using 98% recycled materials and a selection of FairTrade Certified and organic materials, Patagonia's eco-centric ethos is evident in every stitch.
Under the leadership of CEO Laurie Etheridge, Amour Vert adopts a holistic approach to sustainability, addressing the production process where nearly 60% of a garment's environmental impact occurs.
By forging direct alliances with mills, they have innovated the production of sustainable fabrics. This commitment starts from raw material sourcing and continues throughout the entire journey of garment production.
Driven by CEO and Co-Founder Brendan Synnott, Pact has imbibed sustainability into its core identity. Recognizing their responsibilities, Pact has championed the principles of the circular economy since its inception in 2002.
Their dedication to sustainable packaging, involving recyclable and reusable solutions, has set them apart as one of the best sustainable fashion labels in the industry.
For tentree, sustainability is the essence of their brand with the help of their CEO and Co-Founder, Derrick Emsley. Achieving carbon neutrality in 2020, tentree's mission to rejuvenate forests, especially in Indonesia, stands out.
They are transparent about their endeavors, aiming to motivate others to be part of their vision. As a certified B Corp, tentree maintains stringent standards throughout its manufacturing, ensuring human and environmental well-being.
Levi’s, the denim magnate known for its timeless products, has strategically integrated climate, consumption, and community as its foundational pillars. Charles Bergh, the CEO, made a great move for this sustainable fashion label by promoting open dialogues with consumers.
Levi's envisions fostering global change and reducing the environmental footprint of the fashion sector.
These labels represent the vanguard of the most sustainable fashion labels of 2023, leading the industry towards an eco-friendly future. Their dedication and innovative strategies highlight that fashion can be responsible, sustainable, and stylish all at once.
| english |
{
"Spase": {
"xmlns": "http://www.spase-group.org/data/schema",
"Version": "2.2.2",
"DisplayData": {
"ResourceID": "spase://VSPO/DisplayData/Ulysses/HISCALE/PLOTS",
"ResourceHeader": {
"ResourceName": "Ulysses HISCALE particle fluxes, plots",
"ReleaseDate": "2019-05-05T12:34:56Z",
"Description": "Plots of electron, proton, alpha particle and Z>2 fluxes,",
"Contact": {
"PersonID": "spase://SMWG/Person/Louis.J.Lanzerotti",
"Role": "PrincipalInvestigator"
},
"PriorID": "spase://VSPO/DisplayData/P_ULYSSES_HDR_HISCALE_UDS_PLOTS"
},
"AccessInformation": {
"RepositoryID": "spase://SMWG/Repository/ESA/ESAC/UlyssesFinalArchive",
"Availability": "Online",
"AccessRights": "Open",
"AccessURL": {
"Name": "HISCALE-LEMS plots from ESA",
"URL": "http://ufa.esac.esa.int/ufa/#plots"
},
"Format": "GIF"
},
"ProviderProcessingLevel": "CALIBRATED",
"InstrumentID": "spase://SMWG/Instrument/Ulysses/HISCALE",
"MeasurementType": [
"EnergeticParticles",
"IonComposition"
],
"TemporalDescription": {
"TimeSpan": {
"StartDate": "1990-11-14T00:00:00",
"StopDate": "2008-08-31T00:00:00"
}
},
"ObservedRegion": "Heliosphere.Outer"
}
}
} | json |
Gulfishaa is writer who delivers engaging and informative news on sports to readers of Ten Sports TV Website.
PSL 7 | The time has come for the Mega-event to kick-off!
PSL 2022 Complete Fixtures that you need to know!
| english |
{
"appenders":
[
{ "type":"console","level":"DEBUG"},
{ "type":"file", "filename": "log/http.log", "backups": 10, "maxLogSize": 10485760, "category": "http","level":"INFO" },
{ "type":"file", "filename": "log/restmanager.log", "backups": 10, "maxLogSize": 10485760, "category": "RestManager","level":"INFO" },
{ "type":"file", "filename": "log/analyticsmanager.log", "backups": 10, "maxLogSize": 10485760, "category": "AnalyticsManager","level":"INFO" }
],
"replaceConsole":true
}
| json |
In a folding test, the Motorola Razr's hinge broke after 27,000 folds.
In a folding test, the Motorola Razr's hinge broke after 27,000 folds.
Stuck on 'Quordle' #445? We'll give you the hints and tips you need (and also the answers).
Stuck on 'Quordle' #446? We'll give you the hints and tips you need (and also the answers).
Samsung is reportedly going to unveil the Galaxy XCover 6 Pro and the Galaxy Tab Active 4 Pro on July 13.
The report also states that Samsung will officially discontinue its Note series.
Samsung Galaxy A53 5G is listed on Google Play Console.
A supernova hosting galaxy.
The James Webb Telescope launches of 2023 in grand style.
Xiaomi's new flagship ticks all the boxes, and has a great camera, too.
A South Korean publication indicates that Samsung has started mass-producing the Galaxy Fold 2. Further, the leak suggests that the phone will use an ‘Ultra Thin Glass’ similar to the Z Fip.
The Galaxy M31s gets a lot right for the premium Samsung now charges for it. You get dependable camera performance with best-in-class battery life with 25W fast charging, a vibrant AMOLED display, and a sturdy plastic build. Gamers should look away though.
In the new image, a nearby dwarf galaxy shows off its features.
The Samsung Galaxy S21 Ultra will be imbibed with Galaxy Note-like super powers, allowing Samsung to take the Galaxy S series to new heights.
| english |
<gh_stars>0
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { YourCartComponent } from './your-cart.component';
describe('YourCartComponent', () => {
let component: YourCartComponent;
let fixture: ComponentFixture<YourCartComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ YourCartComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(YourCartComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
| typescript |
521 Written Answers AGRAHAYANA 19, 1903 (SAKA) Written Answers
(b) With a view to preventing thefts and pilferages of booked consignments, including wheat, the following steps are being taken:
THE DEPUTY MINISTER IN THE MINISTRIES OF RAILWAYS AND EDUCATION AND SOCIAL WELFARE AND IN THE DEPARTMENT OF PARLIAMENTARY AFFAIRS (SHRI MALLIKARJUN): (a) to (c). A representation dated 24-7-81 from the Chinsurah Railway Passengers' Association regarding stoppage of K1, K3 and K6 Katwa Locals at Chuchura was received. Of the six Katwa Locals running between Katwa and Howrah, 3 trains viz., K2, K4 & K5 are already stopping at Chuchura. Since these Katwa Locals are primarily meant for the traffic between Howrah and stations on Bandel-Katwa section, their stoppages on Bandel-Howarh section are kept to the minimum. Stoppage of more Katwa Locals at Chuchura is therefore, not desirable, especially when the passengers Bandel-Katwa section have represented several times against additional stoppages of Katwa locals on BandelHowrah section.
1. As far as possible, goods trains carrying valuable commodities including wheat are being escorted by RPF personnel.
2. All important yards, goods sheds, parcel offices, transhipment points; etc. are guarded by RPF personnel round the clock.
3. RPF personnel are also detailed on train passing duty, at engineering restrictions, vulnerable outer signals, at upgradients where trains normally slow down.
4. Crime intelligence staff collect intelligence about activities and movements of criminals and their associates within the railway employees and arrange raids for their arrest and recovery of stolen property.
5, Notorious criminals and receivers of stolen railway property are being detained under the provisions of the National Security Act.
Providing Stoppage of Katwa Locals at Chinsurah
3216. PROF. RUP CHAND PAL: Will the Minister of RAILWAYS be pleased to state:
(a) whether Government have received a representation dated 26th July, 1981 from the Chinsurah Railway Passengers' Association regarding providing stoppage of Katwa Local's at Chinsurah;
(b) if so, details thereof; and
(c) details of steps taken by the Government on the said representation?
Representation for Recognition of Minor Ports survey of India Employees Association
3217. SHRI SAMAR MUKHERJEE: Will the Minister of SHIPPING AND TRANPORT be pleased to state;
(a) whether Government have received any representation from Minor Ports Survey of Indian Employees regarding their Association;.
(b) if so, details of the said representation; and
(c) steps taken by the Government thereon?
THE MINISTER OF SHIPPING AND TRANSPORT (SHRI VEERENDRA PATIL): (a) and (b). The Minor Ports Survey Organisation Employees and Workers Association has sent a letter to the Minor Ports Survey Organisation, Bombay, for grant of recognition to it.
(c) Necessary action on the above request will be taken after receipt
| english |
{
"description": "This presentation was recorded at GOTO Amsterdam 2016\nhttp://gotoams.nl\n\n<NAME> - Spring Framework Committer\n\nABSTRACT\nSpring Boot, the new convention-over-configuration centric framework from the Spring team at Pivotal, marries Spring's flexibility with conventional, common sense defaults to [...]\n\nRead the full abstract here:\nhttp://gotocon.com/amsterdam-2016/presentation/From%20Zero%20to%20Hero%20with%20Spring%20Boot\n\nhttps://twitter.com/gotoamst\nhttps://www.facebook.com/GOTOConference\nhttp://gotocon.com",
"favorite": "0",
"length": "45:28",
"likes": "17",
"recorded": "2016-06-14",
"speakers": [
"stephane-nicoll"
],
"tags": [],
"thumbnail_url": "https://i.ytimg.com/vi/X6WcGaUKwoU/hqdefault.jpg",
"title": "From Zero to Hero with Spring Boot",
"videos": [
{
"code": "X6WcGaUKwoU",
"type": "youtube"
}
],
"views": "1321"
} | json |
Fifty-three-year-old Bhanwari Shekhawat is a second-year student at the Jhunjhunu district of Rajasthan. The housewife is pursuing her graduation from Pandit Deendayal Upadhyay University, Sikar, and has sent a much-needed message. Bhanwari from Jhunjhunu not only passed her class 12 board exam at the age of 51 but also scored the highest number in the entire Rajasthan.
She resumed her studies after 33 years to take the class 12 examination. Seeing Bhanwari’s class 12 results, her husband Surendra Singh Shekhawat was simply shocked. After scoring the highest number in the state, Bhanwari was honoured with the Meera Award.
Bhanwari had cleared her class 10 Maharashtra Board in 1986 and immediately got married and moved to Jhunjhunu.
She said that due to the unfavourable conditions at her in-laws’, she could not continue her studies but always had the urge to read and study more.
To pursue her dream, in 2019, Bhanwari filled the form from the open board and prepared for the exams while simultaneously doing household chores.
Bhanwari said that she had filled the form from the open board, but no one in the family, including her husband, believed that she would pass the examination.
“When someone was told that now at the age of 51, I am studying for class 12, people said that what will you do now, doing 12 in old age, how will you study now? Do people study at this age? I was motivated to prove everyone wrong,” Bhanwari said.
Initially, nobody in her family believed that Bhanwari would pass the exam but to everyone’s surprise, she scored the highest marks in the state. Seeing the result, Bhanwari said that she was convinced that there was no shortcut to hard work and dedication.
Following this, Bhanwari applied for graduation and has passed the first year with good marks. She is currently studying in her second year. | english |
Rocky to Affan Khader, out Caught&Bowled!! It's a buffet out there and all the bowlers are helping themselves to it. Rocky the latest beneficiary. Bowls this fuller around off stump, gets it to hold on the surface just a wee bit and Khader spoons it straight back at the bowler. Return catches don't really get any easier. Affan Khader c and b Rocky 0(3)
| english |
{
"directions": [
"Bring the red wine, orange juice, and orange zest to a boil in a small saucepan; reduce heat to medium-low and cook for 5 minutes. Pour in the maple syrup and crushed red pepper flakes. Continue cooking 5 minutes more; reduce heat to warm and keep the syrup hot.",
"Meanwhile, spread one side of each slice of bread with the softened cream cheese. Press the blueberries into the cream cheese and sandwich two pieces of bread together with the cream cheese on the inside to form the sandwiches; set aside. Beat the eggs in a mixing bowl; whisk in the milk until smooth.",
"Melt the butter in a large skillet over medium heat. Dip the sandwiches into the egg mixture allowing the egg to soak into the bread; allow excess egg to drip off. Cook the sandwiches in the hot butter until golden brown on both sides and the bread is no longer soggy, about 5 minutes per side. Serve with the hot orange maple syrup."
],
"ingredients": [
"1/4 cup red wine",
"1/2 cup orange juice",
"1/2 teaspoon grated orange zest",
"1/2 cup maple syrup",
"1 pinch crushed red pepper flakes, or to taste (optional)",
"8 slices whole wheat bread",
"1/2 cup softened cream cheese",
"1/2 cup fresh blueberries",
"4 eggs",
"1/3 cup milk",
"1/4 cup butter"
],
"language": "en-US",
"source": "allrecipes.com",
"tags": [],
"title": "Easy Blueberries And Cream French Toast Sandwich with Orange Maple Syrup",
"url": "http://allrecipes.com/recipe/172297/easy-blueberries-and-cream-french-toa/"
}
| json |
import { getErrorPromise } from 'return-style'
import { testFunction, testAsyncFunction, testIterable, testAsyncIterable } from '@test/test-fixtures'
import { eachAsync } from '@output/each-async'
import '@blackglory/jest-matchers'
describe(`
eachAsync<T>(
iterable: Iterable<T> | AsyncIterable<T>
, fn: (element: T, index: number) => unknown | PromiseLike<unknown>
): Promise<void>
`, () => {
describe(('T is PromiseLike<T>'), () => {
describe('fn is called', () => {
it('called with [element(promise),index]', async () => {
const iter = [Promise.resolve(), Promise.resolve(), Promise.resolve()]
const fn = jest.fn()
await eachAsync(iter, fn)
expect(fn).toBeCalledTimes(3)
expect(fn).nthCalledWith(1, iter[0], 0)
expect(fn).nthCalledWith(2, iter[1], 1)
expect(fn).nthCalledWith(3, iter[2], 2)
})
})
})
describe.each([
testIterable('Iterable<T>')
, testAsyncIterable('AsyncIterable<T>')
])('%s', (_, getIter) => {
describe('fn is called', () => {
it('called with [element,index]', async () => {
const iter = getIter([1, 2, 3])
const fn = jest.fn()
await eachAsync(iter, fn)
expect(fn).toBeCalledTimes(3)
expect(fn).nthCalledWith(1, 1, 0)
expect(fn).nthCalledWith(2, 2, 1)
expect(fn).nthCalledWith(3, 3, 2)
})
})
describe.each([
testFunction('fn return non-promise')
, testAsyncFunction('fn return promiselike')
])('%s', (_, getFn) => {
describe('call', () => {
it('execute fn once for each iterable element', async () => {
const iter = getIter([1, 2, 3])
const sideResult: Array<[number, number]> = []
const pushToSideResult = getFn((x: number, i: number) => sideResult.push([x, i]))
const result = eachAsync(iter, pushToSideResult)
const proResult = await result
expect(result).toBePromise()
expect(proResult).toBeUndefined()
expect(sideResult).toEqual([[1, 0], [2, 1], [3, 2]])
})
})
describe('fn throw error', () => {
it('throw error', async () => {
const customError = new Error('CustomError')
const iter = getIter([1, 2, 3])
const fn = getFn(() => { throw customError })
const err = await getErrorPromise(eachAsync(iter, fn))
expect(err).toBe(customError)
})
})
})
})
})
| typescript |
import * as Sentry from '@sentry/react';
import { toBigNum } from '@vegaprotocol/react-helpers';
import { useEthereumConfig } from '@vegaprotocol/web3';
import { useWeb3React } from '@web3-react/core';
import React from 'react';
import {
AppStateActionType,
useAppState,
} from '../../contexts/app-state/app-state-context';
import { useContracts } from '../../contexts/contracts/contracts-context';
import { useGetAssociationBreakdown } from '../../hooks/use-get-association-breakdown';
import { useGetUserTrancheBalances } from '../../hooks/use-get-user-tranche-balances';
interface BalanceManagerProps {
children: React.ReactElement;
}
export const BalanceManager = ({ children }: BalanceManagerProps) => {
const contracts = useContracts();
const { account } = useWeb3React();
const {
appState: { decimals },
appDispatch,
} = useAppState();
const { config } = useEthereumConfig();
const getUserTrancheBalances = useGetUserTrancheBalances(
account || '',
contracts?.vesting
);
const getAssociationBreakdown = useGetAssociationBreakdown(
account || '',
contracts?.staking,
contracts?.vesting
);
// update balances on connect to Ethereum
React.useEffect(() => {
const updateBalances = async () => {
if (!account || !config) return;
try {
const [b, w, stats, a] = await Promise.all([
contracts.vesting.userTotalAllTranches(account),
contracts.token.balanceOf(account),
contracts.vesting.userStats(account),
contracts.token.allowance(
account,
config.staking_bridge_contract.address
),
]);
const balance = toBigNum(b, decimals);
const walletBalance = toBigNum(w, decimals);
const lien = toBigNum(stats.lien, decimals);
const allowance = toBigNum(a, decimals);
appDispatch({
type: AppStateActionType.UPDATE_ACCOUNT_BALANCES,
balance,
walletBalance,
lien,
allowance,
});
} catch (err) {
Sentry.captureException(err);
}
};
updateBalances();
}, [
decimals,
appDispatch,
contracts?.token,
contracts?.vesting,
account,
config,
]);
// This use effect hook is very expensive and is kept separate to prevent expensive reloading of data.
React.useEffect(() => {
if (account) {
getUserTrancheBalances();
}
}, [account, getUserTrancheBalances]);
React.useEffect(() => {
if (account) {
getAssociationBreakdown();
}
}, [account, getAssociationBreakdown]);
return children;
};
| typescript |
The Government of India have decided to confer the KABIR PURASKAR, for the year 2007 Grade-III on Shri Khalifa Gufran S/o Shri Haji Zahoor Ahmad, r/o 4/715, Gali Halwaiyan, Moh. Chowki Sarai, PS - Kotwali City, Saharanpur, Uttar Pradesh.
Following a verbal duel on 8.8.2006 under PS Kotwali, Saharanpur district between Muslims and Dalits over a petty matter, a scuffle ensued in which members from both the communities indulged in violence. The situation had taken on a communal colour by then and the violence left many members from both communities injured. Seeing two injured Dalit youths being taken to the emergency ward of district hospital, an already infuriated mob of the other community captured both the youths. The timely arrival on the scene by Shri Khalifa Gufran with the district authorities stemmed further escalation of violence and saved both the youths from the clutches of the mob. In doing so, Shri Khalifa put his own personal safety at risk. In another incident on 24.11.2006 Shri Khalifa Gufran alongwith the district authorities and other persons of the locality averted a possible communal riot in Saharanpur under PS Janakpuri. Again, on 27.3.2007 persons of Hindu and Muslim communities collected at Mohalla Jatavnagar and started pelting stones on each other. Shri Khalifa Gufran reached there with his friends and helped the district authorities in restoring peace and normalcy. In the past also Shri Khalifa Gufran has been taking active part in promoting communal harmony and has been proactively assisting the district administration in maintaining peace and communal harmony during Hindu - Muslim festivals.
Kabir Puraskar is a National Award instituted by the Government of India for recognizing the acts of physical/moral courage displayed by a member of one caste, community or ethnic group in saving the lives and properties of member(s) of another caste, community or ethnic group during caste, community or ethnic violence. The Award is given annually in three grades viz., Grade-I, Grade-II and Grade-III, carrying cash amount of Rs. 2,00,000; Rs.1,00,000 and Rs. 50,000 respectively.
| english |
import React from "react";
import Core from "../Core";
const units = ["m^3", "dm^3", "cm^3", "mm^3"];
function power(unit) {
if (unit === "m^3") {
return 0;
}
if (unit === "dm^3") {
return 3;
}
if (unit === "cm^3") {
return 6;
}
if (unit === "mm^3") {
return 9;
}
}
function VolumePage() {
return <Core title="Volym" units={units} power={power} initialValue="m^3" />;
}
export default VolumePage;
| javascript |
{"class":"message","_meta":{"id":"TestMeasurePreCommitGas","gen":[{"source":"specs-actors_test_auto_gen"}]},"car":"H4sIAAAAAAAA/+zZeziU+d8H8O+MQ+NQ5DjSw7QlGrXRtklOY3JqbAgxVDyDoRGGQaJZzdwzVjlX5JjKqVolZimVhCR6JuxGiETrWM7nknoupue6Zrp27d1e1/PP7zL/met9v+7P53vf93zHZ/SzyDQqNSiQ2YolqgNEwOUeJOYavT1eBE8KW5MnEVB/89lhM0+p7I0XH8oPF+/cubOE3ed1nEwLpFD9EOHw8iwhPrx8FBW/V76MrN4RITNm3NC4Pz3HO0TmBHP009ANi8HYeL6oaWFDFaZ+6BB9vVt1k5LB7p53OXGn5WkZ/a4Z4oU9lRXvReGRkAn7JwnMGSaEB2R2K9YRIA4CGU+Kz/Zd2wODqDSSF9mX4kem8Z15Prx8S9rWV7c2tazhqLnX6qtPKIY/9y14fEMoV3XbptUWwBIgVZS66u5xcAAsuqLsVixReRFW4MHHyTSKJ4XsQSN7UQKDaKF8OKrNrTgQLUObulCNlTdbWPs0v0/34YNyg6cNCXol+b9UANyiKPzXlfpTQwQqtePERXPkRkzdqZZrIURvL9ZxviLPdSFCV0PdvbvbLAzgIAgPhNitWOtFTJyHudOofnwI+feXLR7nuM2N0ko/Vx1rnl9V0RDB7bg1Ic2uaDq5oOgEcBAeuLNbsbaLxmqeQXJ3pwb7BfExr02Dan67cte7tqwwsTiZfn5L7AmfxtEPnD/6c1qUQ1LEeY0Bdiv2wKIj+aWx0MAgsu83XHZeSyKLK45edGQFLyWJdozMX5WecWES7UQkVfpJszVTVnyA1LxW/DvqSztunkoncxA9vtSczT82J1NPeYd5HWbh9eeN3TEltwyKuGO7SlsSGA0yhekb1ybZ8ppDfLXQFD8KP9Juz9WpSZSXSx3VODyPsRIRHyNEmTcRKx3GaCGV1DXZPMTjH4tJdjuIa73weL2iY6uinJ0G0uthojMqQE9KVqHw8ycz7JCMJZBdM9CvmGDy5f5EfrXoNHIIiebBJ24q5JiRUuxDh5/nElHF0DpxO9nZCag4IsdqOlBHJWoQ7AdCsX1S9JRYKS4AYAAJ70Hhf5zpozWfSrKK213wdeJWwZ56DdYDcgHPiuXWlhLn/GV9nxMAIqmwVM3GMOoQju8wBXSYK/2J8VzziZKo2bifL+46own5cSNtmpzTWxY6fLRx/GEDn4s1/+MvAm5iaxyk1/ge+MFTam73qpYzfR3ZdxsI5il8UXWkPct5hmR31Mkt2m2+9rsbPU6t74qUbPV+CjCN9TskzhftJs5wDqhe3PwiKrfQaEoiUTb+NUM3R9HT4RJqnxTNuo0vKrK/+5lQRZDKEGWSkP/psarHb8KPVuVOl98lt1nfO9vWpYvUFOOLP3W+9rB+2Pflzr4qz+Cjvpvw+3Ql75096ir1pK7+3N5UIm7aHt7iReOBBx54MGbs/ahBGBqZ5OMTiiFh/MlkGobiwUApAwBQAACgJLYNM6MBb2mZjDQJeOsKmTQIs4kxTAg/syoiCqUkNNOKJW4BCOiNEHMAiXltQf54ZdxJQc3xx8z3Xu9tMJHTweqFXVrduucN7SdFVdBPGOuAmD5+CgCwDyi+2o3U7o3PR9fiFp+HKZ44JSAqOOESxZFXInvMjKa8xMS0hGKc5z5ulj45ieiXm0698vLvRQjCj/DEEQHRPMZ6fn3ZW50k76A4H6XWt6/EzQeoLlqxm58+T7Qr+T1/GRE/ywNnBcAkO7fQHzhy7f8dGt+zWtOanXziv5DWdi+2VRZtotxp1mEv2/QgTxwUED95ufb/OsKSoA6L3bYSsmZ3PCgo3tLGfWZ1P6Hbee5VwLJNj/PEcQHRuymvqPftQUqoywHfgIRMyR7GxYt1rD+qlOSsj1oz/WSWa3qSB04KgAZtFalH7Cvym9cljDefXN9/sjbiYxT9rW3HTX013KvckWVLHOCJAwIi7gAimO10etyI5DYcsXms8FLgbhOvDxEuKqHFBAcHLHG5Et/ywLcCIIdZtpXk89ujy8kbXDvOJxdE9nUdk/d5ZEU+1n/lev1p3WWvyzRPnBYQv6/WrJzso31cP7vQULXDzPhIA2ZMfzXh0P02LNoRNX1nWXGUJ44KiFujI1Vsm3qn213nCFCOnfqb1bPhne9J1bc/rMkwSK4/tKw4xhPHBMS0W0cvlb0enCGsUs0o1ygwUTLKQvdjJ0wcpiyHPYh6+5cV53jinIA4uoN7WJPuJmZgWM223HVZE3WfNfJmNO92yYDzC5FQxLllxSGeOCQgBqdinWtOzZg8F9U9XjW6IP2gzYgrnZzyZ3PljYlercZ1fy+yIPw7nvhOQIxJQ+y5Iym8U9vQ8PR6bYlLE4TP0sFqh0c6jbZuzNiosHG5m2eYBw4LgKd+Ua7vjugEsiEtmahbboOWKiHoN+ZrULaSZ0/FJu1CLgdO8MAJATDsyPTny51V38UmlDZeHi88fjIoWtxY+ycZreBSjUwrEaO/B0nw9jG2KBLBsgAAs/jpD/i/5weI+jtUmjuZfG/g2IO34sSUFl2qQub+Wd3irzeSg3cYYxyBl1vUeZsLv150TeJZWflkrfBVjun171skxvUXdmZnGRsZZVenu76Uz2HowMst6tJLtTOYJmCBgdKEtykvZXfA25XZIgCwTJbOwbgrDW9rZqZo8XU74mUnf517n2RQt/eF/cxU6RHN7VczcudKV+Ven+1+op62El2JrkRXoivRlehK9D80GoGEl4viMxvTT6VkGQ42d7YTHmT4N5unuc+U57XUV6tyHk+UNAzhv2G2gMMBAAmMQ1zkF87ppGr519WM1HD9pvrnN4hfu0p5bG97uv7X2wO+Of+ujn9St8MT2UIAsIwBg7EdHstGfskzEPAGqSw8sOErG/3Jm0vKzj4mqaNP2BOXZ8nUnHiabsuwScg40YQ6GCX5DdEt8GIQjlGGgDenjcd9eUFENEB2+IC/eDkCoYq/eh8B+EqfpNf2rPb2TA549qvpO+VDjqU3Eyn3qsn57K0WhEe9ytn82THVUUC2DLyTm7PBp/7M+ZI4z99viUkPkjdHlahdU6rIn3GBZ0KmjKVv/0wIX84/639AR+hulpwURtO79mY6ZYVVajVkEQP2mFVJqEMcVkukAbwYWxQgWBaIL90ylub4eCbiB3hNQMYY5tIhLBQOtwPewJsJQXggLALhgYgYFt5wm4kH7urwBtiMAiS80XT0Nzz8fFFEzh3VHTF6Pwq9uVYEZUp4+xCOSHJG7FSy5BWisq8St/3/PBPfEAXfkMXgcLhd8PpiiwKw9L8o7z5hYOFN7pl4YOMCbz7P4iu8oqTC98NZXZsNZtFx6jjksKO3yPODBijDIGzlOufHBnVoT0qgO9mPRKNQA+nwDoHwGGGICRG1hTKLNyQw2bPhypl5tbtr/EJOMTIhpmh7gUP44eIs8zHt8YLD9LrTmUnJjbmpSb36DLQHEzqIdBIL77K5wFVbe28ibCHqXEpeox4BTXaG95sB81+cNh0B79eDaBwO7AMaiuQNru+7AAEgZi2v7gkQbjoPEdct/pGdFtpZaPr155oDQumC951tX7/9f9DrzwC3HyCk53RaE7EHogAA+wGSPtySI+xWjgcA/C8AAAD//wEAAP//1beSCtscAAA=","preconditions":{"variants":[{"id":"chocolate","epoch":200,"nv":14}],"state_tree":{"root_cid":{"/":"bafy2bzacecuhzw4pavbgc6qouyfxdtvnzvoemzqpumrz3pyv5w2dinbuwwcom"}},"basefee":0,"circ_supply":1000000000000000000000000000},"apply_messages":[{"bytes":"igBCAGVYMQOetCGQgYT3fhuepsg4xm53f4CegoEG265Wfly0okfwMfGuXHzJiJ6Vl9ClmZXlPIASQBsAAAABKgXyAEBAGBlYQIGBiggZA/nYKlgpAAGC4gOB6AIgsKtijJ4UYhhGxYtOs1Bg7ziFJTpFfS12E2cW1IULrUUYx4AaAAk8QvQAAAA="}],"postconditions":{"state_tree":{"root_cid":{"/":"bafy2bzaceb4uxo5b4jqtgptgid6nzuo7hnztbwmtadvw7si2gt4wflzj7js5y"}},"receipts":[{"exit_code":0,"return":"","gas_used":6120141}]}} | json |
Google launched its Earthquake Alert feature recently in India. It claimed to alert the users running Android 5 or later on their devices of earthquake. However, the feature didn’t work when strong tremors were felt yesterday which leaves many questions like why didn’t Google’s Earthquake alert work.
Strong tremors were felt on Tuesday around 3:00 pm IST in many parts of north India, including Delhi-NCR and parts of Uttar Pradesh, following the multiple earthquakes in Nepal at around 2:30 pm IST.
Why didn’t Google Earthquake Alerts work in India?
Google partnered with the National Disaster Management Authority (NDMA) and the National Centre for Seismology (NCS), part of the Ministry of Earth Sciences, to launch Android Earthquake Alerts System in India on September 27.
However, the feature is gradually rolling out to Android 5 and later users, suggesting that most users in India may not have access to it yet. The latest Android smartphones have the earthquake alert feature in their Emergency settings, but it’s currently inactive in India.
Google acknowledges the limitations of the service, including its inability to detect all earthquakes accurately. The delayed rollout could be the reason for the feature not being widely available yet. It also failed to alert the earthquake in Türkiye, also known as Turkey.
How to turn on Earthquake Alerts on Android?
To receive alerts, ensure your phone is connected to the internet and has location settings enabled. Next, activate the earthquake alerts setting by following these steps:
- Open your phone’s Settings.
- Select Safety & emergency and then Earthquake alerts. If you don’t find Safety & emergency, go to Location, then Advanced, and finally Earthquake alerts.
- Toggle the Earthquake alerts switch to turn them on or off.
| english |
<reponame>jyx11011/main
package seedu.sugarmummy.logic.commands.biography;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.sugarmummy.logic.commands.CommandTestUtil.assertCommandSuccess;
import static seedu.sugarmummy.logic.commands.biography.EditBioCommand.MESSAGE_BIOGRAPHY_DOES_NOT_EXIST;
import static seedu.sugarmummy.logic.commands.biography.EditBioCommand.MESSAGE_CHANGES_MADE;
import static seedu.sugarmummy.logic.commands.biography.EditBioCommand.MESSAGE_EDIT_USER_SUCCESS;
import static seedu.sugarmummy.logic.commands.biography.EditBioCommand.MESSAGE_NO_CHANGE;
import static seedu.sugarmummy.model.biography.BioModelStub.OTHER_VALID_USER;
import static seedu.sugarmummy.model.biography.BioModelStub.VALID_USER;
import static seedu.sugarmummy.testutil.Assert.assertThrows;
import java.util.HashMap;
import java.util.List;
import org.junit.jupiter.api.Test;
import seedu.sugarmummy.logic.commands.CommandResult;
import seedu.sugarmummy.logic.commands.biography.EditBioCommand.EditUserDescriptor;
import seedu.sugarmummy.logic.commands.exceptions.CommandException;
import seedu.sugarmummy.model.Model;
import seedu.sugarmummy.model.biography.BioModelStub;
import seedu.sugarmummy.model.biography.BioModelStub.ModelStubWithNoUserListForEditing;
import seedu.sugarmummy.model.biography.BioModelStub.ModelStubWithUserListForEditing;
import seedu.sugarmummy.model.biography.Name;
import seedu.sugarmummy.ui.DisplayPaneType;
class EditBioCommandTest {
private EditUserDescriptor getUnModifiedUserDescriptor() {
return new EditUserDescriptor();
}
private EditUserDescriptor getModifiedEditUserDescriptor() {
EditUserDescriptor editUserDescriptor = new EditUserDescriptor();
editUserDescriptor.setName(new Name("secondTestName"));
return editUserDescriptor;
}
@Test
public void null_editUserDescriptor_throwsNullPointerException() {
assertThrows(RuntimeException.class, (new NullPointerException())
.getMessage(), () -> new EditBioCommand(null));
}
@Test
public void executeEditBio_nullModel_throwsNullPointerException() {
assertThrows(RuntimeException.class, (new NullPointerException())
.getMessage(), () -> (new EditBioCommand(getUnModifiedUserDescriptor())).execute(null));
}
@Test
public void executeEditBio_noExistingBio_throwsCommandException() throws CommandException {
assertThrows(CommandException.class,
MESSAGE_BIOGRAPHY_DOES_NOT_EXIST, () -> (new EditBioCommand(getUnModifiedUserDescriptor()))
.execute(new ModelStubWithNoUserListForEditing()));
}
@Test
public void executeEditBio_noChange() throws CommandException {
Model model = new BioModelStub.ModelStubWithUserListForEditing();
CommandResult expectedCommandResult = new CommandResult(MESSAGE_NO_CHANGE, false, false);
assertCommandSuccess(new EditBioCommand(getUnModifiedUserDescriptor()), new ModelStubWithUserListForEditing(),
expectedCommandResult, model);
}
@Test
public void executeEditBioSuccess() throws CommandException {
Model model = new BioModelStub.ModelStubWithUserListForEditing();
model.setUser(VALID_USER, OTHER_VALID_USER);
StringBuilder editedFields = new StringBuilder();
HashMap<String, List<String>> changedDifferences = VALID_USER.getDifferencesTo(OTHER_VALID_USER);
changedDifferences.forEach((key, beforeAndAfter) -> {
String before = beforeAndAfter.get(0);
String after = beforeAndAfter.get(1);
editedFields.append("- ");
if (before.isEmpty()) {
editedFields.append("Added to ").append(key).append(": ").append(after);
} else if (after.isEmpty() || after.equals("[]")) {
editedFields.append("Deleted from ").append(key).append(": ").append(before);
} else {
editedFields.append("Modified ").append(key)
.append(": from ").append(before).append(" to ").append(after);
}
editedFields.append("\n");
});
CommandResult expectedCommandResult = new CommandResult(String.format(String.format(MESSAGE_EDIT_USER_SUCCESS,
String.format(MESSAGE_CHANGES_MADE, editedFields.toString().trim())), false, false));
assertCommandSuccess(new EditBioCommand(getModifiedEditUserDescriptor()), new ModelStubWithUserListForEditing(),
expectedCommandResult, model);
}
@Test
public void getDisplayPaneType_test() {
assertEquals(DisplayPaneType.BIO, new EditBioCommand(getUnModifiedUserDescriptor()).getDisplayPaneType());
}
@Test
public void getNewPaneIsToBeCreated_test() {
assertTrue((new EditBioCommand(getUnModifiedUserDescriptor())).isToCreateNewPane());
}
@Test
public void equals_sameEditBioCommand() {
EditBioCommand editBioCommand = new EditBioCommand(getUnModifiedUserDescriptor());
assertEquals(editBioCommand, editBioCommand);
}
@Test
public void equals_differentEditBioCommands_sameEditUserDescriptions() {
EditBioCommand firstEditBioCommand = new EditBioCommand(getUnModifiedUserDescriptor());
EditBioCommand secondEditBioCommand = new EditBioCommand(getUnModifiedUserDescriptor());
assertEquals(firstEditBioCommand, secondEditBioCommand);
}
@Test
public void equals_differentObject() {
EditBioCommand editBioCommand = new EditBioCommand(getUnModifiedUserDescriptor());
assertNotEquals(editBioCommand, new Object());
}
@Test
public void equals_differentEditBioCommands_differentEditUserDescriptions() {
EditBioCommand firstEditBioCommand = new EditBioCommand(getUnModifiedUserDescriptor());
EditBioCommand secondEditBioCommand = new EditBioCommand(getModifiedEditUserDescriptor());
assertNotEquals(firstEditBioCommand, secondEditBioCommand);
}
}
| java |
import isFunction from 'lodash.isfunction'
import objectToMessageString from './objectToMessageString'
export const defaultDescribeTest = (fn) => {
if (isFunction(fn)) {
if (fn.name) {
return fn.name + '()'
} else {
return '[anonymous function]'
}
}
}
export const defaultDescribeCase = (args = []) => {
if (args.length > 0) {
const formattedArgs = args.map((arg) => {
return objectToMessageString(arg)
})
return 'when given ' + formattedArgs.join(' and ')
} else {
return 'when called'
}
}
export const defaultShouldMessage = (expectedValue) => {
return defaultMessage('should return', expectedValue)
}
export const defaultShouldThrowMessage = (expectedMessage) => {
return defaultMessage('should throw error', expectedMessage)
}
const defaultMessage = (msgPrefix, msg) => {
return `${msgPrefix} ${objectToMessageString(msg)}`
}
export default {
defaultDescribeTest,
defaultDescribeCase,
defaultShouldMessage,
defaultShouldThrowMessage
}
| javascript |
import "windi.css";
import { render } from "solid-js/web";
import { Router } from "solid-app-router";
import Site from "./site";
render(
() => (
<Router>
<Site />
</Router>
),
document.getElementById("root")
);
| typescript |
Guwahati, May 8: Starkly exposing the dark underbelly of Guwahati, drug seizures by anti-rcotics agencies are continuing in the capital city.
The rcotic Control Bureau busted an inter-state gang of drug smugglers, arresting four persons and seizing a huge quantity of rcotics en route from Manipur to Bihar and Uttar Pradesh.
Acting on a specific input, NCB sleuths intercepted the four accused – Abdul Kalam and Md Muzibur Rehman of Imphal East, Sohrab Khan of Gaya and Ram Milan of Raebareli – at Ulubari yesterday.
Over 2 kg of morphine and 54. 5 kg of opium were seized from the accused.
NCB's zol director Praveen Kumar Deshwal said the consignment was being transported from Manipur to Bihar and UP.
"Abdul Kalam is the main supplier and Sohrab in the buyer. They had brought the rcotics in a truck and were preparing to transfer the consignment onto a Scorpio vehicle. To conceal the rcotics, they had even made cavities in the vehicle seat," he said.
Based on the statements of the four accused, NCB teams are conducting raids at Manipur, UP and Bihar, he said.
Most of the opium-based rcotics are sourced in Manipur and Aruchal Pradesh where the plant is grown, the NCB officer said, adding that Guwahati, being the gateway to the Northeast, has turned into a transit point for drug peddlers taking the rcotics to other parts of the country.
Meanwhile, Latasil police bbed a former U-19 cricketer Muzammil Haque with banned tablets and syrups at Panbazar. Haque has landed in police net for the third time in as many years. Around 180 strips of tablets and 16 bottles of cough syrup were seized from his scooter.
Police also arrested one Munni Devi, acting on information provided by a drug dealer Dhanbati Devi who was arrested from Sarabbhati yesterday. The GRP also apprehended a drug addict Safiqul Islam at the railway station. | english |
Mysore Industries Association (MIA) had organised a pre-budget meeting at its office at KIADB Complex on KRS Road here this morning to elicit information and suggestions from industrialists, CEOs of Companies, Economic Experts, Entrepreneurs, Tax Consultants and others for pre-budget proposals focussing on growth and development of Mysuru, Mandya and Chamarajanagar districts.
The meeting was chaired by MLA and MIA President Vasu. Former President P. Vishwanth, Secretary Suresh Kumar Jain and others were present on the occasion.
The participants at the meeting suggested to implement the old Hundawadi Water Project to augment water supply to city. They sought more assistance from the government to revive sick industries in the district and also sought more funds for the Export Centre at Hebbal Industrial Area. They opined that the Goods and Service Tax (GST) scheme should be implemented in such a way that it would be beneficial for the industries.
The participants also sought better approach roads to industries. A consolidated memorandum based on the suggestions would be submitted by MIA to Chief Minister Siddharamaiah on Feb. 17 at Vidhana Soudha in Bengaluru. | english |
Long-dated US Treasuries headed for their worst week of the year amid signs of unexpected resilience in the US economy and fresh reasons to fret about its ballooning budget deficit.
The yield on 30-year securities has climbed almost 25 basis points over the past three sessions, returning it to levels last seen in mid-November when inflation was still above 7%, more than double the current rate. Ten-year borrowing costs rose to around 4.15%.
The selloff is dashing the bet of some investors that 2023 would prove to be the “Year of the Bond.” Hot labor-market data is raising concern the Federal Reserve will have to push up interest rates even further to cool inflation. Traders are bracing for Friday’s employment report.
Adding to the pressure, Fitch Ratings’ downgrade of US debt and a glut of looming bond sales from the government have put a spotlight on the country’s fiscal outlook. The Bank of Japan’s acceptance of higher yields in its market has also contributed.
Bill Ackman, founder of Pershing Square Capital Management, threw his weight behind the rout via social media, while JPMorgan Chase & Co. analysts said the moves are likely just a precursor to a long-term structural shift in yields as public debt mounts.
Ackman said he’s placing sizable bets on declines in 30-year Treasuries using options, both as a hedge against rising stocks, and also because there’s a strong case for yields to keep going higher. Yields are also likely to rise due to the Fed’s plans to carry out quantitative tightening by reducing the $8.2 trillion balance sheet it built up buying Treasuries and mortgage-backed debt, he said.
Volumes in put options on 30-year Treasury futures — which are wagers on higher yields — rose above 100,000 contracts on Wednesday, the highest since March.
For JPMorgan Chase’s Alexander Wise and Jan Loeys, the ultimate question is where inflation-adjusted rates eventually go as they maintain a forecast that the real US 10-year yield will reach 2.5% over the coming decade.
The growing fiscal burden is “one of the most important forces driving the projected long-term increase in real yields,” they wrote in a note to clients.
Treasuries were already languishing this year, disappointing investors who had anticipated a rally once Fed rate hikes pushed the economy toward recession. With economic data instead remaining relatively robust, Fitch’s decision and an unrelated decision by the US Treasury to sell more debt put the focus squarely on the boom in US government borrowing.
Returns from the two ends of the US yield curve are diverging. Longer-term Treasuries have dropped 1% this year, compared with a 0.5% gain for a broader gauge of US debt, according to Bloomberg indexes.
Fitch still expects a recession, putting it at odds with the Fed and a growing proportion of analysts who predict the central bank will succeed in taming inflation and engineer a soft landing.
This week’s downgrade was based on the medium-term fiscal outlook, “which is characterized by rising deficits and government debt,” said James McCormack, global head of sovereign and supranational ratings for Fitch in Hong Kong.
Treasury 30-year yields climbed as much as 10 basis points to 4.27% on Thursday. The 10-year yield rose as much as 9 basis points to 4.16%.
US yields are “at a critical level,” said Khoon Goh, head of Asia research at Australia & New Zealand Banking Group Ltd. in Singapore. The next major 10-year level is around 4.35% or 4.4%, he said.
Fitch’s move will focus investors on the deterioration in the US fiscal position, but that’s probably already priced in, according to Stephen Miller, an investment strategist at GSFM in Sydney.
For his part, Pershing Square’s Ackman said part of the attraction for shorting longer-maturity US debt is that it acts as a hedge against the potential that higher long-term yields will hurt stocks.
| english |
Download PDF of Biju Pucca Ghar Yojana (BPGY) Notification from the link available below in the article, Biju Pucca Ghar Yojana (BPGY) Notification PDF free or read online using the direct link given at the bottom of content.
Biju Pucca Ghar Yojana (BPGY) Notification PDF read online or download for free from the odishapanchayat.gov.in link given at the bottom of this article.
REPORT THISIf the purchase / download link of Biju Pucca Ghar Yojana (BPGY) Notification PDF is not working or you feel any other problem with it, please REPORT IT by selecting the appropriate action such as copyright material / promotion content / link is broken etc. If this is a copyright material we will not be providing its PDF or any source for downloading at any cost.
| english |
<reponame>smallstack/location-services
/// <reference path="../../typings/main.d.ts" />
/// <reference path="../../models/Address.ts" />
/// <reference path="../../models/Route2D.ts" />
/// <reference path="../GeocoderService.ts" />
import * as $ from "jquery";
import * as _ from "underscore";
class NominatimGeocodingService implements GeocoderService {
private nominatimUrl: string;
constructor() {
// this.nominatimUrl = ConfigurationService.instance().get("nominatim.service.url", "http://nominatim.openstreetmap.org");
// console.log("Initialized NominatimGeocodingService with url : ", this.nominatimUrl);
// for now this is the default url, please do not use in production and read http://wiki.openstreetmap.org/wiki/Nominatim#Usage_Policy
this.nominatimUrl = "http://nominatim.openstreetmap.org";
}
public setNominatimUrl(url: string) {
this.nominatimUrl = url;
}
public getPoint2D(addressSeach: string, callbackFn: (error: Error, point2D: Point2D) => void) {
try {
$.get(this.nominatimUrl + "/search?format=json&q=" + addressSeach, {
timeout: 5000
}, function(error: Error, result: any) {
if (error)
callbackFn(error, undefined);
else {
if (result.data instanceof Array && result.data.length > 0) {
var res = result.data[0];
var point2D: Point2D = new Point2D();
point2D.x = res.lon;
point2D.y = res.lat;
callbackFn(undefined, point2D);
} else {
console.error("result from nominatim : ", result);
callbackFn(new Error("Could not find address in nominatim!" + result), undefined);
}
}
});
} catch (e) {
console.error("the raw error from the nominatim service : ", e);
if (e.code === "ENOTFOUND" || e.code === "ENETUNREACH" || e.code === "ECONNREFUSED" || e.code === "ESOCKETTIMEDOUT") {
callbackFn(new Error("Could not contact geocoder (nominatim) service (" + this.nominatimUrl + ")."), undefined);
}
else
callbackFn(new Error("Error while finding address!" + e), undefined);
};
}
public getAddress(point: Point2D, callbackFn: (error: Error, address: Address) => void): void {
try {
$.get(this.nominatimUrl + "/reverse?format=json&lon=" + point.y + "&lat=" + point.x, {
timeout: 5000
}, function(error: Error, result: any) {
if (error)
callbackFn(error, undefined);
else {
if (result.data) {
var res = result.data;
var address: Address = new Address();
address.city = res["address"]["city"];
address.coordinates = Point2D.create2D(res["lon"], res["lat"]);
address.country = res["address"]["country"];
address.housenumber = parseInt(res["address"]["house_number"]);
address.postcode = parseInt(res["address"]["postcode"]);
address.state = res["address"]["state"];
address.street = res["address"]["road"];
callbackFn(undefined, address);
} else {
console.error("result from nominatim : ", result);
callbackFn(new Error("Could not find address in nominatim!" + result), undefined);
}
}
});
} catch (e) {
console.error("the raw error from the nominatim service : ", e);
if (e.code === "ENOTFOUND" || e.code === "ENETUNREACH" || e.code === "ECONNREFUSED" || e.code === "ESOCKETTIMEDOUT") {
callbackFn(new Error("Could not contact geocoder (nominatim) service (" + this.nominatimUrl + ")."), undefined);
}
else
callbackFn(new Error("Error while finding address!" + e), undefined);
};
}
public getCurrentPosition(callbackFn: (error: Error, point2D: Point2D) => void);
public getCurrentPosition(continuously: boolean, callbackFn: (error: Error, point2D: Point2D) => void);
public getCurrentPosition(continuously: any, callbackFn?: any): void {
if (typeof continuously === 'function') {
callbackFn = continuously;
continuously = false;
}
if (continuously) {
navigator.geolocation.getCurrentPosition(function(position: Position) {
var point: Point2D = Point2D.create2D(position.coords.latitude, position.coords.longitude);
callbackFn(undefined, point);
}, function(error: PositionError) {
callbackFn(new Error(error.code + "Could not locate current position!" + error.message), undefined);
});
} else {
navigator.geolocation.watchPosition(function(position: Position) {
var point: Point2D = Point2D.create2D(position.coords.latitude, position.coords.longitude);
callbackFn(undefined, point);
}, function(error: PositionError) {
callbackFn(new Error(error.code + "Could not locate current position!" + error.message), undefined);
});
}
};
} | typescript |
{
"name": "configurations",
"version": "1.8.197",
"private": true,
"homepage": "https://github.com/shunkakinoki/configurations",
"bugs": {
"url": "https://github.com/shunkakinoki/configurations/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/shunkakinoki/configurations.git"
},
"license": "MIT",
"author": "<NAME>",
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"check": "scripty",
"cmd:eslint": "scripty",
"cmd:prettier": "scripty",
"depcheck": "scripty",
"depcheck:exec": "scripty",
"depcheck:root": "scripty",
"fix": "scripty",
"fix:eslint": "scripty",
"fix:prettier": "scripty",
"fix:sort-package-json": "scripty",
"lint": "scripty",
"lint:eslint": "scripty",
"lint:npm-package-json": "scripty",
"lint:prettier": "scripty",
"ncu": "scripty",
"ncu:check": "scripty",
"ncu:upgrade": "scripty",
"prepare": "scripty",
"prepublishOnly": "scripty",
"prettier:fix": "scripty",
"prettier:lint": "scripty",
"postpublish": "scripty",
"release": "scripty",
"release:multi-semantic-release": "scripty",
"release:semantic-release": "scripty"
},
"npmpackagejsonlint": {
"extends": "@shunkakinoki/npm-package-json-lint-config"
},
"scripty": {
"logLevel": "warn",
"modules": [
"@shunkakinoki/dev"
],
"parallel": true
}
}
| json |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.