text
stringlengths
1
1.04M
language
stringclasses
25 values
116/7 (17. 0 ov) 119/4 (16. 1 ov) 172/7 (20. 0 ov) 157 (20. 0 ov) New Zealand is set to play a three-Test series in Australia beginning in November. Brad Hodge has a good record in BBL and CPL. Pattinson says he is now more confident about his bowling skills and return to the form he had earlier. Pattinson was able to fast-track his comeback into the national side in the 50-over format due to his impressive show in India with the Australian A side. Brett Lee was the first bowler to take a hat-trick in Twenty20 Internationals. The spinner observed Zulfiqar Babar in the UAE, and worked on his suitability for the subcontinent. Since his last Test in the UAE, the left-arm spinner trained in Brisbane, and underwent a fruitful tour of India. James Faulkner has been banned from driving for two years. Faulkner has played only one Test (two years ago versus England), whereas Marsh has featured in seven Tests for Australia.
english
<gh_stars>10-100 import os from invoke import Collection, run from okcupyd import tasks from okcupyd import settings from okcupyd.tasks.util import build_task_factory DEV_DIRECTORY = os.path.dirname(__file__) CREDENTIALS_FILE = settings.okcupyd_config_at_path(DEV_DIRECTORY) ns = Collection() ns.add_collection(tasks, name='okcupyd') nstask = build_task_factory(ns) @nstask(default=True) def install(ctx): run("python setup.py install") @nstask def pypi(ctx): """Upload to pypi""" run("python setup.py sdist upload -r pypi") @nstask def rerecord(ctx, rest): """Rerecord tests.""" run('tox -e py27 -- --cassette-mode all --record --credentials {0} -s' .format(rest), pty=True) run('tox -e py27 -- --resave --scrub --credentials test_credentials {0} -s' .format(rest), pty=True) @nstask(aliases='r') def rerecord_one(ctx, test_name, rest='', pty=False): run('tox -e py27 -- --cassette-mode all --record -k {} -s {} --credentials="{}"' .format(test_name, rest, CREDENTIALS_FILE), pty=pty) run('tox -e py27 -- --resave --scrub -k {} -s {} --credentials="{}"' .format(test_name, rest, CREDENTIALS_FILE), pty=pty) @nstask def failing_test_names(ctx): run("tox -e py27 | grep test_ | grep \u2015 | sed 's:\\\u2015::g'", pty=True) @nstask def rerecord_failing(ctx): result = run("tox -e py27 | grep test_ | grep \u2015 | sed 's:\\\u2015::g'", hide='out') for test_name in result.stdout.split('\n'): rerecord_one(rest=test_name.strip()) linux_dependencies = ('zlib1g-dev', 'libxml2-dev', 'libxslt1-dev', 'python-dev', 'libncurses5-dev') @nstask(aliases=('linux_dep',)) def install_linux_dependencies(ctx): install_command = 'sudo apt-get install -y' for package in linux_dependencies: run('{0} {1}'.format(install_command, package), pty=False)
python
<reponame>CiaraGalvin1999/fyp<gh_stars>0 // Imports import React from 'react' import { createStackNavigator } from '@react-navigation/stack' // Import screens import Profile from '../screens/Profile' import Friends from '../screens/Friends' import AddFriends from '../screens/AddFriends' import FriendRequests from '../screens/FriendRequests' import Settings from '../screens/Settings' import ChangePassword from '../screens/ChangePassword' import ChangeUsername from '../screens/ChangeUsername' import OtherUserProfile from '../screens/OtherUserProfile' import AllOtherUserCatalogues from '../screens/AllOtherUserCatalogues' import OtherUserCatalogue from '../screens/OtherUserCatalogue' // Stack of screens for when user is not authorised i.e., not logged in // Will contain login and registration screens const ProfileStack = createStackNavigator() const ProfileStackScreen = () => ( <ProfileStack.Navigator initialRouteName={Profile} screenOptions={() => ({ headerShown: false, })}> <ProfileStack.Screen name='Profile' component={Profile} initialParams={{ username: '' }}/> <ProfileStack.Screen name='Friends' component={Friends}/> <ProfileStack.Screen name='AddFriends' component={AddFriends}/> <ProfileStack.Screen name='FriendRequests' component={FriendRequests}/> <ProfileStack.Screen name='Settings' component={Settings}/> <ProfileStack.Screen name='ChangeUsername' component={ChangeUsername}/> <ProfileStack.Screen name='ChangePassword' component={ChangePassword}/> <ProfileStack.Screen name='OtherUserProfile' component={OtherUserProfile}/> <ProfileStack.Screen name='AllOtherUserCatalogues' component={AllOtherUserCatalogues}/> <ProfileStack.Screen name='OtherUserCatalogue' component={OtherUserCatalogue}/> </ProfileStack.Navigator> ); export default ProfileStackScreen;
javascript
<reponame>sdbs-uni-p/usage-of-not<filename>json_schema_corpus/pp_1002.json { "$schema": "http://json-schema.org/draft-04/schema#", "id": "https://raw.githubusercontent.com/AlekseyBuzmakov/FCAPS/master/FCAPS/schemas/PatternManagerModules/BinarySetWithDependenciesPatternManagerModule.json", "title": "Pattern Manager for Binary Set with Join operation and Dependecies", "description": "A params of module Binary Set Join Pattern Manager with Dependencies. Dependencies between attributes allows to express when one attribute can appear in a pattern. In particular, if 'a' depends on 'b', then 'a' cannot appera in a pattern that does not contain 'b'. The file is a request for creation of a PM working with sets given as list of attribute numbers with join as a semilattice opperation and dependencies on attributes.", "allOf": [ { "description": "It is a module and is a Binary Set Pattern Manager", "$ref": "https://raw.githubusercontent.com/AlekseyBuzmakov/FCAPS/master/FCAPS/schemas/PatternManagerModules/BinarySetPatternManagerCommon.json" }, { "type": "object", "properties": { "Name": { "type": "string", "enum": [ "BinarySetWithDependenciesPatternManagerModule" ] }, "Params": { "type": "object", "properties": { "AttrPosetPath": { "type": "string", "title": "Path to a File with Attribute Dependencies", "description": "Path to a file with attribute dependendencies given as a poset (sutisfies json schema https://raw.githubusercontent.com/AlekseyBuzmakov/FCAPS/master/FCAPS/schemas/PatternManagerModules/AD.json)." } } } }, "required": [ "Name" ] } ] }
json
<gh_stars>0 package cz.zsduhovacesta.controller; import cz.zsduhovacesta.model.Student; import cz.zsduhovacesta.model.Transaction; import cz.zsduhovacesta.service.database.DaoManager; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.ChoiceBox; import javafx.scene.control.DatePicker; import javafx.scene.control.TextArea; import javafx.scene.control.TextField; import javafx.stage.Stage; import java.time.LocalDate; import java.time.format.DateTimeFormatter; public class TransactionDialogController { @FXML DatePicker datePicker; @FXML TextField vsField; @FXML TextField amountField; @FXML ChoiceBox<String> paymentMethodChoiceBox; @FXML TextField bankStatementNumberField; @FXML TextArea notesArea; private boolean saveClicked = false; private Stage stage; public void initialize() { paymentMethodChoiceBox.setValue("hotově"); datePicker.setValue(LocalDate.now()); bankStatementNumberField.setText("0"); } public void setStage(Stage stage) { this.stage = stage; } public boolean isSaveClicked() { return saveClicked; } public void setFields(Object object) { Transaction transaction = (Transaction) object; DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd.MM.yyyy"); LocalDate date = LocalDate.parse(transaction.getStringDate(), formatter); datePicker.setValue(date); vsField.setText(Integer.toString(transaction.getVs())); amountField.setText(Integer.toString(transaction.getAmount())); paymentMethodChoiceBox.setValue(transaction.getPaymentMethod()); bankStatementNumberField.setText(Integer.toString(transaction.getBankStatement())); notesArea.setText(transaction.getTransactionNotes()); } private boolean isInputValid() { String errorMessage = ""; if (!vsField.getText().matches("\\d+")) { errorMessage += "musíte napsat variabilní symbol žáka\n"; } else { int vs = Integer.parseInt(vsField.getText()); Student student = DaoManager.getInstance().queryStudentByVs(vs); if (student == null) { errorMessage += "Variabilní symbol nepatří žádnému žákovi\n" + "\tTransakce nemůže být přiřazena\n"; } } if (!amountField.getText().matches("\\d+")) { errorMessage += "Neplatná částka, musí být číslo\n"; } if (!bankStatementNumberField.getText().matches("\\d+")) { errorMessage += "Neplatné číslo bankovního výpisu\n" + "\t u platby v hotovosti nechte 0\n"; } if (errorMessage.length() == 0) { return true; } else { Alert alert = new Alert((Alert.AlertType.ERROR)); alert.initOwner(stage); alert.setTitle("Neplatný vstup"); alert.setHeaderText("Prosím opravte neplatná pole"); alert.setContentText(errorMessage); alert.showAndWait(); return false; } } @FXML public Transaction handleSave() { if (isInputValid()) { saveClicked = true; Transaction transaction = new Transaction(); LocalDate date = datePicker.getValue(); String strDate = date.format(DateTimeFormatter.ofPattern("dd.MM.yyyy")); transaction.setDate(strDate); transaction.setVs(Integer.parseInt(vsField.getText())); transaction.setAmount(Integer.parseInt(amountField.getText())); transaction.setPaymentMethod(paymentMethodChoiceBox.getSelectionModel().getSelectedItem()); transaction.setBankStatement(Integer.parseInt(bankStatementNumberField.getText())); transaction.setTransactionNotes(notesArea.getText()); stage.close(); return transaction; } return null; } @FXML public void handleCancel() { stage.close(); } }
java
<reponame>pranayjagtap/react-d3-serendip {"topic_45": {"num_tags": 76, "name": "topic_45", "full_name": "topic_45", "num_included_tokens": 76}, "topic_17": {"num_tags": 2, "name": "topic_17", "full_name": "topic_17", "num_included_tokens": 2}, "topic_25": {"num_tags": 4, "name": "topic_25", "full_name": "topic_25", "num_included_tokens": 4}, "topic_40": {"num_tags": 1, "name": "topic_40", "full_name": "topic_40", "num_included_tokens": 1}, "topic_42": {"num_tags": 50, "name": "topic_42", "full_name": "topic_42", "num_included_tokens": 50}, "topic_36": {"num_tags": 36, "name": "topic_36", "full_name": "topic_36", "num_included_tokens": 36}, "topic_13": {"num_tags": 8, "name": "topic_13", "full_name": "topic_13", "num_included_tokens": 8}, "topic_12": {"num_tags": 34, "name": "topic_12", "full_name": "topic_12", "num_included_tokens": 34}, "topic_47": {"num_tags": 12, "name": "topic_47", "full_name": "topic_47", "num_included_tokens": 12}, "topic_10": {"num_tags": 30, "name": "topic_10", "full_name": "topic_10", "num_included_tokens": 30}, "topic_48": {"num_tags": 8, "name": "topic_48", "full_name": "topic_48", "num_included_tokens": 8}, "topic_16": {"num_tags": 35, "name": "topic_16", "full_name": "topic_16", "num_included_tokens": 35}, "topic_21": {"num_tags": 7, "name": "topic_21", "full_name": "topic_21", "num_included_tokens": 7}, "topic_5": {"num_tags": 3, "name": "topic_5", "full_name": "topic_5", "num_included_tokens": 3}, "topic_4": {"num_tags": 24, "name": "topic_4", "full_name": "topic_4", "num_included_tokens": 24}, "topic_11": {"num_tags": 1, "name": "topic_11", "full_name": "topic_11", "num_included_tokens": 1}, "topic_23": {"num_tags": 1, "name": "topic_23", "full_name": "topic_23", "num_included_tokens": 1}, "topic_24": {"num_tags": 1, "name": "topic_24", "full_name": "topic_24", "num_included_tokens": 1}, "topic_29": {"num_tags": 9, "name": "topic_29", "full_name": "topic_29", "num_included_tokens": 9}}
json
<reponame>adzialocha/openmls use openmls_rust_crypto::OpenMlsRustCrypto; use tls_codec::{Deserialize, Serialize}; use crate::{ config::Config, group::{GroupEpoch, GroupId}, messages::{PreSharedKeyProposal, ProtocolVersion, ReInitProposal}, schedule::psk::{BranchPsk, ExternalPsk, PreSharedKeyId, Psk, PskType, ReinitPsk}, }; /// Test the encoding for PreSharedKeyProposal, that also covers some of the /// other PSK-related structs #[test] fn test_pre_shared_key_proposal_codec() { let crypto = OpenMlsRustCrypto::default(); // ReInit let psk = PreSharedKeyId { psk_type: PskType::Reinit, psk: Psk::Reinit(ReinitPsk { psk_group_id: GroupId::random(&crypto), psk_epoch: GroupEpoch(1234), }), psk_nonce: vec![1, 2, 3].into(), }; let orig = PreSharedKeyProposal::new(psk); let encoded = orig.tls_serialize_detached().unwrap(); let decoded = PreSharedKeyProposal::tls_deserialize(&mut encoded.as_slice()).unwrap(); assert_eq!(decoded, orig); // External let psk = PreSharedKeyId { psk_type: PskType::External, psk: Psk::External(ExternalPsk::new(vec![4, 5, 6])), psk_nonce: vec![1, 2, 3].into(), }; let orig = PreSharedKeyProposal::new(psk); let encoded = orig.tls_serialize_detached().unwrap(); let decoded = PreSharedKeyProposal::tls_deserialize(&mut encoded.as_slice()).unwrap(); assert_eq!(decoded, orig); // Branch let psk = PreSharedKeyId { psk_type: PskType::Branch, psk: Psk::Branch(BranchPsk { psk_group_id: GroupId::random(&crypto), psk_epoch: GroupEpoch(1234), }), psk_nonce: vec![1, 2, 3].into(), }; let orig = PreSharedKeyProposal::new(psk); let encoded = orig.tls_serialize_detached().unwrap(); let decoded = PreSharedKeyProposal::tls_deserialize(&mut encoded.as_slice()).unwrap(); assert_eq!(decoded, orig); } /// Test the encoding for ReInitProposal, that also covers some of the /// other PSK-related structs #[test] fn test_reinit_proposal_codec() { let crypto = OpenMlsRustCrypto::default(); for ciphersuite_name in Config::supported_ciphersuite_names() { let orig = ReInitProposal { group_id: GroupId::random(&crypto), version: ProtocolVersion::default(), ciphersuite: *ciphersuite_name, extensions: vec![].into(), }; let encoded = orig.tls_serialize_detached().unwrap(); let decoded = ReInitProposal::tls_deserialize(&mut encoded.as_slice()).unwrap(); assert_eq!(decoded, orig); } }
rust
{"meta": {"code": 200, "requestId": "595ae5c0dd57972d2bd36f7b"}, "notifications": [{"item": {"unreadCount": 0}, "type": "notificationTray"}], "response": {"photos": {"items": [{"height": 537, "source": {"url": "https://foursquare.com/download/#/iphone", "name": "Foursquare for iOS"}, "width": 720, "prefix": "https://igx.4sqi.net/img/general/", "createdAt": 1336694172, "id": "4fac559ce4b021d749835433", "venue": {"location": {"formattedAddress": ["R. Jos\u00e9 dos Reis, 425", "Rio de Janeiro, RJ", "20770-062", "Brasil"], "city": "Rio de Janeiro", "lng": -43.29229116439819, "cc": "BR", "state": "RJ", "lat": -22.89327513549696, "address": "R. Jos\u00e9 dos Reis, 425", "labeledLatLngs": [{"label": "display", "lat": -22.89327513549696, "lng": -43.29229116439819}], "postalCode": "20770-062", "country": "Brasil"}, "contact": {"twitter": "estniltonsantos", "instagram": "estadioniltonsantos", "facebookName": "Est\u00e1<NAME>", "formattedPhone": "+55 21 2597-9775", "phone": "+552125979775", "facebookUsername": "EstadioNiltonSantos", "facebook": "382182408620772"}, "verified": true, "stats": {"tipCount": 136, "usersCount": 14711, "checkinsCount": 32551}, "beenHere": {"lastCheckinExpiredAt": 0}, "storeId": "", "url": "http://www.botafogo.com.br", "like": false, "categories": [{"icon": {"prefix": "https://ss3.4sqi.net/img/categories_v2/arts_entertainment/stadium_soccer_", "suffix": ".png"}, "name": "Soccer Stadium", "id": "4bf58dd8d48988d188941735", "pluralName": "Soccer Stadiums", "primary": true, "shortName": "Soccer"}], "id": "4b058729f964a520d48222e3", "name": "Olympic Stadium (Engenh\u00e3o) (Est\u00e1dio <NAME> (Engenh\u00e3o))", "venuePage": {"id": "216232406"}}, "suffix": "/dAZCAde7Ja45VMcemVEal73j1rWWS1brbBggYGIAEXE.jpg", "visibility": "public"}, {"height": 537, "source": {"url": "https://foursquare.com/download/#/iphone", "name": "Foursquare for iOS"}, "width": 720, "prefix": "https://igx.4sqi.net/img/general/", "createdAt": 1333657902, "id": "4f7e012ee4b0bf87aa1d3b94", "venue": {"venueRatingBlacklisted": true, "like": false, "location": {"city": "Rio de Janeiro", "lng": -43.27615228132758, "cc": "BR", "state": "RJ", "lat": -23.002876740003046, "address": "Vevd. das Bandeiras", "labeledLatLngs": [{"label": "display", "lat": -23.002876740003046, "lng": -43.27615228132758}], "formattedAddress": ["Vevd. das Bandeiras", "Rio de Janeiro, RJ", "Brasil"], "country": "Brasil"}, "categories": [{"icon": {"prefix": "https://ss3.4sqi.net/img/categories_v2/parks_outdoors/bridge_", "suffix": ".png"}, "name": "Bridge", "id": "4bf58dd8d48988d1df941735", "pluralName": "Bridges", "primary": true, "shortName": "Bridge"}], "verified": false, "contact": {}, "beenHere": {"lastCheckinExpiredAt": 0}, "stats": {"tipCount": 40, "usersCount": 3091, "checkinsCount": 9046}, "id": "4b9e2572f964a52085cd36e3", "name": "<NAME>\u00e1"}, "suffix": "/8KSSGC9oXki6N0h75P_VaC_7WRN4ZxdbBNTyvpoHI8w.jpg", "visibility": "public"}, {"height": 537, "source": {"url": "https://foursquare.com/download/#/iphone", "name": "Foursquare for iOS"}, "width": 720, "prefix": "https://igx.4sqi.net/img/general/", "createdAt": 1330374104, "id": "4f4be5d8e4b011fb79275f6d", "venue": {"like": false, "location": {"formattedAddress": ["Estr. do Pontal, s/n", "Rio de Janeiro, RJ", "22790-877", "Brasil"], "city": "Rio de Janeiro", "lng": -43.479260396639106, "cc": "BR", "state": "RJ", "lat": -23.03112657016924, "address": "Estr. do Pontal, s/n", "labeledLatLngs": [{"label": "display", "lat": -23.03112657016924, "lng": -43.479260396639106}], "postalCode": "22790-877", "country": "Brasil"}, "categories": [{"icon": {"prefix": "https://ss3.4sqi.net/img/categories_v2/parks_outdoors/beach_", "suffix": ".png"}, "name": "Beach", "id": "4bf58dd8d48988d1e2941735", "pluralName": "Beaches", "primary": true, "shortName": "Beach"}], "verified": false, "contact": {}, "beenHere": {"lastCheckinExpiredAt": 0}, "stats": {"tipCount": 70, "usersCount": 4689, "checkinsCount": 10094}, "id": "4c30770d452620a1eb251f0f", "name": "<NAME>"}, "suffix": "/F4lcoJDWOuzwU_vOGCsqRN239b5LYvACptiX69jR9Y8.jpg", "visibility": "public"}], "count": 3}, "totalCount": 3}}
json
<gh_stars>1-10 { "numOfScopes": 4, "numOfIntraProceduralModels": 4, "numOfInterProceduralModels": 4, "scopeNames": ["$DOMAIN.$PAGE_0", "$DOMAIN.$PAGE_0.ack", "$DOMAIN.$PAGE_0.fib", "$DOMAIN.$PAGE_0.tak"], "mainlyRelatedScopeNameOfIntraProceduralModels": ["$DOMAIN.$PAGE_0", "$DOMAIN.$PAGE_0.ack", "$DOMAIN.$PAGE_0.fib", "$DOMAIN.$PAGE_0.tak"], "mainlyRelatedScopeNameOfInterProceduralModels": ["$DOMAIN.$PAGE_0", "$DOMAIN.$PAGE_0.ack", "$DOMAIN.$PAGE_0.fib", "$DOMAIN.$PAGE_0.tak"], "scopeLocalVars": [ ["window", "document", "String", "Number", "Boolean", "Array", "Map", "WeakMap", "Set", "Date", "console", "ack", "fib", "tak", "result", "i", "expected"], ["m", "n"], ["n"], ["x", "y", "z"] ] }
json
<filename>2017/16alt.py #!/usr/bin/env python3 # An alternate solve of 16 part 2 based on decomposing and # exponentiating permutations import sys def round(things, data): for move in data: if move[0] == 's': amt = int(move[1:]) things = things[-amt:] + things[:-amt] elif move[0] == 'x': a,b = map(int, move[1:].split("/")) things[a], things[b] = things[b], things[a] else: x, y = move[1], move[3] a = things.index(x) b = things.index(y) things[a], things[b] = things[b], things[a] return things def apply(xs, perm): return [xs[perm[i]] for i in range(len(xs))] def pow(xs, n): if n == 0: return list(range(len(xs))) sub = pow(xs, n // 2) sub = apply(sub, sub) if n % 2 == 1: sub = apply(xs, sub) return sub def indexes(letters): return [letters.index(chr(ord('a')+i)) for i in range(len(letters))] def main(args): data = [s.strip() for s in sys.stdin] data = data[0].split(",") Xdata = [x for x in data if x[0] != 'p'] Pdata = [x for x in data if x[0] == 'p'] X = round(list(range(16)), Xdata) things = [chr(ord('a')+i) for i in range(16)] P = indexes(round(list(things), Pdata)) things = apply(things, pow(X, 1000000000)) idxs = apply(indexes(things), pow(P, 1000000000)) letters = [chr(ord('a')+idxs.index(i)) for i in range(16)] print(''.join(letters)) if __name__ == '__main__': sys.exit(main(sys.argv))
python
<gh_stars>0 from django import template register = template.Library() @register.filter def len(a): return a.__len__() @register.filter def modulo(a, b): return a % b @register.filter def name(staff, lang): if lang == "fa": return staff.persian_firstname + " " + staff.persian_lastname else: return staff.english_firstname + " " + staff.english_lastname
python
use async_trait::async_trait; use std::fmt; #[async_trait] pub trait SendAsyncSafe<M, R> where M: xtra::Message<Result = R>, { /// Send a message to an actor without waiting for them to handle /// it. /// /// As soon as this method returns, we know if the receiving actor /// is alive. If they are, the message we are sending will /// eventually be handled by them, but we don't wait for them to /// do so. async fn send_async_safe(&self, msg: M) -> Result<(), xtra::Disconnected>; } #[async_trait] impl<A, M> SendAsyncSafe<M, ()> for xtra::Address<A> where A: xtra::Handler<M>, M: xtra::Message<Result = ()>, { async fn send_async_safe(&self, msg: M) -> Result<(), xtra::Disconnected> { #[allow(clippy::disallowed_method)] self.do_send_async(msg).await } } #[async_trait] impl<A, M, E> SendAsyncSafe<M, Result<(), E>> for xtra::Address<A> where A: xtra::Handler<M>, M: xtra::Message<Result = Result<(), E>>, E: fmt::Display + Send, { async fn send_async_safe(&self, msg: M) -> Result<(), xtra::Disconnected> { if !self.is_connected() { return Err(xtra::Disconnected); } let send_fut = self.send(msg); #[allow(clippy::disallowed_method)] tokio::spawn(async { let e = match send_fut.await { Ok(Err(e)) => format!("{e:#}"), Err(e) => format!("{e:#}"), Ok(Ok(())) => return, }; tracing::warn!("Async message invocation failed: {:#}", e) }); Ok(()) } } #[async_trait] impl<M, E> SendAsyncSafe<M, Result<(), E>> for Box<dyn xtra::prelude::MessageChannel<M>> where M: xtra::Message<Result = Result<(), E>>, E: fmt::Display + Send, { async fn send_async_safe(&self, msg: M) -> Result<(), xtra::Disconnected> { if !self.is_connected() { return Err(xtra::Disconnected); } let send_fut = self.send(msg); #[allow(clippy::disallowed_method)] tokio::spawn(async { let e = match send_fut.await { Ok(Err(e)) => format!("{e:#}"), Err(e) => format!("{e:#}"), Ok(Ok(())) => return, }; tracing::warn!("Async message invocation failed: {e:#}") }); Ok(()) } }
rust
<reponame>sparkey667/Hacktoberfest { "word": "Interject", "definitions": [ "to throw in between or among other things", "to insert between other things" ], "parts-of-speech": "Verb" }
json
Sports followers in India, feel that the sports persons in the nation are not encouraged to the right level. Few people say that the demand for film stars and cricketers is too high in India and the other sports celebrities are literally ignored by the government. They are issues less money and recognition for their work. Looks like, this one turned true with the recent Priyanka Chopra’s flick “Mary Kom”. Even though Priyanka acted in the role of Mary Kom, she literally earned more than what Mary Kon got till now. In spite of acting as a duplicate Mary Kom, Priyanka managed to get the maximum remuneration which is quite high compared to the earnings of real Mary Kom. This one is a fact and this aspect is now disturbing sports followers in India. They say that the duplicate is given more value than the original and they further mentioned that the sports persons in other countries gets good recognition, fame and money. Of course, KCR initiated the process of encouraging sports persons and lets hope that the nation too starts this process.
english
<reponame>MicrohexHQ/CasperLabs #![no_std] #![feature(cell_update)] extern crate alloc; extern crate contract_ffi; use contract_ffi::contract_api::TransferResult; use contract_ffi::value::account::PublicKey; use contract_ffi::value::U512; const ACCOUNT_2_ADDR: [u8; 32] = [2u8; 32]; #[no_mangle] pub extern "C" fn call() { let public_key = PublicKey::new(ACCOUNT_2_ADDR); let amount: U512 = contract_ffi::contract_api::get_arg(0); let result = contract_ffi::contract_api::transfer_to_account(public_key, amount); assert_ne!(result, TransferResult::TransferError); }
rust
FIFA has rejected a number of bids for the 2023 Women's World Cup broadcast rights for being too low, the body's Chief Business Officer Romy Gai said as he called on broadcasters to seize the "opportunity" provided by the women's game. Gai, who was appointed to the role earlier this year, said the bids did not reflect the popularity of women's football and highlighted the 2019 World Cup's record viewership figures. A FIFA report published in 2019 said that 1.12 billion viewers tuned into the tournament, which was won by the United States. "This is not a case of being priced out, but rather a testament to a lack of willingness of broadcasters to pay what the women's game deserves," Gai told Bloomberg in an interview published on Thursday. "Audience figures show that the Women's World Cup 2019 in France was a catalyst for change in terms of a TV audience. We know the opportunity for women's football is there. Now, together, we need to capture it," Gai told Bloomberg that bids from Italy, Germany, France and the United Kingdom had been turned down, but did not mention which broadcasters had submitted the bids. The World Cup will be held next year in Australia and New Zealand, starting on July 20. The draw for the tournament's finals will take place in Auckland on Saturday.
english
export class EmployeeNameList { constructor( public empid:string="", public empname :string="", ){} }
typescript
<gh_stars>0 import _ from 'lodash'; import bing from './bing'; import { enhanceResponse } from './enhancements'; import { sha1, delay } from './utils'; import { memoize } from './redis'; import { captureException } from './exceptions'; const MAX_RESPONSE_MS = 1800; const DEFAULT_SEARCH_PARAMS = { count: 20 }; async function searchBingAndTransform(params) { const bingResponse = await bing.search(params); const response = {}; response.queryContext = bingResponse.queryContext; response.stats = { totalEstimatedMatches: bingResponse.webPages?.totalEstimatedMatches || 0 }; response.results = bingResponse.webPages?.value?.map(item => { // Pick primary attributes const result = _.pick(item, ['name', 'url', 'displayUrl', 'snippet', 'isNavigational']); // Pick primary attributes for deepLinks if included. Only include 4. if (item.deepLinks) { result.deepLinks = item.deepLinks .slice(0, 4) .map(deepLink => _.pick(deepLink, ['name', 'url', 'snippet'])); } return { id: sha1(result.url), type: 'webPage', ...result }; }) || []; return response; } const searchBingAndTransformCached = memoize(searchBingAndTransform); export async function precache(params) { searchBingAndTransform({ ...DEFAULT_SEARCH_PARAMS, ...params }); } function getBestQuery(query, queryContext) { let cleanQuery = queryContext?.alteredQuery || queryContext?.originalQuery || query || ''; cleanQuery = cleanQuery.toLowerCase(); return cleanQuery; } export async function search(params, geo) { const startTime = Date.now(); const query = params.q; const response = await searchBingAndTransformCached({ ...DEFAULT_SEARCH_PARAMS, ...params }); const bestQuery = getBestQuery(query, response.queryContext); const searchEndTime = Date.now(); const searchElaspedTime = searchEndTime - startTime; const timeRemaining = MAX_RESPONSE_MS - searchElaspedTime; try { if (timeRemaining > 0) { await Promise.race([delay(timeRemaining), enhanceResponse(bestQuery, response, geo)]); } } catch (e) { captureException(e); } const endTime = Date.now(); const totalTime = endTime - startTime; console.log('------------------------------------'); console.log('Search:', `${searchElaspedTime}ms`); console.log('Remaining:', `${timeRemaining}ms`); console.log('Enhancements:', `${endTime - searchEndTime}ms`); console.log('Total:', `${totalTime}ms`); console.log('------------------------------------'); response.stats.totalTime = totalTime; return response; }
javascript
{ "env": { "node": true, "es2020": true }, "plugins": ["jest"], "extends": ["eslint:recommended", "plugin:jest/all"], "rules": { "no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }], "no-extra-semi": "off", "jest/lowercase-name": "off", "jest/require-top-level-describe": "off", "jest/prefer-strict-equal": "off", "jest/no-identical-title": "off", "jest/consistent-test-it": "off" } }
json
let contador = 0; function allIncludes(a, b) { let allExists = null; for (const aElem of a) { // Note que o `includes` abaixo irá iterar sobre cada elemento de `b` até o // fim dos elementos, ou até que algum elemento seja igual a `aElem`. // Uma complexidade próxima de `O(n)`. if (includes(b, aElem)) { // Se `exists` já for `true`, irá continuar como `true`. // Se for `false`, não será atribuído. if (allExists === null) { allExists = true; } } else { allExists = false; } } console.log(contador); contador = 0; return allExists; } // Ignore: function includes(arr, elem) { for (const el of arr) { if (el === elem) { return true; } contador++; } return false; } // Exemplo de entrada: allIncludes([1, 2, 3], [3, 2, 1]); // true allIncludes([1, 2, 3], [1, 2, 4]); // false //https://pt.stackoverflow.com/q/429553/101
javascript
Paris: BepiColombo successfully completed its first of its six encounters with Mercury, from an altitude of just 200 km. BepiColombo, a joint mission of European Space Agency’s (ESA) and Japan Aerospace Exploration Agency (JAXA), is on its way to the mysterious innermost planet of the solar system, Mercury. The spacecraft aims to enter the planet’s orbit in 2025. It made an encounter with Mercury at 23. 34 p. m. Friday (5. 04 a. m. Saturday India time). It swooped by the planet at an altitude of about 200 km, capturing imagery and science data that will give scientists a tantalising first taste of what’s to come in the main mission. “Our #MercuryFlyby went well! ” the mission team posted on Twitter Saturday. It is difficult to take high-resolution imagery with the main science camera during the flybys because it is shielded by the transfer module while the spacecraft is in cruise configuration. However, the Mercury Transfer Module’s Monitoring Camera 2 took an image, when the spacecraft was about 2,418 km from Mercury, the ESA said in a statement. “The image shows a region part of Mercury as northern hemisphere including Sihtu Planitia that has been flooded by lavas. A round area smoother and brighter than its surroundings characterises the plains around the Calvino crater, which are called the Rudaki Plains,” it added. In the image, the 166 km-wide Lermontov crater is also seen, which looks bright because it contains features unique to Mercury called ‘hollows’ where volatile elements are escaping to space. It also contains a vent where volcanic explosions have occurred. BepiColombo will study these types of features once in orbit around the planet, the ESA said. The camera provided a black-and-white snapshots in 1024 x 1024 pixel resolution. Some images “are somewhat overexposed”, acemore images with different exposure settings” will be shared later, the mission team said. Mercury has a heavily cratered surface much like the appearance of Earth’s Moon, plotting its 4. 6 billion year history. Mapping the surface of Mercury and analysing its composition will help scientists understand more about its formation and evolution. The BepiColombo mission comprises two science orbiters which will be delivered into complementary orbits around the planet by the Mercury Transfer Module in 2025. The ESA-led Mercury Planetary Orbiter and the JAXA-led Mercury Magnetospheric Orbiter, Mio, will study all aspects of this mysterious inner planet from its core to surface processes, magnetic field and exosphere, to better understand the origin and evolution of a planet close to its parent star. BepiColombo will make use of nine planetary flybys in total: one at Earth, two at Venus, and six at Mercury, together with the spacecraft’s solar electric propulsion system, to help steer into Mercury orbit. In August, BepiColombo zipped past Venus, taking black-and-white snapshots in 1024 x 1024 pixel resolution.
english
<gh_stars>0 { "name": "fastify-xml-body-parser", "version": "1.1.0", "description": "Fastify plugin to parse XML payload into JS object", "main": "index.js", "scripts": { "test": "jasmine test/*test.js", "coverage": "istanbul cover -x \"test/*test.js\" jasmine test/*test.js;", "coverage:check": "istanbul check-coverage --branch 90 --statement 90" }, "keywords": [ "fastify", "xml", "body", "plugin", "parse" ], "author": "<NAME> (https://amitkumargupta.work)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/NaturalIntelligence/fastify-xml-body-parser.git" }, "homepage": "https://github.com/NaturalIntelligence/fastify-xml-body-parser", "dependencies": { "fast-xml-parser": "^3.15.0", "fastify-plugin": "^0.2.2" }, "devDependencies": { "fastify": "^1.14.6", "istanbul": "^0.4.5", "jasmine": "^3.5.0", "jasmine-core": "^2.99.1", "request": "^2.88.0" } }
json
{"ast":null,"code":"import React,{Component}from'react';import{SRLWrapper}from\"simple-react-lightbox\";// Import SRLWrapper\nimport pic1 from'../image/pic1.jpg';import pic2 from'../image/pic2.jpg';import pic3 from'../image/pic3.jpg';import pic4 from'../image/pic4.jpg';import pic5 from'../image/pic5.jpg';import pic6 from'../image/pic6.jpg';import pic7 from'../image/pic7.jpg';import pic8 from'../image/pic8.jpg';import pic9 from'../image/pic9.jpg';import pic10 from'../image/pic11.jpg';import pic11 from'../image/pic12.jpg';import pic12 from'../image/pic13.jpg';import pic13 from'../image/pic15.jpg';import pic14 from'../image/pic16.jpg';function MyComponent(){return/*#__PURE__*/React.createElement(\"div\",{className:\"MyComponent\"},/*#__PURE__*/React.createElement(SRLWrapper,null,/*#__PURE__*/React.createElement(\"img\",{src:pic1,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic2,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic4,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic5,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic7,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic8,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic9,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic10,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic11,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic12,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic13,alt:\"185\"}),/*#__PURE__*/React.createElement(\"img\",{src:pic14,alt:\"185\"})));}export default MyComponent;","map":{"version":3,"sources":["/Users/zhijun/Documents/185react_yan/src/Components/MyComponent.js"],"names":["React","Component","SRLWrapper","pic1","pic2","pic3","pic4","pic5","pic6","pic7","pic8","pic9","pic10","pic11","pic12","pic13","pic14","MyComponent"],"mappings":"AAAA,MAAOA,CAAAA,KAAP,EAAgBC,SAAhB,KAAiC,OAAjC,CACA,OAASC,UAAT,KAA2B,uBAA3B,CAAoD;AAGpD,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,IAAP,KAAiB,mBAAjB,CACA,MAAOC,CAAAA,KAAP,KAAkB,oBAAlB,CACA,MAAOC,CAAAA,KAAP,KAAkB,oBAAlB,CACA,MAAOC,CAAAA,KAAP,KAAkB,oBAAlB,CACA,MAAOC,CAAAA,KAAP,KAAkB,oBAAlB,CACA,MAAOC,CAAAA,KAAP,KAAkB,oBAAlB,CAEA,QAASC,CAAAA,WAAT,EAAuB,CACrB,mBACE,2BAAK,SAAS,CAAC,aAAf,eACE,oBAAC,UAAD,mBACM,2BAAK,GAAG,CAAEd,IAAV,CAAgB,GAAG,CAAC,KAApB,EADN,cAEH,2BAAK,GAAG,CAAEC,IAAV,CAAgB,GAAG,CAAC,KAApB,EAFG,cAIH,2BAAK,GAAG,CAAEE,IAAV,CAAgB,GAAG,CAAC,KAApB,EAJG,cAKH,2BAAK,GAAG,CAAEC,IAAV,CAAgB,GAAG,CAAC,KAApB,EALG,cAOH,2BAAK,GAAG,CAAEE,IAAV,CAAgB,GAAG,CAAC,KAApB,EAPG,cAQH,2BAAK,GAAG,CAAEC,IAAV,CAAgB,GAAG,CAAC,KAApB,EARG,cASH,2BAAK,GAAG,CAAEC,IAAV,CAAgB,GAAG,CAAC,KAApB,EATG,cAUH,2BAAK,GAAG,CAAEC,KAAV,CAAiB,GAAG,CAAC,KAArB,EAVG,cAWH,2BAAK,GAAG,CAAEC,KAAV,CAAiB,GAAG,CAAC,KAArB,EAXG,cAYH,2BAAK,GAAG,CAAEC,KAAV,CAAiB,GAAG,CAAC,KAArB,EAZG,cAaH,2BAAK,GAAG,CAAEC,KAAV,CAAiB,GAAG,CAAC,KAArB,EAbG,cAcH,2BAAK,GAAG,CAAEC,KAAV,CAAiB,GAAG,CAAC,KAArB,EAdG,CADF,CADF,CAoBD,CAED,cAAeC,CAAAA,WAAf","sourcesContent":["import React, { Component } from 'react';\nimport { SRLWrapper } from \"simple-react-lightbox\"; // Import SRLWrapper\n\n\nimport pic1 from '../image/pic1.jpg'\nimport pic2 from '../image/pic2.jpg'\nimport pic3 from '../image/pic3.jpg'\nimport pic4 from '../image/pic4.jpg'\nimport pic5 from '../image/pic5.jpg'\nimport pic6 from '../image/pic6.jpg'\nimport pic7 from '../image/pic7.jpg'\nimport pic8 from '../image/pic8.jpg'\nimport pic9 from '../image/pic9.jpg'\nimport pic10 from '../image/pic11.jpg'\nimport pic11 from '../image/pic12.jpg'\nimport pic12 from '../image/pic13.jpg'\nimport pic13 from '../image/pic15.jpg'\nimport pic14 from '../image/pic16.jpg'\n \nfunction MyComponent() {\n return (\n <div className=\"MyComponent\">\n <SRLWrapper>\n <img src={pic1} alt=\"185\"/>\n\t\t\t<img src={pic2} alt=\"185\"/>\n\t\t\t\n\t\t\t<img src={pic4} alt=\"185\"/>\n\t\t\t<img src={pic5} alt=\"185\"/>\n\t\t\t\n\t\t\t<img src={pic7} alt=\"185\"/>\n\t\t\t<img src={pic8} alt=\"185\"/>\n\t\t\t<img src={pic9} alt=\"185\"/>\n\t\t\t<img src={pic10} alt=\"185\"/>\n\t\t\t<img src={pic11} alt=\"185\"/>\n\t\t\t<img src={pic12} alt=\"185\"/>\n\t\t\t<img src={pic13} alt=\"185\"/>\n\t\t\t<img src={pic14} alt=\"185\"/>\n </SRLWrapper>\n </div>\n );\n}\n \nexport default MyComponent;"]},"metadata":{},"sourceType":"module"}
json
Emma Raducanu's recent split with coach Sebastian Sachs drew perplexed reactions from tennis fans on Twitter as it marked her fifth coaching change in two years. Raducanu is currently on the sidelines after undergoing surgeries to her wrists and ankle. On June 1, she took to social media to announce that she was parting ways with Sachs. The Brit expressed her appreciation for her coach's coaching and wished him well for his future endeavors. "I have really enjoyed Seb’s coaching and working with him, it’s unfortunate that circumstances made it unfeasible for both of us to continue right now and we have decided to part ways. I wish Seb all the best moving forwards," Emma Raducanu tweeted. Emma Raducanu's split with Sebastian Sachs marks the lastest change her coaching set-up has undergone since her breakthrough at Wimbledon 2021. She reached the fourth round under Nigel Sears' tutelage at the grasscourt major two years ago. However, they split soon after and she partnered with Andrew Richardson, who guided her to the 2021 US Open title. In November 2021, Raducanu began working with Torben Beltz, but they split just five months later. Prior to the 2022 US Open, the 20-year-old joined forces with Dmitry Tursunov, with their partnership coming to an end in October 2022. Raducanu announced Sachs as her coach in December 2022. Reacting to her split with Sachs, several fans on Twitter opined that Raducanu would benefit from reuniting with Richardson given that he had led her to the US Open title. "Changes coaches more than anyone in the world of tennis. Should head back to the guy who helped her win a major," a fan commented. "Running through more coaches than hot dinners. Maybe you and your management should've stuck with the same coach that helped get your US Open win? " another fan chimed in. Other fans were taken aback by the large number of coaching changes the Brit had made over the past two years. "Again? ? ? How many coaches in last 24 months? ? ? " a fan tweeted. Here are some more fans reactions to Raducanu parting ways with Sebastian Sachs: Emma Raducanu's former coach Andrew Richardson recently disclosed that he had been keen to renegotiate their nine-week trial contract after her US Open triumph. "There was a period of time after that when I was keen to renegotiate the contract. I wanted to carry on, and I had a plan that I wanted to put in place for Emma," he said in an interview with the Daily Mail. He stated that negotiation talks ended abrubtly after he received a brief call from Raducanu's agent informing him that they were going to pursue a different direction. "We were in the process of renegotiating, and then I got a brief call from her agent telling me they were going to go in a different direction, and that was the end of it," Richardson added. In other news, Emma Raducanu shared an injury update after announcing her split with Sebastian Sachs.
english
This week's Raw was centred around the reunification of Shield and Twitter went through a meltdown as the Hounds of Justice finally came back together. Raw also had a fatal fiveway elimination match between the women for the right to face Asuka upon her debut at TLC, where Emma emerged as the victor. In the main event, Kalisto also took on Enzo Amore for the WWE Cruiserweight Championship in a Lumberjack and won the match and the title. Let's start with the reunification of Shield and the complete meltdown that Twitter had. The Hounds of justice took apart the Miz and The Bar and later attacked Braun Strowman to mete out some justice to the Monster among Men. Bray Wyatt stated that Sister Abigail was alive and that she would help him when he came for Finn Balor. Wyatt's reveal of Sister Abigail did not please fans at all and they were extremely vocal about their displeasure while others made fun of the whole angle. Some fans did appear to enjoy the entire Sister Abigail segment. The Fatal Fiveway match got over as well, as the fans were excited to see who Asuka would face at TLC. The general consensus seemed though that it was a simple match to decide who would be Asuka's first victim. There was some confusion about the nature of the match, however, as it was later revealed that it was an elimination match. In the main event, Kalisto took on and defeated Enzo Amore for the WWE Cruiserweight Championship in a Lumberjack match. That was not all, as there were several other moments which got quite a few reactions from the fans.
english
'use strict'; const assert = require('assert'), vars = require('./variables'), isPresent = require(vars.path); module.exports = { 'js-partial-is-present' : () => { let _undefined = undefined, _null = null, _boolean = false, _number = 0, _string = 'str', _function = () => {}; assert(isPresent() === false); assert(isPresent(_undefined) === false); assert(isPresent(_null) === false); assert(isPresent(_boolean) === true); assert(isPresent(_number) === true); assert(isPresent(_string) === true); assert(isPresent(_function) === true); } };
javascript
<filename>spring-content-solr/src/main/java/internal/org/springframework/content/solr/SolrFulltextIndexServiceImpl.java<gh_stars>100-1000 package internal.org.springframework.content.solr; import static java.lang.String.format; import static org.apache.solr.client.solrj.request.AbstractUpdateRequest.ACTION.COMMIT; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.request.ContentStreamUpdateRequest; import org.apache.solr.client.solrj.request.UpdateRequest; import org.apache.solr.common.util.ContentStreamBase; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.content.commons.annotations.ContentId; import org.springframework.content.commons.repository.StoreAccessException; import org.springframework.content.commons.search.IndexService; import org.springframework.content.commons.utils.BeanUtils; import org.springframework.content.commons.utils.DomainObjectUtils; import org.springframework.content.solr.AttributeProvider; import org.springframework.content.solr.SolrProperties; public class SolrFulltextIndexServiceImpl implements IndexService { public static final String ENTITY_ID = "entity_id"; private final SolrClient solrClient; private final SolrProperties properties; private AttributeProvider<Object> builtinSyncer; private AttributeProvider<Object> syncer; @Autowired public SolrFulltextIndexServiceImpl(SolrClient solrClient, SolrProperties properties) { this.solrClient = solrClient; this.properties = properties; builtinSyncer = new AttributeProvider<Object>() { @Override public Map synchronize(Object entity) { Map<String, String> attributes = new HashMap<>(); Object id = DomainObjectUtils.getId(entity); if (id != null) { attributes.put(ENTITY_ID, id.toString()); } return attributes; } }; } @Autowired(required=false) public void setAttributeSyncer(AttributeProvider syncer) { this.syncer = syncer; } @Override public void index(Object entity, InputStream content) { ContentStreamUpdateRequest up = new ContentStreamUpdateRequest("/update/extract"); if (properties.getUser() != null) { up.setBasicAuthCredentials(properties.getUser(), properties.getPassword()); } up.addContentStream(new ContentEntityStream(content)); String id = BeanUtils.getFieldWithAnnotation(entity, ContentId.class).toString(); up.setParam("literal.id", entity.getClass().getCanonicalName() + ":" + id); Map<String,String> attributesToSync = builtinSyncer.synchronize(entity); if (syncer != null) { attributesToSync.putAll(syncer.synchronize(entity)); } for (Entry<String,String> entry : attributesToSync.entrySet()) { up.setParam(format("literal.%s", entry.getKey()), entry.getValue()); } up.setAction(COMMIT,true, true); try { solrClient.request(up, null); } catch (SolrServerException e) { throw new StoreAccessException(format("Error indexing entity with id '%s'", id), e); } catch (IOException e) { throw new StoreAccessException(format("Error indexing entity with id '%s'", id), e); } } @Override public void unindex(Object entity) { Object id = BeanUtils.getFieldWithAnnotation(entity, ContentId.class); UpdateRequest up = new UpdateRequest(); up.setAction(COMMIT,true, true); up.deleteById(entity.getClass().getCanonicalName() + ":" + id.toString()); if (properties.getUser() != null) { up.setBasicAuthCredentials(properties.getUser(), properties.getPassword()); } try { solrClient.request(up, null); } catch (SolrServerException e) { throw new StoreAccessException(format("Error unindexing entity with id '%s'", id), e); } catch (IOException e) { throw new StoreAccessException(format("Error unindexing entity with id '%s'", id), e); } } private class ContentEntityStream extends ContentStreamBase { private InputStream stream; public ContentEntityStream(InputStream stream) { this.stream = stream; } @Override public InputStream getStream() throws IOException { return stream; } } }
java
<reponame>inhibitor1217/socratest { "name": "@socratest/runner-nodejs", "version": "0.0.1", "description": "A testcase runner executable in node.js environment for Socratest", "bin": { "runner": "./dist/bin/runner.js" }, "main": "dist/bin/runner.js", "scripts": { "build:bin": "make build-bin" }, "files": [ "dist/**/*", "package.json" ], "repository": "https://github.com/inhibitor1217/socratest", "author": "inhibitor <<EMAIL>>", "license": "MIT", "private": false, "devDependencies": { "@tsconfig/recommended": "^1.0.1", "@types/lodash": "^4.14.174", "@types/node": "^16.9.6", "typescript": "^4.4.3" }, "dependencies": { "lodash": "^4.17.21" } }
json
/** * Copyright (C) 2018+ furplag (https://github.com/furplag) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package jp.furplag.sandbox.reflect; import java.lang.reflect.Field; import java.util.LinkedHashMap; import java.util.Map; import java.util.function.Predicate; import java.util.stream.Stream; import jp.furplag.sandbox.reflect.unsafe.TheUnsafe; import jp.furplag.sandbox.stream.Streamr; import jp.furplag.sandbox.trebuchet.Trebuchet; /** * handles class member whether protected ( or invisible ) . * * @author furplag * */ public interface SavageReflection { /** * read field value whether protected ( or invisible ) . * * @param mysterio {@link Class} or the instance * @param field {@link Field} * @return value of field */ static Object get(final Object mysterio, final Field field) { return !Reflections.isAssignable(mysterio, field) ? null : Trebuchet.Functions.orNot(mysterio, field, (t, u) -> SavageReflection.readField(t, u)); } /** * read field value whether protected ( or invisible ) . * * @param mysterio {@link Class} or the instance * @param fieldName the name of field * @return value of field */ static Object get(final Object mysterio, final String fieldName) { return get(mysterio, Reflections.getField(mysterio, fieldName)); } /** * read field(s) value of the instance whether protected ( or invisible ) . * * @param mysterio {@link Class} or the instance * @param excludes the name of field which you want to except from result * @return {@link LinkedHashMap} &lt;{@link String}, {@link Object}&gt; */ static Map<String, Object> read(final Object mysterio, final String... excludes) { return mappingFields(readFields(mysterio, excludes), mysterio); } /** * read field(s) value of the instance whether protected ( or invisible ) . * * @param mysterio {@link Class} or the instance * @param excludes the name of field which you want to except from result * @return {@link Stream} of field which member of {@code mysterio} */ private static Stream<Field> readFields(final Object mysterio, final String... excludes) { return Streamr.stream(Reflections.getFields(mysterio)).filter(mysterio instanceof Class ? Reflections::isStatic : Predicate.not(Reflections::isStatic)).filter((t) -> Trebuchet.Predicates.orNot(t, (x) -> !Streamr.collect(excludes).contains(x.getName()))); } /** * read field(s) value of the instance whether protected ( or invisible ) . * * @param fields {@link Stream} of field which member of {@code mysterio} * @param mysterio {@link Class} or the instance * @return {@link LinkedHashMap} &lt;{@link String}, {@link Object}&gt; */ private static Map<String, Object> mappingFields(final Stream<Field> fields, final Object mysterio) { return Streamr.stream(fields).collect(LinkedHashMap::new, (map, t) -> map.putIfAbsent(t.getName(), readField(mysterio, t)), LinkedHashMap::putAll); } /** * read field value whether protected ( or invisible ) . * * @param mysterio {@link Class} or the instance * @param field {@link Field} * @return value of field */ private static Object readField(final Object mysterio, final Field field) { return Trebuchet.Functions.orNot(mysterio, field, TheUnsafe::get); } /** * update field value whether finalized ( or invisible, and static ) . * * @param mysterio {@link Class} or the instance * @param field {@link Field} * @param value the value for update * @return true if the field update successfully */ static boolean set(final Object mysterio, final Field field, final Object value) { return Reflections.isAssignable(mysterio, field, value) && Trebuchet.Predicates.orNot(mysterio, field, value, TheUnsafe::set); } /** * update field value whether finalized ( or invisible, and static ) . * * @param mysterio {@link Class} or the instance * @param fieldName the name of field * @param value the value for update * @return true if the field update successfully */ static boolean set(final Object mysterio, final String fieldName, final Object value) { return set(mysterio, Reflections.getField(mysterio, fieldName), value); } }
java
Saddle Club: Adventures at Pine Hollow Movie Streaming Watch Online. Amid the excitement and thrill of the horse world, growing up seems harder than ever. But togther the Saddle Club girls are ready to take on the world. Join Stevie, Carole and Lisa on their adventures at Pine Hollow Stabels as they juggle their time between riding, school and boys and share the highs and lows of adolescence, as good friends should. In Adventures at Pine Hollow Carole is ecstatic as her request for work experience with the Vet has been granted. But her soaring spirits struck down when the spoilt Veronica injures her stallion Cobalt while jumping. Can Lisa and Steve convince Carole to stay at the Pine Hollow Stables despite the tragedy?
english
Our editors will review what you’ve submitted and determine whether to revise the article. - Related Topics: Ertebølle industry, tool industry of the coastal regions of northern Europe, dating from about 9000 to 3500 bc. The Ertebølle industry, named after Ertebølle, Den., where it was first recognized, is classed as a Mesolithic (Middle Stone Age) industry because its people used chipped, rather than polished, stone tools and because they were hunters and fishers rather than agriculturists, who used polished stone tools in the developing agriculture of the Neolithic Period (New Stone Age). The Ertebølle industry had in many ways, however, borrowed from Neolithic industries of central Europe, which were partly contemporaneous with it. The Ertebølle culture, known from its kitchen middens, or garbage heaps, had pottery, chisel-shaped arrowheads, flat and radial flaking techniques for working flint, and, toward the end of the period, some agriculture and stock raising—all Neolithic skills.
english
<reponame>diegoteran99/encuesta @import "tailwindcss/base"; @import "tailwindcss/components"; @import "tailwindcss/utilities"; .container-fluid { width: 100%; padding-right: var(--bs-gutter-x,.75rem); padding-left: var(--bs-gutter-x,.75rem); margin-right: auto; margin-left: auto; } .card { position: relative; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0,0,0,.125); border-radius: 0.25rem; } .mt-4 { margin-top: 1.5rem; } .mb-4 { margin-bottom: 1.5rem!important; } body { margin: 0; font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: var(--bs-body-text-align); background-color: #fff; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; } .card-header { padding: 0.5rem 1rem; margin-bottom: 0; background-color: rgba(0,0,0,.03); border-bottom: 1px solid rgba(0,0,0,.125); } h5 { font-size: 1.25rem; margin-top: 0; margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; } .card-body { flex: 1 1 auto; padding: 1rem 1rem; } p { margin-top: 0; margin-bottom: 0rem; } h6 { font-size: 1rem; margin-top: 0; margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; } .form-control { display: block; width: 100%; padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0.25rem; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .px-4 { padding-right: 1.5rem!important; padding-left: 1.5rem!important; } .form-check-input { width: 1em; height: 1em; margin-top: 0.25em; vertical-align: top; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border: 1px solid rgba(0,0,0,.25); -moz-appearance: none; appearance: none; -webkit-print-color-adjust: exact; color-adjust: exact; } label { display: inline-block; } input { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; } .btn { display: inline-block; font-weight: 400; line-height: 1.5; color: #212529; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; background-color: transparent; border: 1px solid transparent; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .btn-lg { padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem; }
css
DISMISSED police officer Sachin Waze was cross examined by former Home Minister Anil Deshmukh’s lawyer at the KU Chandiwal Commission hearing on Monday. Both Waze and Deshmukh were present at the hearing, which will continue on Tuesday. Deshmukh’s lawyer, Girish Kulkarni, questioned Waze in connection with the latter’s probe into allegations against Arnab Goswami in the TRP racket case. Waze said that even during his suspension, he was aiding investigating agencies because of his uprightness. He was then questioned about his probe in the TRP case and the assistance provided to Raigad police, where an abetment to suicide case was registered against Goswami. Waze said his assistance to the Raigad police was only to the extent of arresting Goswami following a request made by them. He was further questioned about allegations that he received Rs 30 lakh from (Broadcast Audience Research Council) BARC, to which he said he was not aware about it.
english
<reponame>calebmarcus/awacs<filename>awacs/kinesisanalytics.py # Copyright (c) 2012-2013, <NAME> <<EMAIL>> # All rights reserved. # # See LICENSE file for full license. from aws import Action as BaseAction from aws import BaseARN service_name = 'Amazon Kinesis Analytics' prefix = 'kinesisanalytics' class Action(BaseAction): def __init__(self, action=None): sup = super(Action, self) sup.__init__(prefix, action) class ARN(BaseARN): def __init__(self, resource='', region='', account=''): sup = super(ARN, self) sup.__init__(service=prefix, resource=resource, region=region, account=account) AddApplicationInput = Action('AddApplicationInput') AddApplicationOutput = Action('AddApplicationOutput') AddApplicationReferenceDataSource = \ Action('AddApplicationReferenceDataSource') CreateApplication = Action('CreateApplication') DeleteApplication = Action('DeleteApplication') DeleteApplicationOutput = Action('DeleteApplicationOutput') DeleteApplicationReferenceDataSource = \ Action('DeleteApplicationReferenceDataSource') DescribeApplication = Action('DescribeApplication') DiscoverInputSchema = Action('DiscoverInputSchema') GetApplicationState = Action('GetApplicationState') ListApplications = Action('ListApplications') StartApplication = Action('StartApplication') StopApplication = Action('StopApplication') UpdateApplication = Action('UpdateApplication')
python
// <copyright file="request-review.test.ts" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // </copyright> import * as React from "react"; import RequestReview from "../request-review"; import { Provider } from "@fluentui/react-northstar"; import { render, unmountComponentAtNode } from "react-dom"; import { act } from "react-dom/test-utils"; import pretty from "pretty"; jest.mock("../../../api/timesheet"); jest.mock("../../../api/users"); jest.mock("react-i18next", () => ({ useTranslation: () => ({ t: (key: any) => key, i18n: { changeLanguage: jest.fn() }, }), withTranslation: () => (Component: any) => { Component.defaultProps = { ...Component.defaultProps, t: (key: any) => key, }; return Component; }, })); jest.mock("react-router-dom", () => ({ withRouter: (Component: any) => { Component.defaultProps = { ...Component.defaultProps, t: (key: any) => key, match: { params: { projectId: "8d5f9c58-7738-4645-a3d9-e743a9e9f3e1", isMobileView: false, } } }; return Component; }, })); jest.mock("@microsoft/teams-js", () => ({ initialize: () => { return true; }, getContext: (callback: any) => callback( Promise.resolve({ teamId: "ewe", entityId: "sdsd", locale: "en-US" }) ), })); let container: any = null; beforeEach(async () => { // setup a DOM element as a render target container = document.createElement("div"); // container *must* be attached to document so events work correctly. document.body.appendChild(container); await act(async () => { render( <Provider> <RequestReview /> </Provider>, container ); }); }); afterEach(() => { // cleanup on exiting unmountComponentAtNode(container); container.remove(); container = null; }); describe("RequestReview", () => { it("Renders snapshots", async () => { expect(pretty(container.innerHTML)).toMatchSnapshot(); }); it("Render user requests count", async () => { const requestTable = document.querySelector( "[data-tid=request-review-table]" ); expect(requestTable?.childElementCount).toBe(4); }); it("Toggle user timesheets", async () => { const menu = document.querySelector( "[data-tid=view-timesheet-menu]" ); const timesheetToggle = menu?.getElementsByTagName("a")?.item(1); const calendarComponentNull = document.querySelector( "[data-tid=calendar-component]" ); await act(async () => { timesheetToggle?.dispatchEvent( new MouseEvent("click", { bubbles: true }) ); }); const calendarComponentNotNull = document.querySelector( "[data-tid=calendar-component]" ); expect(calendarComponentNull).toBe(null); expect(calendarComponentNotNull).not.toBe(null); }); });
typescript
<filename>.vscode/settings.json { "rust.target": "arm-unknown-linux-gnueabihf", "rust-analyzer.cargo.target": "arm-unknown-linux-gnueabihf", "rust-analyzer.diagnostics.disabled": [ "inactive-code" ], "python.defaultInterpreterPath": "./env/bin/python3" }
json
#include <riscy/interpreter/state.hpp> #include <algorithm> #include <array> #include <bit> #include <type_traits> #include "common/bit_util.hpp" #include "interpreter/instructions/helper.hpp" #include "interpreter/instructions/instructions.hpp" namespace riscy { using UnaryBitFn = RISCVState::GPRType (*)(RISCVState::GPRType value); // For implementing CLZ{W}, CPOP{W}, CTZ{W}, ORC.B, REV8, SEXT.{B, H}, and ZEXT.H static void UnaryBitInstruction(RISCVState& state, const uint32_t opcode, UnaryBitFn unary_fn) noexcept { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto input = state.GPR(rs); const auto result = unary_fn(input); state.GPR(rd) = result; } using BinaryBitFn = RISCVState::GPRType (*)(RISCVState::GPRType lhs, RISCVState::GPRType rhs); // Handles an instruction that takes two register inputs static void BinaryBitInstruction(RISCVState& state, const uint32_t opcode, BinaryBitFn binary_fn) noexcept { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs1 = Bits<15, 19>(opcode); const auto rs2 = Bits<20, 24>(opcode); const auto lhs = state.GPR(rs1); const auto rhs = state.GPR(rs2); const auto result = binary_fn(lhs, rhs); state.GPR(rd) = result; } // Handles an instruction that takes one register input and one immediate input static void BinaryBitInstructionWithImm(RISCVState& state, const uint32_t opcode, BinaryBitFn binary_fn) noexcept { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto imm = Bits<20, 25>(opcode); const auto lhs = state.GPR(rs); const auto result = binary_fn(lhs, imm); state.GPR(rd) = result; } using ITypeFn = RISCVState::GPRType (*)(RISCVState::GPRType lhs, RISCVState::GPRType imm); // Handles a RISC-V I-type instruction. Allows injecting different behavior through // the imm_fn function parameter. static void ITypeInstruction(RISCVState& state, const uint32_t opcode, ITypeFn imm_fn) noexcept { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto& s = state.GPR(rs); const auto imm = SignExtend<12, RISCVState::GPRType>(Bits<20, 31>(opcode)); const auto result = imm_fn(s, imm); state.GPR(rd) = result; } using RTypeFn = RISCVState::GPRType (*)(RISCVState::GPRType lhs, RISCVState::GPRType rhs); // Handles a RISC-V R-type instruction. Allows injecting different behavior through // the reg_fn function parameter. static void RTypeInstruction(RISCVState& state, const uint32_t opcode, RTypeFn reg_fn) noexcept { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs1 = Bits<15, 19>(opcode); const auto rs2 = Bits<20, 24>(opcode); const auto& s1 = state.GPR(rs1); const auto& s2 = state.GPR(rs2); const auto result = reg_fn(s1, s2); state.GPR(rd) = result; } using CATypeFn = RISCVState::GPRType (*)(RISCVState::GPRType lhs, RISCVState::GPRType rhs); // Handles a RISC-V CA-type instruction. Allows injecting different behavior through // the ca_fn function parameter. static void CATypeInstruction(RISCVState& state, const uint32_t opcode, CATypeFn ca_fn) noexcept { const auto rds = ExpandCompressedRegisterIndex<7, 9>(opcode); const auto rs = ExpandCompressedRegisterIndex<2, 4>(opcode); const auto lhs = state.GPR(rds); const auto rhs = state.GPR(rs); const auto result = ca_fn(lhs, rhs); state.GPR(rds) = result; } using CompressedArithImmTypeFn = RISCVState::GPRType (*)(RISCVState::GPRType lhs, RISCVState::GPRType rhs); static void CompressedArithImmInstruction(RISCVState& state, const uint32_t opcode, CompressedArithImmTypeFn cai_fn) { const auto rds = ExpandCompressedRegisterIndex<7, 9>(opcode); const auto shift_amount = Bits<2, 6>(opcode) | (static_cast<uint32_t>(Bit<12>(opcode)) << 5); const auto value = state.GPR(rds); const auto result = cai_fn(value, shift_amount); state.GPR(rds) = result; } void ADD(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs + rhs; }); } void ADDI(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { return lhs + imm; }); } void ADDIW(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { const auto result = static_cast<uint32_t>(lhs + imm); return SignExtend<32, RISCVState::GPRType>(result); }); } void ADDW(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto result = static_cast<uint32_t>(lhs + rhs); return SignExtend<32, RISCVState::GPRType>(result); }); } void ADD_UW(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return (lhs & 0xFFFFFFFFU) + rhs; }); } void AND(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs & rhs; }); } void ANDI(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { return lhs & imm; }); } void ANDN(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs & ~rhs; }); } void AUIPC(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto imm = SignExtend<32, RISCVState::GPRType>(opcode & 0xFFFFF000); const auto offset = imm + state.PC(); state.GPR(rd) = offset; } void BCLR(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = rhs & mask; const auto bit = RISCVState::GPRType{1} << index; return lhs & ~bit; }); } void BCLRI(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto bit = RISCVState::GPRType{1} << rhs; return lhs & ~bit; }); } void BEXT(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = rhs & mask; const auto bit = lhs >> index; return bit & 1; }); } void BEXTI(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto bit = lhs >> rhs; return bit & 1; }); } void BINV(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = rhs & mask; const auto bit = RISCVState::GPRType{1} << index; return lhs ^ bit; }); } void BINVI(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto bit = RISCVState::GPRType{1} << rhs; return lhs ^ bit; }); } void BSET(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = rhs & mask; const auto bit = RISCVState::GPRType{1} << index; return lhs | bit; }); } void BSETI(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto bit = RISCVState::GPRType{1} << rhs; return lhs | bit; }); } void C_ADD(RISCVState& state, const uint32_t opcode) { const auto rds = Bits<7, 11>(opcode); const auto rs = Bits<2, 6>(opcode); const auto lhs = state.GPR(rds); const auto rhs = state.GPR(rs); const auto result = lhs + rhs; state.GPR(rds) = result; } void C_ADDI(RISCVState& state, const uint32_t opcode) { const auto rds = Bits<7, 11>(opcode); const auto imm = Bits<2, 6>(opcode) | (static_cast<uint32_t>(Bit<12>(opcode)) << 5); const auto simm = SignExtend<6, RISCVState::GPRType>(imm); const auto result = state.GPR(rds) + simm; state.GPR(rds) = result; } void C_ADDI4SPN(RISCVState& state, const uint32_t opcode) { constexpr auto make_imm = [](const uint32_t op) { // clang-format off return ((op & 0x0020) >> 2) | ((op & 0x0040) >> 4) | ((op & 0x0780) >> 1) | ((op & 0x1800) >> 7); // clang-format on }; const auto rd = ExpandCompressedRegisterIndex<2, 4>(opcode); const auto increment = make_imm(opcode); const auto result = state.GPR(2) + increment; state.GPR(rd) = result; } void C_ADDI16SP(RISCVState& state, const uint32_t opcode) { constexpr auto make_imm = [](const uint32_t op) { // clang-format off return ((op & 0x0004) << 3) | ((op & 0x0018) << 4) | ((op & 0x0020) << 1) | ((op & 0x0040) >> 2) | ((op & 0x1000) >> 3); // clang-format on }; const auto imm = make_imm(opcode); const auto increment = SignExtend<10, RISCVState::GPRType>(imm); state.GPR(2) += increment; } void C_ADDIW(RISCVState& state, const uint32_t opcode) { const auto rds = Bits<7, 11>(opcode); const auto imm = Bits<2, 6>(opcode) | (static_cast<uint32_t>(Bit<12>(opcode)) << 5); const auto simm = SignExtend<6, RISCVState::GPRType>(imm); const auto sum = static_cast<uint32_t>(state.GPR(rds) + simm); const auto result = SignExtend<32, RISCVState::GPRType>(sum); state.GPR(rds) = result; } void C_ADDW(RISCVState& state, const uint32_t opcode) { CATypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto add = static_cast<uint32_t>(lhs + rhs); return SignExtend<32, RISCVState::GPRType>(add); }); } void C_AND(RISCVState& state, const uint32_t opcode) { CATypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs & rhs; }); } void C_ANDI(RISCVState& state, const uint32_t opcode) { CompressedArithImmInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs & SignExtend<6, RISCVState::GPRType>(rhs); }); } void C_LI(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); const auto imm = Bits<2, 6>(opcode) | (static_cast<uint32_t>(Bit<12>(opcode)) << 5); const auto simm = SignExtend<6, RISCVState::GPRType>(imm); state.GPR(rd) = simm; } void C_LUI(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); const auto imm = (Bits<2, 6>(opcode) << 12) | (static_cast<uint32_t>(Bit<12>(opcode)) << 17); const auto simm = SignExtend<18, RISCVState::GPRType>(imm); state.GPR(rd) = simm; } void C_MV(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); const auto rs = Bits<2, 6>(opcode); state.GPR(rd) = state.GPR(rs); } void C_NOP([[maybe_unused]] RISCVState& state, [[maybe_unused]] const uint32_t opcode) { // Do nothing. } void C_OR(RISCVState& state, const uint32_t opcode) { CATypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs | rhs; }); } void C_SLLI(RISCVState& state, const uint32_t opcode) { const auto rds = Bits<7, 11>(opcode); const auto shift_amount = Bits<2, 6>(opcode) | (static_cast<uint32_t>(Bit<12>(opcode)) << 5); const auto result = state.GPR(rds) << shift_amount; state.GPR(rds) = result; } void C_SRAI(RISCVState& state, const uint32_t opcode) { CompressedArithImmInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { using Signed = std::make_signed_t<RISCVState::GPRType>; using Unsigned = RISCVState::GPRType; const auto result_signed = static_cast<Signed>(lhs) >> rhs; const auto result_unsigned = static_cast<Unsigned>(result_signed); return result_unsigned; }); } void C_SRLI(RISCVState& state, const uint32_t opcode) { CompressedArithImmInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs >> rhs; }); } void C_SUB(RISCVState& state, const uint32_t opcode) { CATypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs - rhs; }); } void C_SUBW(RISCVState& state, const uint32_t opcode) { CATypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto sub = static_cast<uint32_t>(lhs - rhs); return SignExtend<32, RISCVState::GPRType>(sub); }); } void C_XOR(RISCVState& state, const uint32_t opcode) { CATypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs ^ rhs; }); } void CLMUL(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { RISCVState::GPRType result{}; constexpr auto bit_size = BitSize<RISCVState::GPRType>(); for (size_t i = 0; i < bit_size; i++) { if ((rhs & (1ULL << i)) == 0) { continue; } result ^= lhs << i; } return result; }); } // Functional bits of a reversed carryless multiply. // This is also used to implement CLMULH, since it's equivalent to performing // a CLMULR and then shifting the result to the right by 1. static RISCVState::GPRType CLMULRImpl(const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) noexcept { RISCVState::GPRType result{}; constexpr auto bit_size = BitSize<RISCVState::GPRType>(); for (size_t i = 0; i < bit_size; i++) { if ((rhs & (1ULL << i)) == 0) { continue; } result ^= lhs >> (bit_size - i - 1); } return result; } void CLMULH(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return CLMULRImpl(lhs, rhs) >> 1; }); } void CLMULR(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { RISCVState::GPRType result{}; constexpr auto bit_size = BitSize<RISCVState::GPRType>(); for (size_t i = 0; i < bit_size; i++) { if ((rhs & (1ULL << i)) == 0) { continue; } result ^= lhs >> (bit_size - i - 1); } return result; }); } void CLZ(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return static_cast<RISCVState::GPRType>(std::countl_zero(input)); }); } void CLZW(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return static_cast<RISCVState::GPRType>(std::countl_zero(static_cast<uint32_t>(input))); }); } void CPOP(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return static_cast<RISCVState::GPRType>(std::popcount(input)); }); } void CPOPW(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return static_cast<RISCVState::GPRType>(std::popcount(static_cast<uint32_t>(input))); }); } void CTZ(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return static_cast<RISCVState::GPRType>(std::countr_zero(input)); }); } void CTZW(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return static_cast<RISCVState::GPRType>(std::countr_zero(static_cast<uint32_t>(input))); }); } void LUI(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto imm = SignExtend<32, RISCVState::GPRType>(opcode & 0xFFFFF000); state.GPR(rd) = imm; } void MAX(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { using Unsigned = RISCVState::GPRType; using Signed = std::make_signed_t<Unsigned>; const auto signed_lhs = static_cast<Signed>(lhs); const auto signed_rhs = static_cast<Signed>(rhs); const auto max_value = std::max(signed_lhs, signed_rhs); return static_cast<Unsigned>(max_value); }); } void MAXU(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return std::max(lhs, rhs); }); } void MIN(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { using Unsigned = RISCVState::GPRType; using Signed = std::make_signed_t<Unsigned>; const auto signed_lhs = static_cast<Signed>(lhs); const auto signed_rhs = static_cast<Signed>(rhs); const auto max_value = std::min(signed_lhs, signed_rhs); return static_cast<Unsigned>(max_value); }); } void MINU(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return std::min(lhs, rhs); }); } void OR(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs | rhs; }); } void ORC_B(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { static constexpr std::array byte_masks{ UINT64_C(0x00000000000000FF), UINT64_C(0x000000000000FF00), UINT64_C(0x0000000000FF0000), UINT64_C(0x00000000FF000000), UINT64_C(0x000000FF00000000), UINT64_C(0x0000FF0000000000), UINT64_C(0x00FF000000000000), UINT64_C(0xFF00000000000000), }; RISCVState::GPRType result = 0; constexpr auto num_bytes = sizeof(RISCVState::GPRType); for (size_t i = 0; i < num_bytes; i++) { if ((input & byte_masks[i]) == 0) { continue; } result |= byte_masks[i]; } return result; }); } void ORI(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { return lhs | imm; }); } void ORN(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs | ~rhs; }); } void REV8(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return ByteSwap64(input); }); } void ROL(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = static_cast<int32_t>(rhs & mask); return std::rotl(lhs, index); }); } void ROLW(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = static_cast<int32_t>(rhs & mask); const auto result = std::rotl(static_cast<uint32_t>(lhs), index); return SignExtend<32, RISCVState::GPRType>(result); }); } void ROR(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = static_cast<int32_t>(rhs & mask); return std::rotr(lhs, index); }); } void RORI(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto index = static_cast<int32_t>(rhs); const auto result = std::rotr(lhs, index); return result; }); } void RORIW(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto index = static_cast<int32_t>(rhs); const auto result = std::rotr(static_cast<uint32_t>(lhs), index); return SignExtend<32, RISCVState::GPRType>(result); }); } void RORW(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { constexpr auto mask = BitSize<RISCVState::GPRType>() - 1; const auto index = static_cast<int32_t>(rhs & mask); const auto result = std::rotr(static_cast<uint32_t>(lhs), index); return SignExtend<32, RISCVState::GPRType>(result); }); } void SEXT_B(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return SignExtend<8, RISCVState::GPRType>(input & 0xFF); }); } void SEXT_H(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return SignExtend<16, RISCVState::GPRType>(input & 0xFFFF); }); } void SH1ADD(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return (lhs << 1U) + rhs; }); } void SH1ADD_UW(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto index = RISCVState::GPRType{static_cast<uint32_t>(lhs)}; return (index << 1U) + rhs; }); } void SH2ADD(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return (lhs << 2U) + rhs; }); } void SH2ADD_UW(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto index = RISCVState::GPRType{static_cast<uint32_t>(lhs)}; return (index << 2U) + rhs; }); } void SH3ADD(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return (lhs << 3U) + rhs; }); } void SH3ADD_UW(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto index = RISCVState::GPRType{static_cast<uint32_t>(lhs)}; return (index << 3U) + rhs; }); } void SLL(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto shift_amount = rhs & 0b111111; return lhs << shift_amount; }); } void SLLI(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto shift_amount = Bits<20, 25>(opcode); const auto& s = state.GPR(rs); const auto result = s << shift_amount; state.GPR(rd) = result; } void SLLIW(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto shift_amount = Bits<20, 24>(opcode); const auto& s = state.GPR(rs); const auto shifted = static_cast<uint32_t>(s) << shift_amount; const auto result = SignExtend<32, RISCVState::GPRType>(shifted); state.GPR(rd) = result; } void SLLI_UW(RISCVState& state, const uint32_t opcode) { BinaryBitInstructionWithImm(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto word = lhs & 0xFFFFFFFF; return word << rhs; }); } void SLLW(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto shift_amount = rhs & 0b11111; const auto shifted = static_cast<uint32_t>(lhs) << shift_amount; return SignExtend<32, RISCVState::GPRType>(shifted); }); } void SLT(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { using Signed = std::make_signed_t<RISCVState::GPRType>; using Unsigned = RISCVState::GPRType; const auto result = static_cast<Signed>(lhs) < static_cast<Signed>(rhs); return static_cast<Unsigned>(result); }); } void SLTI(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { using Signed = std::make_signed_t<RISCVState::GPRType>; const auto result = static_cast<Signed>(lhs) < static_cast<Signed>(imm); return static_cast<RISCVState::GPRType>(result); }); } void SLTIU(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { const auto result = lhs < imm; return static_cast<RISCVState::GPRType>(result); }); } void SLTU(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto result = lhs < rhs; return static_cast<RISCVState::GPRType>(result); }); } void SRA(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { using Signed = std::make_signed_t<RISCVState::GPRType>; using Unsigned = RISCVState::GPRType; const auto shift_amount = rhs & 0b111111; const auto result = static_cast<Signed>(lhs) >> shift_amount; return static_cast<Unsigned>(result); }); } void SRAI(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto shift_amount = Bits<20, 25>(opcode); using Signed = std::make_signed_t<RISCVState::GPRType>; using Unsigned = RISCVState::GPRType; const auto& s = state.GPR(rs); const auto result = static_cast<Signed>(s) >> shift_amount; state.GPR(rd) = static_cast<Unsigned>(result); } void SRAIW(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto shift_amount = Bits<20, 25>(opcode); const auto& s = state.GPR(rs); const auto shifted = static_cast<uint32_t>(static_cast<int32_t>(s) >> shift_amount); const auto result = SignExtend<32, RISCVState::GPRType>(shifted); state.GPR(rd) = result; } void SRAW(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto shift_amount = rhs & 0b11111; const auto shifted = static_cast<uint32_t>(static_cast<int32_t>(lhs) >> shift_amount); return SignExtend<32, RISCVState::GPRType>(shifted); }); } void SRL(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto shift_amount = rhs & 0b111111; return lhs >> shift_amount; }); } void SRLI(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto shift_amount = Bits<20, 25>(opcode); const auto& s = state.GPR(rs); const auto result = s >> shift_amount; state.GPR(rd) = result; } void SRLIW(RISCVState& state, const uint32_t opcode) { const auto rd = Bits<7, 11>(opcode); if (rd == 0) [[unlikely]] { return; } const auto rs = Bits<15, 19>(opcode); const auto shift_amount = Bits<20, 25>(opcode); const auto& s = state.GPR(rs); const auto shifted = static_cast<uint32_t>(s) >> shift_amount; const auto result = SignExtend<32, RISCVState::GPRType>(shifted); state.GPR(rd) = result; } void SRLW(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto shift_amount = rhs & 0b11111; const auto shift = static_cast<uint32_t>(lhs) >> shift_amount; return SignExtend<32, RISCVState::GPRType>(shift); }); } void SUB(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs - rhs; }); } void SUBW(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { const auto sub = static_cast<uint32_t>(lhs - rhs); return SignExtend<32, RISCVState::GPRType>(sub); }); } void XNOR(RISCVState& state, const uint32_t opcode) { BinaryBitInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return ~(lhs ^ rhs); }); } void XOR(RISCVState& state, const uint32_t opcode) { RTypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType rhs) { return lhs ^ rhs; }); } void XORI(RISCVState& state, const uint32_t opcode) { ITypeInstruction(state, opcode, [](const RISCVState::GPRType lhs, const RISCVState::GPRType imm) { return lhs ^ imm; }); } void ZEXT_H(RISCVState& state, const uint32_t opcode) { UnaryBitInstruction(state, opcode, [](const RISCVState::GPRType input) { return input & 0xFFFF; }); } } // namespace riscy
cpp
Lewis Hamilton recently helped his younger brother Nicholas do something historic, as he helped him get an opportunity to try the Mercedes simulator. Hamilton's younger brother suffers from a disability because of cerebral palsy and competes in the British Touring Cars championship with modifications in the car. For his simulator session, there were some modifications that needed to be made to the car before Nicholas could use it. Talking about the opportunity his younger brother got, Hamilton said that he had a chat with the team if something like that could be arranged. Once they were done, Hamilton brought his brother to the factory for a simulator session, telling German publication Bild: "Earlier this year, Nicolas and I asked my team if we could make this day happen, and here we are. Time in the sim is incredibly rare, and not something that is accessible for someone like my brother. It took custom modifications to the seat, steering wheel and pedals to make this possible. He spent the whole day in it and is the first disabled person to ever do so. " He added: In a recent interview, Lewis Hamilton said that he's looking forward to the 2023 season. The 2022 campaign was a bust for both team and driver, as he failed to record a pole or win. The Mercedes driver hopes for better things this season, saying: "I'm definitely excited for 2023. These last few years have been so difficult for so many around the world, so many people struggling with the war and many other things. " He added: "I hope something kicks us all into gear to understand that we need to be more compassionate and caring to each other, and I am praying for that all the time. A new year to be better, a new year to climb, keep fighting and unite even more. And it's another chance to fight for a World Championship. " If Mercedes equip Hamilton with a good enough car, an intense championship battle between the Brit and two-time defending champion Max Verstappen could ensue.
english
{"num":"201903040068","name":"\u82cf\u7545","password":"<PASSWORD>","_id":68}
json
Bhubaneswar: High drama unfolded outside the Odisha Legislative Assembly (OLA) here after a couple from Nayagarh district allegedly attempted self-immolation on Tuesday. They maintained that they have been denied justice in the alleged abduction and murder case of their five-year-old daughter. When the couple tried to immolate itself by pouring kerosene, security personnel deployed outside the Assembly rushed and prevented them from lighting the matchstick. The couple has been identified as Ashok Sahu and Soudamini Sahu of Jadupur village in Nayagarh district. After seizing the kerosene bottle and a matchbox from their possession, the police took them into custody. The couple alleged that police have not taken any action in connection with the kidnap and murder of their five-year-old daughter in July this year. Her body was found in the backyard with eyes gouged out and kidneys removed, they said. Soudamini alleged Agriculture Minister Arun Sahu is shielding the accused in the incident. “Our daughter was brutally murdered. Babuli Nayak along with his accomplices killed her. Even as months have passed, the accused are moving scot-free. Minister Arun Sahu is sheltering the criminals,” said the mother. She said the main accused was a key aide of the Minister from Nayagarh district.
english
<filename>src/pages/api/_content/schema.json<gh_stars>0 { "home": { "title": "<NAME>", "description": "Progressive Web App boilerplate. Designed to help you start your next PWA project faster." }, "why-pwa": { "title": "Why PWA?", "description": "What are the benefits of choosing PWA?" }, "get-started": { "title": "How to get started", "description": "How to get started with PWA Boilerplate" } }
json
Ashleigh Barty made her country very proud at the Australian Open Sunday afternoon. With the majority of Australia in the stands with the Prime Minister in attendance, the 15th seed stayed in control to defeat Maria Sharapova 4-6, 6-1, 6-4 on Rod Laver Arena at Melbourne Park. It was the first quarterfinal major for the 22-year-old which came with an amazing finish on the court. The two met last year in Rome where the Russian who had won the tournament previously was strong enough to overcome losing the second set and take it in three. The situation was slightly different coming into the round of 16 with Barty very much a factor to be Australia’s hope to be the first in the open era to win the title. She had yet to drop a set taking down Maria Sakkari who like the Aussie was a strong contender. Sharapova was a target for the 22-year-old who looked to bring the heat and her strong right forehand to keep the journey going. She dictated her opening game forcing Sharapova to run all over the court getting the time to score the winners. The Russian took a different approach firing off wide shots across court creating unforced errors for the easy hold. With the warmup taken care of, Barty started the third with a tactic strategy to answer Sharapova with great returns and an influx of winners. She continued to be the one staying ahead of the 30th seed after five maintaining a consistent charge of the offense. After her hold in the sixth, Sharapova vied for a break on Barty’s serve but watched the Australian force deuce and save the game to remain on serve. The Aussie took her chance for the same result in the eighth but despite playing three break and nine minutes, the game was held by the 31-year-old. With the threat out of the way, she went after the break again and succeeded despite being forced to deuce by Barty. With the small lead and the serve in hand, the Russian dominated gaining three set points to complete 49 minutes. The second serve was running well for Sharapova winning 75 percent while maintaining a well-rounded first. Both struggled against one another on returns making it the true difference maker going into the second stanza. The Aussie started things with a solid hold to prevent a rollover from the first. It set up a short run of service holds that lasted three games when she earned her first break of the match. Sharapova got behind on two errors including the last that went into the net. She consolidated the third with a great hold in the fourth that livened up the home crowd. The 30th seed’s game had turned off enough to give Barty a three-game margin highly threatening a third set to be played. She made it 5-1 for the Australian committing her fifth double fault in the process of being shut out by her own doing. The Russian was on the ropes in the seventh with Barty gaining two set points to get it on a great winner that completed 32 minutes. Sharapova’s offense nearly disappeared serving 50 percent from the first and 25 from the second. It allowed Barty to have a destructive second serve winning 9 of 11 giving her so much confidence into the decider. Sharapova took time off the court to recover her self control and come out to a very critical time in the match. It wasn’t going her way committing a sixth double fault that pleased the Australian crowd. A seventh made it three break points for Barty who took it easy to continue being on the right side of the ball. She looked comfortable on serve taking a 2-0 lead against the 30th seed who failed to show any strength. On serve in the third, the 31-year-old got a slight break due to unforced errors from the 22 but the double faults reared its ugly head for her. She notched her eighth and ninth to force deuce which Barty won on two long balls from the Russian. It was 4-0 for the 15th seed who was on the brink of a major upset and a new place for her career. The Russian aware of her current status played out the fifth where she came back to force deuce where after three breaks and an ace, the 31-year-old ended the shutout with a lone win. A second win arrived for Sharapova with Barty loosening up just enough to have her lead cut in half. The 22-year-old reeled herself in during the seventh getting on the ball each time it came back to earn herself a breakpoint. A long ball put the two players on deuce giving Sharapova life once again. After a 21 shot rally that was such a dramatic finish for Sharapova ended with her winning on a crosscourt that landed on the edge giving Barty no time to return it. One game separated the two with Barty getting behind on her service game. She gained some help with errors from Sharapova that allowed her to score an ace before getting the win on Sharapova’s 49th error of the match. She felt the pressure heavily in the ninth where she served to stay alive keeping ahead on the score to get back within a game. The chance was still with Barty who gained a shot to serve for the match in the tenth. She glided to 30-0 with errors from the Russian until a crosscourt got her into the game. It was too little too late as Barty had two match points with the last one vanishing on a double fault. An ace came for the Australian for a third match point but they went to deuce for a second time. A returned error into the net was the last one Sharapova made as the 15th seed on a fourth match point came with an ace to complete the upset in 2 hours and 22 minutes. “I gave myself the opportunity in the third set in a lot of games so I had to take a deep breath and trust the work that I’ve done with my team,” Barty said during her on-court interview.
english
Ajay Devgn said that his daughter, Nysa, was his harshest critic. - Ajay Devgn said that his daughter Nysa is his harshest critic. - Ajay joked that Kajol "doesn't have the guts to" criticise him. - Ajay is currently gearing up for the release of his film, Raid. By India Today Web Desk: With two National Awards under his belt, there is no doubt that Ajay Devgn has stellar acting chops. But there is one person who does not hesitate to criticise Ajay's work. It is his daughter, Nysa. In an interview with DNA, the Golmaal Again actor revealed that his daughter is his "harshest critic". Ajay also joked that his wife, Kajol, who is known to speak her mind and not mince any words, "doesn't have the guts to" criticise his films. "She (Kajol) doesn't have the guts to, but my daughter, Nysa, does. She is my harshest critic. She doesn't spare me," he revealed. Nysa is currently studying at the United College of Southeast Asia in Singapore. In an interview last year, Ajay had said that he was still coming to terms with the fact that the teenager was away from them and in another country, but added that she was adjusting well. On the work front, Ajay is currently gearing up for the release of Raj Kumar Gupta's Raid, in which Ileana D'Cruz is paired opposite him. The film will hit the screens on March 16.
english
New Delhi: Sachin Tendulkar was a game-changer by all means in the gentlemen’s game of cricket who had far reaching impact on and off the field, something which will remain forever. In his recent interview with American journalist, Graham Bensinger, he revealed that his last request to BCCI was to host his farewell game in Mumbai’s Wankhede Stadium, so that his mother could watch him play from the stands for the last time. The Blaster Master wanted his mother to watch him play live, something which she never experienced it inside a stadium. “When I was about to play my last match, I told the board the BCCI, that these two games are going to be my last but my only request and my wish is that I play my last game in Mumbai so that my mother could come to the stadium and watch. So they graciously agreed to host the last game in Mumbai and that’s the only time she has seen me play live in 24 years,” Sachin told Graham Bensinger. Tendulkar revealed that he was very emotional when he was shown in the stadium mega-screen while he was waiting. The entire stadium was keen to watch his mother’s reaction. In his final innings of his career, the greatest batsman of all-time scored 74 against West Indies.
english
{"organizations": [], "uuid": "2af4cb1c9483c257da740cb06054ee146009f5c5", "thread": {"social": {"gplus": {"shares": 0}, "pinterest": {"shares": 0}, "vk": {"shares": 0}, "linkedin": {"shares": 0}, "facebook": {"likes": 0, "shares": 0, "comments": 0}, "stumbledupon": {"shares": 0}}, "site_full": "www.tripadvisor.com", "main_image": "https://media-cdn.tripadvisor.com/media/photo-s/08/2b/1b/5d/garden.jpg", "site_section": "https://www.tripadvisor.com/Hotel_Review-g186338-d188478-Reviews-Number_Sixteen-London_England.html", "section_title": "Number Sixteen - UPDATED 2017 Hotel Reviews &amp; Price Comparison (London, England) - TripAdvisor", "url": "https://www.tripadvisor.com/ShowUserReviews-g186338-d188478-r470744569-Number_Sixteen-London_England.html", "country": "US", "domain_rank": 189, "title": "Great hotel", "performance_score": 0, "site": "tripadvisor.com", "participants_count": 1, "title_full": "Great hotel - Review of Number Sixteen, London, England - TripAdvisor", "spam_score": 0.002, "site_type": "discussions", "published": "2017-03-27T03:00:00.000+03:00", "replies_count": 0, "uuid": "2af4cb1c9483c257da740cb06054ee146009f5c5"}, "author": "<NAME>", "url": "https://www.tripadvisor.com/ShowUserReviews-g186338-d188478-r470744569-Number_Sixteen-London_England.html", "ord_in_thread": 0, "title": "Great hotel", "locations": [], "entities": {"persons": [], "locations": [], "organizations": []}, "highlightText": "", "language": "english", "persons": [], "text": "Very nice and conveniently located hotel. Very close to the V&A, harrods, hyde park, etc etc.. I stayed here twice so far and both stays have been excellent, very friendly and accomodating staff and a really nice breakfast buffet. The rooms are beautiful and the garden as well!! I will be back!", "external_links": [], "published": "2017-03-27T03:00:00.000+03:00", "crawled": "2017-03-31T16:30:51.526+03:00", "highlightTitle": ""}
json
{ "terminal.integrated.shell.osx": "/bin/zsh", "files.insertFinalNewline": true, "gitlens.advanced.messages": { "suppressShowKeyBindingsNotice": true, "suppressWelcomeNotice": true }, "workbench.iconTheme": "vscode-icons", "gitlens.codeLens.enabled": false, "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/*.pyc": true }, "python.linting.enabled": true, }
json
<filename>demos/frontend/utils/convertToSigningKeyPair.ts import { KeyPairBase64 } from "@serenity-tools/trust-chain"; import sodium from "libsodium-wrappers"; export function convertToSigningKeyPair(props: KeyPairBase64): sodium.KeyPair { return { privateKey: sodium.from_base64(props.privateKey), publicKey: sodium.from_base64(props.publicKey), keyType: "ed25519", }; }
typescript
GUWAHATI, April 27: A high-level delegation of Federation of Industry and Commerce of North Eastern Region (FINER), comprising its chairman RS Joshi, vice chairmen Amit Kumar Jain and Pabitra Buragohain and director Sandeep Khaitan, had a meeting today with BJP's tiol president Amit Shah at Guwahati on the suspension of NEIIPP Policy 2007 in the region. The delegation, led by Joshi, apprised Shah of the issues related to the north-eastern region that needs to be addressed and also about the setback of the suspension on the NEIIPP Policy 2007 in the region. Joshi said that the suspension of the NEIIPP Policy has not only immensely damaged the cause of Industrialization and economic development but also sent a strong negative sigl to investors. "This unilateral decision taken without consultation with any of the stakeholders is a severe blow to the development and industrialization of the Northeast. By suspending the policy, the Northeast has been virtually excluded from the initiative of Prime Minister's 'Make in India,'" Joshi told Shah. Shah gave a patient hearing to the delegation and appreciated the inputs and suggestions and said that the matter would be looked into at the right earnest for the development of the North Eastern Region.
english
<filename>src/com/maany/spring/controller/ClientController.java package com.maany.spring.controller; import com.maany.spring.dao.ClientDAO; import com.maany.spring.model.Address; import com.maany.spring.model.AddressCollection; import com.maany.spring.model.Client; import com.maany.spring.model.GrantType; import com.maany.spring.propertyeditor.CollectionPropertyEditor; import com.maany.spring.service.ClientRegistrationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.validation.BindingResult; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.InitBinder; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.view.RedirectView; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import java.util.Collection; /** * Created by Mayank on 9/12/2015. */ @Controller @RequestMapping(value="/client/register.form") public class ClientController { @Autowired private ClientRegistrationService clientRegistrationService; public static final String REGISTRATION_FORM_VIEW = "registration"; @RequestMapping( method= RequestMethod.POST) public ModelAndView onSubmit(ModelMap map,@Valid @ModelAttribute("client") Client client, BindingResult result, HttpServletRequest request){ if(result.hasErrors()) return new ModelAndView(REGISTRATION_FORM_VIEW); if(client ==null) throw new RuntimeException("Client was null"); clientRegistrationService.registerNewClient(client); map.put("message","Client successfully registered : " + client.getName() + " id: " + client.getId()); ModelAndView modelAndView = new ModelAndView(REGISTRATION_FORM_VIEW,"model",map); return modelAndView; } @RequestMapping( method= RequestMethod.GET) public String onInit(ModelMap map){ return REGISTRATION_FORM_VIEW; } @ModelAttribute("client") public Client getNewClient(){ return new Client(); } @InitBinder public void setBinders(WebDataBinder binder){ CollectionPropertyEditor collectionPropertyEditor = new CollectionPropertyEditor(Address.class); CollectionPropertyEditor grantTypeCollectionPropertyEditor = new CollectionPropertyEditor(GrantType.class); binder.registerCustomEditor(getNewClient().getAuthorizedGrantTypes().getClass(),grantTypeCollectionPropertyEditor); binder.registerCustomEditor(getNewClient().getAddressCollection().getClass(),collectionPropertyEditor); } }
java
{"name":"CALACORT CREAM 0,5% 5 G","harga":" Rp. 18.150/ kemasan","golongan":"http://medicastore.com/image_banner/obat_keras_dan_psikotropika.gif","kandungan":"Hydrocortisone acetate.","indikasi":"Eksim, eksim infantil, dermatitis atopik, dermatitis herpetiformis, dermatitis kontak, dermatitis venenata, dermatitis seboroik, neurodermatitis, psoriasis.","kontraindikasi":"Infeksi virus pada kulit & lesi kulit karena TBC, infeksi jamur.","perhatian":"Pemakaian yang lama & luas. Hindari kontak dengan mata. Hamil. Pemberian pada kelainan kulit yang luas. Lesi kulit yang terinfeksi.Indeks kehamilan D pada trimester 1.","efeksamping":"Iritasi.","indeksamanwanitahamil":"C: Penelitian pada hewan menunjukkan efek samping pada janin ( teratogenik atau embriosidal atau lainnya) dan belum ada penelitian yang terkendali pada wanita atau penelitian pada wanita dan hewan belum tersedia. Obat seharusnya diberikan bila hanya keuntungan potensial memberikan alasan terhadap bahaya potensial pada janin.","kemasan":"Calacort cream 0.5 % x 5 g x 1's","dosis":"Oleskan pada kulit 2-3 x/hari","penyajian":"Tak ada pilihan","pabrik":"Galenium Pharmasia Laboratories","id":"13404","category_id":"15"}
json
The glitzy and glamorous world of Bollywood witnessed another dazzling moment as the beautiful and talented Kriti Sanon graced the NBT Utsav Awards ceremony, leaving everyone in awe of her stunning appearance. Kriti Sanon, known for her elegance and charm, walked the red carpet at the NBT Awards looking nothing short of a vision in a breath-taking ensemble. She was one of the event's standouts due to her attire selection and sparkling grin. No matter the season, we will always appreciate ethnic clothing. Actress Kriti Sanon turned up wearing a white lehenga saree by Ritika Mirchandani, giving us huge ethnic fashion goals. Kriti selected a stunning ivory signature web-design lehenga saree outfit for the NBT Utsav from Ritika Mirchandani's most recent collection. Her lehenga saree was skillfully weaved with delicate ivory thread embroidery to create beautiful motifs and designs. The lehenga and blouse were identical, with a scoop neckline on the blouse. The design was given further drama by those power shoulders. The pallu of her saree has lace trim, and it was hanging freely from Kriti's shoulder. Kriti completed her look with a set of delicate silver earrings that perfectly complemented her rings. She continued to wear simple nude makeup, including a light blush on her cheeks, kohl-rimmed eyes, and a glossy nude lip colour. She also left her hair straight and open. On the work front, Kriti Sanon was last seen in Adipurush, wherein she co-starred with Prabhas. She has Ganpath, Heropanti 2, the Crew and Do Patti in her kitty. SUMMARY OF LOOK DETAILS: 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
Ahead of England's 2022 FIFA World Cup opener on Monday (21 November), Raheem Sterling has revealed how Mason Mount impressed him with a spectacular performance in training. Mount's first training session with England's senior squad came after the 2018 FIFA World Cup in Russia, when he was on loan at Derby County. Sterling recalled that it was his national side's first training camp following that year's edition of the global event. The former Manchester City star claims it was the best training performance he's ever seen from a player. Sterling said (via Football.london): "Best training performance I've seen to this day. Every time we speak with him [Mount] after the game or something, we say to him it was the best training performance. He joined up with the seniors, he came up from the Under-21s and just came, from Derby at the time, and I'm not exaggerating, left foot, right foot, dribbling, chopping." Praising his domestic and international teammate, Sterling added: "It was the best training performance I've seen to this day. I haven't seen anything that's topped that. He's just come into our training session, I'm here, it was the first camp after we came back from the Russia World Cup and he's come up with something incredible. It was top, top." England are set to face Iran in their FIFA World Cup opener on Monday. As per the aforementioned Football.london report, Mount is set to start for the Three Lions in the encounter along with Sterling. Prior to Sterling's flattering remarks about Mount, the midfielder himself opened up about his training session with the England senior team. In an interview with England's official YouTube channel, he said (via the aforementioned report): "I can't really remember too much about training, it was literally a blur. I've walked in and seen all the senior players, Harry Kane, it was probably overwhelming at first and I just wanted to get onto the pitch to show what I can do and be confident, which I felt like it was. " In fact, it was Mount who told the media to ask his teammate Sterling about his impressive training session. He added: "I remember Raz [Sterling], he came up to me and said, 'Your training is unbelievable,' and he's got a story about me training for the first time, ask him about that." Sterling's comments about Mount's session came shortly after the English midfielder's interview. Mount has been fairly poor in the Premier League for Chelsea this season. The English midfielder has only managed to score two goals in 14 league appearances. He will look to turn things around while representing England in the FIFA World Cup in Qatar.
english
{ "required": true, "package": "com.fractalsmp.fractal_carpet_addon.mixins", "compatibilityLevel": "JAVA_8", "mixins": [ "EndGateway_noCooldownMixin", "EndSpikeFeature_generationMixin", "FightManager_structureGeneration", "MinecraftServer_noopMixin", "ServerPlayerEntity_noObsidianPlatform" ], "client": [ ], "injectors": { "defaultRequire": 1 } }
json
# kgt Kage Engineer tools Keep moving original code to github.com site. This is GPL license(Opensource) Install: ``` # git clone https://github.com/kagepark/kgt.git # cd kgt # ./bin/kgt setup # . /etc/profile.d/kgt.sh ``` Installed-binary-packages are in /global/kgt/<pkg name>/.... when you want directly handle the binary file then you can use above directory ## Command ``` # kgt help # for help # kgt <command> <hostname rule> [<options>] # usually help when need options. if not need options then just run. ``` ## Hostname rule start * Make a hostname with syntax ``` -h <hostname> syntax test-000[01-09] test-00[001-008,100-200] test-001 test-0008 test[001-100] ``` or * Find hostname from /etc/hosts file ``` -g test => It will find all of test-XXXXX hostname from /etc/hosts file. -g test -nodash => it will find hostname not included dash -g test -dash => it will find hostname (included dash) ``` ## MUNGE/SLURM Install Initial simple install script after automatically download file - Install MUNGE at /global/opt/munge ``` # cd <kgt home>/share # bash munge_install_uninstall.sh install https://github.com/dun/munge/archive/munge-0.5.13.tar.gz /global/opt/munge ``` - Uninstall MUNGE ``` # cd <kgt home>/share # bash munge_install_uninstall.sh uninstall ``` - Install SLURM at /global/opt/slurm with /global/opt/munge directory ``` # cd <kgt home>/share # bash slurm_install_uninstall.sh install https://download.schedmd.com/slurm/slurm-17.11.4.tar.bz2 /global/opt/slurm /global/opt/munge TEST mgt enp0s3 ``` - Uninstall SLURM ``` # cd <kgt home>/share # bash slurm_install_uninstall.sh uninstall ```
markdown
<reponame>Sophize/set_mm { "citations" : [ { "textCitation" : "[See cardennn on Metamath](http://us.metamath.org/mpegif/cardennn.html)" } ], "names" : [ "cardennn" ], "language" : "METAMATH_SET_MM", "lookupTerms" : [ "#T_cA", "#T_cen", "#T_cB", "#T_wa", "#T_cB", "#T_wcel", "#T_com", "#T_wi", "#T_ccrd", "#T_cfv", "#T_cA", "#T_wceq", "#T_cB" ], "metaLanguage" : "METAMATH", "remarks" : " If ` A ` is equinumerous to a natural number, then that number is its cardinal. (Contributed by <NAME>, 11-Jan-2013.) ", "statement" : "cardennn $p |- ( ( A ~~ B /\\ B e. _om ) -> ( card ` A ) = B ) $." }
json
# mbapi Go Implementation of the Mediabrowser Api
markdown
<gh_stars>0 { "java.configuration.updateBuildConfiguration": "interactive", "github-actions.workflows.pinned.workflows": [ ".github/workflows/gradle.yaml" ] }
json
{"componentChunkName":"component---node-modules-gatsby-theme-buzzing-src-gatsby-theme-blog-core-templates-post-query-js","path":"/tweet/1359405402085945344","result":{"data":{"site":{"siteMetadata":{"title":"数据之美","author":"Buzzing.cc","description":"用数字读懂世界,关于数据可视化,统计相关的一切信息","keywords":["buzzing","数据之美","Index","data","突发新闻","指数","统计"],"siteUrl":"https://data.buzzing.cc","telegram":"@buzzingcc","iconUrl":"https://data.buzzing.cc/avatar.jpg","defaultSocialImageUrl":null,"social":[{"name":"Data Is Beautiful","url":"https://www.reddit.com/r/dataisbeautiful","external":true},{"name":"Buzzing","url":"https://www.buzzing.cc/","external":true}],"menuLinks":[],"disqus":null,"utterances":null,"localize":[{"title":"Buzzing on Data","description":"See what's buzzing on data in your native language","keywords":["buzzing","data","charts"],"locale":"en","social":{"name":null,"url":null,"external":null},"menuLinks":[{"name":"Weekly Selection","url":"/issues","external":null}]},{"title":"數據之美","description":"用數字讀懂世界,關於數據可視化,統計相關的一切信息","keywords":["buzzing","數據之美","Index","data","突發新聞","指數","統計"],"locale":"zh-Hant","social":null,"menuLinks":[]},{"title":"データの美しさ","description":"数字を使用して世界、データの視覚化と統計に関するすべての情報を理解する","keywords":["buzzing","データの美しさ"],"locale":"ja","social":null,"menuLinks":[]}]}},"blogPost":{"id":"TweetPost-1359405402085945344","excerpt":"","body":"","slug":"/tweet/1359405402085945344","title":"FRANCE: Europe's oldest person, <NAME>, who is a nun and aged 116 years old, has recovered fully from a coronavirus infection in which she developed no symptoms.","tags":["tweet"],"date":"February 10, 2021","dateISO":"2021-02-10T08:39:30.000Z","datetime":"2021-02-10 08:39","image":null,"imageAlt":null,"socialImage":null,"__typename":"SocialMediaPost","thirdPartyId":"1359405402085945344","provider":"Twitter","url":"https://twitter.com/spectatorindex/statuses/1359405402085945344","originalUrl":null,"imageRemote":null,"video":null,"channel":null,"channelUrl":null,"author":"<NAME> Index","authorUrl":"https://twitter.com/spectatorindex","authorImage":null,"authorImageRemote":"https://pbs.twimg.com/profile_images/1145865652533547008/XBahoZmX.png","authorSlug":"spectatorindex","score":4918,"views":null,"sharedCount":723,"likeCount":3472,"sharedContent":null,"parent":{"localize":[{"locale":"zh","full_text":"法国:欧洲最年长的人露西尔-兰登是一名修女,今年116岁,她已经从冠状病毒感染中完全康复,她没有出现任何症状。","quoted_status_full_text":null,"retweeted_status_full_text":null},{"locale":"zh-Hant","full_text":"法國:歐洲最年長的人露西爾-蘭登是一名修女,今年116歲,她已經從冠狀病毒感染中完全康復,她沒有出現任何症狀。","quoted_status_full_text":null,"retweeted_status_full_text":null}]}},"previous":{"id":"TweetPost-1359257379964026880","excerpt":"","slug":"/tweet/1359257379964026880","title":"Bitcoin price.\n\nOne year ago: $9,800\n\nSix months ago: $11,600\n\nThree months ago: $15,300\n\nOne month ago: $40,300\n\nNow: $47,100","date":"February 10, 2021","__typename":"SocialMediaPost","provider":"Twitter","parent":{"localize":[{"locale":"zh","full_text":"比特币价格。\n\n一年前:9800美元\n\n六个月前:11 600美元\n\n三个月前:15 300美元\n\n一个月前:40 300美元\n\n现在:47,100美元","quoted_status_full_text":null,"retweeted_status_full_text":null},{"locale":"zh-Hant","full_text":"比特幣價格。\n\n一年前:9800美元\n\n六個月前:11 600美元\n\n三個月前:15 300美元\n\n一個月前:40 300美元\n\n現在:47,100美元","quoted_status_full_text":null,"retweeted_status_full_text":null}]}},"next":{"id":"RedditPost-lgngyi","excerpt":"","slug":"/reddit/r/dataisbeautiful/comments/lgngyi/oc_if_you_would_have_bought_bitcoin_for_100_every/","title":"[OC] If you would have bought Bitcoin for $100 every month since 2016, you would have invested 6k USD but your Bitcoin would be worth 135k today.","__typename":"SocialMediaPost","date":"February 10, 2021","provider":"Reddit","parent":{"localize":[{"title":"OC]如果你从2016年开始每个月以100美元的价格买入比特币,你将投资6千美元,但你的比特币今天将价值13.5万。","the_new_excerpt":null,"locale":"zh"},{"title":"OC]如果你從2016年開始每個月以100美元的價格買入比特幣,你將投資6千美元,但你的比特幣今天將價值13.5萬。","the_new_excerpt":null,"locale":"zh-Hant"}]}}},"pageContext":{"basePath":"/","pageType":"detail","id":"TweetPost-1359405402085945344","previousId":"TweetPost-1359257379964026880","nextId":"RedditPost-lgngyi","maxWidth":1024,"siteMetadata":null,"locale":"zh","hrefLang":"zh-Hans","originalPath":"/tweet/1359405402085945344","dateFormat":"YYYY-MM-DD"}},"staticQueryHashes":["1239077767","2744905544","3280999885"]}
json
from ursina import * # Cf. LINE 84: temp_entity = Entity(parent=entity.model, ignore=True) def new_combine(entity, analyze=False, auto_destroy=True, ignore=[]): verts = list() tris = list() norms = list() uvs = list() cols = list() to_destroy = list() o = 0 for e in scene.entities: if e in ignore: continue if e.has_ancestor(entity) or e == entity: if not hasattr(e, 'model') or e.model == None or e.scripts or e.eternal: continue if not e.model.vertices: continue if analyze: print('combining:', e) verts += get_vertices(e, entity) if not e.model.triangles: new_tris = [i for i in range(len(e.model.vertices))] else: new_tris = list() for t in e.model.triangles: if isinstance(t, int): new_tris.append(t) elif len(t) == 3: new_tris.extend(t) elif len(t) == 4: # turn quad into tris new_tris.extend([t[0], t[1], t[2], t[2], t[3], t[0]]) new_tris = [t+o for t in new_tris] new_tris = [(new_tris[i], new_tris[i+1], new_tris[i+2]) for i in range(0, len(new_tris), 3)] o += len(e.model.vertices) tris += new_tris # if e.model.normals: # norms += e.model.normals if e.model.uvs: uvs += e.model.uvs if e.model.colors: # if has vertex colors cols.extend(e.model.colors) else: cols.extend((e.color, ) * len(e.model.vertices)) if auto_destroy and e != entity: to_destroy.append(e) if auto_destroy: from ursina import destroy [destroy(e) for e in to_destroy] entity.model = Mesh(vertices=verts, triangles=tris, normals=norms, uvs=uvs, colors=cols, mode='triangle') print('combined relative to model - 3.6.0 version') # entity.model = Mesh(vertices=verts, mode='triangle') # entity.flatten_strong() if analyze: render.analyze() return entity.model def get_vertices(entity, relative_to=None): if relative_to is None: return entity.model.vertices vertices = list() temp_entity = Entity(parent=entity.model, ignore=True) for v in entity.model.vertices: temp_entity.position = v vertices.append(temp_entity.get_position(relative_to)) from ursina import destroy destroy(temp_entity) return vertices if __name__ == '__main__': from ursina import * app = Ursina() p = Entity() e1 = Entity(parent=p, model='sphere', y=1.5, color=color.pink) e2 = Entity(parent=p, model='cube', color=color.yellow, x=1, origin_y=-.5) e3 = Entity(parent=e2, model='cube', color=color.yellow, y=2, scale=.5) p.combine() # p.y=2 # p.model.save() # ursina_mesh_to_obj(p.model, name='combined_model_test', out_path=application.asset_folder) EditorCamera() app.run()
python
Kishan Reddy the Union Minister and BJP chief Bandi Sanjay are unhappy with Etela Rajendar the new leader in the party. There is a talk that Union Home Minister Amit Shah is very happy with Bandis win in Huzurabad and might give him a bigger responsibility in the party. The track record of Kishan reddy and Dr Laxman shows that they could not retain good leadership in the party. People like Parakala Prabhakar could not stay within the party for long. In the same manner, people say that there are differences between Etela ,Bandi and also Kishan reddy. Who would be the chief Minister in case the BJP wins in Telangana is the question? BJP may not win in Telangana, that is a different matter. There are rumours that Etela will join Konda Vishweshwar Reddy and float a new party in Telangana. But Konda is not a real politician. He is a sincere and clear man and knows no politics. He can lead people to get some employment or the other and cannot become a good politician. Bandi has clarified that he was flushed out of TRS and that was the reason he joined the TRS. He wants to be in the BJP. Vivek is another leader who is sulking in the BJP. So we have to wait and watch in the next two years to come.
english
GPD introduced its first Android-based game console, the GPD XP back in August. The GPD XP flaunts a 6.81-inch IPS LCD display that has Full HD+ resolution and a 60Hz refresh rate. The gaming console is powered by a Helio G95 processor and it offers 4G LTE support. Now, it looks like GPD is aiming to introduce the successor to the GPD XP soon. The company’s upcoming gaming consoles GPD XP2 and the GPD XP3 have received the required Bluetooth SIG certification. The Bluetooth SIG listing does suggest us that the launch of the GPD XP2 and the XP3 is imminent soon. Let’s check more details revealed by Bluetooth certification ahead: According to the Bluetooth SIG listing, both the upcoming GPD XP2 and GPD XP3 will have Bluetooth v5.0 support. Similar to the GPD XP2, we can expect the GPD XP2 and the GPD XP3 to run Android 11 version. The specifications, design details, and launch date of both the upcoming GPD XP2 and XP3 remain unknown currently. We can expect more details of these gaming consoles to emerge if they appear on more certifications in the upcoming days. As mentioned above, GPD had introduced the first Android gaming console the GPD XP back in August. The gaming console went on sale at the beginning of this month. To recall the specifications, the GPD XP has a 6.81-inch IPS LCD display. The screen offers a 60Hz refresh rate and 500 nits brightness. The display panel also has a Corning Gorilla Glass 5 protection. The GPD XP is powered by Helio G95 processor which is coupled with Mali-G76 MC4 GPU. The gaming console packs up to 6GB of RAM and 128GB of internal storage. It has connectivity features such as 4G LTE, GPS, dual-band WiFi 6, Bluetooth v5.0. The GPD XP also has a built-in active fan for heat dissipation. The gaming console has three control module settings which include Xbox Controller Module, FPS Controller Module and Moba Controller Module. The GPD XP packs a 7,000mAh battery that supports 20W fast charging.
english
The match between Mumbai Indians and Kolkata Knight Riders lived up to its billing. Sensational performances with the ball, two superb half-centuries and containing several twists, the tale was anything but straightforward. Thanks to a a brilliant knock from Suryakumar Yadav, Mumbai Indians got a major impetus. Captain Rohit Sharma also held the fort well. However, the defending champions failed to make the most out of opportunities at the death, and their batting order folded in front of an inspired Andre Russell bowling shift. Kolkata Knight Riders made a brilliant start during the run-chase. Shubman Gill and Nitish Rana gave little opportunities for Mumbai Indians to make a comeback. Even when Gill and Rahul Tripathi were dismissed, it still looked like KKR's game to lose. However, Mumbai Indians showed exactly why they are the most successful side in the last few seasons of the IPL. They put KKR in a brilliant chokehold with their outstanding death bowling and managed to win the game by 10 runs. Let's take a look at a few numbers that stand out from the game. Though he struggled to make an impression with the bat, Andre Russell did plenty of talking with the ball in hand. He became only the second player to take all the last five wickets to bowl out an IPL team after Anil Kumble did the same against Rajasthan Royals in 2009. Dre Russ also became only the second player after Canterbury's Will Williams to take a five-for after being introduced into the attack in the death overs of a T20 inning. Andre Russell became the fifth T20 bowler to take a fifer while bowling just two overs. More Andre Russell records...his haul of 5/15 is the best spell of bowling against MI. It eclipsed the 5/27 which Harshal Patel registered in MI's previous game against RCB. The West Indian became the first bowler to send down just two-overs and pick up a five-for in the IPL. He's also the first and only IPL player to register a score above 80 [88* from 36 vs CSK, 2018] and pick up five wickets in the competition. Both of them arrived at the same venue, Chennai. The fixture between Mumbai Indians and Kolkata Knight Riders is the most one-sided contest in the history of the IPL. Including tonight's win, MI have won 22 games compared to KKR's six wins. KKR won the first match against Sunrisers Hyderabad by 10 runs, registering their 100th IPL win. They ended up losing the second match against MI by 10 runs, marking their 100th T20 defeat. KKR beat SRH in their opening fixture of IPL 2021 by 10 runs and then lost to MI by 10 runs.
english
<filename>deploy/static/css/15071191L1.css /*导航*/ .nav{height:80px;float:right ;position:relative} .nav .navBgBox{height:80px;overflow:hidden;padding-top:3px} .header_bottom{width:286px} .nav ul {} .nav ul li{float:left;width:96px;line-height:80px;color:#000;overflow:hidden;position:relative;height:80px;} .nav ul li #CurrentlyNode{color:#0DA3E2;font-weight:bold;} /*.nav ul li.hover a{color:#0DA3E2;font-weight:bold;} .nav ul li.hover i{position:absolute;top:0;left:50%;border-color:#0DA3E2 transparent transparent transparent; border-width: 6px;margin-left:-4px; border-style: solid;}*/ .nav ul{} .nav ul li a{color:#000;} .nav ul li a:hover{text-decoration:none;background:} /*.nav .mask{position:absolute;left:75px;top:0px;height: 49px;width:96px;background:url(/res/Home/structure/15070332.png) no-repeat left top;}*/ .nav .mask{background:#FAFAFA;border-top:solid 3px #0DA3E2;position:absolute;left:0;top:0px;height: 76px;width:96px;} .nav ul li.hover a{color:#0DA3E2;font-weight:bold;} .nav .mask i{position:absolute;top:0;left:50%;border-color:#0DA3E2 transparent transparent transparent; border-width: 6px;margin-left:-4px; border-style: solid;} /* 弹出 */ /* .altul{padding:60px 0 0} .altul li{margin:0 0 30px 0;overflow:hidden;} .altul li span{float:left;margin:0 0 0 15px;width:56px;height:25px;line-height:25px;background:#F5F5F5;text-align:center} */ /*页脚*/ /*.footer-top{background:#C9C9C9;height:86px;overflow: hidden;} .footer-top-con{width:1000px;margin:0 auto;} .object-footer-logo{height:40px;border-right:1px solid #BBBBBB;width:353px;float:left;padding-right:50px;margin-top:20px;text-align:right;box-sizing: border-box;} .object-footer-logo img{height:50px;} .footer-top-con #CurrentlyText{display: block;float: left;text-align: left;color: #444444;padding-left: 42px;padding-top: 20px;} .footer-top-con #CurrentlyText p{margin:0px;margin-bottom:10px;line-height:200%} .footer-bottom{background:#00366C url(/res/Home/structure/object_footer_bottom.jpg) repeat-y center top;height:140px;color:#FFFFFF;} .footer-nav{font-weight:bold;color:#303D5D;padding-bottom:5px;color:#ffffff;} .footer-nav a{color:#ffffff;} .copyright{position:absolute;top:30px;height:80px;background:url(/res/Home/structure/object_indexfooter_logo.png) no-repeat left 10px;text-align:left;padding-left:100px;line-height:180%;padding-top:10px;left:37px;} .motto{position:absolute;top:55px;right:37px;} .motto i{font-style:normal;color:#FF9D00;font-weight:bold;} .footer-bottom-con{width:1100px;margin:0 auto;position:relative;}*/
css
Goma, Congo, June 19, 2019 — Authorities in the Central African Republic should investigate police who allegedly assaulted two French reporters and ensure that journalists can work freely in the country, the Committee to Protect Journalists said today. On June 15, officers from the Central Office for the Suppression of Banditry, in the capital city of Bangui, arrested and assaulted Charles Bouessel and Florent Vergnes, French nationals working as reporters for news agency Agence France-Presse, while the journalists were covering a protest by a banned opposition group, according to a report from their employer and Bouessel, who spoke to CPJ via phone. The officers also confiscated sound equipment, cameras, and personal effects from the journalists, and broke one of their cameras, according to Bouessel. The journalists were held for more than six hours, the AFP report said. When police moved to disperse the protest, officers prevented the journalists from leaving the area, according to the AFP report. Bouessel told his employer that officers threw his camera to the ground, slapped him in the head, and punched him. Vergnes told AFP that an officer grabbed him by the throat, slapped him, and hit him in the back with a Kalashnikov rifle. The journalists were then arrested and questioned for six hours, the AFP report said. Bouessel told CPJ that he and Vergnes were initially charged with illegally covering a prohibited protest, and then charged with participating in the banned demonstration. Yesterday, prosecutors told the journalists that all charges have been dropped, Bouessel said. Flavien Mbata, the country’s justice minister, told CPJ by phone that he had intervened and had the charges against the journalists dropped. However, Mbata stood by the arrests of the journalists, saying that Bouessel and Vergnes knew the protest was banned and should not have covered it. The government released a statement on Twitter before the protest, stating that it was banned and prohibiting coverage. “Central African and foreign journalists in Bangui have respected this warning, unlike the two AFP journalists,” Mbata said. He insisted to CPJ that the journalists’ equipment will be returned. AFP’s Africa director, Boris Bachorz, said in an email to CPJ that the arrests and assaults were unjustifiable. AFP is seeking assurances from authorities in the Central African Republic that the journalists, and media in general, will be allowed to report freely, he said.
english
Three women were charred to death when the car in which they were travelling caught fire after colliding with a cotton-laden truck at Gondal in Gujarat's Rajkot district early on Saturday, police said. The mishap occurred on Gondal-Rajkot national highway near Biliyala village around 6 am, an official of Gondal taluka police station said. "The car carrying three women passengers and the truck transporting cotton bales collided. Both the vehicles caught fire after the collision. The three passengers could not get out of the car on time and were charred to death," the official said. The driver of the car suffered minor burn injuries in the incident, he said. Firefighters were rushed to the spot to douse the flames, the official said. The victims were identified as Rekha Jadeja (62), Rasik Raijada (80), and Mukundba Raijada (45), the official said. (Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed. )
english
Virat Kohli confirms India’s openers for first New Zealand ODI: India will field a debutant opening pair for the fourth time ever in ODIs. India captain Virat Kohli wasn’t skeptical about India’s opening batsmen while addressing the media on the eve of the first ODI of the ongoing India’s tour of New Zealand in Hamilton. Vice-captain Rohit Sharma getting ruled out of the tour had left India in search of an opening batsman. A safest ploy would have been to bring back wicket-keeper batsman Lokesh Rahul at the top of the order but Kohli has iterated against doing the same. “No, we are looking to stick to that same plan [of Lokesh Rahul batting at No. 5]. It’s an unfortunate situation that Rohit [Sharma] can’t be a part of this series. In all formats, he’s on the list first and the impact he’s had is there for everyone to see,” Kohli was quoted as saying. With opening batsman Prithvi Shaw already in the squad as a replacement for Shikhar Dhawan, India have recalled Test opener Mayank Agarwal into the ODI squad. While the announcement was made after Kohli’s press conference, he had revealed that the team management have asked for a specialist opener. “Prithvi [Shaw] is in the team and will definitely start and whoever the replacement is [Mayank Agarwal] – we’ve asked for an opener. KL [Rahul] will play in the middle-order, we want him to get used to that role at No. 5 and keep as well,” Kohli said. It is worth mentioning that Agarwal is already in New Zealand playing the shadow tour for India A. Having become part of the ODI squad first during the ICC Cricket World Cup 2019, Agarwal has been included into the ODI squad but it yet to make his debut. The first ODI between New Zealand and India tomorrow will only be the fourth instance when India will play two debutant opening batsmen. The last time it happened was during India’s tour of Zimbabwe in 2016 when Rahul and Karun Nair had opened the batting for India in the first ODI.
english
<reponame>Reeywhaar/react-hooks-library import { execSync } from 'child_process' import consola from 'consola' import { join, resolve } from 'path' import { version } from '../package.json' import { findFunctions } from './utils/findFunctions' execSync('yarn build:full', { stdio: 'inherit' }) let command = 'npm publish --access public' if (version.includes('beta')) command += ' --tag beta' const rootDir = resolve(__dirname, '..') const packagesDir = resolve(rootDir, 'packages') const packages = findFunctions(packagesDir) for (const pkg of packages) { execSync(command, { stdio: 'inherit', cwd: join('packages', pkg, 'dist') }) consola.success(`Published @react-hooks-library/${pkg}`) }
typescript
"Gili-Emgrand-X7" is one of the most successful projects of the Chinese car industry, which after a successful presentation in 2010 will soon be available to the domestic consumer. The preview of the model for Russian buyers took place at the Moscow Motor Show last year, after which the manufacturer did not say anything about official prices and supplies, leaving some information vacuum. After some time, the Chinese concern still informed the motorists of some information, which means that it's time to consider a new model of the X7 crossover Geely Emgrand. The company positions the crossover as a budget car, but looking at its external appearance, we can confidently say that in the future it will make serious competition even to such giants of the car industry as Chevrolet-Niva, Cherry-Tiggo and the French Renault-Daster ". Appreciate the appearance of the novelty can be without superfluous words, looking only at his photo. Yes, indeed, Geely Emgrand was competitive . Experts' comments on the appearance of the crossover do not have any comments, well, in the opinion of motorists, the Chinese SUV came out stylish, fresh and attractive. The interior of the new crossover is sheathed, mostly with plastic, but still this material has a fairly high quality and is pleasant enough to the touch. The steering wheel and seats are trimmed with combined leather (yes, it's the skin, you were not mistaken! ), Which raises controversy about the car's belonging to the budget class Geely Emgrand. Reviews about the spaciousness leave quite a bright impression - the crossover can comfortably accommodate up to five passengers, with plenty of space left in the cabin. The instrument panel has two massive wells with LED backlighting, as well as two information displays that show the driver all the necessary information about the car. By the way, the novelty in more expensive complete sets can have a large panoramic sunroof that works on an electric drive. This hatch, unfortunately, there is no similar sedan Geely Emgrand ec7, reviews of which also did not cause much controversy in the capacity. The machine is equipped with only one gasoline engine. The unit with a capacity of 140 horsepower and a working volume of 1,798 cubic centimeters - this is the engine that will be installed on the Russian version of Geely Emgrand crossover. Experts' comments also do not exclude in the future the possibility of installing a 2. 4-liter engine, which is still under development. The range of choice of the checkpoint here is small - just one 5-step "mechanics". The manufacturer announced the start of sales of new items in Russia - this is the end of 2013 - the beginning of 2014, but the cost did not say a word. So no one yet knows what the exact price will be for the new Geely Emgrand crossover. Experts say that the cost of the car will vary from 550 to 650 thousand rubles. This is quite a decent price for a budget crossover of Chinese production. It remains only to find out how reliable it will be in practice.
english
<filename>Web/css/css/backend/index.css /**** * * CONNEXION PAGE * ****/ .body { background:url('../../../img/background.jpg'); background-size:cover; } /* recover password */ #connexion-link { color:#DCA3AE; } #connexion-link:hover { color:#BB727F; } .forgot, .label-auth { color:white; font-family:'Pavanam'; font-weight:bold; } label { width:100%; } form { width:100%; } /** navbar top **/ .navbar { z-index:20000; } #navbar-connexion { padding:10px; position:absolute; background:transparent; } .container-logo { display:flex; } #logo-img-top { height:50px; width:45px; display:block; } /*** authentication form ***/ .connexion-form { display:flex; justify-content:center; align-items:center; min-height: 100vh; } .connexion-form .container { max-width:300px; } .connexion { max-width:300px; margin-bottom:30px; } .connect { border-radius:20px; margin-bottom:20px; padding-top:20px; padding-bottom:20px; background:transparent; transition:0.2s; border-color:white; } .connect:active, .connect:hover { border-color:white; } .button-connect { display:block; margin:auto; } /**** * * LAYOUT * ****/ /** navbar top **/ .navbar { width:100%; position:fixed; background:#D34D3C; background:#C83F2D; } .navbar-brand:hover { background:#B63D30; } .navbar-link, a.navbar-item { color:white; } .navbar-link, a.navbar-item:hover { background:#B63D30; color:white; } .titre-logo-top { color:white; font-size:23px; font-weight:500; margin-top:20px; margin:auto; margin-left:10px; font-family: 'Love Ya Like A Sister', cursive; } .navbar-responsive { display:none; } .navbar-responsive-child { display:none; } a.navbar-item { font-family:'Boogaloo', sans-serif; font-size:20px; } /** SIDEBAR LEFT **/ .container-menu-backend { min-height: 100vh; padding-left:0px; padding-right:0px; padding-bottom:0px; } .menu-shown { background:#2A3140; min-height: 100vh; position:fixed; width:20%; padding-top:30px; z-index:300; overflow:hidden; transition:0.5s; } .menu-label { padding-left:15px; } .menu-label:not(:first-child) { margin-top:30px; } .menu-list a, .label-hidden { min-width:350px; } .menu-list a { color:rgba(255, 255, 255, 0.6); padding-left:20px; } .menu-span { color:rgba(255, 255, 255, 0.6); padding-left:30px; } .menu-list a:hover { background:#353D50; color:rgba(255, 255, 255, 1); } .active, .active i, .active span { background:#353D50; color:white; } .menu-list a:hover span { background:#353D50; color:rgba(255, 255, 255, 1); } .sub-admin { padding-left:80px; font-size:14px; } /** CONTENT CONTAINER **/ #backend-container { background-color:transparent; width:100%; text-align:justify; display:flex; justify-content: space-between; } .container-menu-hidden { width:20%; transition:0.5s; } .menu-hidden { background:#2A3140; min-height: 100vh; width:20%; padding-top:30px; opacity:0; z-index:10000; } .container-backend-content { width:80%; transition:0.5s; background:#F5F5F5; position:relative; } /** footer **/ .footer { padding-bottom:30px; padding-top:30px; } .footer p { font-size:15px; } .has-text-centered p { text-align: center !important; } .logo-bottom { display:flex; justify-content:space-between; width:90px; margin:auto; } #logo-img-bottom { display:block; width:35px; height:40px; } .titre-logo { color:#484747; font-size:25px; font-weight:500; margin-top:20px; margin:auto; margin-left:10px; font-family: 'Love Ya Like A Sister', cursive; } /** * * PAGINATE * **/ .pagination { margin-top:50px; } /** * * INDEX MODULE * ***/ /*** modify layout ***/ .container-content-child { display:flex; justify-content: center; min-height:100vh; } table, .is-1 { margin-top:20px; text-align:center; } th a { font-family:'Pavanam'; font-size:18px; font-weight:900; } .is-new { display:block; margin:auto; margin-top:50px; background:#3C883C; color:white; } .fieldset, p { font-family:'Pavanam'; font-size:18px; } .title, a.delete-class.supprimer, .menu-span { font-family:'Pavanam'; font-size:17px; } a.delete-class.supprimer { font-weight:bold; } .button.is-link, button, .button.is-danger.is-outlined, .tabs.is-toggle a, label, .panel-heading, .message-body { font-family:'Acme'; font-size:17px; } /** * * MODIFY * **/ .container { width:100%; } .container-table { margin-top:50px; } a.delete-class.supprimer { color:#EC4C64; } a.delete-class.supprimer:hover { color:#AD2534; } th a { color:#2C64C3; } th a:hover { color:#24477F; } .columns, .columns:last-child { margin:0px; } .tabs ul { justify-content:center; } .container-form { padding-right:30px; } /*** error / success message ***/ .container-messages { height:100px; width:100%; display:flex; } .message.is-success, .message.is-danger { background:none; } .container-messages-manage { height:100px; width:100%; display:flex; justify-content:center; } .message-and-validate { display:flex; } .hiden-message { height:64px; margin-bottom:25px; } #message-connexion { background:rgba(253, 245, 247, 0.5); } #message-connexion .message-body { color:#111111; border:none; text-align:center; } .recover { text-align:center; } #message-recover-mail .message-body, #message-recover-code .message-body { border:none; background:#BA4936; color:white; } #recover-button-1, #recover-button-2, #recover-button-3 { background:#3B873B; } #recover-button-3 { margin-top:20px; } .button:hover, .button:focus { color:white; } .success-modify, .error-modify { margin-left:10%; width:60%; text-align:center; } .success-modify .message-body { border:none; background:#3C883C; } .error-modify .message-body { border:none; background:#BA4936; } #success-animations .message-body, #error-animations .message-body, #success-workshops .message-body, #error-workshops .message-body, #success-prejudices .message-body, #error-prejudices .message-body, #success-characters .message-body, #error-characters .message-body, #index-error .message-body, #index-success .message-body, #error-update .message-body, #success-update .message-body, #show-error .message-body, #show-success .message-body { color:white; } /** save button **/ #button-save-all { display:flex; transition:0.5s; } /*** * * MEDIA SIDEBAR * ***/ #menu-media { padding:0px; } .panel-block { color:black; } .panel-heading { font-weight:bold; text-align:center; } form .panel:first-child { margin-bottom:0px; } form .panel:first-child .panel-heading { border-bottom:none; font-family:'Acme'; font-size:18px; } .container-media-select { min-height:350px; align-items: center; padding:0px; border:1px solid rgb(219, 219, 219); } #container-button-pictures { padding:0px; flex-direction:column; width:100%; } #container-button-pictures div:first-child { width:100%; text-align:center; } #container-button-pictures div:first-child h5 { padding:10px; } #container-button-pictures .panel { display:flex; flex-direction:row; border-top:1px solid rgb(219, 219, 219); width:100%; } #container-button-pictures .panel div:first-child { width:50%; border:none; } #container-button-pictures .panel div:nth-child(2) { width:50%; border-left:1px solid rgb(219, 219, 219); padding:10px; } .panel:nth-child(2) .panel-block:last-child { border-top:1px solid rgb(219, 219, 219); } /** ajax media **/ .animations-child { width:100%; } #panel-block-child { height:300px; border:none; } #container-input-file { border:0px; } .fieldset-input-slider { height:350px; width:100%; position:relative; } .fieldset-child { height:300px; overflow:scroll; border:1.4px solid #828282; } .container-height { padding-bottom:50px; } .container-height .panel-block { border-left:none; border-right:none; } .container-height .panel-block div:first-child { position:relative; width:100%; } .div-addfield { position:absolute; bottom:0; width:100%; background:#F5F5F5; z-index:2000; padding-top:10px; border-top:1.4px solid #828282; } .addfield { width:100%; } /** input file **/ #upload-main-picture { position:absolute; width:2px; z-index:1; } #add-main { z-index:1000; } .button-slider .add-slider { width:80%; z-index:1000; } .button-slider .slider-preview { position:absolute; width:2px; opacity:0; } .image.is-64 { height:91px; width:91px; overflow:hidden; } .image.is-64 .img-preview { width: 100%; height: 13vh; object-fit: cover; } /** hidden $posts input **/ .delete-main-input { position:absolute; opacity:0; } .delete-sliders { z-index:2000; } .delete-slider { position:absolute; left:0px; z-index:1; opacity:0; } .fa-eye, .fa-eye-slash { z-index:200; background:#F5F5F5; } #published-true, #published-false { position:absolute; left:20px; width:1px; } /** video **/ #question-frame { cursor:pointer; } #sup { cursor : pointer; color:#EC4C64; } /** main picture **/ .card-image { overflow:hidden; } .image.is-16by9 img { width: 100vw; object-fit: cover; } /** * * CHARACTERS MODULE PICTURE * **/ #preview-characters { min-height:500px; overflow:hidden; } #preview-characters img { width: 100vw; height: 90vh; object-fit: cover; } /** * * MANAGE MODULE * **/ .section-admin, .pagination { display:flex; flex-direction: column; justify-content:center; align-items:center; } .section-admin { padding-top:0px; } .admin-submit { margin-top:20px; } .container-admin { min-height:100vh; } .container-admin-child { min-height:100vh; max-width:700px; margin:auto; margin-top:50px; } .button-suppress { margin-top:50px; } .tabs.is-toggle.button-suppress li:last-child a { border-radius:5px; } .justify { text-align:left; } /** * * RECOVER PASSWORD LAYOUT * **/ .container-forgotten-content { width: 100%; transition: 0.5s; background: #F5F5F5; position: relative; min-height:100vh; } #forgotten-container { background-color: transparent; width: 100%; text-align: justify; justify-content: space-between; } .section-forgotten { min-height:100vh; padding:0px; } .container-forgotten { min-height:100vh; display:flex; justify-content: center; margin-top:0px; margin-bottom:0px; align-items: center; } .container-recover { /*margin-top:200px;*/ min-width:40%; margin-top:0px; margin-bottom:100px; } .container-general-recover { min-height:100vh; padding-top:0px; } .footer-recover { position:absolute; bottom:0px;width:100%; } /*** * * ERROR * ***/ .navbar-error { position:absolute; top:0px; } .error-container { display:flex; justify-content: center; align-items: center; } .container-error { border-bottom:1px solid black; height:100vh; display:flex; justify-content: center; align-items: center; } .title-error { margin-top:50px; margin-bottom:50px; } .subtitle-error { text-align:center; } .container-error-child { margin-top:50px; } .doors { max-width:900px; margin:auto; display:flex; justify-content: space-between; } .footer-error { position:relative; padding:0px; padding-top:10px; }
css
Mike Tyson is arguably one of the greatest boxers of all time, and definitely is one of the scariest athletes to ever set foot in the ring. Even at the age of 53, Tyson is still capable of throwing his ever-brutal punches and holds an insane amount of power in his arms. The boxing legend recently posted a training montage via his official Twitter handle, and in the closing stages of the clip, Mike Tyson claimed that he's back. Now, we aren't completely sure what Tyson meant with his statement, but the WWE Hall of Famer could be returning to the boxing ring, given the shape he currently is in. AEW Executive Vice-President, Cody Rhodes, definitely seemed quite interested in Tyson's quote and is probably keeping an eye out for his return to combat sports. Considering the fact that Mike Tyson has appeared in WWE on numerous occasions in the past, maybe a return to the fight business could open a potential door for a cameo in AEW? Well, we don't know for sure but judging by Cody Rhodes' social media teasing in regards to AEW's past, never say never! Cody's wife Brandi Rhodes with Mike Tyson backstage at AEW Double or Nothing: Cody Rhodes teasing a potential AEW appearance(s) for Mike Tyson? Mike Tyson was heavily influential in the WWE back in the 90s and has made several appearances for the company in the past. Well, not just appearances, because Tyson also played a part as the special outside enforcer in the WrestleMania XIV main event between Shawn Michaels and 'Stone Cold' Steve Austin. Given the fact that Mike Tyson is probably making a return to the world of pro boxing, a return to the world of pro wrestling also remains a possibility, courtesy of AEW and Cody Rhodes. Rhodes, as we all know, likes to tease major announcements on social media regarding his promotion AEW, and in response to Tyson's recently released clip, the former 'American Nightmare' posted the following. Of course, Cody's response was short but it certainly indicates the fact that he probably is keeping his eyes on Mike Tyson's potential return. Will Mike Tyson appear on AEW? For now, we still don't know if Mike Tyson is even returning to boxing, but one thing is for sure, his recent clips from training exemplify the absolute beast he still is. An appearance under the AEW banner could be a possibility, after all, never say never when it comes to pro wrestling. What's next for The Bloodline? Anthony Akatugba Jr.
english
import { Component, OnDestroy, OnInit } from '@angular/core'; import { TestStateService } from '../../services/test-state.service'; import { Observable, Subject } from 'rxjs'; import { distinctUntilChanged, map, takeUntil } from 'rxjs/operators'; import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'erz-tests', templateUrl: './tests.component.html', styleUrls: ['./tests.component.scss'], providers: [TestStateService], }) export class TestsComponent implements OnInit, OnDestroy { courseId$: Observable<number> = this.route.paramMap.pipe( map((params) => Number(params.get('id'))), distinctUntilChanged() ); destroy$ = new Subject<void>(); constructor(public state: TestStateService, private route: ActivatedRoute) {} ngOnInit() { this.courseId$ .pipe(takeUntil(this.destroy$)) .subscribe((courseId) => this.state.setCourseId(courseId)); } ngOnDestroy() { this.destroy$.next(); } }
typescript
{ "name": "inquirer-autocomplete-custom-prompt", "version": "1.1.1", "description": "An Inquirer plugin for custom autocomplete support.", "main": "index.js", "scripts": { "build": "rimraf dist && tsc --p tsconfig.build.json", "test": "jest --coverage", "format": "prettier --write ." }, "repository": { "type": "git", "url": "git+https://github.com/ericsienk/inquirer-autocomplete-prompt.git" }, "author": "ericsienk", "license": "MIT", "bugs": { "url": "https://github.com/ericsienk/inquirer-autocomplete-prompt/issues" }, "homepage": "https://github.com/ericsienk/inquirer-autocomplete-prompt#readme", "peerDependencies": { "inquirer": "7.x.x", "chalk": "4.x.x", "run-async": "2.x.x", "rxjs": "6.x.x" }, "devDependencies": { "@types/inquirer": "7.3.1", "@types/jest": "^26.0.15", "fuzzy": "^0.1.3", "inquirer": "7.3.1", "jest": "^26.6.3", "prettier": "2.1.2", "rimraf": "^3.0.2", "ts-jest": "^26.4.4", "typescript": "^4.0.5" } }
json
According to a biography written by his brother, Michael Jackson could have been one of the victims of the 9/11 attacks but was saved by their mother. However, the singer later died after suffering cardiac arrest. On September 11, 2001, the terrorists crashed planes into the Twin Towers of World Trade Center in New York. By IANS: Late pop legend Michael Jackson escaped death during the terrorist attack in the US eighteen years ago. Jackson could have been one of the victims of the 9/11 attack in which almost 3,000 people were killed. On September 11, 2001, the terrorists crashed planes into the Twin Towers of World Trade Center in New York. The singer overslept that day and missed his appointment which was scheduled to take place in the Towers, reports mirror. co. uk. "Thankfully, none of us had had a clue that he was due at a meeting that morning at the top of one of the Twin Towers," the singer and Michael's brother Jermaine Jackson wrote in his biography titled You Are Not Alone: Michael: Through a Brother's Eyes. The King of Pop overslept after staying up late to talk to his mother Katherine Jackson. "'Mother, I'm okay, thanks to you. You kept me up talking so late that I overslept and missed my appointment,'' Michael Jackson said to his mother as mentioned in the biography. Despite surviving one of the world's biggest terrorist attacks, Jackson died eight years later after suffering cardiac arrest. He was 50.
english
<filename>content/docs/reference/pytorchjob/v1beta2/_index.md<gh_stars>1-10 +++ title = "PyTorchJob v1beta2" description = "Reference documentation for version v1beta2 of the PytorchJob custom resource." weight = 10 +++
markdown
We all know that crazy woman with the look in her eyes like all hell has sprung loose, yeah, the same one who just doesn’t know how to calm down or see anything but red. And to make it worse, some guys have this uncanny ability to make us lose our ever-loving shit. The problem is that it becomes a self-fulfilling prophecy. When someone doesn’t listen to what we have to say, we say it even louder. Before you know it, you’re ranting, raving, and chasing him all around town like some escapee from the loony bin. You aren’t in high school anymore, and the more you let a guy get the best of you by getting to the point of crazy eyes, the more damage you are doing to your self-image and self-esteem. The good news is that no, you are not actually crazy, you’re just allowing the person in your life to make you react in a crazy way. To save yourself and your self-esteem, you have two options: you can either leave him or learn how to calm down. If you choose to stay, remember that the only way to make it all stop is by putting a kink in the cycle. You obviously can’t control his behavior; you can only change your own. When you lose your temper, a physiological response actually happens, meaning that it isn’t all in your head. Anger or frustration will release a hormone called adrenaline. That rush of adrenaline is likely the cause for your crazy eyes. By going for a walk or raising your heart rate in some other way, you can override the adrenaline response. You will instantly see a normalizing of your heart rate and your breathing, and you can finally get a grip on the anger that wants to take hold. When you smile, there are muscles in your face that trigger serotonin, a hormone that is responsible for good feelings, making it nearly impossible to hold onto anger. In fact, any time you feel anxious, just give yourself a big smile. It may last but one second, but sometimes all you need is a simple second of smiling to jolt yourself enough to calm down. We all have that place where we find serenity. When you find yourself getting angry and losing control, close your eyes and picture the safe place that calms your nerves. Find a quiet place, close your eyes, and think about the way that you feel when you are in your safe place. If you go there long enough, the anger and frustration will fade, allowing you to return to earth. Wherever you are, get out of there. Most of the time, just removing yourself from the situation and finding something else to focus on or do will remove the anger that you feel. You aren’t going to get him to listen at the moment, so take a step away, find something else to do, and in the end, you will find that the answer to how to more constructively react will become clearer. If you want to know how to calm down real quick, instead of having an out-of-control screaming match, grab your phone and call your friend. Not just any friend, this has to the one who doesn’t just tell you what you want to hear, but rather tells you the truth and what you need to hear. There are some guys who know all the right ways to drive you crazy. Don’t fall into the trap. Know that he is going to say all the right things to hurt your feelings, to make you feel insignificant, and to try to elicit the reaction that he can. He may even try to then put on you to make you feel bad. # Put the phone down! What did we do before texting and cellphones? We likely all got along much better. Before you start a text war by sending him something that gets you a reaction and really gets him going, put the phone down. You will find that you wouldn’t say the hurtful things to his face that you have no problem punching into the keyboard of your phone. When you’re texting away, you probably aren’t even reading what’s actually coming through. It’s best to put the phone away and not pick it back up until everything has blown over. You don’t need a class to do yoga. If you have a mat and know some moves, get on it. Yoga is a way to get the Chi flowing in your body in a positive way that will bring you back to normal. Even sitting in child’s pose is a release for some people. When he is making you nuts, grab your mat, head to the gym, or find a peaceful place to hide in your house to find your balance again. The best way to overcome losing control is to walk through the steps of calming yourself down before you have to use them. The only way to change a behavior pattern is by practicing the right way to react and respond over and over again. If you can’t seem to gain control or calm down, then you have to realize when someone is not good for you. There is such a thing as toxic people. If you’ve never reacted in the past the way that he’s causing you to react now, then there is something about your current relationship that is not healthy for you. When you get upset, all common sense runs out the window. At a time when you aren’t upset with him, make a list of all the nice things he has done for you, or the things that you love about him. If you want to calm down fast, when you feel yourself getting angry, just don’t allow it. Pick up your list and read from one to ten over and over again until you can put what is currently going on back into perspective. If you remember the things you love about him, these positive thoughts can sometimes override the things about him that are driving you nuts. There are some guys who overreact anytime you say something they don’t like and will begin to retract and run from you. That is grounds for making any woman crazy. If your man is constantly upping the ante of your fight by running away, shutting you out, or physically leaving, then let him go. I bet you that he will stop to think about what he did if you try to stop telling him. Insecure guys can’t handle the criticism and thus refuse to hear it. If you let them go, nine times out of ten, they will sit and stew on it, wondering why you aren’t chasing them around the room. If you stop chasing, I promise you they will stop running. For instance, if you are upset that he came home late again when he said he would be home early, you could ask the question, “You said you were coming home early, real or not real? ” By sticking to emotionless questions, you will get the answers that you want, he will hear what you have to say, and you can put those crazy eyes back in the crazy closet. If all else fails, go shopping. Yep, that’s right, in the middle of any fight, just get up, grab your keys, and go shopping. Even a small gratuitous buy can lift your spirits and give you both time to calm down before things get out of control. # Don’t drink! If you know that you’re upset, don’t start drinking. If you mix alcohol with intense emotions, it’s like putting diesel fuel on fire. Alcohol may seem like a good idea to help you forget how you feel, but what it really does is push you over the edge and allow you to lose control. Don’t reach for a drink to calm your nerves it’s only a way to ramp things up to the point of losing your marbles.
english
BBC is launching its new miniseries The Code, hosted by Professor Marcus du Sautoy, in late July. The program will be complemented by an interactive treasure hunt that integrates puzzles into the show's content. If you live in the United Kingdom, send your address to code@bbc.co.uk for a chance at receiving one of 210 (1,024) items in the mail that will kick off the experience. Six to Start and the BBC have teamed up to create a transmedia experience tied in with BBC Two documentary The Code, expected to air at the end of July*.* *The Code *is presented by Professor of Mathematics Marcus du Sautoy (*Horizon *on BBC2, *The Beauty of Diagrams *on BBC4) and explores how the world around us conforms to and can be explained by mathematical codes. Six to Start are next-generation storytellers with plenty of experience creating storytelling projects for different clients, often in the form of alternate reality games or treasure hunts. They've worked with the BBC before on projects like Spooks: Code 9 and Seven Ages Quest. As a first for the BBC and possibly a world first, an interactive experience called The Code Challenge has been seamlessly integrated in the writing and filming of The Code since inception. Viewers can participate in an engaging treasure hunt which will take place before, during and after the series that will extend their understanding of basic mathematical principles. The Code Challenge begins well before the airing of the actual show. Soon, 1000 people in the UK will receive a secret message with one of the first puzzles of the challenge. For a chance to be one of those 1,000, keep an eye on Twitter @bbccode and apply via Twitter or e-mail. A few weeks before the show airs, several Flash games containing clues, puzzles and more information about the Code will also appear online. The series itself is expected to air at the end of July and will be split into three 60-minute episodes: Magic Numbers, Nature's Building Blocks and Predicting the Future. Six clues are connected to each episode. Three will be hidden in the programme itself, which can be watched live on BBC Two or on BBC iPlayer. One community clue can only be solved by working together with a group of players. Two further clues will be revealed on the blog and through a Flash game. Players can then enter the six answers they found for each episode into the 'codebreaker' to receive three passwords with which they can unlock the ultimate challenge. The Code Challenge is conceived so everyone can play, even those with no prior understanding of maths or ARG experience, although the final stages of the treasure hunt will be increasingly challenging. The puzzles are presented through syndicated Flash games, the TV series itself, Facebook, Twitter, YouTube and iPlayer, and the entire experience is designed to be fun and collaborative. Adrian Hon at Six to Start hopes the more dedicated gamers participating in The Code Challenge will develop their own community resources such as forums and wikis as they work together to uncover the clues leading up to the final decoding. To encourage interaction, players will be invited to upload video messages and videos of themselves solving the Code, using the tag 'bbccode.' Their footage, combined with BBC footage of the finalists competing to win, will form an aggregated online documentary culminating in the reveal of the ultimate winner. To participate in The Code Challenge, check out the BBC The Code website, the@bbccode Twitter account andhashtag, Facebook, and 'bbccode' tagged videos on YouTube.
english
<reponame>amoghwagh/azir declare module "azir-slider" { import { ComponentClass } from "react"; import { ImageSourcePropType, StyleProp, ViewStyle } from "react-native"; interface ISliderProps { /** * Initial value of the slider. The value should be between minimumValue * and maximumValue, which default to 0 and 1 respectively. * Default value is 0. * * *This is not a controlled component*, e.g. if you don't update * the value, the component won't be reset to its initial value. */ value?: number; /** * If true the user won't be able to move the slider. * Default value is false. */ disabled?: boolean; /** * Initial minimum value of the slider. Default value is 0. */ minimumValue?: number; /** * Initial maximum value of the slider. Default value is 1. */ maximumValue?: number; /** * Step value of the slider. The value should be between 0 and * (maximumValue - minimumValue). Default value is 0. */ step?: number; /** * Color of the track. */ trackColor?: string; /** * Color of the progressed track. */ progressTrackColor?: string; /** * The color used for the thumb. */ thumbColor?: string; /** * Step the height of the track. */ trackSize?: number; /** * Step the size of the thumb. */ thumbSize?: number; /** * The size of the touch area that allows moving the thumb. * The touch area has the same center has the visible thumb. * This allows to have a visually small thumb while still allowing the user * to move it easily. * The default is {width: 40, height: 40}. */ thumbTouchSize?: { width: number; height: number }; /** * Callback continuously called while the user is dragging the slider. */ onChange?: (value: number) => void; /** * Callback called when the user starts changing the value (e.g. when * the slider is pressed). */ onStart?: (value: number) => void; /** * Callback called when the user finishes changing the value (e.g. when * the slider is released). */ onComplete?: (value: number) => void; /** * The style applied to the slider container. */ style?: StyleProp<ViewStyle>; /** * The style applied to the track. */ trackStyle?: StyleProp<ViewStyle>; /** * The style applied to the thumb. */ thumbStyle?: StyleProp<ViewStyle>; /** * Sets an image for the thumb. */ icon?: ImageSourcePropType; } const Slider: ComponentClass<ISliderProps>; export default Slider; }
typescript
{"remainingRequest":"D:\\0毕设相关\\EAvLMS\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\0毕设相关\\EAvLMS\\src\\views\\dashboard\\index.vue?vue&type=style&index=1&lang=css&","dependencies":[{"path":"D:\\0毕设相关\\EAvLMS\\src\\views\\dashboard\\index.vue","mtime":1582022560802},{"path":"D:\\0毕设相关\\EAvLMS\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"D:\\0毕设相关\\EAvLMS\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"D:\\0毕设相关\\EAvLMS\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"D:\\0毕设相关\\EAvLMS\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\0毕设相关\\EAvLMS\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.el-main {\n background-color: #E9EEF3;\n margin-left: 15px;\n height: 500px;\n}\nbody > .el-container {\n}\n .el-table .warning-row {\n background: oldlace;\n }\n\n .el-table .success-row {\n background: #f0f9eb;\n }\n\n",null]}
json
<gh_stars>1-10 import { execSync } from 'child_process' import { resolve } from 'path' import { copyFileSync, readFileSync, mkdirSync, rmdirSync, existsSync, } from 'fs' import * as prettierConfig from '../../main/js' describe('', () => { const tmpDir = resolve(__dirname, '../../../../../tmp') beforeAll(() => { if (existsSync(tmpDir)) { rmdirSync(tmpDir, { recursive: true }) } mkdirSync(tmpDir) }) it('prettierConfig', () => { expect(prettierConfig).toBeDefined() }) it('formats as expected', async () => { const configPath = resolve(__dirname, '../../main/js/index.js') const input = resolve(__dirname, '../fixtures/input.ts') const output = resolve(__dirname, '../fixtures/output.ts') const temp = resolve(tmpDir, 'index.ts') copyFileSync(input, temp) execSync(`prettier --config ${configPath} --write ${temp}`) expect(readFileSync(temp, 'utf-8')).toBe(readFileSync(output, 'utf-8')) }) })
typescript
Raikia: Tension gripped Kanyashram village here in Kandhamal district after the decomposed body of Subhendu Mallick, who had gone missing for 22 days, was located in Dalamaha hill Thursday. The police were tipped off Thursday about a dead body in Dalamaha hill Thursday. They contacted Subhendu’s family members who identified the body as that of the missing youth. As news spread, hundreds of villagers rushed to the spot. At the time of writing this report the tensions are yet to ease. Irate family members and villagers have not allowed police to take the body for post-mortem. Subhendu had gone missing January 15. The family members had registered a missing complaint with the police a few days later. “The police did not show any interest to trace my brother,” alleged the deceased’s brother. Protesting against police inaction, the family members and villagers had staged a road block, disrupting traffic on Raikia-G Udayagiri-Baliguda road Monday. To disperse the demonstration police had arrested and forwarded to court 23 agitators, including a few family members of Subhendu. Police had said that the road block was creating a law and order situation. They were released on bail Wednesday.
english
AP Samagra Shiksha - SIEMAT - Guidelines for Parent Partcipation in Home based Learning during School closure and beyond in Covid-19 - Pandemic Certain Instructions - Issued. Hence, the Ministry of Education, DoSEL, Govt. of India, New Delhi has instructed to issue necessary instructions for dissemination of the ‘Guidelines for Parent Participation in Home-based learning during school closure and beyond in Covid-19 pandemic’ to all the stake holders on a wide scale. The aforesaid document is translated into regional languages and use in local context for easy access. Also grade wise activities can be disseminated in the form of simple pamphlets for parents with activities, visuals, and illustrations.In view of the above, all the District Educational Ofcers and Additional Project Coordinators in the State are hereby requested to disseminate the above said ‘Guide lines for Parent Participation in Home-based Learning during school closure and beyond in Covid-19’ (in English version) for utilization by Parents,
english
WWE signed 11 diverse talents (four domestic and seven international) in 2015. Representing the Dominican Republic was Levis Valenzula Jr. who started his wrestling career in 2013 at the CWF Mid-Atlantic promotion. NXT’s next big event would be NXT Takeover: Dallas which features Finn Balor taking on Samoa Joe for the NXT Championship, in the main event. Starting this week, WWE NXT began airing debut promos for Valenzula Jr. At a recent NXT Live event in Largo, Florida, Levis defeated Manny Andrande. It is worth noting that Valenzula is officially billed as “No Way Jose”. He has a new theme music and will be keeping the same look when performing in NXT tapings. Here is a picture: The former on-air reporter of NHL’s Florida Panthers, Andrea Ocampo has made her NXT debut in the Live event in Largo. She is billed as Andrea DiMacro and will be working as a ring announcer :
english
Gayle King is poised to sign a new multimillion-dollar contract to stay at CBS News. Insiders believe King — who already has a $5. 5 million-a-year deal — is much needed on struggling “CBS This Morning,” as news chiefs attempt to boost the show’s plunging ratings. Meanwhile, all negotiations over whether her co-host Norah O’Donnell will replace Jeff Glor on “CBS Evening News” are on hold until King’s deal is signed, Page Six has learned. GAYLE KING WANTS 'GEORGE STEPHANOPOLOUS MONEY' TO STAY ON 'CBS THIS MORNING' O’Donnell wants to move the show to Washington, D. C. , but we’re told: “Everything has gone very quiet. Nothing will be done until Gayle has signed her contract. It looks likely that she’s staying — but we don’t know what the holdup is. ” CBS News staff are on tenterhooks about the possibility of the “Evening News” HQ moving to DC. “Everyone is stressed — they want to know what’s happening,” said an insider. King recently impressed with her much-lauded interview with R. Kelly. If she stays, King wants to know that CBS News president Susan Zirinsky will make “This Morning” more competitive, friends say.
english
Summers are here and it’s time to ace that dress you have been waiting to wear for a long time. The trickiest part is to pull off the perfect make-up with it without making it look too much. Summers are often challenging for people who wear makeup regularly. With sweat, heat, dust and extreme weather conditions, makeup breaks down easily. It makes the face look cakey. So, if you have similar worries while applying your favourite products on your face this season, we are here to give you some tips to ace the summer make-up look. Make-up is a step-by-step process and requires multiple products to be applied one after the other. However, when it comes to summers, the rule is to keep it minimal. Skip the foundation and just use concealer. Use a tinted moisturiser and some nude lipstick shades to complete the look. Lesser products you’ll use, the lesser the chances of it running out. The harsh sun rays during Summers can burn our skin. One rule which everyone must abide by during any season is using sunscreen. Use an SPF 30 or above sun protection cream. Not just from the sun, it’ll also provide you with a base for your make-up so that it doesn’t get watery with sweat. Sweat is one of the major reasons for ruining make-up. To prevent it from ruining your look, you should opt for waterproof products that’ll not wash off with sweat. Avoid luminous products for the extra-shiny look. Shimmers add sparkle to your look but it makes the face shine even more with sweat. Instead, one should go for powdered bronzers which blend with the skin and do not slip away with sweat and heat. If you want long-lasting make-up without it becoming cakey and unpleasant, then you must use a setting spray. It keeps the make-up in place and is least likely to make the make-up wash off with time.
english
Gandhinagar : Policenama Online – External Affairs Minister S. Jaishankar and BJP’s Gujarat OBC Cell President Jugal ji Thakor on Tuesday filed nominations for the July 5 bypoll for the two Rajya Sabha seats from Gujarat. Jaishankar, 64, had joined the BJP on Monday evening. The career bureaucrat served as the Foreign Secretary before he was inducted into the Union Cabinet by Prime Minister Narendra Modi, who entered his second term last month. The two seats, for which Jaishankar and Thakore filed nominations, were vacated after BJP leaders Amit Shah and Smriti Irani were elected to the Lok Sabha on May 23. Thakor is from North Gujarat’s Mehsana district, to which Narendra Modi also belongs, and he represents the dominant Thakor OBC community in the state. Chief Minister Vijay Rupani and Gujarat BJP President Jitu Vaghani were present when Jaishankar and Thakore submitted their nomination forms to Returning Officer C. B. Pandya. The last date of submitting nomination papers is June 25, while scrutiny of papers would be conducted on June 26, and the last date of withdrawal of names is June 28. Given its strength of 100 MLAs in the Assembly, the BJP is set to win both the seats, since the elections for both the seats will be held separately according to the Election Commission (EC) notification. The Congress had challenged the EC decision to hold separate polls for the upper House seats in the Supreme Court and demanded that the elections should be held together, as was the practice. Given Congress strength of 71 MLAs in the Assembly, the Congress and the ruling BJP would have won one seat each — on the basis of first preference votes of their MLAs — had the polls been held together. In the case of separate polls, all legislators vote twice and first preference votes are counted for each seat. The Congress has fielded Gaurav Pandya and Chandrika Chudasama for the two Rajya Sabha seats. Leader of Opposition Paresh Dhanani said the Congress’ petition was being heard in the Supreme Court but the party had fielded candidates on both the seats in continuation of the election process since Tuesday was the last day to file nominations. “We will pursue our petition in the Supreme Court till its logical end and fight it out in the larger interest of democracy,” Dhanani told reporters.
english
Since Jim Harbaugh and the San Francisco 49ers parted ways a few years ago, the question that everyone's been wondering is whether he'll ever commit to the NFL again. Having been largely successful with Michigan's football program, many wonder if he's getting the "itch". Supposedly, the Las Vegas Raiders "were in play" last offseason, and the Minnesota Vikings were also looking at him as a possibility. Jim Harbaugh, a former and revered NFL quarterback in his own right, did a magnificent job in the pro coaching ranks. After getting started as a positional coach with the Raiders, Harbaugh went on to a notable stop at Stanford. There, he coached someone fans might have heard of: Andrew Luck. His most noteworthy work came in the NFL, however. With the 49ers, he turned around Alex Smith's career and then went on to coach Colin Kaepernick in his best years. If he were to return, the Denver Broncos would make the most sense, as they have another quarterback in need of "saving." With Nathaniel Hackett long gone, the Broncos need to move quickly to make sure that this roster doesn't go to waste. Denver's defense is among the best in the NFL and has been so for quite some time. Russell Wilson, for his part, is a Super Bowl-winning signal-caller and, despite a down year, still has the talent to be an upper-tier quarterback. Does this sound familiar? Harbaugh has been non-committal with regard to his next move. Many would think that Michigan would break the bank for him, but that remains to be seen. What's interesting about Denver is that their ownership has ties to Stanford, which, in turn, has ties to Harbaugh. That's definitely something worth keeping an eye on. In a tough AFC West, Harbaugh joining the Broncos instantly helps them leapfrog all of the teams, possibly excluding the Kansas City Chiefs.
english
India needs to strengthen safeguards for corporate whistleblowers and extend the requirement of a vigil mechanism to large private companies, as per experts. Current provisions of the Companies Act only require listed companies, companies that accept public deposits and companies that have loans from banks or public financial institutions of over Rs 50 crore to have a vigil mechanism to address whistleblower complaints. The Delhi High Court is currently hearing a writ petition, which has challenged the Constitutional validity of the existing provisions of the Companies Act. Experts noted that large private sector companies, including subsidiaries of large multi-national corporations, should also be required to have vigil mechanism. “… for the benefit of employees and stakeholders, the regulators may consider expanding the coverage of entities for vigil mechanism compliance to a section of private companies based on some criteria such as number of employees or turnover, etc,” said Madhu Sudan Kankani, partner at Deloitte India, adding there was a growing view that large private sector companies needed to be regulated differently from small private sector companies. The Corporate Affairs Ministry, in a response to the petition seeking extension of the requirement of a vigil mechanism to private companies, stated in an affidavit before the Delhi High Court that corporate governance voluntary guidelines issued in 2009 provided that companies should ensure the institution of a mechanism for employees to report concern about unethical behaviour, actual or suspected fraud, or violation of the companies code of conduct or ethics policy. These guidelines are not, however, binding on companies. Experts also note that the absence of any specific guidelines on the functioning of a vigil mechanism has led to companies not ensuring that whistleblower complaints are addressed in a timely manner. Experts noted that companies were able to retaliate against employees raising whistleblower complaints and even terminated their employment as any civil suit for such actions could be too expensive and time-consuming for the whistleblower to pursue. Parties filing civil suits are required to first pay court fees, typically amounting to around 1 per cent of damages claimed. “There are enough avenues for whistleblowers to seek redressal including through the Indian Penal Code, civil suits and anti-corruption branches,” said a CII spokesperson, adding while the industry was in favour of protecting genuine whistleblowers, there was a need for a deterrent against frivolous complaints. The Corporate Affairs Ministry did not reply to emailed requests for comment.
english
<filename>tests/test_logging.py<gh_stars>10-100 import fault.logging def test_logging_smoke(): fault.logging.info("some info msg") fault.logging.debug("some debug msg") fault.logging.warning("some warning msg") fault.logging.error("some error msg")
python
<gh_stars>0 #!/usr/bin/python3 # -*- coding: utf-8 -*- from kivymt.calendar.calendar_ui import DatePicker, CalendarWidget
python
An outstanding display with the bat and ball on Friday night saw Team Delhi secure a thumping 7-wicket win against Team Kolkata at the Eden Gardens. "The Kolkata game gives us tremendous confidence going into the next match here in Hyderabad. It was a clinical performance from the team against a strong team like KKR. I feel that everyone took responsibility and with each game, our thought process is becoming clearer, And our communication is also improving, which is a great sign for the team,” said 24-year-old Iyer. Speaking on whether the loss against Hyderabad in their home match in Delhi will have an impact on his team, Shreyas said that his team has improved a great deal since his result. "SRH is no doubt a good side with some outstanding players in their ranks And and even though we lost the first leg against them in Delhi, we have moved on from that result and have only gone on to improve in all departments. and the player understand their roles better now and we have shown that in the last couple of Matches. We will be going into this match with high spirits and looking for the two points," he said. The corresponding fixture last season saw Hyderabad win a close encounter by 7-wickets as batting first, Delhi put on 163/5 on the board. Prithvi Shaw's 65 off 36, combined with Shreyas Iyer's 44 off 36, led Delhi to a par score on Hyderabad surface as Rashid Khan picked up 2 for 23 in his 4 overs. In reply, contributions from Alex Hales (45 off 31), Shikhar Dhawan (33 off 30), Kane Williamson (32* off 30), Manish Pandey (21 off 17) and Yusuf Pathan (27* off 12) led the home side to a 7-wicket win with one ball to spare.
english
#include "pch.h" #include "process.h" std::vector<ProcessInfo> GetProcessInfo() { STARTUPINFO st; PROCESS_INFORMATION pi; PROCESSENTRY32 ps; HANDLE hSnapshot; HANDLE processHandle = NULL; std::vector<ProcessInfo> PInfo; ZeroMemory(&st, sizeof(STARTUPINFO)); ZeroMemory(&pi, sizeof(PROCESS_INFORMATION)); st.cb = sizeof(STARTUPINFO); ZeroMemory(&ps, sizeof(PROCESSENTRY32)); ps.dwSize = sizeof(PROCESSENTRY32); hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (hSnapshot == INVALID_HANDLE_VALUE) { return PInfo; } if (!Process32First(hSnapshot, &ps)) { return PInfo; } do { processHandle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, ps.th32ProcessID); TCHAR filename[MAX_PATH]; if (processHandle != NULL) { if (GetModuleFileNameEx(processHandle, NULL, filename, MAX_PATH) == 0) { _tcscpy_s(filename, MAX_PATH, _T("NULL_Module")); } CloseHandle(processHandle); } else { _tcscpy_s(filename, MAX_PATH, _T("NULL_Process")); } PInfo.emplace_back(ps.th32ProcessID, WCHAR2String(ps.szExeFile), WCHAR2String(filename)); } while (Process32Next(hSnapshot, &ps)); CloseHandle(hSnapshot); std::sort(PInfo.begin(), PInfo.end()); return PInfo; } std::set<std::string> get_process_name() { STARTUPINFO st; PROCESS_INFORMATION pi; PROCESSENTRY32 ps; HANDLE hSnapshot; std::vector<ProcessInfo> PInfo; ZeroMemory(&st, sizeof(STARTUPINFO)); ZeroMemory(&pi, sizeof(PROCESS_INFORMATION)); st.cb = sizeof(STARTUPINFO); ZeroMemory(&ps, sizeof(PROCESSENTRY32)); ps.dwSize = sizeof(PROCESSENTRY32); hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); std::set<std::string> process_name; if (hSnapshot == INVALID_HANDLE_VALUE) { return process_name; } if (!Process32First(hSnapshot, &ps)) { return process_name; } do { process_name.insert(WCHAR2String(ps.szExeFile)); } while (Process32Next(hSnapshot, &ps)); CloseHandle(hSnapshot); return process_name; }
cpp
{ "directions": [ "Toast first 3 ingredients in small skillet over medium-high heat until fragrant, shaking skillet, about 1 minute. Coarsely grind spices in mortar and pestle or spice grinder. Transfer to large bowl; mix in oil, ginger, chile sauce, cinnamon, and honey. Sprinkle with salt and pepper. Add shrimp and onion; toss to coat.", "Heat large nonstick skillet over medium-high heat. Add onion; cook until blackened in spots, turning occasionally, about 5 minutes. Move onions to side of pan. Add shrimp and marinade; saut\u00e9 until shrimp are just cooked through, about 3 minutes. Transfer shrimp and onions to plates. Top with cilantro, if desired." ], "ingredients": [ "1 teaspoon whole coriander seeds", "3/4 teaspoon cardamom seeds", "3/4 teaspoon cumin seeds", "3 tablespoons olive oil", "1 tablespoon minced peeled fresh ginger", "2 teaspoons hot chile sauce", "3/4 teaspoon ground cinnamon", "1/2 teaspoon honey", "12 uncooked large shrimp, peeled, deveined, tails left intact", "1 red onion, halved, peeled, each half cut into 4 wedges through root end", "Fresh cilantro leaves (optional)" ], "language": "en-US", "source": "www.epicurious.com", "tags": [ "Ginger", "Onion", "Shellfish", "Saut\u00e9", "Low Fat", "Quick & Easy", "Low Cal", "Shrimp", "Spring", "Cinnamon", "Cilantro", "Coriander" ], "title": "Spiced Shrimp and Red Onion Saut\u00e9", "url": "http://www.epicurious.com/recipes/food/views/spiced-shrimp-and-red-onion-saute-234421" }
json
Chris Witaske is an alumni of The Second City Theatre in Chicago, where he began taking classes and performing at age thirteen. He is the Co-creator of the adult animated series Chicago Party Aunt for which he's also a writer, producer and voice actor. Chris was a Series Regular on the Netflix original comedy series "Love" produced by Judd Apatow. His other film and television credits include, The Bear, Curb Your Enthusiasm, The Bubble directed by Judd Apatow, Lady Bird directed by Greta Gerwig, Unicorn Store directed by Brie Larson, The Wrong Missy, Netflix's with Bob and David, Drunk History, Arrested Development, New Girl, and HBO's The Comeback He was also chosen to perform at the Montreal Just For Laughs festival in the New Faces of Comedy showcase. Known for: How much have you seen? Keep track of how much of Chris Witaske’s work you have seen. Go to your list.
english
It takes two to tango and Hrithik Roshan and Yami Gautam were out to prove just that, at the launch of their song 'Mon Amour' from their upcoming film 'Kaabil.' The lead actors of the film hit the stage dancing to the tunes of the mesmerising track, performed live by a band called 'Udaan,' comprising of visually and physically impaired artists. Hrithik and Yami shared an easy chemistry on stage as they sang and danced to 'Mon Amour' playing in the background. The two actors who have come together for the first time, play a visually impaired couple in 'Kaabil.' As the event progressed, Rakesh Roshan along with his younger brother Rajesh Roshan, Rohit Roy, Sanjay Gupta and Bhushan Kumar joined Hrithik and Yami on stage. 'Kaabil' is the first big Bollywood release of 2017. When asked about his resolution for 2017, Hrithik said that he does not believe in resolutions, instead he takes decisions and sticks to them. This year he intends to adopt a healthier lifestyle. Hrithik and Papa Roshan's earlier collaborations have done brisk business at the box office. One would imagine that the actor did not think twice before saying yes to this project but Hrithik let on that he signed on the dotted line, with many questions looming in his mind. "I had many questions and then I opened my mind. I met several visually impaired people who are CEOs of companies, photographers, lawyers, kung fu masters, and guitarists. The visually impaired people are not truly disabled, but are more capable as they live with one sense organ less,'' said the actor.
english
{"id":"LJXv","dependencies":[{"name":"C:\\JavaScript\\learning-area\\javascript\\tools\\package-management\\parcel-experiment\\package.json","includedInParent":true,"mtime":1645712840196},{"name":"C:\\JavaScript\\learning-area\\javascript\\tools\\package-management\\parcel-experiment\\node_modules\\date-fns\\esm\\previousSaturday\\package.json","includedInParent":true,"mtime":1645712832881},{"name":"../_lib/requiredArgs/index.js","loc":{"line":1,"column":25,"index":25},"parent":"C:\\JavaScript\\learning-area\\javascript\\tools\\package-management\\parcel-experiment\\node_modules\\date-fns\\esm\\previousSaturday\\index.js","resolved":"C:\\JavaScript\\learning-area\\javascript\\tools\\package-management\\parcel-experiment\\node_modules\\date-fns\\esm\\_lib\\requiredArgs\\index.js"},{"name":"../previousDay/index.js","loc":{"line":2,"column":24,"index":82},"parent":"C:\\JavaScript\\learning-area\\javascript\\tools\\package-management\\parcel-experiment\\node_modules\\date-fns\\esm\\previousSaturday\\index.js","resolved":"C:\\JavaScript\\learning-area\\javascript\\tools\\package-management\\parcel-experiment\\node_modules\\date-fns\\esm\\previousDay\\index.js"}],"generated":{"js":"var $LJXv$exports={};function $LJXv$export$default(r){return $LJXv$import$requiredArgs(1,arguments),$LJXv$import$previousDay(r,6)}$parcel$require(\"LJXv\",\"../_lib/requiredArgs/index.js\"),$parcel$require(\"LJXv\",\"../previousDay/index.js\"),$LJXv$exports.default=$LJXv$export$default;"},"sourceMaps":null,"error":null,"hash":"fc6647350538b93625e5ed53cf9af398","cacheData":{"env":{},"imports":{"$LJXv$import$requiredArgs":["../_lib/requiredArgs/index.js","default"],"$LJXv$import$previousDay":["../previousDay/index.js","default"]},"exports":{"default":"$LJXv$export$default"},"wildcards":[],"sideEffects":false,"isES6Module":true,"shouldWrap":false}}
json
<filename>nativescript/app/app/modules/i18n/testing/mocks/ng2-translate-loader.mock.js Object.defineProperty(exports, "__esModule", { value: true }); var TranslateLoaderMock = (function () { function TranslateLoaderMock() { } return TranslateLoaderMock; }()); exports.TranslateLoaderMock = TranslateLoaderMock; //# sourceMappingURL=data:application/json;base64,<KEY>
javascript
<reponame>pixelastic/terrainbuilding-data { "author": { "id": "t2_1l30vlh1", "name": "SpaceDruss" }, "date": { "day": 1611273600, "full": 1611319018, "month": 1609459200, "week": 1610841600 }, "id": "t3_l2mv75", "picture": { "filesize": 40493, "fullUrl": "https://preview.redd.it/eb2lqbiyovc61.jpg?auto=webp&s=1ed09ee090746d15d067098ed64da51117b8838a", "hash": "1d9b92d3da", "height": 360, "lqip": "data:image/jpg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAJABADASIAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAAAQMEB//EACgQAAECAwYGAwAAAAAAAAAAAAEDBAACEQUGEhMhMRQ1NkFCUXFywf/EABQBAQAAAAAAAAAAAAAAAAAAAAT/xAAcEQABBAMBAAAAAAAAAAAAAAARAAECAxIhMkH/2gAMAwEAAhEDEQA/AMGs+6octlFC/lmVCeblIitASd5iQNPUKta7jdi3nU4+q4w4E/GbQVIm2PfaJ2nJHnzAPTyH3/YE8rD1opzRrAx8X//Z", "url": "https://preview.redd.it/eb2lqbiyovc61.jpg?width=640&crop=smart&auto=webp&s=220dbbcbf0c612600199ff61935bd8c5ef0bed2a", "width": 640 }, "score": { "comments": 14, "downs": 0, "ratio": 1, "ups": 408, "value": 408 }, "subreddit": { "id": "t5_2xy5e", "name": "TerrainBuilding" }, "tags": [], "title": "Here's some wasteland/desert scatter terrain pieces I made up for a table I'm working on. Really simple to do, and easy to change the build to fit whatever scene you want. Video linked in the comments if you're interested. Cheers.", "url": "https://www.reddit.com/r/TerrainBuilding/comments/l2mv75/heres_some_wastelanddesert_scatter_terrain_pieces/" }
json
The Reserve Bank of India (RBI) will soon put in place a process whereby people will be compensated by Credit Information Companies (CIC) for delayed updation/rectification of credit information reports, said Governor Shaktikanta Das. Recently, the CICs were brought under the purview of the Reserve Bank Integrated Ombudsman Scheme (RB-IOS). "It is now proposed to put in place the following measures: (i) a compensation mechanism for delayed updation/rectification of credit information reports; (ii) a provision for SMS/emailAalerts to customers whenever their credit information reports are accessed; (iii) a timeframe for inclusion of data received by CICs from Credit Institutions; and (iv) disclosures on customer complaints received by CICs," Das said. According to him, the above measures will further enhance consumer protection.
english
After entertaining the audience with a brilliant thriller like Paappan, Suresh Gopi is returning with a suspense drama Mei Hoom Moosa. The teaser of the film was released on Wednesday and it instantly struck a chord with the audience. The teaser shows a person inquiring about someone named Moosa at the police station. Police officials were taken by shock when the person revealed his identity. In a flashback which follows, it is shown that Moosa breathed last 20 years ago. Everyone has the same opinion and they are confused that this person calling himself Moosa could be a spy. Even Moosa’s family members are doubting his identity. The teaser shows people labelling him Maoist as well. Is Moosa telling the truth or does he have some hidden agenda? Is he a spy sent by Pakistan, impersonating the identity of Moosa? These questions will be answered in the film Mei Hoom Moosa. Fans are enthralled with this brilliant teaser and lauded the choice of scripts made by Suresh. Followers are elated that Suresh is happy to prove his acting prowess with another thriller. One user wrote that Suresh has constantly maintained a standard of his films. Another admired the fact that besides good acting, Suresh is also a good philanthropist. A third fan wrote that initially, he was not excited about the film. However, his opinion has changed after the release of the teaser and is now all pumped up for the movie. It remains to be seen if Mei Hoom Moosa manages to impress the audience. This film will be the fifth project of Jibu Jacob. Before Mei Hoom Moosa, Jibu directed Vellimoonga, Munthirivallikal Thalirkkumbol, Adhyarathri, and Ellam Sheriyakum. The Confident Group and Thomas Thiruvalla Films have produced this project. Saiju Kurup, Poonam Bajwa, Kannan Sagar and others will also be seen alongside Suresh Gopi. Rubesh Rain has penned the script of this movie.
english
If you too are struggling to find the perfect Japanese neck tattoo ideas, check out these top 10 Japanese neck tattoos. Neck tattoos or full throat neck tattoos are, in general, associated with the communication of a person. A neck tattoo is a symbolic representation of the open-mindedness of the person getting the tattoo. It also symbolizes that the person is always open to accepting new challenges or even taking new risks, and although a neck tattoo is among the most painful tattoos as it is an extremely sensitive area for getting a tattoo, it is always chosen by people. as these types of Japanese tattoos are very trendy these days. Japanese tattoos have both traditional and historical meanings. Getting them tattooed on your body is a symbol that you are well aware of all the Japanese myths and stories about their legend, as well as their tattoo culture. Getting these types of tattoos clearly shows that you would like to talk more about Japanese tattoo culture. Traditional Japanese neck tattoos are also called Irezumi. People opt for this type of tattoo because they have Japanese history and ancient stories attached to them. These types of designs can be expected to have a Gakubori – character or scene that acts as the background of the tattoo. Most people believe that the tattoo ink will help them gain the magic and power of the Gakubori. These types of tattoo art should be done by experienced artists as they can use a combination of several colors. So, if you too are planning to get your neck tattoo, you can try this Japanese side neck tattoo design yourself. In general, the Japanese Koi fish tattoo symbolizes that you have the heart and the strength to endure the hardest time of your life, similar to that of a koi fish. You can tattoo this koi fish art in your body in different designs and colors to make it more and more attractive. Japanese tattoo designs are unique, popular and easily noticeable by people. So, if you too have gone through such struggles and difficulties in life and want to tell about them in the form of a tattoo, you can try this Japanese koi fish neck tattoo design once. Japanese masks are also a popular tattoo choice among all other Japanese tattoos. Oni mask tattoos are usually chosen by people as the subject of their tattoo who strongly believe in the forces of good and evil that surround us. An Oni mask is tattooed on any part of the body as a protective shield against all evil forces around us, as well as to bring good fortune. The true meaning of the word Oni is the evil demons that are used to suppress all other evil spirits. There are several other types of masks in the Japanese mask tattoo section. Getting these types of tattoos inked on your body is a symbol that you hold a belief that the world is made up of both good and evil spirits. If you too are interested in getting tattooed with colorful dragon tattoos on your neck, you can try this bold yet beautiful Japanese tattoo design on yourself. The Japanese samurai is used to symbolize goodness or nobility. These types of tattoos, in general, symbolize warriors and their fighting spirit to overcome all obstacles in life. Many Japanese hand tattoos feature the characters, such as the Hannya mask tattoo, Oni mask tattoo, and even koi fish tattoos can be found in traditional tattoos. Japanese. Therefore, try this neck tattoo if you keep an interest in Japanese Samurai neck tattoo ideas, which are among the traditional Japanese neck tattoos. The Japanese dragon tattoo symbolizes power, wisdom, but also good fortune or luck. These types of Japanese tattoos are also known as Ryu tattoos. Traditionally. Dragon tattoos are considered greedy in the West. On the other hand, dragons in Japan are often benevolent, that is, kind-hearted beings who can manipulate the power of the universe for the benefit of human beings. Japanese dragon tattoos usually have no legs. Thus, at the end, it can be mentioned that traditional Japanese dragon tattoos are good luck and a sign of the wearer’s aspiration for wisdom and generosity, i.e. liberality and kindness. So, if you too continue to believe in the concept of good and bad fortune and want your life to be blessed with all the good fortunes, then try this cool Japanese neck tattoo idea once. The Japanese tiger neck tattoo displays the power and courage of the animal within you. Since a tiger is considered sacred and a lucky charm in Japan, one can even get the art tattooed on their body to protect themselves from all kinds of bad luck and evil powers. So you can also try this Japanese tiger neck tattoo design for yourself. Different types of Japanese tattoos symbolize various meanings related to Japanese culture or Japanese tattoo art. A quintessence, i.e. an essential part of Japanese tattoo art, is the cherry blossom, which represents the transience of life as it blooms, falls to the ground, and is swept away. The other name used for Japanese tattoo designs is Irezumi. However, still today, many people who are big tattoo enthusiasts like to get tattoos in such places so that their tattoos remain completely hidden from society. The reason behind this is that during the early days in Japan, tattoos were used as a mark to identify Yakuza i.e. mafia groups and hence the tattoo culture is considered disrespectful in Japanese tattoo culture. A butterfly tattoo symbolizes the free spirit as well as the power to transform. Therefore, if you want to combine both color and meaning of Japanese tattoos, you can try this butterfly neck tattoo design once. In the beginning, when the style of getting a tattoo was just introduced into Japanese society, it was used as a symbolic representation of many things such as luck, spirituality, and even social status. The meaning of these types of tattoos was quite different at that time from its current meaning. The Sanskrit word for Mandala is Circle. Mandala tattoos are used to symbolize perfection and balance. If you too are interested in unique tattoo designs, you can try this rose mandala neck tattoo combination with both the perfection of mandala and the elegance of rose in one tattoo. Japanese art tattoos aren’t just limited to Irezumi, they depict everything from script to symbols. The lotus, or hasu, has great significance throughout Asia as it plays a prominent role in the life story of Gautam Buddha. It is most often seen as an allegory, that is, an emblem of life, as these flowers come out of the mud, grow and eventually blossom into beautiful multi-layered flowers. If you are interested in flower tattoos and want something that will be a combination of flowers and Japanese tattoos, try this simple yet elegant Japanese lotus neck tattoo design once. will make you feel among others and also show that you are royalty or going through a rebirth. As a man, or even as a woman, the tattoos you have tattooed on your body show or symbolize that you have a lot of insight, knowledge and power, the aspects that cannot be Don’t expect proper Japanese art as these designs keep varying, like – the dragon can have a camel or even a fish body attached. Baku tattoos mainly draw their inspiration from Chinese and Japanese mythologies. Baku tattoos are believed to protect the wearer from all kinds of nightmares. Therefore, if you too want to protect yourself from nightmares, you can try this Baku Japanese neck tattoo design once. Here are some Japanese neck tattoo ideas for you. - Japanese cherry blossom neck tattoo designs. - Japanese rising sun neck tattoo designs. - Black Japanese neck tattoo. - Japanese Octopus neck tattoo designs. - Japanese neck flower tattoos. Disclaimer: Curated and re-published here. We do not claim anything as we translated and re-published using google translator. All images and Tattoo Design ideas shared only for information purpose.
english