text
stringlengths
1
1.04M
language
stringclasses
25 values
<reponame>mechiru/google-api-proto<gh_stars>1-10 #[cfg(any(feature = "google-iam-admin-v1"))] pub mod admin; #[cfg(any(feature = "google-iam-credentials-v1"))] pub mod credentials; #[cfg(any(feature = "google-iam-v1", feature = "google-iam-v1-logging"))] pub mod v1; #[cfg(any(feature = "google-iam-v1beta"))] pub mod v1beta; #[cfg(any(feature = "google-iam-v2beta"))] pub mod v2beta;
rust
package edu.hm.hafner.analysis.parser; import java.util.Optional; import java.util.regex.Matcher; import edu.hm.hafner.analysis.Issue; import edu.hm.hafner.analysis.IssueBuilder; import edu.hm.hafner.analysis.Severity; import edu.hm.hafner.analysis.RegexpLineParser; /** * A parser for the flawfinder warnings. * * @author <NAME> */ public class FlawfinderParser extends RegexpLineParser { private static final long serialVersionUID = 8088991846076174837L; private static final String FLAWFINDER_WARNING_PATTERN = "^(?<file>.*):(?<line>\\d+): .\\[(?<severity>[012345])\\] \\((?<category>[a-z0-9]*)\\) (?<message>.*)$"; private static final int FLAWFINDER_HIGH_THRESHOLD = 4; private static final int FLAWFINDER_NORMAL_THRESHOLD = 2; /** * Creates a new instance of {@link FlawfinderParser}. */ public FlawfinderParser() { super(FLAWFINDER_WARNING_PATTERN); } @Override protected Optional<Issue> createIssue(final Matcher matcher, final IssueBuilder builder) { String message = matcher.group("message"); String category = matcher.group("category"); int severity = Integer.parseInt(matcher.group("severity")); Severity priority = Severity.WARNING_LOW; if (severity >= FLAWFINDER_HIGH_THRESHOLD) { priority = Severity.WARNING_HIGH; } else if (severity >= FLAWFINDER_NORMAL_THRESHOLD) { priority = Severity.WARNING_NORMAL; } return builder.setFileName(matcher.group("file")) .setLineStart(matcher.group("line")) .setCategory(category) .setMessage(message) .setSeverity(priority) .buildOptional(); } }
java
<reponame>VIAE0/react-cli-test const semver = require('semver'); const chalk = require('chalk'); const request = require('request'); const requiredVersion = require('../../package.json').version; const Ora = require('ora'); const spinner = new Ora(); /** * 检测 Node 版本 * @param {string} wanted 期望版本号 * @param {string} id 项目名(rc-cli) */ function checkNodeVersion (wanted, id) { if (!semver.satisfies(process.version, wanted)) { console.log(chalk.red( 'You are using Node ' + process.version + ', but this version of ' + id + ' requires Node ' + wanted + '.\nPlease upgrade your Node version.' )); process.exit(1); } // 提示未来不再支持 node 9.x 版本 if (semver.satisfies(process.version, '9.x')) { console.log(chalk.yellow( `You are using Node ${process.version}.\n` + `Node.js 9.x has already reached end-of-life and will not be supported in future major releases.\n` + `It's strongly recommended to use an active LTS version instead.` )); } } /** * 通过 npm 检测是否更新包 * @param {string} url npm包路径 * @returns {Promise} */ function checkPackageVersion(url) { return new Promise((resolve, reject) => { spinner.start('Checking RC-CLI version'); request(url, function (error, response, body) { if (!error && response.statusCode === 200){ let version = JSON.parse(body).version; if (semver.lte(version, requiredVersion)) { spinner.stop(); resolve(); } else { spinner.stop(); console.log(chalk.red( `You are using RC-CLI v${requiredVersion}, But the latest version is v${version}.\nPlease upgrade your RC-CLI version. \n\n>> npm update rc-cli -g` )); process.exit(1); } } else { spinner.clear(); console.log(chalk.red( 'Failed to obtain version information through NPM!' )); reject(error); process.exit(1); } }); }); } module.exports = { checkNodeVersion, checkPackageVersion };
javascript
<reponame>inugroho/pemilu-2019-scraper<gh_stars>1-10 [{"namaKab":"KOTA PAGAR ALAM","originalFilename":"PAS POTOn.jpg","namaPartai":"Partai Golongan Karya","id":272983,"noUrut":1,"nama":"SUGIANTO, SE","stringJenisKelamin":"Laki-Laki"},{"namaKab":"KOTA PAGAR ALAM","originalFilename":"PPn.jpg","namaPartai":"Partai Golongan Karya","id":113070,"noUrut":2,"nama":"EFSI, SE","stringJenisKelamin":"Laki-Laki"},{"namaKab":"KOTA PAGAR ALAM","originalFilename":"husniati.jpg","namaPartai":"Partai Golongan Karya","id":133511,"noUrut":3,"nama":"<NAME>","stringJenisKelamin":"Perempuan"},{"namaKab":"KOTA PAGAR ALAM","originalFilename":"copyfoto.jpg","namaPartai":"Partai Golongan Karya","id":168983,"noUrut":4,"nama":"<NAME>","stringJenisKelamin":"Perempuan"},{"namaKab":"KOTA PAGAR ALAM","originalFilename":"RAJA0PasPhotoX1-PP4x6x4X1-TusirX1-.jpg","namaPartai":"Partai Golongan Karya","id":117548,"noUrut":5,"nama":"SUBRIANTO","stringJenisKelamin":"Laki-Laki"},{"namaKab":"KOTA PAGAR ALAM","originalFilename":"H.jpg","namaPartai":"Partai Golongan Karya","id":117150,"noUrut":6,"nama":"ARDANSYAH, SE","stringJenisKelamin":"Laki-Laki"},{"namaKab":"KOTA PAGAR ALAM","originalFilename":"PAS FOTO.jpg","namaPartai":"Partai Golongan Karya","id":169659,"noUrut":7,"nama":"NURLELA","stringJenisKelamin":"Perempuan"}]
json
<reponame>akurungadam/erpnext_feature_board import frappe def delete_approved_build_requests(): """ Scheduled hook to delete approved Review Requests for changing site deployments. """ approved_build_requests = frappe.get_all( "Review Request", filters={ "request_type": ["in", ["Build", "Upgrade", "Delete"]], "request_status": "Approved", }, ) for request in approved_build_requests: frappe.delete_doc("Review Request", request.name)
python
{"categories":["Data Management","Engineering","Manual"],"desc":"\n","details":{"authors":"<NAME>","format":"pdf","isbn-10":"0596153937","isbn-13":"978-0596153939","pages":"486 pages","publication date":"August 7, 2009","publisher":"O'Reilly Media","size":"33.76Mb"},"img":"http://172.16.58.3/covers/c5/c5e18368d71817b17f75c46750465f72.jpg","link":"https://rapidhosting.info/files/a5p","title":"Head First Data Analysis: A learner’s guide to big numbers, statistics, and good decisions"}
json
Actress Tina Datta who rose to fame with Colors Uttaran, entered the 16th edition of the same channel’s most loved reality show Bigg Boss. The actress made a stunning entry and since then she has been popping in the headlines and making a noise. She is known for her style, fashion sense, hairdos, subtle makeup, bold stands and cute persona. The actress has been linked by co-contestant Shalin Bhanot, and everyone is talking about them. Shalin has been seen on numerous occasions romantically flirting with Datta, but the actress has cleared her intentions in an unseen clip. Speaking with Nimrit as well as directly to Shalin, Tina has specifically mentioned that she doesn’t have any feelings for Bhanot. And that there is nothing from her side. She further continued that Shalin is not her type. Bigg Boss is a show where staying away from family, friends and mobile phones can be the toughest task, and hence everyone needs a friend inside, who is a confidant. And looking at what’s from Tina’s end, it is visible that she is only seeking Shalin as a true friend! 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
Mumbai (Maharashtra) [India], May 11 : Makers of the upcoming series 'Modern Love Chennai' on Thursday, unveiled the official trailer. Taking to Instagram, OTT platform Amazon Prime Video shared the much-awaited trailer which they captioned, "a celebration of love, life, and the endless possibilities that await us in the heart of Chennai #ModernLoveOnPrime, May 18 Trailer Out Now! " A post shared by prime video IN (@primevideoin) 'Modern Love Chennai' brings together six brilliant creators of Indian cinemaBharathiraja, Balaji Sakthivel, Rajumurugan, Krishnakumar Ramakumar, Akshay Sundher and Thiagarajan Kumararaja. The series will stream on the OTT platform Amazon Prime Video from May 18. The Chennai chapter of the widely loved Internationally acclaimed 'Modern Love' Franchisefeatures Sanjula Sarathi, Chu Khoy Sheng, Srikrishna Dayal, Ashok Selvan, T J Bhanu, Sri Gouri Priya, Vasudevan Murali, Vasundhara, Ritu Varma, Samyuktha Vishwanathan, Pawan Alex, iruth Kanakarajan, Kishor, Ramya Nambessan, Vijayalakshmi, Wamiqa in pivotal roles. 'Modern Love Chennai' is the third Indian adaptation of the Modern Love Franchise, the internationally acclaimed Original anthology helmed by John Carney. The anthology includes the following episodes: 1. 'Lalagunda Bommaigal' - Directed by Rajumurugan, story adapted and written by Rajumurugan, music composed by Sean Roldan, and cinematography by Nirav Shah. The episode features Sri Gouri Priya, Vasudevan Murali, and Vasundhara. 2. 'Imaigal' - Directed by Balaji Sakthivel, story adapted and written by Balaji Tharaneetharan , music composed by Yuvan Shankar Raja and cinematography by Jeeva Sankar. The episode features Ashok Selvan and T. J. Bhanu. 3. 'Kaadhal Enbadhu Kannula Heart Irukkura Emoji' - Directed by Krishnakumar Ramakumar, story adapted and written by Reshma Ghatala, music composed by G. V. Prakash Kumar and cinematography by Nirav Shah. The episode features Ritu Varma, Samyuktha Viswanathan, Pawan Alex, and iruth Kanakarajan. 4. 'Margazhi' - Directed by Akshay Sundher, Story adapted and written by Balaji Tharaneetharan, music composed by Maestro Ilaiyaraaja, and cinematography by Vikas Vasudevan. The episode features Sanjula Sarathi, Chu Khoy Sheng, and Srikrishna Dayal,. 5. 'Paravai Kootil Vaazhum Maangal' - Directed by Bharathiraja, story adapted and written by Pratheep Kumar S, music composed by Maestro Ilaiyaraaja, and and cinematography by Jeeva Sankar. The episode features Kishore, Ramya Nambessan, and Vijayalakshmi. 6. 'Ninaivo Oru Paravai' - Directed by Thiagarajan Kumararaja, story adapted and written by Thiagarajan Kumararaja, music composed by Maestro Ilaiyaraaja, and cinematography by Nirav Shah and Jeeva Sankar. The episode features Wamiqa and PB. Sharing about 'Paravai Kootil Vaazhum Maangal', the episode he has directed, director Bharathiraja said "Where, on whom and for what do we fall in love? ". He further added, "I am excited for Modern Love Chennai to premiere this May, on Prime Video. I look forward to reactions from audiences. " Director Rajumurugan who has directed episode 'Lalagunda Bommaigal' shared, "Love is one, each one is one. One in everything. Everything in one". He further shared, "I am looking forward to the audience watching our individual interpretations of love, in this heart-warming series. " Director Krishnakumar Ramakumar of 'Kaadhal Enbadhu Kannula Heart Irukkura Emoji' said, "Being a man, to a certain extent I understand our perspective on love and romantic relationships. Here I was given a challenge to showcase love and romance from a woman's point of view, which required me to present a new and opposite perspective on the same subject. I had to research the shift in perspective which helped me not just with my film-making but also to understand the women in my real-life better. " Director Akshay Sundher of 'Margazhi' said, "It's a great feeling to be a part of the Modern Love Chennai family alongside veteran filmmakers. Working with Isaign Ilaiyaraaja was a dream come true and it was a life changing experience. Love is something that cannot be contained in a boundary of just a few words, but if I had to explain it from the context of 'Margazhi', love is acceptance - acceptance of what is, what has been, what can or will be and what may never be. "
english
export const styles = { global: { body: { fontFamily: "body", _dark: { bg: "#141517", }, transition: "background .4s ease-in-out", }, html: { minH: "100%", }, }, };
typescript
Bellary: Kerala triple jumper Gayathry Sivakumar set a new meet record in the second Indian Open Jumps Competition at the Inspire Institute of Sport, Vidyanagar, on Thursday. The 22-year-old achieved a personal best of 12. 98m to better Aleena Jose's previous record of 12. 68m.
english
<reponame>hltfbk/E3C-Corpus { "authors": [ { "author": "<NAME>" }, { "author": "<NAME>" }, { "author": "<NAME>" }, { "author": "<NAME>" } ], "doi": "10.1186/s12885-015-1753-4", "publication_date": "2015-10-17", "id": "EN115090", "url": "https://pubmed.ncbi.nlm.nih.gov/26471278", "source": "BMC cancer", "source_url": "", "licence": "CC BY", "language": "en", "type": "pubmed", "description": "", "text": "A 36-year-old man was diagnosed hepatitis B virus-associated hepatocellular carcinoma on September 19, 2011. Despite treatment with entecavir, radiofrequency ablation and transarterial chemoembolization for recurrent local tumors, the tumors recurred in both lobes and lung metastases were detected by computed tomography on September 12, 2012. The patient was treated with JX594 (Pexa-vec®) via intravenous injection on December 19, 2012. No apparent adverse effects were observed following intravenous injection other than a single fever episode. However, pustular lesions were detected on both sides of the tongue dorsum and on the proximal interphalangeal joint of the right middle finger on December 25, 1012. Biopsy samples analyzed by PCR identified the presence of the JX-594-specific hGM-CSF transgene and the disrupted viral thymidine kinase gene. Following aspiration of the lesion a scab formed that resolved within 14 days without necessitating additional treatment." }
json
Barcelona continues their good form in the La Liga as they extend their lead at the top of the table over Real Madrid by eight points with a clinical 3-0 win over Sevilla. The first half of the game was mostly uneventful with Sergio Busquets getting subbed off with an ankle injury and Moroccan goalkeeper Yassine Bonou denying Robert Lewandowski a few shots on goal. Despite of Sevilla defending deep, the deadlock broke in the second half with Jordi Alba opening the scoring, Gavi doubled the lead from a Raphinha assist, who had a good outing in this game. Raphinha utilized the opportunity further as he scored the third and final goal of the night from a Jordi Alba cross, sealing the victory for Barcelona. You can watch the video highlights of the match here. Mallorca 1–0 Real Madrid, La Liga 2022–23: Los Blancos Suffer Shock Defeat After Marco Asensio Misses Penalty (Watch Goal Video Highlights). (SocialLY brings you all the latest breaking news, viral trends and information from social media world, including Twitter, Instagram and Youtube. The above post is embeded directly from the user's social media account and LatestLY Staff may not have modified or edited the content body. The views and facts appearing in the social media post do not reflect the opinions of LatestLY, also LatestLY does not assume any responsibility or liability for the same. )
english
Once a rising star in the personal audio segment, and known for its well-priced wireless and wired earphones, 1More has been rather quiet for the past year or so. After the excellent 1More Stylish True Wireless Earphones, the company hasn't quite kept up the momentum, and meanwhile the competition has raced ahead. Brands such as Lypertek, Creative, and Oppo have all been busy in the Rs. 5,000 to Rs. 10,000 price segment. Now, 1More is looking to win back some goodwill with its latest true wireless headset. The 1More ColorBuds is a new true wireless headset from a brand that was among the pioneers in the mid-range audio segment till recently, but has been under the radar of late. The new earphones feature support for the aptX Bluetooth codec, and thanks to balanced armature drivers, the sound quality is very good. That said, the earphones do have issues with connectivity, the touch controls are iffy, and the app needs much improvement. However, if you favour good, warm sound over all else, the 1More ColorBuds are among the best you can buy for the price. |True Wireless Stereo (TWS) |Weight (g) |Weight With Case (g) |Impedance (Ohms) |Bluetooth range (Metres)
english
// Copyright 2012-2015 <NAME>. All rights reserved. // Use of this source code is governed by a 3-clause BSD // license that can be found in the LICENSE file. package thrift import ( "reflect" "runtime" ) // Decoder is the interface that allows types to deserialize themselves from a Thrift stream type Decoder interface { DecodeThrift(ProtocolReader) error } type decoder struct { r ProtocolReader enforceRequired bool } // DecodeStruct tries to deserialize a struct from a Thrift stream func DecodeStruct(r ProtocolReader, v interface{}) (err error) { return DecodeStructWithStrictness(r, true, v) } func DecodeStructWithStrictness(r ProtocolReader, enforceRequired bool, v interface{}) (err error) { if de, ok := v.(Decoder); ok { return de.DecodeThrift(r) } defer func() { if r := recover(); r != nil { if _, ok := r.(runtime.Error); ok { panic(r) } err = r.(error) } }() d := &decoder{r: r, enforceRequired: enforceRequired} vo := reflect.ValueOf(v) for vo.Kind() != reflect.Ptr { d.error(&UnsupportedValueError{Value: vo, Str: "pointer to struct expected"}) } if vo.Elem().Kind() != reflect.Struct { d.error(&UnsupportedValueError{Value: vo, Str: "expected a struct"}) } d.readValue(TypeStruct, vo.Elem()) return nil } func (d *decoder) error(err interface{}) { panic(err) } func (d *decoder) readValue(thriftType byte, rf reflect.Value) { v := rf kind := rf.Kind() if kind == reflect.Ptr { if rf.IsNil() { rf.Set(reflect.New(rf.Type().Elem())) } v = rf.Elem() kind = v.Kind() } if de, ok := rf.Interface().(Decoder); ok { if err := de.DecodeThrift(d.r); err != nil { d.error(err) } return } var err error switch thriftType { case TypeBool: if val, err := d.r.ReadBool(); err != nil { d.error(err) } else { v.SetBool(val) } case TypeByte: if val, err := d.r.ReadByte(); err != nil { d.error(err) } else { if kind == reflect.Uint8 { v.SetUint(uint64(val)) } else { v.SetInt(int64(val)) } } case TypeI16: if val, err := d.r.ReadI16(); err != nil { d.error(err) } else { v.SetInt(int64(val)) } case TypeI32: if val, err := d.r.ReadI32(); err != nil { d.error(err) } else { if kind == reflect.Uint32 { v.SetUint(uint64(val)) } else { v.SetInt(int64(val)) } } case TypeI64: if val, err := d.r.ReadI64(); err != nil { d.error(err) } else { if kind == reflect.Uint64 { v.SetUint(uint64(val)) } else { v.SetInt(val) } } case TypeDouble: if val, err := d.r.ReadDouble(); err != nil { d.error(err) } else { v.SetFloat(val) } case TypeString: if kind == reflect.Slice { elemType := v.Type().Elem() elemTypeName := elemType.Name() if elemType.Kind() == reflect.Uint8 && (elemTypeName == "byte" || elemTypeName == "uint8") { if val, err := d.r.ReadBytes(); err != nil { d.error(err) } else { v.SetBytes(val) } } else { err = &UnsupportedValueError{Value: v, Str: "decoder expected a byte array"} } } else { if val, err := d.r.ReadString(); err != nil { d.error(err) } else { v.SetString(val) } } case TypeStruct: if err := d.r.ReadStructBegin(); err != nil { d.error(err) } meta := encodeFields(v.Type()) req := meta.required for { ftype, id, err := d.r.ReadFieldBegin() if err != nil { d.error(err) } if ftype == TypeStop { break } ef, ok := meta.fields[int(id)] if !ok { SkipValue(d.r, ftype) } else { req &= ^(uint64(1) << uint64(id)) fieldValue := v.Field(ef.i) if ftype != ef.fieldType { d.error(&UnsupportedValueError{Value: fieldValue, Str: "type mismatch"}) } d.readValue(ftype, fieldValue) } if err = d.r.ReadFieldEnd(); err != nil { d.error(err) } } if err := d.r.ReadStructEnd(); err != nil { d.error(err) } if d.enforceRequired { if req != 0 { for i := 0; req != 0; i, req = i+1, req>>1 { if req&1 != 0 { d.error(&MissingRequiredField{ StructName: v.Type().Name(), FieldName: meta.fields[i].name, }) } } } } case TypeMap: keyType := v.Type().Key() valueType := v.Type().Elem() ktype, vtype, n, err := d.r.ReadMapBegin() if err != nil { d.error(err) } v.Set(reflect.MakeMap(v.Type())) for i := 0; i < n; i++ { key := reflect.New(keyType).Elem() val := reflect.New(valueType).Elem() d.readValue(ktype, key) d.readValue(vtype, val) v.SetMapIndex(key, val) } if err := d.r.ReadMapEnd(); err != nil { d.error(err) } case TypeList: elemType := v.Type().Elem() et, n, err := d.r.ReadListBegin() if err != nil { d.error(err) } for i := 0; i < n; i++ { val := reflect.New(elemType) d.readValue(et, val.Elem()) v.Set(reflect.Append(v, val.Elem())) } if err := d.r.ReadListEnd(); err != nil { d.error(err) } case TypeSet: if v.Type().Kind() == reflect.Slice { elemType := v.Type().Elem() et, n, err := d.r.ReadSetBegin() if err != nil { d.error(err) } for i := 0; i < n; i++ { val := reflect.New(elemType) d.readValue(et, val.Elem()) v.Set(reflect.Append(v, val.Elem())) } if err := d.r.ReadSetEnd(); err != nil { d.error(err) } } else if v.Type().Kind() == reflect.Map { elemType := v.Type().Key() valueType := v.Type().Elem() et, n, err := d.r.ReadSetBegin() if err != nil { d.error(err) } v.Set(reflect.MakeMap(v.Type())) for i := 0; i < n; i++ { key := reflect.New(elemType).Elem() d.readValue(et, key) switch valueType.Kind() { case reflect.Bool: v.SetMapIndex(key, reflect.ValueOf(true)) default: v.SetMapIndex(key, reflect.Zero(valueType)) } } if err := d.r.ReadSetEnd(); err != nil { d.error(err) } } else { d.error(&UnsupportedTypeError{v.Type()}) } default: d.error(&UnsupportedTypeError{v.Type()}) } if err != nil { d.error(err) } return }
go
<reponame>ysglh/ParlAI # Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. """Class which creates a dummy dataset for testing purposes. Used in test_train_model.py """ from parlai.core.teachers import DialogTeacher import copy class RepeatTeacher(DialogTeacher): def __init__(self, opt, shared=None): opt = copy.deepcopy(opt) opt['datafile'] = 'unused_path' task = opt.get('task', 'tests.tasks.repeat:RepeatTeacher:50') self.data_length = int(task.split(':')[2]) super().__init__(opt, shared) def setup_data(self, unused_path): for i in range(self.data_length): yield ((str(i), [str(i)]), True)
python
<gh_stars>0 --- title: "Imperio Romano" permalink: periodes_41.html layout: periode dataInici: -27 dataFi: 476 sidebar: periodes pares: - id: 176 title: "Antig<NAME>" dataInici: "(-753)" dataFi: "(476)" fills: - id: 146 title: "<NAME>" dataInici: "(-101)" dataFi: "(-106)" - id: 561 title: "<NAME>" dataInici: "(-66)" dataFi: "(-73)" - id: 775 title: "<NAME>" dataInici: "(-29)" dataFi: "(-19)" - id: 64 title: "Conquista de Germania" dataInici: "(-11)" dataFi: "(16)" - id: 563 title: "Conquista de Britania" dataInici: "(43)" dataFi: "(96)" - id: 906 title: "Año de los cuatro emperadores" dataInici: "(68-06)" dataFi: "(69-07)" - id: 1061 title: "<NAME>" dataInici: "(165)" dataFi: "(189)" - id: 117 title: "Crisis Imperial" dataInici: "(235)" dataFi: "(284)" - id: 118 title: "Bajo Imperio Romano" dataInici: "(284)" dataFi: "(476)" jocsPrincipals: jocsEscenaris: - title: "Trajan" bggId: 102680 dataInici: 110 dataFi: - title: "Armorica" bggId: 67285 dataInici: 100 dataFi: - title: "Caligula" bggId: 50862 dataInici: 41 dataFi: - title: "Commissioned" bggId: 171479 dataInici: 34 dataFi: 184 - title: "Municipium" bggId: 29410 dataInici: dataFi: - title: "Praetor" bggId: 137776 dataInici: 122 dataFi: jocsEpoca: jocsEpocaEscenaris: - title: "Imperium Romanum II" bggId: 1496 escenari: "Septimus Severus vs. Pescennius Niger vs. Clodius Albinus" dataInici: dataFi: - title: "Iberos" bggId: 3634 escenari: "La Guerra de Augusto" dataInici: -29 dataFi: -25 ---
markdown
Tim David to Joe Clarke, out Joe Clarke Run Out!! Brilliant fielding from Crawley. Tossed up ball, pushed to deep mid-wicket and the batsmen take a run. Clarke wants the second but is sent back as the ball comes in flat and quick to Tim David at the bowler's end. He collects it nicely and takes the bails off, as Joe Clarke dives in. Looks like he is short and the replay confirms the same. Joe Clarke run out (Crawley/Tim David) 4(9)
english
# Standard Libraries # Third party packages from pydantic import validator, root_validator from pydantic.typing import Literal, List, Union, Optional # Local package from net_models.validators import * from net_models.fields import * from net_models.models import VendorIndependentBaseModel # Local module class InterfaceSpanningTreeConfig(VendorIndependentBaseModel): _modelname = "spanning_tree_port_config" _identifiers = [] link_type: Optional[Literal["point-to-point", "shared"]] portfast: Optional[Literal["edge", "network", "disable", "trunk"]] bpduguard: Optional[bool] root_guard: Optional[bool] loop_guard: Optional[bool] class InterfaceSwitchportModel(VendorIndependentBaseModel): """ Model for switched interfaces """ _modelname = "switchport_model" _identifiers = [] _children = {InterfaceSpanningTreeConfig: "stp"} mode: Optional[Literal["access", "trunk", "dynamic auto", "dynamic desirable", "dot1q-tunnel", "private-vlan host", "private-vlan promiscuous"]] """Operational mode""" untagged_vlan: Optional[VLAN_ID] """ID of untagged VLAN. Used for Access or Native VLAN""" voice_vlan: Optional[VLAN_ID] """ID of voice VLAN """ allowed_vlans: Optional[Union[List[VLAN_ID], Literal["all", "none"]]] """ List of allowed VLANs on this interface. Preferably `List[int]`, however validators will take care of things like `"1-10,20"` or `[1, 2, 3, "5-10"]` """ encapsulation: Optional[Literal["dot1q", "isl", "negotiate"]] negotiation: Optional[bool] """ Wether or not negotiate trunking, for example via DTP. Setting this field to `False` will result in :code:`switchport nonegotiate` """ stp: Optional[InterfaceSpanningTreeConfig] @root_validator(allow_reuse=True) def validate_allowed_vlans_present(cls, values): if values.get("allowed_vlans", None) is not None: assert values.get('mode') in ['trunk', 'dynamic auto', 'dynamic desirable'], "Field 'allowed_vlans' is only allowed when 'mode' in ['trunk', 'dynamic auto', 'dynamic desirable']." return values @validator('allowed_vlans', pre=True, allow_reuse=True) def validate_vlan_range(cls, v): if v is not None: v = expand_vlan_range(vlan_range=v) return v # _vlan_range_validator = validator('allowed_vlans', allow_reuse=True)(expand_vlan_range)
python
{ "address": "1UDbADib99KE9d3qZ87NqJF2QLTHmMkoV", "cert_auth_type": "web", "cert_sign": "<KEY> "cert_user_id": "<EMAIL>", "files": {}, "inner_path": "data/userdb/18j9agkWyFjhMFeUN5szY17wKiUQn95RfL/content.json", "modified": 1471695844.206185, "signs": { "<KEY>": "<KEY> }, "user": [ { "avatar": "jpg", "date_added": 1471274059, "hub": "1RedkCkVaXuVXrqCMpoXQS29bwaqsuFdL", "intro": "Skeptiker", "user_name": "Lodda" } ] }
json
In the wake of Rahkeem Cornwall’s performances with the bat, 61 and 43*, Kraigg Brathwaite has hinted that the all-rounder could get a batting promotion in the Windies playing XI. He also added that the first session on day two would be crucial to the hosts’ chances of tilting the Test match. Having shown his batting prowess in the Caribbean Premier League, for the St Lucia Zouks, Rahkeem Cornwall’s stock as an all-rounder rose to an all-time high. However, in the international scene, the all-rounder was still struggling to score the handy runs for the Maroons, until the series against Sri Lanka. In the ongoing series, the all-rounder has already set his high score at 61 before scoring an unbeaten 43 at the end of day one’s play of the second Test. West Indies’ skipper Kraigg Brathwaite, who is unbeaten on 99 himself, stitched a 65 runs partnership with the all-rounder, lifting the hosts out of trouble from 185/6, as West Indies finished the day on 287/7. Brathwaite, in the wake of Rahkeem Cornwall’s monumental effort, suggested that the off-spinning all-rounder could move up the batting order and insisted that the Big Man always had the ability to bat well. “Tomorrow is a very crucial day, first hour, first session is very crucial for us. He (Cornwall) is on his way (to move up the batting order), he always had the ability to bat, it's good to see him getting some scores,” Brathwaite told broadcasters, reported Cricbuzz. Brathwaite also added that Windies are two wickets too many at the stage but is happy with the position that they find themselves in after a slump in the middle part of the day, where they were 185/6. The opener, who is on the verge of another century, insisted that cashing in on the ball balls and rotation were vital components on a tough day’s play for the hosts. “For me, just want to play the ball as late as possible, that was the key. Sri Lanka (have) a disciplined bowling unit, for me, just cashing in on the bad balls and when the ball wasn't spinning, rotating as much as possible. Probably two wickets too many, but still happy with the position.
english
<filename>TankZoneGame/Source/TankZoneGame/Private/BarrelComponent.cpp // Fill out your copyright notice in the Description page of Project Settings. #include "BarrelComponent.h" #include"Engine/World.h" void UBarrelComponent::Elevate(float RelativeSpeed) { RelativeSpeed = FMath::Clamp<float>(RelativeSpeed, -1.f, 1.f); float ElevationChangePerFrame = RelativeSpeed * MaxDegreesPerSecond*GetWorld()->DeltaTimeSeconds; float ElevationAddedThisFrame = RelativeRotation.Pitch + ElevationChangePerFrame; float ClampedElevation=FMath::Clamp<float>(ElevationAddedThisFrame, MinElevation, MaxElevation); SetRelativeRotation(FRotator(ClampedElevation,0.f,0.f)); }
cpp
/* * Copyright 2017 resin.io * * 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. */ 'use strict'; const electron = require('electron'); const url = require('url'); const isRenderer = require('is-electron-renderer'); /** * @summary Check if the current process is a renderer process * @function * @public * * @returns {Boolean} whether the current process is a renderer process * * @example * if (utils.isRenderer()) { * console.log('This is a renderer process'); * } */ exports.isRenderer = () => { return isRenderer; }; /** * @summary Get a file URL out of a file path * @function * @public * * @param {String} filePath - file path * @returns {String} file url * * @example * const url = utils.getFileURL(path.join(__dirname, 'index.html')); */ exports.getFileURL = (filePath) => { return url.format({ pathname: filePath, protocol: 'file:', slashes: true }); }; /** * @summary Get the current browser window instance * @function * @public * * @returns {(Object|Null)} the current browser window instance * * @example * const browserWindow = utils.getCurrentBrowserWindow(); */ exports.getCurrentBrowserWindow = () => { return exports.isRenderer() ? electron.remote.getCurrentWindow() : null; }; /** * @summary Get the id of a browser window instance * @function * @public * * @param {Object} browserWindow - browser window instance * @returns {Number} the browser window id * * @example * const browserWindow = new electron.BrowserWindow(); * const id = utils.getBrowserWindowId(browserWindow); */ exports.getBrowserWindowId = (browserWindow) => { return browserWindow.id; }; /** * @summary Check of a browser instance is a child window * @function * @public * * @param {Object} browserWindow - browser window instance * @returns {Boolean} whether the browser window is a child window * * @example * const browserWindow = new electron.BrowserWindow(); * const childWindow = new electron.BrowserWindow({ * parent: browserWindow * }); * * if (utils.isChildBrowserWindow(childWindow)) { * console.log('This is a child browser window'); * } */ exports.isChildBrowserWindow = (browserWindow) => { return Boolean(browserWindow.getParentWindow()); }; /** * @summary Blindly memoize a function * @function * @public * * @description * This means that after the first execution, the memoized * function will *always* return the same result, no * matter the arguments. * * @param {Function} func - function * @returns {Function} bindly memoized function * * @example * const func = utils.blindMemoize(() => { * return Math.random(); * }); */ exports.blindMemoize = (func) => { let cache = null; return (...args) => { if (!cache) { cache = Reflect.apply(func, this, args); } return cache; }; };
javascript
<reponame>thehootengine/The-Hoot-Engine class Client { constructor(engine) { this.engine = engine || null; this.hasEngine = true; if (this.engine === null) { this.hasEngine = false; } } createAction(text) { let data = new Blob([text], { type: 'text/plain' }); let textFile = window.URL.createObjectURL(data); } } module.exports = Client;
javascript
package submission import ( "Rabbit-OJ-Backend/controllers/upgrader" "Rabbit-OJ-Backend/models/data_structure" "fmt" "github.com/gin-gonic/gin" "github.com/gorilla/websocket" "log" "strconv" "time" ) var ( JudgeHub *Hub ) type Client struct { conn *websocket.Conn send chan []byte sid uint32 } func (c *Client) readPump() { defer func() { JudgeHub.unregister <- c _ = c.conn.Close() }() c.conn.SetReadLimit(upgrader.MaxMessageSize) if err := c.conn.SetReadDeadline(time.Now().Add(upgrader.PongWait)); err != nil { fmt.Println(err) } c.conn.SetPongHandler(func(string) error { _ = c.conn.SetReadDeadline(time.Now().Add(upgrader.PongWait)) return nil }) for { _, _, err := c.conn.ReadMessage() if err != nil { if websocket.IsUnexpectedCloseError(err, websocket.CloseGoingAway, websocket.CloseAbnormalClosure) { log.Printf("error: %v", err) } break } } } func (c *Client) writePump() { ticker := time.NewTicker(upgrader.PingPeriod) defer func() { ticker.Stop() _ = c.conn.Close() }() for { select { case message, ok := <-c.send: if err := c.conn.SetWriteDeadline(time.Now().Add(upgrader.WriteWait)); err != nil { fmt.Println(err) } if !ok { if err := c.conn.WriteMessage(websocket.CloseMessage, []byte{}); err != nil { fmt.Println(err) } return } w, err := c.conn.NextWriter(websocket.TextMessage) if err != nil { fmt.Println(err) return } if _, err := w.Write(message); err != nil { fmt.Println(err) } n := len(c.send) for i := 0; i < n; i++ { if _, err := w.Write(<-c.send); err != nil { fmt.Println(err) } } if err := w.Close(); err != nil { return } case <-ticker.C: if err := c.conn.SetWriteDeadline(time.Now().Add(upgrader.WriteWait)); err != nil { fmt.Println(err) return } if err := c.conn.WriteMessage(websocket.PingMessage, nil); err != nil { fmt.Println(err) return } } } } func ServeJudgeWs(JudgeHub *Hub) func(ctx *gin.Context) { return func(c *gin.Context) { _sid := c.Param("sid") sid, err := strconv.ParseUint(_sid, 10, 32) if err != nil { fmt.Println(err) return } submission, err := Detail(uint32(sid)) if err != nil || submission.Status != "ING" { return } conn, err := upgrader.Upgrader.Upgrade(c.Writer, c.Request, nil) if err != nil { fmt.Println(err) return } client := &Client{conn: conn, send: make(chan []byte, 256), sid: uint32(sid)} JudgeHub.Register <- client go client.writePump() go client.readPump() } } type Hub struct { clients data_structure.ConcurrentMap Broadcast chan uint32 Register chan *Client unregister chan *Client } func NewJudgeHub() *Hub { JudgeHub = &Hub{ clients: data_structure.MakeConcurrentHashmap(), Broadcast: make(chan uint32), Register: make(chan *Client), unregister: make(chan *Client), } return JudgeHub } func (h *Hub) handleRemoveJudgeHubClient(sid uint32) { if _client, ok := h.clients.Load(sid); ok { client := _client.(*Client) close(client.send) h.clients.Delete(sid) } } func (h *Hub) handleRegister(client *Client) { sid := client.sid if _client, ok := h.clients.Load(sid); ok { client := _client.(*Client) close(client.send) h.clients.Delete(sid) } h.clients.Store(sid, client) } func (h *Hub) handleBroadcast(sid uint32) { if _client, ok := h.clients.Load(sid); ok { client := _client.(*Client) client.send <- []byte("{\"ok\":1}") h.handleRemoveJudgeHubClient(client.sid) } } func (h *Hub) Run() { for { select { case client := <-h.Register: go h.handleRegister(client) case client := <-h.unregister: go h.handleRemoveJudgeHubClient(client.sid) case sid := <-h.Broadcast: go h.handleBroadcast(sid) } } }
go
What's the story? WWE Hall of Famer Ric Flair recently appeared on the Busted Open Radio Show, and shared a hilarious story involving the recent Twitter feud between Raw Women's Champion Becky Lynch and Edge. Flair stated that he called Edge to make sure Lynch wasn't 'shooting' on Twitter, to which Edge confirmed that it was a work. It all began when WWE Hall of Famer Beth Phoenix posted an amusing meme on Twitter and tagged her husband Edge. 'The Man' couldn't help but chime in, taking a shot at the couple. This kicked off a long string of personal attacks from both sides. Becky Lynch brought back Edge's shady past and took a jibe at his affair with Lita, to which Edge responded by bringing up Lynch's initial gimmick of a weird dancing Irish girl back in NXT. Edge later took a shot at Seth Rollins, who was busy preparing for his match against Baron Corbin at Super ShowDown at the time. The feud lasted several days, with both Edge and Lynch changing their Twitter bios in attempts to take shots at each other. It was reported later that Edge wasn't happy with Becky mentioning his daughter on Twitter. It seems like many people bought into the feud, including WWE Hall of Famer Ric Flair, who was actually angry at Becky Lynch for taking shots at Edge. While talking with Busted Open Radio, Flair said that he wasn't thrilled with Lynch making fun of someone of the stature of Edge on social media, and proceeded to call him to ask whether it was a shoot or a work. This social media stuff I'm just starting to get the hang of it. I had to call Edge up and say, 'Tell me Becky Lynch isn't really shooting on you. ' My God, it was pissing me off. Edge confirmed to Flair that the feud wasn't a shoot. What's next? If this was indeed a work, fans can expect a possible feud between Lynch and Phoenix, culminating in a match inside the squared circle in the near future. What are your thoughts on the Twitter feud between Becky and The Copelands?
english
<filename>data/1633580165800.json {"https://www.oschina.net/":1975,"https://www.baidu.com/s?ie=UTF-8&wd=hello":1019,"https://cn.bing.com/search?q=hello":882,"https://www.bilibili.com/":17317,"https://www.csdn.net/":2653,"https://www.google.com/search?q=hello":1744,"https://github.com/":1439,"https://pwa.clicli.me/":-1,"https://www.youtube.com/":23284,"https://segmentfault.com/":574,"https://www.cnblogs.com/":1089,"https://juejin.im/":2729,"https://www.jianshu.com/":517,"https://stackoverflow.com/":1209,"https://www.baidu.com":286,"https://www.google.com":200,"https://cn.bing.com":282,"https://www.douban.com/":1365,"https://en.wikipedia.org/wiki/Main_Page":1119,"https://www.facebook.com/":256,"https://twitter.com/":220,"https://www.amazon.com/":3481,"https://play.google.com/store":9884,"https://www.netflix.com/jp-en/":536,"https://www.yahoo.com/":6693,"http://daily.zhihu.com/":256,"https://www.sina.com.cn/":4899,"https://www.toutiao.com/":37}
json
<filename>limnoria-plugins/SupportNotifications/plugin.py<gh_stars>0 """ Use GMail API to check an Inbox for new emails. To generate the initial credentials you will need to execute this module from python with first argument to a patch containing your API client details and the second argument to the file where to store the credentials. It uses the `historyID` configuration option to optimize the search. It will start with searching all messages from Inbox and then will keep the record of the history id. So future runs and restarts should resume only from last history_id. As long as there is no message in In """ from __future__ import print_function from threading import Event, Thread from supybot import ( ircmsgs, ) from supybot.callbacks import ArgumentError, Plugin import httplib2 from apiclient import discovery, errors from oauth2client.file import Storage class CancellableTimer(Thread): """ A threaded timer which can be closed before the scheduled execution. """ def __init__(self, delay, callback, irc, *args, **kwargs): Thread.__init__(self) self._event = Event() self._step = 0.25 self._remaining = delay / self._step self._irc = irc self._callback = callback self._args = args self._kwargs = kwargs def run(self): while ( self._remaining > 0 and not self._event.is_set() and not self._irc.zombie ): self._remaining -= self._step self._event.wait(self._step) self._callback(*self._args, **self._kwargs) def cancel(self): self._event.set() def get_credentials(credentials_path): """ Gets valid user credentials from storage. If nothing has been stored, or if the stored credentials are invalid it returns None. Returns: Credentials, the obtained credential or None """ store = Storage(credentials_path) credentials = store.get() if not credentials or credentials.invalid: return None return credentials class SupportNotifications(Plugin): """ Send to the configured channel info about latest support activity. """ threaded = True def __init__(self, irc): super(SupportNotifications, self).__init__(irc) self._irc = irc self._timer = None self._channel_name = None self._history_id = self.registryValue('historyID') self._interval = self.registryValue('pollInterval') self._target_address = self.registryValue('targetAddress').strip() self._team_domain = self.registryValue('teamDomain').strip() if not self._target_address: raise ArgumentError('targetAddress not configured.') if not self._team_domain: raise ArgumentError('teamDomain not configured.') credentials_path = self.registryValue('credentialsPath') credentials = get_credentials(credentials_path) if not credentials: raise ArgumentError('Failed to load API credentials.') http = credentials.authorize(httplib2.Http()) self._google = discovery.build('gmail', 'v1', http=http, cache=False) def die(self): """ Called when the plugin should end. """ if self._timer is None: return self.log.info("Closing plugin. Cancelling the timer") self._timer.cancel() def do353(self, irc, msg): """ Called when we have joined the channel. RPL_NAMREPLY - called when we have joined the channel and have received the list of members. """ self._channel_name = msg.args[2] self.log.info( 'Start polling for %s changes at %d seconds and sending to %s.' % ( self._target_address, self._interval, self._channel_name)) self._scheduleNextCheck() def _scheduleNextCheck(self): """ Called to schedule the next API check. """ if self._irc.zombie: # We are not connected. return if self._timer: return self._timer = CancellableTimer(self._interval, self._tick, self._irc) self._timer.start() self.log.debug('Scheduling a new check.') def _tick(self): """ Called when we should check for new emails. """ if self._irc.zombie: # We are not connected. return self._checkInbox() # Schedule the next tick. self._timer = None self._scheduleNextCheck() def _checkInbox(self): """ Emit changes for the new emails from inbox. """ inbox_labels = [u'INBOX', u'UNREAD'] details = None messages = self._getNewMessages() for message in messages: details = self._getMessageDetails(msg_id=message['id']) if set(inbox_labels) - set(details['labelIds']): # Not a unread message which is in Inbox. # Just ignore it for now. continue headers = {} for raw_header in details['payload']['headers']: headers[raw_header['name'].lower()] = raw_header['value'] self._checkMessage(headers) # Any message is removed so that we will not process it later. self._trash(msg_id=message['id']) if details: self._history_id = int(details['historyId']) self.setRegistryValue('historyID', value=self._history_id) def _getNewMessages(self): """ Return the new messages since the last run. """ if self._history_id: return self._getMessagesFromHistory() else: return self._getMessagesFromInbox() def _getMessagesFromHistory(self): """ Return the new messages based on account history. """ start_history_id = self._history_id messages = [] try: history = self._google.users().history().list( userId='me', startHistoryId=start_history_id, historyTypes='messageAdded', ).execute() changes = history['history'] if 'history' in history else [] for change in changes: messages.extend(change.get('messages', [])) while 'nextPageToken' in history: page_token = history['nextPageToken'] history = self._google.users().history().list( userId='me', startHistoryId=start_history_id, historyTypes='messageAdded', pageToken=page_token, ).execute() for change in history['history']: messages.extend(change.get('messages', [])) return messages except errors.HttpError, error: self.log.error( '_getMessagesFromHistory: An error occurred: %s' % error) return [] def _getMessagesFromInbox(self): """ Return all the messages from Inbox. """ label_ids = ['INBOX'] messages = [] try: response = self._google.users().messages().list( userId='me', labelIds=label_ids, ).execute() if 'messages' in response: messages.extend(response['messages']) while 'nextPageToken' in response: page_token = response['nextPageToken'] response = self._google.users().messages().list( userId='me', labelIds=label_ids, pageToken=page_token, ).execute() messages.extend(response['messages']) return messages except errors.HttpError, error: self.log.error( '_getMessagesFromInbox: An error occurred: %s' % error) return [] def _trash(self, msg_id): """ Delete a message by sending it to trash.. """ try: self._google.users().messages().trash( userId='me', id=msg_id).execute() except errors.HttpError, error: self.log.error('_trash: An error occurred: %s' % error) def _getMessageDetails(self, msg_id): """ Get a Message with given ID. """ try: message = self._google.users().messages().get( userId='me', id=msg_id).execute() return message except errors.HttpError, error: self.log.error('_getMessageDetails: An error occurred: %s' % error) def _checkMessage(self, headers): """ Check message to decide if we should send a notification. """ to = headers.get('to', '') cc = headers.get('cc', '') if not (self._target_address in to or self._target_address in cc): # Not a message for our support email, return sender = headers.get('from', '') if self._team_domain not in sender: # No a message from our team return # We will ignore if the email is only to the internal team, that is # it does not have any outside TO or CC. has_outside = False for email in to.split('>, ') + cc.split('>, '): email = email.strip() if not email: continue if self._team_domain not in email: has_outside = True break if not has_outside: # Not a message outside the team. return subject = headers.get('subject', 'NO SUBJECT') self._sendStatus(sender, subject) def _sendStatus(self, sender, subject): """ Send an IRC notification. """ author = sender.split('@', 1)[0].split('<', 1)[1] self._irc.queueMsg(ircmsgs.notice( recipient=self._channel_name, s='[support-inbox][%s] Replied to: %s' % (author, subject), prefix='<support-notifications>', )) Class = SupportNotifications
python
“It is time to completely do away with sedition laws and allow free speech so long as it does not exhort somebody to violence,” he said. Son of noted jurist Fali Nariman and a postgraduate from Harvard Law School, Nariman was designated as a senior counsel in December 1993, at the young age of 37. Displaying his eidetic memory, Justice Nariman quoted effortlessly from the Rig Veda, the Old Testament and the Avesta. He spoke on the idea of reincarnation in all religions. In the Gopal Subramanium case, it is not just the executive, but also the judiciary that appears to be disrespecting the constitutional principle of judicial independence. A political party indulging in public agitations or enforcing bandh cannot be derecognised either by the Election Commission (EC) of India or any court of the land,the Central government on Tuesday told the Supreme Court. Following the blast at the Delhi High Court,the Supreme Court sought to review its security urgently even as the judiciary maintained that justice will not bow before terror acts. Nariman has argued a number of constitutional and corporate cases in the Supreme Court and high courts. Rohinton Nariman is all set to be appointed as the second senior most law officer of the country.
english
VfxGraphTestbed =============== ![gif](https://i.imgur.com/Kaz3SK0.gif) ![gif](https://i.imgur.com/9nGmBcu.gif) This repository is where I try several VFX ideas with Unity Visual Effect Graph (VFX Graph). System Requirements ------------------- - Unity 2020.1 - HDRP 8.x
markdown
{% extends "splunkdj:base_with_app_bar.html" %} {% load splunkmvc %} {% block title %}Twitter App for Splunk{% endblock title %} {% block css %} <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}splunkdj/setup.css" /> {% endblock css %} {% block content %} <div class="container"> <div class="row"> <div class="span12"> <h2>Twitter App for Splunk</h2> <form class="splunkdj-setup-form" method="post" action=""> <p>To start indexing Twitter's sample stream please:</p> <strong> <ol> <li>Create a new Twitter account <a href="https://twitter.com/account/new">here</a> if you don't already have one.</li> <li>Create a Twitter application on the <a href="https://dev.twitter.com/apps"> Twitter developer website</a> if you don't already have one. <li>Provide the OAuth settings for the Twitter application you will use for streaming in the form below.</li> <li>Enable the Twitter input by checking the box below.</li> </ol> </strong> <p> If you wish to run the Tweet Locations search, you will need to be running Splunk 6.1 or later. </p> {% csrf_token %} {{ form.as_p }} <input class="btn btn-primary" type="submit" value="Save" /> {% if configured %} <a class="btn" href="{% url 'twitter2:home' %}">Cancel</a> {% endif %} </form> </div> </div> </div> {% endblock content%} {% block js %} {% endblock js %}
html
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/uninstall_view.h" #include "base/bind_helpers.h" #include "chrome/common/chrome_result_codes.h" #include "chrome/test/views/chrome_views_test_base.h" #include "services/service_manager/embedder/result_codes.h" #include "testing/gtest/include/gtest/gtest.h" using UninstallViewTest = ChromeViewsTestBase; TEST_F(UninstallViewTest, Accept) { int result = -1; UninstallView view(&result, base::DoNothing()); view.Accept(); EXPECT_EQ(result, service_manager::RESULT_CODE_NORMAL_EXIT); } TEST_F(UninstallViewTest, Cancel) { int result = -1; UninstallView view(&result, base::DoNothing()); view.Cancel(); EXPECT_EQ(result, chrome::RESULT_CODE_UNINSTALL_USER_CANCEL); } TEST_F(UninstallViewTest, Close) { int result = -1; UninstallView view(&result, base::DoNothing()); view.Close(); EXPECT_EQ(result, chrome::RESULT_CODE_UNINSTALL_USER_CANCEL); }
cpp
<filename>node_modules/.cache/cache-loader/server/408990fa73042718678d6e1b5ba00129.json {"remainingRequest":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/vue-style-loader/index.js??ref--3-oneOf-1-1!/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-2!/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/vue-loader/lib/loaders/stylePostLoader.js!/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/postcss-loader/src/index.js??ref--3-oneOf-1-3!/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/pro/Documents/WebWork/GitHub/iBlog-master/pages/admin/system-settings.vue?vue&type=style&index=0&id=25ddf818&scoped=true&lang=css&","dependencies":[{"path":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/cache-loader/dist/cjs.js","mtime":1583743859870},{"path":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/vue-style-loader/index.js","mtime":1578715344609},{"path":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/css-loader/dist/cjs.js","mtime":1594553861226},{"path":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/vue-loader/lib/loaders/stylePostLoader.js","mtime":1594553876328},{"path":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/postcss-loader/src/index.js","mtime":1578715336280},{"path":"/Users/pro/Documents/WebWork/GitHub/iBlog-master/node_modules/vue-loader/lib/index.js","mtime":1594553876328}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:<KEY>
json
<reponame>brettdavidson3/eclipselink.runtime /******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Oracle - initial API and implementation from Oracle TopLink ******************************************************************************/ package org.eclipse.persistence.testing.tests.queries.inmemory; import java.util.Vector; import org.eclipse.persistence.queries.*; import org.eclipse.persistence.expressions.*; import org.eclipse.persistence.testing.framework.*; import org.eclipse.persistence.testing.models.employee.domain.*; public class MemoryQueryReturnConformedOnIndirection extends TestCase { protected Employee employee; protected ReadAllQuery queryAll; protected ReadObjectQuery queryObject; protected java.util.Vector allEmployees; protected java.util.Vector inMemoryResult; public MemoryQueryReturnConformedOnIndirection() { super(); } public void reset() { //clear the cache. getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); } public void setup() { getSession().getIdentityMapAccessor().initializeAllIdentityMaps(); allEmployees = new Vector(); queryAll = new ReadAllQuery(); queryAll.setReferenceClass(Employee.class); queryAll.setSelectionCriteria(new ExpressionBuilder().get("address").get("city").notEqual("Montreal")); allEmployees = (Vector)getSession().executeQuery(queryAll); queryObject = new ReadObjectQuery(Employee.class); queryObject.setSelectionCriteria(new ExpressionBuilder().get("address").get("city").equal("Montreal")); Employee employee = (Employee)getSession().executeQuery(queryObject); if (employee != null) { employee.getAddress(); } } public void test() { //all the employees with cities that come after Montreal should be //in the cache right now. this.queryAll.checkCacheOnly();//read from cache only this.queryAll.getInMemoryQueryIndirectionPolicy().ignoreIndirectionExceptionReturnConformed(); this.inMemoryResult = (Vector)getSession().executeQuery(this.queryAll); } public void verify() { if (this.inMemoryResult.size() != this.allEmployees.size()) { throw new TestErrorException("In Memory Query did not return all objects because of indirection. TopLink is not returning indirection relationships as conformed when the policy is set to do so."); } } }
java
version https://git-lfs.github.com/spec/v1 oid sha256:9e319f3cf6c7f6be0320e117916b40ab5ff019f706ffac131d358ef53c369a33 size 31841
json
New Zealand bowling coach Shane Jurgensen has hailed the Kiwi bowling attack that comprises of Southee, Boult, Wagner, and Jamieson as the best in the world. Senior Kiwi pacer Tim Southee also feels that the present attack is like never seen before in New Zealand cricket given the depth. The month of June from 2021 will always have a special place in the history of New Zealand cricket. They first beat England in an away Test series after a gap of 22 years and then clinched the inaugural World Test Championship title. And it would never have been possible sans their quality bowling attack. It came out with all guns blazing against India in Southampton and launched a relentless attack on their batters that proved too hot to handle for them. Neil Wagner, Trent Boult, Tim Southee, and Kyle Jamieson form one of the best and feared bowling attacks in world cricket. New Zealand bowling coach Shane Jurgensen, in fact, rates them as the best bowling attack in the world. He added that the WTC Final wasn't a fluke and such performances have been happening for a while now. "I think so. I've been thinking that [New Zealand have the best attack] for a while. So it's just me and my role and belief in these bowlers; what they bring to us as a team and the challenges they have overseas. But, I think they are and we can probably strongly say that right now - this hasn't been a fluke and it has been happening for a long time. As I said, the belief in the bowling group - how they plan, how fit they are, how strong they are and how much they believe in each other. The trust is amazing and we got four or five bowlers in the final, but all do different things," said Shane Jurgensen, reported ESPNCricinfo. He lavished praise on all the bowlers. Jurgensen complimented Jamieson for his ability to swing at pace, Southee and Boult's new-ball brilliance, Neil Wagner's versatility and Colin de Grandhomme's accuracy. "Kyle's height and accuracy, to be able to swing it both ways at good pace. Tim's accuracy, new-ball execution - unbelievable. He can adapt to use the crease - over and around - to left-handers and right-handers. We know Trent's ability with the new ball, but he took wickets with the old ball; he's been doing that for a while, so it's nothing new for me and the team. "We know that Neil makes people uncomfortable on the back foot and the front foot with the lengths he bowls, but he's now getting guys out like Trent. So, he's building up a different skillset to be able to swing the ball both ways and seam it. Colin [de Grandhomme] is 125 and accurate; he bowls higher than 125, so it's got to be up there... it's got to be the best for me and they are proving it." One of the stars from the WTC Final and senior paceman, Tim Southee also outlined that never in the history of New Zealand they have had such a special bowling attack and lauded the depth. "I guess you look at New Zealand history, you've had periods where you've had one or two good bowlers, obviously Richard Hadlee, and then Dan Vettori doing his thing, sort of chipped in with the likes of Chris Martin and a number of other guys along the way, but I guess in terms of having the four of us in one time is pretty special," Southee said. He further added that having the current bowling attack is a 'once-in-a-lifetime sort of experience' for New Zealand cricket. "Not only the four of us but also the work de Grandhomme does in and around the pace bowlers as well, and also Matt Henry has chipped in during that England series as well, so I think just to have four of us, three of us with an excess of 200 Test wickets, is pretty special, and probably a once-in-a-lifetime sort of experience for New Zealand cricket."
english
<reponame>xiongcaichang/react-native-template-mcrn { "name": "HelloWorld", "initialRouteName":"LaunchScene", "displayName": "DemoMCRN", "storageExpireTime": 2592000000, "autoCacheModule_prd":["UserAccount"], "js_version": 7, }
json
A resurgent Congress is giving a tough fight to the ruling Bharatiya Janata Party in Madhya Pradesh, where the saffron party is seeking a fourth term. The Congress fought the election without projecting a chief ministerial candidate. Even as the exit polls predicted a clean sweep to the Congress, the BJP is unlikely to leave its hold in the central Indian State. Vikas Pathak reports from Bhopal. ECI's figures at 1. 33 am shows the Congress winning 107 seats and leading in 7, the BJP winning 101 seats and leading in further 8 seats, followed by the BSP leading in 2 and others in 5 seats. Senior Congress leader and former Union Minister Suresh Pachouri has lost from Bhojpur Assembly constituency for the second time in a row against BJP Minister and sitting MLA Surendra Patwa. Mr. Patwa, nephew of former Chief Minister Sunderlal Patwa, retained the seat by a margin of 29,486 votes. Mr. Pachouri had lost the Assembly election in 2013 too from the same seat. It's a tiresome see-saw game. At 8. 38 p. m. , the Congress is back with its two-seat advantage: Congress 113 and BJP 110. The two parties have added two seats each to the winning tally with BJP at 31 and the Congress at 29. One more independent has won, and the Gondwana Gantantra Party is now out of picture. According to information available at the ECI website at 7. 25 p. m. , it's back to neck-and-neck at Madhya Pradesh. The Congress’ is leading/won in 111 seats, followed by the BJP's 110. Out of the 29 results announced BJP has won 15 and the Congress 13. And independent has also won. According to information available at the ECI website at 6. 06 p. m. , the Congress has won its first seat, while leading 112 others. The BJP has won six and is leading in 103 more. Congress candidate Gyarsilal Rawat has won the Sendhwa (ST) seat defeating his nearest rival Anatarsingh Arya by a margin of 15,878 votes. The nail-biter of an election it is. At 5. 58 p. m. , the Congress is on the backfoot with 112 seats (all leading), against the BJP's 110 (4 won, 106 leading). This will go down to the wire. The Congress can hope to get the support of the BSP and the SP, which are leading in two seats each. Independents are leading in three, and the Gondvana Gantantra Party in one seat. At 5. 20 p. m. IST, the balance is in favour of the Congress. According to ECI figures, the Congress is leading in 115 seats, followed by the BJP's 106, which includes the one seat won by the party. The BSP tally has gone down to two. Independents have gained one seat to four since the last update. These are only "leading" numbers, with only one seat declared so far. A dozen Ministers in the Shivraj Singh Chouhan-led BJP government in Madhya Pradesh were trailing in the State Assembly polls as per the latest trends, an election official says. Minister Narottam Mishra is trailing by a margin of 6,200 votes in Datia while Rustam Singh was at the third position in Morena constituency. Balkrishna Patidar is trailing in Khargone by a margin of 3,792 votes, while Lal Singh Arya was lagging behind by 6,552 votes in Gohad seat in Bhind district. Minister Om Prakash Dhurve is trailing by a margin of 8,255 votes in Shahpura seat of Dindori district while Antar Singh Arya was trailing by 3,626 votes in Sendhwa seat of Barwani district. Deepak Joshi is trailing by 3,070 votes in Hatpipliya seat in Dewas district, while Rampal Singh was trailing by 3,063 votes in Silvani seat in Raisen district. Minister Archana Chitnis os also trailing in Burhanpur seat by a margin of 1,055 votes. State Finance Minister Jayant Mallaiya is trailing by 1,336 votes in Damoh seat. Another Minister, Sharad Jain, is trailing by a margin of 7,958 votes in Jabalpur North seat and Jaibhan Singh Pawaiya by 5,489 votes in Gwalior seat. Former Prime Minister Atal Bihari Vajpayee’s nephew and Morena BJP MP Anoop Mishra, who contested the election on the BJP’s ticket, is trailing from Bhitarwar seat in Gwalior district by 2,255 votes, an election official says. In the continuing see-saw battle between the BJP and the Congress, the numbers have once again changed. While the Congress is leading in 114 seats, the BJP is leading in 105 as of 4. 10 p. m. The BJP’s tally is now 106 with the party already won one seat. In voting percentage, the BJP is leading by 0. 1% with 41. 4% against Congress’ 41. 3%. The tally for others: The BSP is leading in 4, the SP in 2, the Gondvana Gantantra Party 1 and Independents 3. Congress is now inches away from a majority, leading in 115 of 230 seats, according to ECI figures. BJP is leading in 105 seats. However, BJP has a higher vote share of 41. 3%. The tussle for upper hand continues BJP leading in 106 seats and Congress in 113 seats. As votes were counted, Shiv Sena said the outcome of the elections in the five States is a clear message to the BJP and there is a need for the ruling coalition to introspect. Shiv Sena spokesperson and the party’s Rajya Sabha lawmaker Sanjay Raut said the trends reflect that the BJP’s victory chariot has been halted. India will be “BJP Mukt” in the year 2019, the Aam Aadmi Party claimed, as assembly election trends indicated that the saffron party was trailing in two of the three States it ruled. The Bharatiya Janata Party was behind its main rival Congress in Rajasthan and Chhattisgarh; it was locked in a close contest with the opposition party in Madhya Pradesh, according to latest trends. BJP and Congress are engaged in a neck-to-neck combat with BJP leading in 111 and Congress in 108 seats. Reacting to the result, Congress leaders said that the results are a clear indication that voters have rejected the BJP. Party leader Jyotiraditya Scindia said trends reflect people’s desire for change, while State Congress chief Kamal Nath exuded confidence that they will form the government in the State. Scindia, who spearheaded the Congress campaign in Madhya Pradesh, said he was very confident that the Congress would form the government in the state. State Sports Minister Yashodhara Raje Scindia is leading in Shivpuri seat by a margin of 10,780 votes. Women and Child Development Minister Archana Chitnis is leading in Burhanpur, while Agriculture Minister Gaurishankar Chaturbhuj Bisen is ahead in Balaghat. Revenue Minister Umashankar Gupta is leading in Bhopal South West seat by a slender margin of 249 votes. The Bahujan Samaj Party (BSP) is leading in five seats while the Gondvana Gantantra Party is ahead in two seats. Public Relations and Water Resources Minister Narottam Mishra was trailing by a margin of 3,114 votes from Datia seat while Health Minister Rustam Singh was at the third position in Morena constituency. Besides, Minister Balkrishna Patidar was trailing in Khargone by a margin of 44 votes, while ‘Happiness Minister’ Lal Singh Arya was lagging behind by a margin 3,039 votes from Gohad seat in Bhind district. Labour and Civil Supplies Minister Om Prakash Dhurve was at the third place in Shahpura seat of Dindori district while Animal Husbandry and Fisheries Minister Antar Singh Arya was trailing by 3,626 votes in Sendhwa seat in Barwani district. Skill Development Minister Deepak Joshi was behind by 4,219 votes in Hatpipliya seat in Dewas district, while Education Minister Vijay Shah was also trailing by a margin of 1,304 votes in Harsud seat in Khandwa. PWD Minister Rampal Singh was trailing by 1,193 votes in Silvani seat in Raisen district. Former Prime Minister late Atal Bihari Vajpayee’s nephew Anoop Mishra, who contested the election on the BJP’s ticket, was trailing from Bhitarwar seat in Gwalior district by 502 votes, an election official said. The Congress plugged a nine percentage point gap with the BJP in 2013 to make a keen contest of the 2018 Assembly elections here. The Congress was ahead in 111 seats and the BJP in 106 seats at about 12. 40 pm, with the equations shifting every few minutes. Both parties were neck-and-neck in terms of vote percentages, with both winning 41-42% of the votes. In Budhni, Chief Minister Shivraj Singh Chouhan is leading by a margin of 19,293 votes against the Congress’ Arun Subhashchandra. In an election where Mr. Chouhan was ubiquitous in the campaign, Budhni, his own Assembly constituency, saw him only once — when he went in to file his nomination papers. Instead, it was his wife, Sadhana Singh Chouhan, often referred to as the power behind the throne, and son Kartikeya, who did the heavy lifting of the campaign. Ms. Chouhan’s influence over her husband is said to be considerable — she has had to face controversies when her name was sought to be linked to the Vyapam scam and appointments of important bureaucrats, as well as being an important factor in access to her husband. Incidentally, the BJP wrested the lead from the Congress, leading in 110 seats, with the Congress leading in 108 seats. With trends indicating that the Congress was ahead in the assembly polls in three Hindi heartland states, senior party leader Jyotiraditya Scindia said the figures reflected the people’s desire for a change. According to initial rounds of counting, the Congress was ahead in Madhya Pradesh, Chhattisgarh and Rajasthan — the three states where the BJP has been in power. At the BJP headquarters, no one except for journalists camped at the venue is present. The party workers are yet to arrive. Early trends show the BJP leading in two seats as counting of postal ballots gets underway in Madhya Pradesh. The BJP, which has been ruling the State since 2003, is trying to retain power amid the Congress’s allegations of a collapse of governance and its failure to work for agriculturists. Madhya Pradesh last year witnessed large scale protests by farmers for better Minimum Support Price for their produce and other demands, forcing the government to announce a slew of measures. Congress leader and former Madhya Pradesh Chief Minister Digvijaya Singh expressed confidence that his party will form the government in Madhya Pradesh. “It's too early. Anything can be said only after 12 p. m. Leads of only postal ballots have come till now. I am confident that in Madhya Pradesh, Congress will form the government,” he said in an interview with news agency ANI . The state of affairs in Gora village of Bundelkhand region narrate a total different story. A fourth successive drought in the last five years has shattered the people of this region. The situation is such that one can find every second house locked up, as the villagers are now migrating from the vicinity in search of employment opportunities. Counting has begun in 230 seats in Madhya Pradesh. Postal ballots will be counted first. Across Madhya Pradesh, one common complaint among farmers is the shortage of cash post-demonetisation. Their earnings, after selling their produce in authorised markets, are directly transferred to their bank accounts. Of the 230 Assembly seats, rural and semi-rural voters can be a decisive factor in 160. Will the Congress lose anything without the BSP? Will the Congress’s failure to strike an alliance with the Bahujan Samaj Party (BSP) hurt the grand old party’s prospects in Madhya Pradesh? It’s a question that most political pundits are likely to have in mind. Going by conventional wisdom, the BSP’s 6. 3% vote share and four Assembly seats in the 2013 elections would be expected to translate into a sizeable dip in Dalit votes for the Congress in the Chambal belt and the Satna-Rewa region, where the BSP has had a fair following. Livelihood and opportunity: these are the buzz words of the Madhya Pradesh elections this time. There is a palpable anti-incumbency mood among farmers across large swathes of the State, which makes this election more challenging for Chief Minister Shivraj Singh Chouhan than the previous ones. As much as 72% of the State’s population live in villages, meaning rural voters can be a decisive influence on the polls. Fatima Rasool Siddique is the BJP candidate for the Bhopal (North) Assembly seat, earlier held by her father, Rasool Siddique, who as two-time Minister in the 1980s and 1990s was a true-blue Congress leader and a friend of the late Madhavrao Scindia. She is the only Muslim candidate put up by the BJP in Madhya Pradesh. Asserting that factionalism in the Madhya Pradesh unit of the Congress party is a “thing of the past”, senior leader Jyotiraditya Scindia said on Sunday the entire state leadership worked as a “united front” during the assembly polls in a bid to dislodge the BJP government. Mr. Scindia, who spearheaded an energetic and spirited campaign for the Congress in Madhya Pradesh, said there is an “uprising for change” in the state.
english
Accept, reject or ignore? How do you handle things when a friend or family member crosses forbidden boundaries? From the outside looking in, Mary had crossed one that could have led to her death?she was pregnant and not married. Yet Elizabeth, her aunt, gladly welcomed her into her home, not just overnight, but for three months. Some things to ponder: 1. What keeps you from looking beyond the taboo to see the person involved? 2. Identify three steps you can take to reveal hidden prejudice and eradicate it.
english
{"outwardCode": "LL61", "postcodes": {"6SG": {"life": {"data": [[2017, "SoLIFE - Sands of LIFE", "Natural Resources Wales", 3839463.0, 2879597.0, "Sand dunes across Europe are currently in a phase of dune stability and so lack dynamic conditions. In the UK, all the Habitat Directive Annex I sand dune habitats are in \u2018Unfavourable\u2019 conservation status due to such stabilisation, which leads to the loss or decline of those species which depend upon bare sand and early successional sand dune stages. Wales accounts for 11 % (8 101 ha) of the total UK sand dune resource, including rare and threatened dune habitats. The re-introduction of dynamic processes is therefore vital for the conservation of the full range of sand dune habitats.", "http://ec.europa.eu/environment/life/project/Projects/index.cfm?fuseaction=search.dspPage&n_proj_id=6689", null, "life_37"], [1995, "Natura 2000 sites in Wales - Integrating monitoring with management planning: a demonstration of good practice on Natura 2000 sites in Wales", "Countryside Council for Wales", 638148.0, 319074.0, "The main objective of this project is to develop a monitoring methodology for all the terrestrial habitat types listed in Annex I of the Habitats Directive which are found within the proposed NATURA 2000 sites in Wales. This will include seven 'priority' habitat types, such as fixed coastal dunes, ravine and alluvial forests and yew woodlands, raised and blanket bogs and calcareous fens, plus a further 18 habitat types ranging from sea cliffs, heaths and grasslands, to oak and beech woodlands and open mountain habitats. These habitats occur in a series of 20 potential NATURA 2000 sites throughout Wales, for which monitoring programmes and baseline data will be produced. The final output from the work will be a series of publications on the monitoring methodology and training in its application for the benefit of NATURA 2000 site managers elsewhere in the Community.The effectiveness of the Habitats Directive in ensuring the protection of those habitat types and species of European importance listed in its annexes I and II can only be judged if the habitats and species are monitored adequately. While there already exists some experience on the monitoring of a range of habitat types, no work has, as yet, been undertaken to develop standards for monitoring in support of the Directive. As the network of Special Areas of Conservation (NATURA 2000) will form a vital foundation for the conservation of these habitats and species, it is important that monitoring programmes are developed to determine their favourable conservation status. \n\nBy targeting the proposed SACs in Wales, this project aims to develop a standardised and efficient habitat monitoring programme linked with management plans for NATURA 2000 sites in the Region which can act as a demonstration tool for other areas within the EU.", "http://ec.europa.eu/environment/life/project/Projects/index.cfm?fuseaction=search.dspPage&n_proj_id=64", null, "life_12"]]}}, "6YD": {"fts": {"data": [[2017, "ELENTEC LIMITED", 488914.0, "Contributing to a greener and more resource-efficient economy and to the development and implementation of Union environmental policy and legislation (07.02.01)", "fts_2017_21420"]]}}}}
json
<reponame>nicholasyoannou/genshin-data<filename>src/data/french/furnishing/of_fields_green_fluttering_color.json { "id": "of_fields_green_fluttering_color", "originalId": 373206, "rarity": 3, "name": "<NAME> « Couleur flottante »", "description": "Fleurs ornementales du jardin connu sous le nom d'« éden verdoyant ». Les fleurs sont totalement écloses, leurs couleurs sont saisissantes, et au moindre effleurement, leurs pétales se répandent à la dérive.\\nL'éden verdoyant s'inspire des pays de contes de fées. Dans ces contes, ces fleurs qui dispersent leurs pétales et leur pollen au moindre contact portent bonheur aux enfants. Cependant, cueillir de force des fleurs qui n'ont pas encore fleuri est un délit punissable.", "load": 125, "energy": 20, "category": [ { "id": 7003, "category": "Végétation en pot", "type": "Exterior" } ] }
json
Law enforcers literally scrambled to impose Covid-19 lockdown restrictions in Dhaka on Wednesday, as the capital witnessed some rush-hour traffic in the morning. Though public transport vehicles stayed off the capital roads, police and armed forces personnel were seen flagging down several private cars and people they thought had stepped out for frivolous reasons on the 13th day of the countrywide strict lockdown aimed at reducing the Covid-19 contagion risk. The police imposed fines on commuters who failed to produce proper documents in support of their "emergency travel", while those with valid papers were allowed to go. Many without supporting documents bridled at such restrictions, resulting in heated exchange of words with cops. In fact, RAB and Army personnel patrolling the streets of Dhaka, alongside the local police, have set up check-posts in different areas of the city. At some places, traffic congestion was seen between 8.30 am and 11.30 am. Traffic inspector Akther Hossain (Uttara Rajlaxmi), said, “The pressure of private vehicles is higher than that of Tuesday, but we are only allowing those with valid reasons to travel." "Cases are also being filed against violators. Mobile courts are also slapping fines on lockdown violators," he said. In fact, people’s movement has significantly risen as export-oriented industries have started operations, the inspector said. "Ambulances and people going out for taking Covid jabs are being allowed to travel," Akther said. The nationwide lockdown, first imposed for 14-days until August 5, has now been extended for another five days till August 10 amid a surge in the Delta variant of Covid-19 infections across the country. Liberation War Affairs Minister AKM Mozammel Haque announced the decision of the government to reporters after an inter-ministerial meeting on Tuesday. He said shops, factories and offices would be allowed to reopen from August 11, "while public transport can ply roads on a limited scale once the lockdown is over". Amid the merciless onslaught of Covid-19 in Bangladesh, the country recorded 236 more deaths linked to the virus in 24 hours till Tuesday morning. According to a handout issued by the Directorate General of Health Services (DGHS), 15,776 more people came out positive with the virus during the period after the test of 55,284 samples. The fresh numbers pushed the country’s death tally to 21,397 on Tuesday, with the caseload mounting to 1,296,093. Meanwhile, the daily test positivity rate fell to 28.58 % from Monday's 29.91%, while the World Health Organization (WHO) recommends a 5% or below rate. The country has been seeing over 14,300 cases and 230 deaths every day on an average for the last seven days.
english
import styled from "styled-components"; export const Background = styled.div` background: var(--color-first); border-bottom: 10px solid var(--color-border-bottom); `; export const Container = styled.div` max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; @media screen and (max-width: 960px) { flex-direction: column; } `; export const Informations = styled.div` color: white; margin-left: 40px; padding: 25px 0 28px; @media screen and (max-width: 960px) { margin-left: 0px; padding: 25px 16px 28px; } `; export const Title = styled.p` font-weight: 700; font-size: 20px; line-height: 27px; `; export const Infos = styled.p` font-weight: 400; font-size: 13px; line-height: 12px; :not(:last-child) { margin-bottom: 8px; } `; export const Divider = styled.div` width: 65px; height: 5px; background: white; margin-top: 16px; margin-bottom: 21px; `; export const Buttons = styled.div` margin: 56px 0; @media screen and (max-width: 960px) { display: flex; flex-direction: column; align-items: center; } `; export const Button = styled.button` cursor: pointer; background: white; color: var(--color-first); width: 195px; height: 38px; border-radius: 5px; display: flex; justify-content: space-evenly; align-items: center; transition: 0.3s; :first-child { margin-bottom: 25px; } :hover { filter: brightness(0.9); } `; export const IconButton = styled.img``; export const IconText = styled.p` text-transform: uppercase; font-weight: 600; font-size: 12px; line-height: 16px; width: 127px; text-align: initial; `; export const Logos = styled.img` margin-right: 40px; @media screen and (max-width: 960px) { margin: 0px 48px 15px; align-self: center; } `;
javascript
{ "name": "null-duplex-stream", "version": "0.0.3", "description": "a /dev/null duplex stream", "main": "index.js", "scripts": { "test": "cat index.js | node test/test.js" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/picospuch/NullDuplexStream.git" }, "keywords": [ "/dev/null", "duplex", "stream" ], "author": "picospuch", "license": "MIT", "bugs": { "url": "https://github.com/picospuch/NullDuplexStream/issues" }, "homepage": "https://github.com/picospuch/NullDuplexStream#readme" }
json
After a long run of over four months, Bigg Boss 14 is finally concluding. The TV reality show will have its finale on Sunday. Among those who are fighting for the trophy are Rubina Dilaik, Rahul Vaidya, Aly Goni, Nikki Tamboli and Rakhi Sawant. All the five finalists had an illustrious journey on the show. But, Rubina and Rahul caught everyone’s attention with their fights. Also, both of them didn’t hesitate to show their vulnerability. While Rubina opened up about troubles in her relationship with husband Abhinav Shukla, Rahul confessed he cannot be away from his parents for long and decided to walk out of the house during the mid-season finale. However, Rakhi Sawant, who came as a challenger inside the house, soon became a fan favourite. She entertained the audience with her antics and also won the heart of host Salman Khan. But she lost the track after she pretended to be in love with Abhinav and went overboard. Similarly, Nikki, who seemed to be the strongest contestant at the beginning of the show, looks weak at the moment. Actor Aly Goni also has decent chances of walking away with the winner’s title. Though he entered the show only to support Jasmin Bhasin, he played his game well. He is the only one contestant who built some real connections in the Bigg Boss house. He found a good friend in Rahul and a sister in Rubina. Now, it will be interesting to see who gets to win Bigg Boss 14. Going by the social media trends, Rubina, Aly and Rahul look the like strongest contenders for the trophy. The finale of Bigg Boss 14 will be aired on February 21 at 9 pm.
english
{ "description": "snapshot versions of Angular for e2e testing", "private": true, "dependencies": { "@angular/animations": "github:angular/animations-builds#27f76164764f19872facfa962427f36bb7089448", "@angular/cdk": "github:angular/cdk-builds#716d29daff1a4fc8c2bc6b0ab1a30a5806f81cee", "@angular/common": "github:angular/common-builds#d109c4ff739f63cc6ab3779470b42525448515da", "@angular/compiler": "github:angular/compiler-builds#aa97b91c839c4a42fb86a03cf6c6d1c306e0dd94", "@angular/compiler-cli": "github:angular/compiler-cli-builds#766582d13bc9515a7fa1574782471452e7ccf23a", "@angular/core": "github:angular/core-builds#77595d674146a3e89da4b652c0655afd92a0fb89", "@angular/forms": "github:angular/forms-builds#74267d57d8a90eb7d8af803d3fa5f873d242035a", "@angular/language-service": "github:angular/language-service-builds#1e94ef4ed8ebb339cca9fd8fba2c5c596afa01be", "@angular/localize": "github:angular/localize-builds#ca0df35633005ae5642efefee7d694228459167d", "@angular/material": "github:angular/material2-builds#7fa842fde8dea5ab2d00dcd5189e600794ced6d1", "@angular/material-moment-adapter": "github:angular/material-moment-adapter-builds#f7be2b774f5855597293795a809f0921f02b1b5b", "@angular/platform-browser": "github:angular/platform-browser-builds#758bbd19a33136328f25a0101163cdfc4a2b2086", "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#aa25db66983d02693a350ef005af4a2e81427047", "@angular/platform-server": "github:angular/platform-server-builds#262826f94401f1d61257dbfe13a05f53249a2e57", "@angular/router": "github:angular/router-builds#f561a1a510da6d64fb08caf3a466fe193c5ef148", "@angular/service-worker": "github:angular/service-worker-builds#ea4ca1c95249548bac07e911f89a58d8ce040347" } }
json
[{"subject":"EDUC","catalog_nbr":707,"section":1,"class_nbr":7038,"title":"PROM CULTURAL COMP & SOC JUST Lecture","component":"3 - 6","units":0,"bldg":"Carolina Ctr Educ ER xoom","room":"Th","days":"09","time":null,"instructor":"<NAME>","load":"100","rank":"INST","attributes":null,"enrl_cap":30,"enrl_tot":20,"wait_cap":0,"wait_tot":0,"prereqs":null,"rmp":null}]
json
<filename>src/msg/producer/producer_mock.go // Code generated by MockGen. DO NOT EDIT. // Source: github.com/m3db/m3/src/msg/producer (interfaces: Message,Producer) // Copyright (c) 2018 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. // Package producer is a generated GoMock package. package producer import ( "reflect" "github.com/m3db/m3/src/cluster/services" "github.com/golang/mock/gomock" ) // MockMessage is a mock of Message interface type MockMessage struct { ctrl *gomock.Controller recorder *MockMessageMockRecorder } // MockMessageMockRecorder is the mock recorder for MockMessage type MockMessageMockRecorder struct { mock *MockMessage } // NewMockMessage creates a new mock instance func NewMockMessage(ctrl *gomock.Controller) *MockMessage { mock := &MockMessage{ctrl: ctrl} mock.recorder = &MockMessageMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockMessage) EXPECT() *MockMessageMockRecorder { return m.recorder } // Bytes mocks base method func (m *MockMessage) Bytes() []byte { ret := m.ctrl.Call(m, "Bytes") ret0, _ := ret[0].([]byte) return ret0 } // Bytes indicates an expected call of Bytes func (mr *MockMessageMockRecorder) Bytes() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bytes", reflect.TypeOf((*MockMessage)(nil).Bytes)) } // Finalize mocks base method func (m *MockMessage) Finalize(arg0 FinalizeReason) { m.ctrl.Call(m, "Finalize", arg0) } // Finalize indicates an expected call of Finalize func (mr *MockMessageMockRecorder) Finalize(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Finalize", reflect.TypeOf((*MockMessage)(nil).Finalize), arg0) } // Shard mocks base method func (m *MockMessage) Shard() uint32 { ret := m.ctrl.Call(m, "Shard") ret0, _ := ret[0].(uint32) return ret0 } // Shard indicates an expected call of Shard func (mr *MockMessageMockRecorder) Shard() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shard", reflect.TypeOf((*MockMessage)(nil).Shard)) } // Size mocks base method func (m *MockMessage) Size() int { ret := m.ctrl.Call(m, "Size") ret0, _ := ret[0].(int) return ret0 } // Size indicates an expected call of Size func (mr *MockMessageMockRecorder) Size() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Size", reflect.TypeOf((*MockMessage)(nil).Size)) } // MockProducer is a mock of Producer interface type MockProducer struct { ctrl *gomock.Controller recorder *MockProducerMockRecorder } // MockProducerMockRecorder is the mock recorder for MockProducer type MockProducerMockRecorder struct { mock *MockProducer } // NewMockProducer creates a new mock instance func NewMockProducer(ctrl *gomock.Controller) *MockProducer { mock := &MockProducer{ctrl: ctrl} mock.recorder = &MockProducerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockProducer) EXPECT() *MockProducerMockRecorder { return m.recorder } // Close mocks base method func (m *MockProducer) Close(arg0 CloseType) { m.ctrl.Call(m, "Close", arg0) } // Close indicates an expected call of Close func (mr *MockProducerMockRecorder) Close(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockProducer)(nil).Close), arg0) } // Init mocks base method func (m *MockProducer) Init() error { ret := m.ctrl.Call(m, "Init") ret0, _ := ret[0].(error) return ret0 } // Init indicates an expected call of Init func (mr *MockProducerMockRecorder) Init() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockProducer)(nil).Init)) } // NumShards mocks base method func (m *MockProducer) NumShards() uint32 { ret := m.ctrl.Call(m, "NumShards") ret0, _ := ret[0].(uint32) return ret0 } // NumShards indicates an expected call of NumShards func (mr *MockProducerMockRecorder) NumShards() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NumShards", reflect.TypeOf((*MockProducer)(nil).NumShards)) } // Produce mocks base method func (m *MockProducer) Produce(arg0 Message) error { ret := m.ctrl.Call(m, "Produce", arg0) ret0, _ := ret[0].(error) return ret0 } // Produce indicates an expected call of Produce func (mr *MockProducerMockRecorder) Produce(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Produce", reflect.TypeOf((*MockProducer)(nil).Produce), arg0) } // RegisterFilter mocks base method func (m *MockProducer) RegisterFilter(arg0 services.ServiceID, arg1 FilterFunc) { m.ctrl.Call(m, "RegisterFilter", arg0, arg1) } // RegisterFilter indicates an expected call of RegisterFilter func (mr *MockProducerMockRecorder) RegisterFilter(arg0, arg1 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterFilter", reflect.TypeOf((*MockProducer)(nil).RegisterFilter), arg0, arg1) } // UnregisterFilter mocks base method func (m *MockProducer) UnregisterFilter(arg0 services.ServiceID) { m.ctrl.Call(m, "UnregisterFilter", arg0) } // UnregisterFilter indicates an expected call of UnregisterFilter func (mr *MockProducerMockRecorder) UnregisterFilter(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterFilter", reflect.TypeOf((*MockProducer)(nil).UnregisterFilter), arg0) }
go
// Decompiled by Jad v1.5.8g. Copyright 2001 <NAME>. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.bumptech.glide.load.resource.drawable; import android.content.Context; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.support.v4.content.res.ResourcesCompat; import android.support.v7.content.res.AppCompatResources; import android.support.v7.view.ContextThemeWrapper; public final class DrawableDecoderCompat { private DrawableDecoderCompat() { // 0 0:aload_0 // 1 1:invokespecial #13 <Method void Object()> // 2 4:return } public static Drawable getDrawable(Context context, int i, android.content.res.Resources.Theme theme) { return getDrawable(context, context, i, theme); // 0 0:aload_0 // 1 1:aload_0 // 2 2:iload_1 // 3 3:aload_2 // 4 4:invokestatic #20 <Method Drawable getDrawable(Context, Context, int, android.content.res.Resources$Theme)> // 5 7:areturn } public static Drawable getDrawable(Context context, Context context1, int i) { return getDrawable(context, context1, i, ((android.content.res.Resources.Theme) (null))); // 0 0:aload_0 // 1 1:aload_1 // 2 2:iload_2 // 3 3:aconst_null // 4 4:invokestatic #20 <Method Drawable getDrawable(Context, Context, int, android.content.res.Resources$Theme)> // 5 7:areturn } private static Drawable getDrawable(Context context, Context context1, int i, android.content.res.Resources.Theme theme) { if(!shouldCallAppCompatResources) goto _L2; else goto _L1 // 0 0:getstatic #30 <Field boolean shouldCallAppCompatResources> // 1 3:ifeq 44 _L1: Drawable drawable = loadDrawableV7(context1, i, theme); // 2 6:aload_1 // 3 7:iload_2 // 4 8:aload_3 // 5 9:invokestatic #33 <Method Drawable loadDrawableV7(Context, int, android.content.res.Resources$Theme)> // 6 12:astore 4 return drawable; // 7 14:aload 4 // 8 16:areturn theme; // 9 17:astore_3 if(!context.getPackageName().equals(((Object) (context1.getPackageName())))) //* 10 18:aload_0 //* 11 19:invokevirtual #39 <Method String Context.getPackageName()> //* 12 22:aload_1 //* 13 23:invokevirtual #39 <Method String Context.getPackageName()> //* 14 26:invokevirtual #45 <Method boolean String.equals(Object)> //* 15 29:ifne 38 return ContextCompat.getDrawable(context1, i); // 16 32:aload_1 // 17 33:iload_2 // 18 34:invokestatic #50 <Method Drawable ContextCompat.getDrawable(Context, int)> // 19 37:areturn else throw theme; // 20 38:aload_3 // 21 39:athrow _L3: shouldCallAppCompatResources = false; // 22 40:iconst_0 // 23 41:putstatic #30 <Field boolean shouldCallAppCompatResources> _L2: if(theme == null) //* 24 44:aload_3 //* 25 45:ifnull 51 //* 26 48:goto 56 theme = context1.getTheme(); // 27 51:aload_1 // 28 52:invokevirtual #54 <Method android.content.res.Resources$Theme Context.getTheme()> // 29 55:astore_3 return loadDrawableV4(context1, i, theme); // 30 56:aload_1 // 31 57:iload_2 // 32 58:aload_3 // 33 59:invokestatic #57 <Method Drawable loadDrawableV4(Context, int, android.content.res.Resources$Theme)> // 34 62:areturn context; // 35 63:astore_0 goto _L3 //* 36 64:goto 40 context; // 37 67:astore_0 goto _L2 //* 38 68:goto 44 } private static Drawable loadDrawableV4(Context context, int i, android.content.res.Resources.Theme theme) { return ResourcesCompat.getDrawable(context.getResources(), i, theme); // 0 0:aload_0 // 1 1:invokevirtual #61 <Method android.content.res.Resources Context.getResources()> // 2 4:iload_1 // 3 5:aload_2 // 4 6:invokestatic #66 <Method Drawable ResourcesCompat.getDrawable(android.content.res.Resources, int, android.content.res.Resources$Theme)> // 5 9:areturn } private static Drawable loadDrawableV7(Context context, int i, android.content.res.Resources.Theme theme) { Object obj = ((Object) (context)); // 0 0:aload_0 // 1 1:astore_3 if(theme != null) //* 2 2:aload_2 //* 3 3:ifnull 16 obj = ((Object) (new ContextThemeWrapper(context, theme))); // 4 6:new #68 <Class ContextThemeWrapper> // 5 9:dup // 6 10:aload_0 // 7 11:aload_2 // 8 12:invokespecial #71 <Method void ContextThemeWrapper(Context, android.content.res.Resources$Theme)> // 9 15:astore_3 return AppCompatResources.getDrawable(((Context) (obj)), i); // 10 16:aload_3 // 11 17:iload_1 // 12 18:invokestatic #74 <Method Drawable AppCompatResources.getDrawable(Context, int)> // 13 21:areturn } private static volatile boolean shouldCallAppCompatResources = true; static { // 0 0:return } }
java
LET THE GAME BEGIN ! So here I am at last, the boss of the Vikings [NORWAY] I am so pleased to be the leader of this great magnificent gang. Splendid in appearance and outstanding of its kind. OUR COMMON GOAL? It is to be the best gang in every possible way. We will be the gang everybody look at and say: "We must learn from the Vikings or we have no chance at all in this bloody-minded war". Can we achieve this common goal? Of course, we are the Vikings! We already have 8 Vikings in the top 50 on the leaderboard, we have been working very hard on our common goal already. It is my duty as a leader of us all to do it first and I will, rest with peace in your mind about this. Never forget to work hard, have fun and we will all have success. Do you want to get rewarded with the Vikings?
english
Iyer (53 off 30), playing his second IPL game, displayed the wide range of his strokes alongside Rahul Tripathi (74 not out off 42) to enable KKR to chase MI's modest total of 155 for six with as many as 29 balls to spare. Quinton de Kock struck an entertaining 55 for MI before KKR bowlers bounced back in the last 10 overs, conceding 75 runs and taking five wickets. Shubman Gill and Iyer gave KKR another flying start with the first two overs bowled by Trent Boult and Adam Milne going for 15 runs each. Gill flicked Boult for a delightful six while Iyer pulled the New Zealand pace spearhead to set the tone for the rest of the innings. While Jasprit Bumrah found Gill's stumps in the third over, Iyer went on to play a memorable knock comprising four boundaries and three sixes. Iyer and Tripathi shared an 88-run stand for the second wicket which completely shut the door on MI, who suffered their second loss since IPL's resumption. Earlier, MI skipper Rohit Sharma (33 off 30) got off the innings in scintillating fashion, caressing a Nitish Rana delivery on to the mid-off boundary. The skipper, who was in sublime touch in the Tests in England, had not played the opening game against CSK.
english
9 pm on a Saturday night, and I'm sitting alone at my table at Koh, the Thai restaurant at the InterContinental, Mumbai. My colleague who was supposed to join me for dinner, has in all probability stood me up. So instead I'm sipping on my welcome drink, a ‘Lemongrass cooler' (a refreshing combination of orange and lime juice with fresh lemongrass) and leafing through the long menu simply entitled ‘Koh by Ian Kittichai'. Chef Ian has consulted at a string of restaurants around the world and has opened some of his own, including the famous Kittichai Restaurant in New York and Restaurant Del Murmuri in Barcelona. ‘Koh' features Chef Ian's signature Thai cuisine and the Chef personally visits the restaurants for a few days every month to oversee the menu and kitchen. Koh's menu has been given a makeover by the Chef, whose culinary style reflects the diverse cuisines he experienced as a child, as the personal note on the first page of the menu will tell you. The InterContinental at Marine Drive is one of the smaller hotels of the chain but stunning views of the Arabian Sea and close proximity to South Mumbai's posher neighbourhoods has earned it a loyal clientele. The swish, muted décor of the lobby is carried forth in the restaurant, which emulates the same dim lighting with neon purple accents. A Thai poem scrawled on a glass wall is the centrepiece of the restaurant and the walls are also covered with glass paintings which are replicas of ancient Thai art, complemented by the high, glass brick false ceiling. Tables are comfortable and quietly elegant – gold table runners, tealights with fresh white orchids and velvet blue upholstery. I start off with little rice tartlets, a crunchy base with a filling of sweet corn, greens, onions, lemongrass and kaffir lime leaves, fresh and subtly flavoured. Steaming, hot vegetables dumplings are next, with an innovative minced, curried filling that's almost Indian in taste and texture. Baby spinach bricks, steamed and moulded fresh spinach are lightly flavoured with garlic and soy and are light on the palate and the stomach – ideal if you don't want to ruin your appetite. The waiter insists that I try the Crunchy Lotus Stem, a house favourite. Thinly sliced, fried to a crisp bite and coated with a chilli-tamarind paste, it's just the right combination of sour and spicy with a satisfying crunch as you bite into it. If you prefer to start off your meal with a soup, the spicy crab and roasted egg drop soup is generous with the meat, flavourful and spicy. The Asian corn and cilantro chowder might look bland at first sight but was actually meaty with chunks of water chestnut and chicken and flavoured with fresh chilli shavings and celery. It's also available in a vegetarian version, minus the chicken. Seafood is a primary indicator of any good Thai restaurant, and Chef Ian does full justice to that. The poached fillet of Vietnamese sea perch almost melts in your mouth and goes surprisingly well with oven roasted broccoli and a citrusy dressing. The crystal shrimp in a red wine and oyster sauce was sweet and sour and also delicious. Vegetarians have ample choice at Koh too and Chef Ian tells me that a big number of the regulars here are vegetarians. I tried the Vietnamese fried rice with mushrooms which was simple and flavoured with burnt garlic. The Thai green curry is served piping hot over a burner and was unusual combination of water chestnuts and eggplant and fragrant with basil and lemongrass – perfect with the rice. Wok tossed haricot beans with soy, onions and garlic were crunchy and lightly cooked. However, the spicy sriracha vegetables with a sweetish gravy were a bit too bland for my liking. In almost every Chinese or Thai restaurant, the quality of the desserts are usually far below that of the main course and starters. The grapefruit layered crepe cake lacked flavour and the Thai guava crumble was disappointing. I was far luckier with what the Chef hand picked for my meal. The flourless valrhona chocolate fondant substitutes gluten with almond dust and is thus almost as light as air, crumbling as soon as it sitsin your mouth. The mango sticky rice crème brûlée was sour-sweet with fresh mango and served alongside fresh kiwi and strawberries, also excellent. Koh, with its efficient, non-intrusive staff, extensive menu and stellar location is a great place for a leisurely meal or romantic night out.
english
<filename>Blish HUD/data/licenses.json [ { "project": "Discord RPC", "repository": "https://github.com/discordapp/discord-rpc", "license": "https://raw.githubusercontent.com/discordapp/discord-rpc/master/LICENSE" }, { "project": "Flurl", "repository": "https://github.com/tmenier/Flurl", "license": "https://raw.githubusercontent.com/tmenier/Flurl/dev/LICENSE" }, { "project": "GW2.NET", "repository": "https://github.com/Ruhrpottpatriot/GW2.NET", "license": "https://raw.githubusercontent.com/Ruhrpottpatriot/GW2.NET/master/LICENSE" }, { "project": "Humanizer", "repository": "https://github.com/Humanizr/Humanizer", "license": "https://raw.githubusercontent.com/Humanizr/Humanizer/master/LICENSE" }, { "project": "MonoGame.Extended", "repository": "https://github.com/craftworkgames/MonoGame.Extended", "license": "https://raw.githubusercontent.com/craftworkgames/MonoGame.Extended/develop/LICENSE" }, { "project": "MonoGame", "repository": "https://github.com/MonoGame/MonoGame", "license": "https://raw.githubusercontent.com/MonoGame/MonoGame/develop/LICENSE.txt" }, { "project": "Json.NET", "repository": "https://github.com/JamesNK/Newtonsoft.Json", "license": "https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/master/LICENSE.md" }, { "project": "protobuf-net", "repository": "https://github.com/mgravell/protobuf-net", "license": "https://raw.githubusercontent.com/mgravell/protobuf-net/master/Licence.txt" }, { "project": "sentry", "repository": "https://github.com/getsentry/sentry", "license": "https://raw.githubusercontent.com/getsentry/sentry/master/LICENSE" }, { "project": "Praeclarum.Bind", "repository": "https://github.com/praeclarum/Bind", "license": "https://raw.githubusercontent.com/praeclarum/Bind/master/License.md" }, { "project": "Glide", "repository": "https://bitbucket.org/jacobalbano/glide/src", "license": "https://bitbucket.org/jacobalbano/glide/raw/0fdc77df4b381a6820b1eb4ea09ac4e55ec6ec51/license.txt" }, { "project": "Fody", "repository": "https://github.com/Fody/Home/", "license": "https://raw.githubusercontent.com/Fody/Home/master/license.txt" }, { "project": "Costura.Fody", "repository": "https://github.com/Fody/Costura", "license": "https://raw.githubusercontent.com/Fody/Costura/master/license.txt" }, { "project": "HaxlSharp", "repository": "https://github.com/joashc/HaxlSharp", "license": "https://raw.githubusercontent.com/joashc/HaxlSharp/master/LICENCE" } ]
json
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package javacore.bancodedadosjdbc.test; import java.util.List; import java.util.Scanner; import javacore.bancodedadosjdbc.classes.Comprador; import javacore.bancodedadosjdbc.db.CompradorDAO; /** * * @author User */ public class CompradorCRUD { private static Scanner teclado = new Scanner(System.in); public static void executar(int op) { switch (op) { case 1: inserir(); break; case 2: atualizar(); break; case 3: listar(); break; case 4: System.out.println("Digite o nome: "); buscarPorNome(teclado.nextLine()); break; case 5: deletar(); break; } } private static void inserir() { Comprador c = new Comprador(); System.out.println("Nome: "); c.setNome(teclado.nextLine()); System.out.println("CPF: "); c.setCpf(teclado.nextLine()); CompradorDAO.save(c); } public static List<Comprador> listar() { List<Comprador> compradorList = CompradorDAO.selectALl(); for (int i = 1; i < compradorList.size(); i++) { Comprador c = compradorList.get(i); System.out.print("{" + i + "}" + c.getNome() + " " + c.getCpf()); System.out.println(""); } return compradorList; } private static void atualizar() { System.out.println("Selecione um dos compradores abaixo: "); List<Comprador> compradorList = listar(); Comprador c = compradorList.get(Integer.parseInt(teclado.nextLine())); System.out.println("Novo nome ou Enter para o mesmo"); String nome = teclado.nextLine(); System.out.println("Novo CPF ou Enter para o mesmo"); String cpf = teclado.nextLine(); if (!nome.isEmpty()) { c.setNome(nome); } if (!cpf.isEmpty()) { c.setCpf(cpf); } CompradorDAO.update(c); } private static void buscarPorNome(String nome) { List<Comprador> compradorList = CompradorDAO.searchByName(nome); for (int i = 0; i < compradorList.size(); i++) { Comprador c = compradorList.get(i); System.out.print("{" + c.getId() + "}" + c.getNome() + " " + c.getCpf()); System.out.println(""); } } private static void deletar() { System.out.println("Selecione o registro paraa deletar: "); List<Comprador> compradorList = listar(); int index = Integer.parseInt(teclado.nextLine()); System.out.println("Tem certeza S/N"); String op = teclado.nextLine(); if (op.startsWith("s")) { CompradorDAO.delete(compradorList.get(index)); } } }
java
<reponame>SijanC147/Msc<gh_stars>0 {"content": "Labour didn't spend too much in government. Global financial crisis crashed the economy. #BattleForNumber10", "entities": [{"entity": "economy", "type": "topic keyword", "id": 2, "offset": 80}, {"entity": "financial crisis", "type": "topic keyword", "id": 3, "offset": 51}, {"entity": "labour", "type": "party keyword", "id": 4, "offset": 0}], "topics": [{"topic": "economy", "id": 1}], "tweet_id": "581217180072722432"}
json
<filename>WEB-INF/src/com/github/tosdan/utils/sql/SqlLoader.java package com.github.tosdan.utils.sql; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.io.FileUtils; import org.yaml.snakeyaml.Yaml; import com.github.tosdan.utils.stringhe.TemplateCompilerException; import com.github.tosdan.utils.stringhe.TemplatePickerSections; import com.github.tosdan.utils.varie.BoolUtils; /** * * @author Daniele * @version 0.4.3-b2013-10-02 */ public class SqlLoader { // Contenitore configurazione filtro private Map<String, String> settings; // Configurazione specifica per recupero/compilazione queries private Map<String, String> queriesRepositoryIndexMap; private String queriesRepositoryIndexFilename; private String queriesRepoFolderPath; // Opzioni private boolean isLogEnabled; private boolean lasciaParametrica; private boolean printStackTrace; private boolean retroCompatibilitaTemplate; private String SqlLoaderConfFile; private String webAppPath; public SqlLoader(String SqlLoaderConfFile, String webAppPath) { this.SqlLoaderConfFile = SqlLoaderConfFile; this.webAppPath = webAppPath; } /** * * @param primaryParams * @param overridingParams * @return * @throws SqlLoaderFilterException */ @SuppressWarnings( "unchecked" ) private List<String> getNomiQueriesDaCompilare(Map<String, Object> primaryParams, Map<String, Object> overridingParams) { List<String> nomiQueriesDaCompilare = null; Object sqlParam = (overridingParams != null && overridingParams.get("sqlOverride") != null) ? overridingParams.get("sqlOverride") : primaryParams.get("sqlName"); if ( sqlParam instanceof String ) { nomiQueriesDaCompilare = new ArrayList<String>(); nomiQueriesDaCompilare.add( (String) sqlParam ); } else if (sqlParam instanceof List) { nomiQueriesDaCompilare = (List<String>) sqlParam; } if (nomiQueriesDaCompilare == null || nomiQueriesDaCompilare.isEmpty()) throw new IllegalArgumentException( "Errore parametro 'sqlName' mancante nella request."); return nomiQueriesDaCompilare; } /** * * @param primaryParams * @return * @throws IOException * @throws ServletException */ public Map<String, Object> loadQueries(Map<String, Object> primaryParams) throws IOException { return loadQueries(primaryParams, null, null); } /** * * @param primaryParams * @param updateParamsMapsList * @return * @throws IOException * @throws ServletException */ public Map<String, Object> loadQueries(Map<String, Object> primaryParams, List<Map<String, Object>> updateParamsMapsList) throws IOException { return loadQueries(primaryParams, updateParamsMapsList, null); } /** * * @param primaryParams * @param overridingParams * @return * @throws IOException * @throws ServletException */ public Map<String, Object> loadQueries(Map<String, Object> primaryParams, Map<String, Object> overridingParams) throws IOException { return loadQueries(primaryParams, null, overridingParams); } /** * * @param primaryParams * @param updateParamsMapsList Lista eventuali parametri per query di update (anche piu' di un update per volta essendo appunto una lista di parametri) * @param overridingParams * @return * @throws IOException * @throws ServletException */ @SuppressWarnings("unchecked") public Map<String, Object> loadQueries(Map<String, Object> primaryParams, List<Map<String, Object>> updateParamsMapsList, Map<String, Object> overridingParams) throws IOException { Map<String, Object> retVal = new HashMap<String, Object>(); List<String> nomiQueriesDaCompilare = getNomiQueriesDaCompilare(primaryParams, overridingParams); getSqlLoaderOptions(primaryParams); loadConfiguration(); logParametersToFile( primaryParams ); if ( ! this.lasciaParametrica ) { if (updateParamsMapsList == null) { updateParamsMapsList = (List<Map<String, Object>>) primaryParams.get("sqlLoaderParametriUpdate"); if (overridingParams != null) updateParamsMapsList = (List<Map<String, Object>>) overridingParams.get("sqlLoaderParametriUpdate"); } MassiveQueryCompiler mqc = new MassiveQueryCompiler( this.queriesRepositoryIndexMap, this.queriesRepoFolderPath, updateParamsMapsList ); if ( retroCompatibilitaTemplate ) mqc.setPicker( new TemplatePickerSections() ); try { Map<String, Object> allParams = mergeParams(primaryParams, overridingParams); Map<String, List<String>> queries = mqc.getQueriesListMap( nomiQueriesDaCompilare, allParams ); // Ogni query e' recuperabile usando il nome specificato in sqlName nella request ajax for( String nomeSql : nomiQueriesDaCompilare ) { List<String> listaQueryTemp = queries.get(nomeSql); if (listaQueryTemp.size() == 1) { retVal.put( nomeSql, listaQueryTemp.get(0) ); } else { retVal.put( nomeSql, listaQueryTemp ); } } } catch ( TemplateCompilerException e ) { if ( printStackTrace ) e.printStackTrace(); throw new IllegalArgumentException( "Errore compilazione query.", e ); } } else { // TODO recupero query senza compilarla } return retVal; } /** * * @param primaryParams * @throws IOException */ private void logParametersToFile(Map<String, Object> primaryParams) throws IOException { if ( isLogEnabled && settings.get("logFileName") != null ) FileUtils.writeStringToFile(new File(settings.get("logFileName")), primaryParams.toString());// crea un file di log con il nome passato come parametro nella sottocartella della webapp } /** * Raccoglie tutti i <code>parameters</code> della <code>request</code> compresi <code>attributes</code> eventualmente aggiunti da servlet o filtri precedenti e parametri custom contenuti in mappe inserite in sessione o in un attribute della request * @param primaryParams * @param overridingParams * @return */ private Map<String, Object> mergeParams(Map<String, Object> primaryParams, Map<String, Object> overridingParams) { Map<String, Object> allParams = new HashMap<String, Object>(); allParams.putAll( primaryParams ); if (overridingParams != null) allParams.putAll(overridingParams); return allParams; } /** * * @throws IOException */ private void loadConfiguration() throws IOException { if (SqlLoaderConfFile == null) throw new IllegalArgumentException( "Errore, file di configurazione non trovato."); // Carica la configurazione per SqlLoaderFilter da file. settings = getMapFromYamlFile( webAppPath + "/" + SqlLoaderConfFile ); // Percorso relativo del file contenente l'index delle queries queriesRepositoryIndexFilename = settings.get("SqlLoaderQueriesReposIndex_File"); if (queriesRepositoryIndexFilename == null) throw new IllegalArgumentException( "Errore, file indice queries non trovato."); // Crea una mappa con l'index delle queries queriesRepositoryIndexMap = getMapFromYamlFile( webAppPath + "/" + queriesRepositoryIndexFilename ); // Percorso assoluto dei file contenenti i templates delle queries queriesRepoFolderPath = webAppPath + "/" + settings.get("SqlLoaderConf_Path"); } /** * Legge dalla request eventuali opzioni inserite nella chiamata e imposta le relative variabili di istanza con i valori recuperati * @param primaryParams */ private void getSqlLoaderOptions(Map<String, Object> primaryParams) { // Opzione per verbose stacktrace delle eccezioni catturate printStackTrace = BoolUtils.toBoolean(primaryParams.get("printStackTrace")); // Opzione per abilitare il log isLogEnabled = BoolUtils.toBoolean(primaryParams.get("logSqlLoader")); // Opzione per evitare la compilazione automatica della query. Fondamentalmente recupera la query e la serve immutata TODO lasciaParametrica = BoolUtils.toBoolean(primaryParams.get("lasciaQueryParametrica")); // retroCompatibilitaTemplate = BoolUtils.toBoolean(primaryParams.get("noYamlPicker")); } /** * Carica e restituisce una mappa con i dati di configurazione contenuti nel file passato. * @param filename * @throws IOException */ @SuppressWarnings( "unchecked" ) private Map<String, String> getMapFromYamlFile(String filename) throws IOException { Map<String, String> contentMap; Yaml yaml = new Yaml(); String configFileContent = FileUtils.readFileToString(new File(filename)); contentMap = (Map<String, String>) yaml.load( configFileContent ); return contentMap; } }
java
<filename>HeavyFlavorAnalysis/RecoDecay/src/BPHKinematicFit.cc /* * See header file for a description of this class. * * \author <NAME> INFN Padova * */ //----------------------- // This Class' Header -- //----------------------- #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHKinematicFit.h" //------------------------------- // Collaborating Class Headers -- //------------------------------- #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoCandidate.h" #include "RecoVertex/KinematicFitPrimitives/interface/KinematicParticleFactoryFromTransientTrack.h" #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicParticle.h" #include "RecoVertex/KinematicFit/interface/KinematicParticleVertexFitter.h" #include "RecoVertex/KinematicFit/interface/KinematicConstrainedVertexFitter.h" #include "RecoVertex/KinematicFit/interface/KinematicParticleFitter.h" #include "RecoVertex/KinematicFit/interface/MassKinematicConstraint.h" #include "RecoVertex/KinematicFit/interface/TwoTrackMassKinematicConstraint.h" #include "RecoVertex/KinematicFit/interface/MultiTrackMassKinematicConstraint.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" //--------------- // C++ Headers -- //--------------- #include <iostream> using namespace std; //------------------- // Initializations -- //------------------- //---------------- // Constructors -- //---------------- BPHKinematicFit::BPHKinematicFit(): BPHDecayVertex( 0 ), massConst( -1.0 ), massSigma( -1.0 ), oldKPs( true ), oldFit( true ), oldMom( true ), kinTree( 0 ) { } BPHKinematicFit::BPHKinematicFit( const BPHKinematicFit* ptr ): BPHDecayVertex( ptr, 0 ), massConst( -1.0 ), massSigma( -1.0 ), oldKPs( true ), oldFit( true ), oldMom( true ), kinTree( 0 ) { map<const reco::Candidate*,const reco::Candidate*> iMap; const vector<const reco::Candidate*>& daug = daughters(); const vector<Component>& list = ptr->componentList(); int i; int n = daug.size(); for ( i = 0; i < n; ++i ) { const reco::Candidate* cand = daug[i]; iMap[originalReco( cand )] = cand; } for ( i = 0; i < n; ++i ) { const Component& c = list[i]; dMSig[iMap[c.cand]] = c.msig; } const vector<BPHRecoConstCandPtr>& dComp = daughComp(); int j; int m = dComp.size(); for ( j = 0; j < m; ++j ) { const map<const reco::Candidate*,double>& dMap = dComp[j]->dMSig; dMSig.insert( dMap.begin(), dMap.end() ); } } //-------------- // Destructor -- //-------------- BPHKinematicFit::~BPHKinematicFit() { } //-------------- // Operations -- //-------------- void BPHKinematicFit::setConstraint( double mass, double sigma ) { oldFit = oldMom = true; massConst = mass; massSigma = sigma; return; } double BPHKinematicFit::constrMass() const { return massConst; } double BPHKinematicFit::constrSigma() const { return massSigma; } const vector<RefCountedKinematicParticle>& BPHKinematicFit::kinParticles() const { if ( oldKPs ) buildParticles(); return allParticles; } vector<RefCountedKinematicParticle> BPHKinematicFit::kinParticles( const vector<string>& names ) const { if ( oldKPs ) buildParticles(); const vector<const reco::Candidate*>& daugs = daughFull(); vector<RefCountedKinematicParticle> plist; if ( allParticles.size() != daugs.size() ) return plist; set<RefCountedKinematicParticle> pset; int i; int n = names.size(); int m = daugs.size(); plist.reserve( m ); for ( i = 0; i < n; ++i ) { const string& pname = names[i]; if ( pname == "*" ) { int j = m; while ( j-- ) { RefCountedKinematicParticle& kp = allParticles[j]; if ( pset.find( kp ) != pset.end() ) continue; plist.push_back( kp ); pset .insert ( kp ); } break; } map<const reco::Candidate*, RefCountedKinematicParticle>::const_iterator iter = kinMap.find( getDaug( pname ) ); map<const reco::Candidate*, RefCountedKinematicParticle>::const_iterator iend = kinMap.end(); if ( iter != iend ) { const RefCountedKinematicParticle& kp = iter->second; if ( pset.find( kp ) != pset.end() ) continue; plist.push_back( kp ); pset .insert ( kp ); } else { edm::LogPrint( "ParticleNotFound" ) << "BPHKinematicFit::kinParticles: " << pname << " not found"; } } return plist; } const RefCountedKinematicTree& BPHKinematicFit::kinematicTree() const { if ( oldFit ) return kinematicTree( "", massConst, massSigma ); return kinTree; } const RefCountedKinematicTree& BPHKinematicFit::kinematicTree( const string& name, double mass, double sigma ) const { if ( sigma < 0 ) return kinematicTree( name, mass ); ParticleMass mc = mass; MassKinematicConstraint kinConst( mc, sigma ); return kinematicTree( name, &kinConst ); } const RefCountedKinematicTree& BPHKinematicFit::kinematicTree( const string& name, double mass ) const { if ( mass < 0 ) { kinTree = RefCountedKinematicTree( 0 ); oldFit = false; return kinTree; } int nn = daughFull().size(); ParticleMass mc = mass; if ( nn == 2 ) { TwoTrackMassKinematicConstraint kinConst( mc ); return kinematicTree( name, &kinConst ); } else { MultiTrackMassKinematicConstraint kinConst( mc, nn ); return kinematicTree( name, &kinConst ); } } const RefCountedKinematicTree& BPHKinematicFit::kinematicTree( const string& name, KinematicConstraint* kc ) const { kinTree = RefCountedKinematicTree( 0 ); oldFit = false; kinParticles(); if ( allParticles.size() != daughFull().size() ) return kinTree; vector<RefCountedKinematicParticle> kComp; vector<RefCountedKinematicParticle> kTail; if ( name != "" ) { const BPHRecoCandidate* comp = getComp( name ).get(); if ( comp == 0 ) { edm::LogPrint( "ParticleNotFound" ) << "BPHKinematicFit::kinematicTree: " << name << " daughter not found"; return kinTree; } const vector<string>& names = comp->daugNames(); int ns; int nn = ns = names.size(); vector<string> nfull( nn + 1 ); nfull[nn] = "*"; while ( nn-- ) nfull[nn] = name + "/" + names[nn]; vector<RefCountedKinematicParticle> kPart = kinParticles( nfull ); vector<RefCountedKinematicParticle>::const_iterator iter = kPart.begin(); vector<RefCountedKinematicParticle>::const_iterator imid = iter + ns; vector<RefCountedKinematicParticle>::const_iterator iend = kPart.end(); kComp.insert( kComp.end(), iter, imid ); kTail.insert( kTail.end(), imid, iend ); } else { kComp = allParticles; } try { KinematicParticleVertexFitter vtxFitter; RefCountedKinematicTree compTree = vtxFitter.fit( kComp ); if ( compTree->isEmpty() ) return kinTree; KinematicParticleFitter kinFitter; compTree = kinFitter.fit( kc, compTree ); if ( compTree->isEmpty() ) return kinTree; compTree->movePointerToTheTop(); if ( kTail.size() ) { RefCountedKinematicParticle compPart = compTree->currentParticle(); if ( !compPart->currentState().isValid() ) return kinTree; kTail.push_back( compPart ); kinTree = vtxFitter.fit( kTail ); } else { kinTree = compTree; } } catch ( std::exception e ) { edm::LogPrint( "FitFailed" ) << "BPHKinematicFit::kinematicTree: " << "kin fit reset"; kinTree = RefCountedKinematicTree( 0 ); } return kinTree; } const RefCountedKinematicTree& BPHKinematicFit::kinematicTree( const string& name, MultiTrackKinematicConstraint* kc ) const { kinTree = RefCountedKinematicTree( 0 ); oldFit = false; kinParticles(); if ( allParticles.size() != daughFull().size() ) return kinTree; vector<string> nfull; if ( name != "" ) { const BPHRecoCandidate* comp = getComp( name ).get(); if ( comp == 0 ) { edm::LogPrint( "ParticleNotFound" ) << "BPHKinematicFit::kinematicTree: " << name << " daughter not found"; return kinTree; } const vector<string>& names = comp->daugNames(); int nn = names.size(); nfull.resize( nn + 1 ); nfull[nn] = "*"; while ( nn-- ) nfull[nn] = name + "/" + names[nn]; } else { nfull.push_back( "*" ); } try { KinematicConstrainedVertexFitter cvf; kinTree = cvf.fit( kinParticles( nfull ), kc ); } catch ( std::exception e ) { edm::LogPrint( "FitFailed" ) << "BPHKinematicFit::kinematicTree: " << "kin fit reset"; kinTree = RefCountedKinematicTree( 0 ); } return kinTree; } void BPHKinematicFit::resetKinematicFit() const { oldKPs = oldFit = oldMom = true; return; } bool BPHKinematicFit::isEmpty() const { kinematicTree(); if ( kinTree.get() == 0 ) return true; return kinTree->isEmpty(); } bool BPHKinematicFit::isValidFit() const { const RefCountedKinematicParticle kPart = currentParticle(); if ( kPart.get() == 0 ) return false; return kPart->currentState().isValid(); } const RefCountedKinematicParticle BPHKinematicFit::currentParticle() const { if ( isEmpty() ) return RefCountedKinematicParticle( 0 ); return kinTree->currentParticle(); } const RefCountedKinematicVertex BPHKinematicFit::currentDecayVertex() const { if ( isEmpty() ) return RefCountedKinematicVertex( 0 ); return kinTree->currentDecayVertex(); } ParticleMass BPHKinematicFit::mass() const { const RefCountedKinematicParticle kPart = currentParticle(); if ( kPart.get() == 0 ) return -1.0; const KinematicState kStat = kPart->currentState(); if ( kStat.isValid() ) return kStat.mass(); return -1.0; } const math::XYZTLorentzVector& BPHKinematicFit::p4() const { if ( oldMom ) fitMomentum(); return totalMomentum; } void BPHKinematicFit::addK( const string& name, const reco::Candidate* daug, double mass, double sigma ) { addK( name, daug, "cfhpmig", mass, sigma ); return; } void BPHKinematicFit::addK( const string& name, const reco::Candidate* daug, const string& searchList, double mass, double sigma ) { addV( name, daug, searchList, mass ); dMSig[daughters().back()] = sigma; return; } void BPHKinematicFit::addK( const string& name, const BPHRecoConstCandPtr& comp ) { addV( name, comp ); const map<const reco::Candidate*,double>& dMap = comp->dMSig; dMSig.insert( dMap.begin(), dMap.end() ); return; } void BPHKinematicFit::setNotUpdated() const { BPHDecayVertex::setNotUpdated(); resetKinematicFit(); return; } void BPHKinematicFit::buildParticles() const { kinMap.clear(); allParticles.clear(); const vector<const reco::Candidate*>& daug = daughFull(); KinematicParticleFactoryFromTransientTrack pFactory; int n = daug.size(); allParticles.reserve( n ); float chi = 0.0; float ndf = 0.0; while ( n-- ) { const reco::Candidate* cand = daug[n]; ParticleMass mass = cand->mass(); float sigma = dMSig.find( cand )->second; if ( sigma < 0 ) sigma = 1.0e-7; reco::TransientTrack* tt = getTransientTrack( cand ); if ( tt != 0 ) allParticles.push_back( kinMap[cand] = pFactory.particle( *tt, mass, chi, ndf, sigma ) ); } oldKPs = false; return; } void BPHKinematicFit::fitMomentum() const { if ( isValidFit() ) { const KinematicState& ks = currentParticle()->currentState(); GlobalVector tm = ks.globalMomentum(); double x = tm.x(); double y = tm.y(); double z = tm.z(); double m = ks.mass(); double e = sqrt( ( x * x ) + ( y * y ) + ( z * z ) + ( m * m ) ); totalMomentum.SetPxPyPzE( x, y, z, e ); } else { edm::LogPrint( "FitNotFound" ) << "BPHKinematicFit::fitMomentum: " << "simple momentum sum computed"; math::XYZTLorentzVector tm; const vector<const reco::Candidate*>& daug = daughters(); int n = daug.size(); while ( n-- ) tm += daug[n]->p4(); const vector<BPHRecoConstCandPtr>& comp = daughComp(); int m = comp.size(); while ( m-- ) tm += comp[m]->p4(); totalMomentum = tm; } oldMom = false; return; }
cpp
<!--{loop $list $key $value}--> {eval $weeks=array('Sunday'=>'周日','Saturday'=>'周六','Friday'=>'周五','Thursday'=>'周四','Wednesday'=>'周三','Tuesday'=>'周二','Monday'=>'周一');} {eval $date=getdate($value[dateline]);$week=$weeks[$date[weekday]];$data} <div class="activity_right"> <span class="time">{eval echo dgmdate($value[dateline],'u');}</span> <div class="activity_right_cont"> <span class="actor_img">s</span> <div style="float:left"> <span class="actor">{eval echo avatar_block($value[uid]);}</span> <span class="verb">$value[body]</span> </div> </div> </div> <!--{/loop}--> <!--{if !$hidemore}--> <!--{if $next}--> <li id="btn-load-more" class="activity-item"> <div class="activity-itemwarp" style="margin-left:150px"> <div class="loading-more-panel"> <div class="part-loading"> </div> <button class="btn btn-simple" data-loading-text="加载中..." onclick="getEventMore('$page','$uid')"> 加载更多... </button> </div> </div> </li> <!--{else}--> <li id="btn-load-more" class="activity-item"> <div class="activity-itemwarp" style="margin-left:150px;"> <div class="loading-more-panel"> <div class="part-loading"> </div> <button class="btn btn-simple" > 没有更多内容了 </button> </div> </div> </li> <!--{/if}--> <!--{/if}-->
html
*{ padding: 0; margin: 0; box-sizing: border-box; } body{ background-color: rgb(238, 252, 249); padding-top: 30px; font-size: larger; width: 100%; } header{ width: 100%; color: rgb(3, 3, 3); display: flex; justify-content: center; } div{ width: 100%; font-size: larger; } p{ font-weight: 800; } #div3, #div1{ background-color: rgb(12, 161, 137); background-image:linear-gradient(to left, rgb(12, 161, 137), rgb(188, 188, 212)) ; } #div5{ background-color: rgb(12, 161, 137); background-image:linear-gradient(to left, rgb(12, 161, 137), rgb(188, 188, 212)) ; } #p5,#p1,#p3{ background-color: rgb(12, 161, 137); background-image:linear-gradient(to right, rgb(12, 161, 137), rgb(188, 188, 212)) ; } #p2,#p4{ background-color: rgb(12, 161, 137); background-image:linear-gradient(to left, rgb(12, 161, 137), rgb(188, 188, 212)) ; } button{ margin-top: 20px; margin-right: 20px; padding: 10px; font-size: large; font-weight: 700; border-radius: 10px; position:relative; float: right; } #welcome{ padding-top: 20px; margin-left: 20px; }
css
<filename>docs/_static/schema/JobRequest.json { "$id": "http://agavepy.readthedocs.io/en/latest/JobRequest.json", "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "appId": { "description": "The unique name of the application being run by this job. This must be a valid application that the calling user has permission to run.", "type": "string" }, "archive": { "description": "Whether the output from this job should be archived. If true, all new files created by this application's execution will be archived to the archivePath in the user's default storage system.", "type": "boolean" }, "archivePath": { "description": "The path of the archive folder for this job on the user's default storage sytem.", "type": "string" }, "archiveSystem": { "description": "The unique id of the storage system on which this job's output will be staged.", "type": "string" }, "batchQueue": { "description": "The queue to which this job should be submitted. This is optional and only applies when the execution system has a batch scheduler.", "type": "string" }, "inputs": { "description": "The application specific input files needed for this job. These vary from application to application and should be entered as multiple individual parameters in the form. Inputs may be given as relative paths in the user's default storage system or as URI. If a URI is given, the data will be staged in by the IO service and made avaialble to the application at run time.", "type": "JobInputs" }, "maxRunTime": { "description": "The requested compute time needed for this application to complete given in HH:mm:ss format.", "type": "string" }, "memoryPerNode": { "description": "The requested memory for this application to run given in GB.", "type": "string" }, "name": { "description": "The name of the job.", "type": "string" }, "nodeCount": { "description": "The number of processors this application should utilize while running. If the application is not of executionType PARALLEL, this should be 1.", "type": "integer" }, "notifications": { "description": "An array of notifications you wish to receive.", "type": "array" }, "parameters": { "description": "The application specific parameters needed for this job. These vary from application to application and should be entered as multiple individual parameters in the form. The actual dataType will be determined by the application description.", "type": "JobParameters" }, "processorsPerNode": { "description": "The number of processors this application should utilize while running. If the application is not of executionType PARALLEL, this should be 1.", "type": "integer" } }, "required": [ "inputs", "name", "parameters", "appId", "archive" ], "title": "AgavePy JobRequest schema", "type": "object" }
json
<gh_stars>10-100 {"template":{"small":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/1.0","medium":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/2.0","large":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/3.0"},"channels":{"vechs":{"title":"Vechs","channel_id":23447350,"link":"http://twitch.tv/vechs","desc":null,"plans":{"$4.99":"19028","$9.99":"35812","$24.99":"35813"},"id":"vechs","first_seen":"2016-09-24 02:10:03","badge":"https://static-cdn.jtvnw.net/badges/v1/8f6efe60-a42e-4fc8-b705-3ab3cf756248/1","badge_starting":"https://static-cdn.jtvnw.net/badges/v1/8f6efe60-a42e-4fc8-b705-3ab3cf756248/3","badge_3m":null,"badge_6m":null,"badge_12m":null,"badge_24m":null,"badges":[{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/8f6efe60-a42e-4fc8-b705-3ab3cf756248/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/8f6efe60-a42e-4fc8-b705-3ab3cf756248/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/8f6efe60-a42e-4fc8-b705-3ab3cf756248/3","description":"Subscriber","title":"Subscriber","click_action":"subscribe_to_channel","click_url":""}],"bits_badges":null,"cheermote1":null,"cheermote100":null,"cheermote1000":null,"cheermote5000":null,"cheermote10000":null,"set":19028,"emotes":[{"code":"vexWheck","image_id":115020,"set":19028},{"code":"vexFeesh","image_id":118721,"set":19028},{"code":"vexFly","image_id":118731,"set":19028},{"code":"vexLewd","image_id":127026,"set":19028},{"code":"vexHype","image_id":127223,"set":19028},{"code":"vexLove","image_id":128190,"set":19028}]}}}
json
<filename>apps/organization/migrations/0017_merge.py # -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-11 19:00 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('organization', '0011_merge'), ('organization', '0016_merge'), ] operations = [ ]
python
Zenefits is executing a change in its current ownership structure that will increase the overall ownership of the company for late-stage investors; it’s a move that revalues the company’s Series C round at $2 billion and looks to placate investor concerns over the company’s regulatory investigations. As part of accepting the new ownership changes, the investors participating will sign a release of claims against the company. It’s another move that new CEO David Sacks is doing in what’s been a massive cleanup effort of the company following report after report of the company skirting insurance regulation. Since all those regulatory issues came to light, the company has laid off more than 350 employees and parted ways with its former CEO Parker Conrad. The biggest issue stemmed from a program called “The Macro” that would aid in circumventing state licensing requirements. It’s not surprising that investors, who have a big stake in the company’s success, would also want some kind of guarantee that their investment is still in decent shape given the company’s problems. The hope here it would seem is that Zenefits — and Sacks — can quickly put all this in the past and start rebuilding the company and placate investors, rather than having to face off against them. Here are the details: Investors in the company’s Series C round, where it raised $500 million at a previous $4.5 billion valuation, will have their ownership stake upped from around 11 percent to 25 percent. A source tells us this amounts to a change in the share conversion rate upon a liquidation event. That change now effectively values the company at $2 billion in its Series C round, and earlier investors will receive small adjustments to offset the dilution. The company’s common stock will be diluted by around 20 percent. Non-executive employees will receive a special stock grant equal to 25 percent of their current number of shares, to offset the dilution, that will be vested in 12 months and consist of restricted stock units rather than options. That move should help placate any employees who previously had an opportunity to accept a generous severance but decided to stay on board with the company. Now, here’s the big question: What happens when it needs to raise money again? Zenefits, even with its skirting of regulations and growth proclamations, reached $60 million in ARR in 2016, Sacks said in an email detailing the layoffs of 250 employees in February. Former CEO Conrad previously said, when the company raised its $500 million round, that Zenefits was on track to hit $100 million in annually recurring revenue by January 2016. This was certainly a miss, and raises a lot of questions as to whether Zenefits would be able to control its burn in the wake of missing those targets. At a $4.5 billion valuation, and with all the issues the company has had, that certainly could scare away investors. But it’s now going to be a bigger question as to whether they’ll buy in even at a lower valuation. “At some point, this company will want to sell its shares again, and future prospective shareholders will look closely at how we treated our current shareholders,” Sacks wrote in a note coinciding with the announcement. All this is basically a way to reset expectations for investors, as well as try to retain employees following the changes in the company’s ownership structure. Shareholders were kept in the dark in relation to the existence and use of “The Macro,” which required a reset of the relationship. Zenefits grew like a rocket ship, reaching a $4.5 billion valuation in just about two years after the company started. That, at the time, labeled the company as one of the fastest-growing SaaS startups ever — but, obviously, there was a bunch of shady stuff going on behind the scenes to pad that growth. Sacks has made other moves to try to restructure the company, which was being torn asunder by investigations, a party culture and the break-neck growth that Conrad went after in its earliest days. Zenefits offered its employees a buyout package that equaled two months’ severance in an effort to effectively reset the culture of the company, of which Sacks said around 10 percent of employees accepted. It also open-sourced a new application that provides licensing controls to companies in what seemingly amounts to a mea culpa to the industry. “We are becoming the Compliance Company,” Zenefits wrote in an announcement of the effort. And, of course, this is yet another instance of companies finding themselves resetting expectations for investors in the wake of a changing financing environment. If Zenefits wants to raise capital again, it’s going to have to deal with two issues: controlling its burn as it continues to try to grow, and resolving its regulatory issues. One footnote to the announcement: The agreement does not include a release of claims for the $10 million in stock Conrad sold. “I hope that issue will be resolved in the near future,” Sacks said in the memo. Andreessen Horowitz, Fidelity, TPG and Insight Venture Partners all agreed to the new investor agreement. Here’s the full memo: As you all know, I became CEO of Zenefits in February after it was discovered that the previous CEO/founder had written a software program (or “Macro”) that was widely disseminated in the company to circumvent a state licensing requirement. He resigned, the Board asked me to step in, and since that time, we have been working to remediate the situation and reset our relationships with all of our key stakeholders. These include regulators, industry partners, customers, employees and investors. Our efforts have included self-reporting the Macro issue, bringing our licensing into compliance, changing our leadership and governance, instituting new company values, and transforming the culture so that compliance is a top priority. We announced plans with Salesforce to open-source our licensing controls so the rest of the industry could benefit from our technology. We also offered a generous voluntary separation package (“The Offer”) for any employee who did not agree with the new direction. I’m proud that roughly 90% of employees chose to stay and re-commit to the new Zenefits. Today we are announcing something similar for our investors. Since shortly after becoming CEO, I have been in discussions with a number of our major investors about how we can reset our relationship in light of the fact that they (like I) were never informed about the Macro before investing in the company. We have been working on a new basis on which they can re-commit to the company and get fully aligned with the new Zenefits. We are announcing that agreement today. This agreement will increase the ownership of our Series C investors, who invested approximately $500 million in May 2015, from about 11% of the company to about 25%. This effectively revalues the Series C at a $2 billion valuation. The Series A and Series B investors will receive small adjustments to offset their dilution. The common stock will be diluted about 20% from its current level — about the same as a typical financing round. In my view, that is well worth it to realign our existing shareholders with the company. At some point, this company will want to sell its shares again, and future prospective shareholders will look closely at how we treated our current shareholders. We do not want employees to be negatively impacted by this agreement. So each non-executive employee of Zenefits will be “trued up” through a special stock grant equal to 25% of their current number of shares. This new grant will vest 100% in 12 months. It will consist of RSUs rather than options so that employees don’t have to pay a strike price. Our executive team will also receive additional 4-year grants to incentivize them. However, co-founder/CTO Laks Srini and I have offered not to participate in this true-up in order to ensure that there are enough shares for employees. We will be diluted to the same extent as any other common stockholder. As part of this agreement, each participating investor will sign a release, which will allow the company to move forward and put the past behind us. This agreement does not include a release for the $10 million of stock that Parker sold personally; I hope that issue will be resolved in the near future. The agreement also contains a few provisions to foster good governance, such as the creation of a permanent seat for the Series C on the Board of Directors (which is already occupied by TPG’s Bill McGlashan) and the creation of a Compliance Committee on the Board. Both the company’s management and its investors believe these are wise things to do. The investor agreement has already been approved by a number of the company’s major investors including Fidelity, TPG, Andreessen Horowitz, and Insight Venture Partners. We will be offering it to all our investors shortly. I want to thank our investors for reaffirming their confidence in us. We take our commitment to you seriously to build value for all shareholders. As a result of The Offer and Investor Settlement, all of our employees and investors will be aligned, committed, and focused on what’s next, which is the launch of Z2 in October.
english
<reponame>neogeek/get-unity<filename>lib/get-unity-urls.js const fs = require('fs'); const { join } = require('path'); const { promisify } = require('util'); const readFile = promisify(fs.readFile); const EDITOR_INSTALLERS_FILE_PATH = join( __dirname, '../data/editor-installers.json' ); const getUnityUrls = (filter = '', filePath = EDITOR_INSTALLERS_FILE_PATH) => readFile(filePath, 'utf8') .then(data => JSON.parse(data)) .then(editorInstallers => { const versions = Object.keys(editorInstallers); const [latest] = versions; const match = versions.find(version => version.match( new RegExp(`^${filter.replace('x', '[0-9]+')}`, 'u') ) ) || latest; return editorInstallers[match]; }); module.exports = getUnityUrls;
javascript
A case under the National Security Act has been filed against a Samajwadi Party leader, who was arrested in the matter involving an assault on an elderly Muslim man in Ghaziabad. Umaid Pehelwan Idrisi was arrested earlier this month by the Uttar Pradesh police, who said he had given religious colour to the attack on Abdul Samad with a live interview of the man on Facebook. On June 5, a group of men had abducted Abdul Samad from Loni and threatened him with a knife. Accusing him of being a Pakistani spy, one of them had hacked off his beard while allegedly chanting "Jai Shri Ram". The police, who made several arrests over the attack, ruled out any communal angle, and said the assailants were a mix of Hindus and Muslims and they targeted him over some fake amulets he had sold them. The man's family has denied that he sold amulets, insisting he was a carpenter. The matter became political controversy after opposition leaders, including Congress's Rahul Gandhi, cited it to target the Yogi Adityanath government. The First Information Report against Mr Idrisi alleged that he had "unnecessarily" made the video in which Abdul Samad describes the assault. It was made with an intention to "create social disharmony" and shared it through his Facebook account, the FIR said. Mr Idrisi was booked under IPC sections 153A (promoting enmity between groups on ground of religion, class etc), 295A (deliberate and malicious acts, intended to outrage religious feelings of any class by insulting its religion or religious belief), 504 (intentional insult with intent to provoke breach of the peace) and 505 (public mischief). The police action on the issue has also encompassed Twitter, where the video of the attack was circulated. A case was filed against twitter India chief Manish Maheshwari and the matter has moved to the Supreme Court after he got protection from arrest by an order of the Karnataka High Court. First Information Reports have also been filed against several journalists.
english
The Lok Sabha legislator said repeated calls for higher salaries discredited the ‘moral compass of the House’. Lok Sabha MP Varun Gandhi on Tuesday questioned the right of parliamentarians to raise their own salaries, saying the repeated demanded for higher pay discredited the “moral compass of the House”, NDTV reported. Gandhi also compared the increase to that in the United Kingdom, saying the salaries of parliamentarians in the UK had risen by only 13% in the past decade. Gandhi has demanded that “a statutory body, independent of any overarching powers from MPs” be set up to decide on the compensation parliamentarians receive.
english
20 In those days(A) Hezekiah became terminally ill.(B) The prophet Isaiah(C) son of Amoz came and said to him, “This is what the Lord says: ‘Put your affairs in order,[a] for you are about to die; you will not recover.’”(D) 2 Then Hezekiah turned his face to the wall(E) and prayed to the Lord, 3 “Please Lord, remember(F) how I have walked before You faithfully and wholeheartedly and have done what pleases You.”[b](G) And Hezekiah wept bitterly.(H) 4 Isaiah had not yet gone out of the inner courtyard when the word of the Lord came to him: 5 “Go back and tell Hezekiah, the leader(I) of My people, ‘This is what the Lord God of your ancestor David says: I have heard your prayer;(J) I have seen your tears. Look, I will heal you. On the third day from now you will go up to the Lord’s temple. 6 I will add 15 years to your life. I will deliver you and this city from the hand of the king of Assyria. I will defend this city for My sake and for the sake of My servant David.’”(K) 7 Then Isaiah said, “Bring a lump of pressed figs.” So they brought it and applied it to his infected skin, and he recovered.(L) 10 Then Hezekiah answered, “It’s easy for the shadow to lengthen 10 steps. No, let the shadow go back 10 steps.” 11 So Isaiah the prophet called out to the Lord, and He brought the shadow[c] back the 10 steps it had descended on Ahaz’s stairway.[d](O) 12 At that time(P) Merodach-baladan[e] son of Baladan, king of Babylon, sent letters and a gift to Hezekiah since he heard that he had been sick. 13 Hezekiah gave them a hearing and showed them his whole treasure house—the silver, the gold, the spices, and the precious oil—and his armory, and everything that was found in his treasuries. There was nothing in his palace and in all his realm that Hezekiah did not show them.(Q) 16 Then Isaiah said to Hezekiah, “Hear the word of the Lord: 17 ‘The time will certainly come when everything in your palace and all that your fathers have stored up until this day will be carried off to Babylon; nothing will be left,’(R) says the Lord. 18 ‘Some of your descendants who come from you will be taken away,(S) and they will become eunuchs[f] in the palace of the king of Babylon.’”(T) 19 Then Hezekiah said to Isaiah, “The word of the Lord that you have spoken is good,”(U) for he thought: Why not, if there will be peace and security during my lifetime? 20 The rest of the events of Hezekiah’s reign, along with all his might and how he made the pool(V) and the tunnel and brought water into the city,(W) are written in the Historical Record of Judah’s Kings.(X) 21 Hezekiah rested with his fathers, and his son Manasseh became king in his place.(Y) Hezekiah’s Illness(A) 2 Hezekiah turned his face to the wall and prayed to the Lord, 3 “Remember,(B) Lord, how I have walked(C) before you faithfully(D) and with wholehearted devotion and have done what is good in your eyes.” And Hezekiah wept bitterly. 7 Then Isaiah said, “Prepare a poultice of figs.” They did so and applied it to the boil,(H) and he recovered. 11 Then the prophet Isaiah called on the Lord, and the Lord made the shadow go back(K) the ten steps it had gone down on the stairway of Ahaz. Envoys From Babylon(L)(M) 12 At that time Marduk-Baladan son of Baladan king of Babylon sent Hezekiah letters and a gift, because he had heard of Hezekiah’s illness. 13 Hezekiah received the envoys and showed them all that was in his storehouses—the silver, the gold, the spices and the fine olive oil—his armory and everything found among his treasures. There was nothing in his palace or in all his kingdom that Hezekiah did not show them. 16 Then Isaiah said to Hezekiah, “Hear the word of the Lord: 17 The time will surely come when everything in your palace, and all that your predecessors have stored up until this day, will be carried off to Babylon.(N) Nothing will be left, says the Lord. 18 And some of your descendants,(O) your own flesh and blood who will be born to you, will be taken away, and they will become eunuchs in the palace of the king of Babylon.”(P) 20 As for the other events of Hezekiah’s reign, all his achievements and how he made the pool(Q) and the tunnel(R) by which he brought water into the city, are they not written in the book of the annals of the kings of Judah? 21 Hezekiah rested with his ancestors. And Manasseh his son succeeded him as king. Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers, Nashville Tennessee. All rights reserved. Holy Bible, New International Version®, NIV® Copyright ©1973, 1978, 1984, 2011 by Biblica, Inc.® Used by permission. All rights reserved worldwide. NIV Reverse Interlinear Bible: English to Hebrew and English to Greek. Copyright © 2019 by Zondervan.
english
<reponame>christian7877/botframework-solutions { "CommentPrompt": { "replies": [ { "text": "Bitte fügen Sie alle zusätzlichen Kommentare im Chat hinzu.", "speak": "Bitte fügen Sie alle zusätzlichen Kommentare im Chat hinzu." } ], "inputHint": "expectingInput" }, "CommentReceivedMessage": { "replies": [ { "text": "Ihr Kommentar wurde erhalten.", "speak": "Ihr Kommentar wurde erhalten." } ], "inputHint": "expectingInput" }, "DismissTitle": { "replies": [ { "text": "entlassen", "speak": "entlassen" } ], "inputHint": "acceptingInput" }, "FeedbackReceivedMessage": { "replies": [ { "text": "Vielen Dank für Ihr Feedback!", "speak": "Vielen Dank für Ihr Feedback!" } ], "inputHint": "acceptingInput" } }
json
A local court in Varanasi on Thursday granted bail to the activist parents of a 14-month-old baby and 56 others nearly two weeks after they were arrested for participating in protests against the amended Citizenship Act. By India Today Web Desk: A local court in Varanasi on Thursday granted bail to the activist parents of a 14-month-old baby and 56 others nearly two weeks after they were arrested for participating in protests against the amended Citizenship Act. The Additional Sessions Judge on Wednesday granted bail to Ekta (32) and Ravi Shekhar (36), an environment activist who runs an NGO named Climate Agenda. 56 others have also been granted bail. The activist couple was granted bail after the submission of two bail bonds of Rs 25,000 each. After her release, Ekta said that her only concern was her 14-month-old daughter who is dependent on her milk. She said, "My baby daughter Champak is dependent on my milk, I was worried about her. It was very tough for me. " On December 19, people gathered in Beniya Bagh area of Varanasi, Prime Minister Narendra Modi's Lok Sabha constituency, to protest against the contentious Citizenship Amendment Act (CAA), defying section 144 of the Criminal Procedure Code (CrPC) imposed by police. Congress general secretary Priyanka Gandhi Vadra on Wednesday hit out at the BJP government on the issue. Highlighting the plight of the 14-month-old toddler whose parents were arrested for participating in an anti-Citizenship Amendment Act (CAA) protest defying prohibitory orders, Priyanka said that it is the moral duty of the government to allow the child's mother to go home. Over 60 people, including Banaras Hindu University students and civil society members, were jailed over protests against the Citizenship Amendment Act, said a report in nws18. com. Several people died, many suffered bullet injuries, in violence during the protests against the CAA across Uttar Pradesh.
english
jQuery(document).ready(function($) { $('#update-nav-menu').bind('click', function(e) { if ( e.target && e.target.className && -1 != e.target.className.indexOf('item-edit')) { $("input[value='#pll_switcher'][type=text]").parent().parent().parent().each( function(){ var item = $(this).attr('id').substring(19); // remove default fields we don't need $(this).children('.description-thin,.field-link-target,.field-description,.field-url').remove(); h = $('<input>').attr({ type: 'hidden', id: 'edit-menu-item-title-'+item, name: 'menu-item-title['+item+']', value: pll_data.strings[4] }); $(this).append(h); h = $('<input>').attr({ type: 'hidden', id: 'edit-menu-item-url-'+item, name: 'menu-item-url['+item+']', value: '#pll_switcher' }); $(this).append(h); // a hidden field which exits only if our jQuery code has been executed h = $('<input>').attr({ type: 'hidden', id: 'edit-menu-item-pll-detect-'+item, name: 'menu-item-pll-detect['+item+']', value: 1 }); $(this).append(h); ids = Array('hide_if_no_translation', 'hide_current','force_home','show_flags','show_names'); // reverse order // add the fields for(var i = 0; i < ids.length; i++) { p = $('<p>').attr('class', 'description'); $(this).prepend(p); label = $('<label>').attr('for', 'menu-item-'+ids[i]+'-'+item).text(' '+pll_data.strings[i]); p.append(label); cb = $('<input>').attr({ type: 'checkbox', id: 'edit-menu-item-'+ids[i]+'-'+item, name: 'menu-item-'+ids[i]+'['+item+']', value: 1 }); if ((typeof(pll_data.val[item]) != 'undefined' && pll_data.val[item][ids[i]] == 1) || (typeof(pll_data.val[item]) == 'undefined' && ids[i] == 'show_names')) // show_names as default value cb.prop('checked', true); label.prepend(cb); } }); // disallow unchecking both show names and show flags $('.menu-item-data-object-id').each(function() { var id = $(this).val(); $('#edit-menu-item-show_flags-'+id).change(function() { if ('checked' != $(this).attr('checked')) $('#edit-menu-item-show_names-'+id).prop('checked', true); }); }); } }); });
javascript
We have called on Texas to legalize cannabis on multiple occasions. The latest polls show Texans favor legalization to the tune of over 3 to 1. Yet, nothing has changed. Nobody in office can claim to support individual liberty, while saying that what the majority wants.. doesn’t matter. We’re calling for reforms. The people are calling for reforms. Our government swore an oath to uphold the Constitution of Texas, a Constitution that gives the power to the people of the State. Why is it, then, that over 75% of the people.. don’t matter? Why is it that our government claims to value liberty, but only on issues they support? Is this how liberty works? No, it’s not. Is this how the power of the people works? The answer is simple. We were promised freedom, we were promised liberty. So let’s take a look at the actual definition of liberty. Nobody can claim that Texas believes in liberty, then refuse to hear the will of the people by placing your heads in the sand. We call on the government of our state to give the people the liberty and freedom we were promised. We call on Texas to stop spending $900 million, annually, on cannabis prohibition. We call for the government of our state to hold a referendum on legal cannabis; let the people choose. We call for this referendum to be held in public forum, as everyone has the right to vote on this issue. We call for the government of Texas to stop trying to tell the people what they want; that’s not how this should work. We call on those that oppose this petition and refuse to honor the will of Texans, to resign.. as is our right under Article 1: Section 2 of the Texas Constitution. We are no longer the silent majority. It is time for change. We are petitioning the Texas government to amend the Constitution under Article 1 to include the right to use cannabis for either reason(medically or recreationally). We have come up with some guidelines that must be included in the law, by will of the people, should this petition receive the appropriate amount of signatures. 1. Allow the sale of cannabis in licensed businesses only. Legal cannabis businesses shall be allowed to open not later than 1 year after acceptance of this petition, to allow state and local governments time to put policies in place. 2. Require security to be provided at all legal cannabis dispensaries. 3. Set the age requirement for recreational cannabis purchases at 21+. Medical cannabis requirements should be discussed with a doctor, however, you must still be 21+ to enter a dispensary and purchase cannabis. 4. Allow state residents to purchase up to the maximum of one ounce of dried flower, the equivalent in concentrates/edibles, or a mix of both per day. 5. Allow out-of-state visitors to purchase cannabis with restrictions on the purchase amount. Limit purchases to 7 grams, per day. 6. Ban in-public consumption of cannabis products similar to other states and how we treat alcohol in our own state. Set this with a maximum fine of $500 for the first offense, no more than $1,500 for a second offense, and no more than $2,500 for further offenses. In-public should consist of bars, clubs, businesses, streets, near schools. Consumption of cannabis products on your own property shall not be considered “in public”, however common courtesy should apply. 7. Allow landlords to set their own rules regarding cannabis consumption on their own property with regards to consumption and with remedies for them should a tenant break those rules. This should be on a “beyond reasonable doubt” basis, but landlords shall have a legal avenue to evict a tenant for breaking the rules regarding cannabis consumption. Landlords MUST have, in their rental agreements, whether cannabis is allowed on their property or not similar to tobacco use. 8. The smell of cannabis alone shall no longer be considered probable cause to search a vehicle of state residents. This does not mean that officers can not have probable cause if they believe the driver of the vehicle is under the influence. 9. Driving under the influence of cannabis shall be treated in a manner consistent with DUI/DWI laws already in place. 10. When driving with cannabis(as in driving home from a dispensary), all cannabis products must be out of reach of the driver. 11. Employers shall be prohibited from firing employees for “off the job” cannabis use, unless employer and employee agree to this prior to hiring. If the employer prohibits “off the job” cannabis use, they shall also prohibit “off the job” alcohol consumption. Employers shall stop screening for cannabis use unless the above is put in place. 12. Texas residents shall be allowed to grow not more than two plants for personal use at any given time at their own homes. Tenants of rentals shall be subject to the limitations applied in section 7 above. 13. State tax percentage shall be limited to the current tax percentage of alcohol. At the time that this petition was put forth, the state tax for alcohol is 6.25%. County taxes on cannabis shall not exceed those in place for alcohol. 14. Counties may “opt-out” of having cannabis dispensaries only by a 65% majority vote from the county residents. However, in the case that counties “opt-out” they do not receive any tax monies in any form from the sale of cannabis. While counties may “opt-out” from allowing dispensaries, no state residents in counties that opt-out shall be prohibited from using cannabis so long as the age requirement is met. 15. Tax monies collected from both medical and recreational cannabis sales shall be used for purposes as seen fit by the state and local governments. However, a portion of the taxes shall go to youth use prevention programs similar to alcohol youth use prevention programs, as we know that cannabis use as well as alcohol used by those under the age of 21 can potentially have harmful effects based on numerous studies conducted. 16. Any person who purchases cannabis for someone under the age of 21 shall be subject to the same laws as those who purchase alcohol for those under the age of 21. This shall not apply to parents or caregivers who otherwise follow the law for medical cannabis. If a doctor has decided that the benefits of medical cannabis outweigh the risks for those under 21, a parent or caregiver may purchase and administer medical cannabis and medical cannabis only to their child. 17. Personal sale or “black market” sale shall be prohibited completely. The punishment for this shall be discussed by state and local governments. 18. Any changes to the laws regarding cannabis, once passed, must be approved by the same 65% majority as stated above.
english
Mysuru: Malabar Gold & Diamonds, one of the largest gold and diamond retail chains in the world, is offering a wide range of traditional and trendy collection of jewellery at discount to its customers on Akshaya Tritiya. The jeweller is offering up to 50 percent discount on making charge of gold jewellery and up to 20 percent off on diamond value. The gold and diamond jewellery also have early bird discounts to customers by allowing them to book their merchandise with 10 percent payment onwards in advance and get jewellery at the booked rate or prevailing rate whichever is lower. The gold retailer will forgo the making charges for gold coins on Akshaya Tritiya Day. This offer will end on May 7. Tholasi Jewels and Forevermark have jointly organised an exclusive Diamond Exhibition at No. 2767 on Temple Road in Vani Vilas Mohalla here from May 4 to 7 between 11 am to 8 pm.
english
/** * Created by Vicky on 6/16/2017. */ function isInside(row, col, matrix) { return row >= 0 && row < matrix.length && col >= 0 && col < matrix[row].length } function htmlEscape(text) { let map = { '"': '&quot;', '&': '&amp;', "'": '&#39;', '<': '&lt;', '>': '&gt;' }; return (''+text).replace(/[\"&'<>]/g, ch => map[ch]); }
javascript
<reponame>boxhock/android-about-page package mehdi.sakout.aboutpage.sample; import android.content.res.Configuration; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatDelegate; import android.view.Gravity; import android.view.View; import android.widget.Toast; import java.util.Calendar; import mehdi.sakout.aboutpage.AboutPage; import mehdi.sakout.aboutpage.Element; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); simulateDayNight(/* DAY */ 0); Element adsElement = new Element(); adsElement.setTitle("Advertise with us"); View aboutPage = new AboutPage(this) .isRTL(false) .setImage(R.drawable.dummy_image) .addItem(new Element().setTitle("Version 6.2")) .addItem(adsElement) .addGroup("Connect with us") .addEmail("<EMAIL>") .addWebsite("http://medyo.github.io/") .addFacebook("the.medy") .addTwitter("medyo80") .addYoutube("UCdPQtdWIsg7_pi4mrRu46vA") .addPlayStore("com.ideashower.readitlater.pro") .addInstagram("medyo80") .addGitHub("medyo") .addItem(getCopyRightsElement()) .create(); setContentView(aboutPage); } Element getCopyRightsElement() { Element copyRightsElement = new Element(); final String copyrights = String.format(getString(R.string.copy_right), Calendar.getInstance().get(Calendar.YEAR)); copyRightsElement.setTitle(copyrights); copyRightsElement.setIconDrawable(R.drawable.about_icon_copy_right); copyRightsElement.setIconTint(mehdi.sakout.aboutpage.R.color.about_item_icon_color); copyRightsElement.setIconNightTint(android.R.color.white); copyRightsElement.setGravity(Gravity.CENTER); copyRightsElement.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Toast.makeText(MainActivity.this, copyrights, Toast.LENGTH_SHORT).show(); } }); return copyRightsElement; } void simulateDayNight(int currentSetting) { final int DAY = 0; final int NIGHT = 1; final int FOLLOW_SYSTEM = 3; int currentNightMode = getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK; if (currentSetting == DAY && currentNightMode != Configuration.UI_MODE_NIGHT_NO) { AppCompatDelegate.setDefaultNightMode( AppCompatDelegate.MODE_NIGHT_NO); } else if (currentSetting == NIGHT && currentNightMode != Configuration.UI_MODE_NIGHT_YES) { AppCompatDelegate.setDefaultNightMode( AppCompatDelegate.MODE_NIGHT_YES); } else if (currentSetting == FOLLOW_SYSTEM) { AppCompatDelegate.setDefaultNightMode( AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM); } } }
java
The chair pose, also known as utkatasana, works great for strengthening the knees. This pose can help strengthen the muscles surrounding the knees and helps improve the stability in the knee joint. Try the triangle pose right away! It works on the thigh muscles and helps prevent knee pain. It puts into practice the alignment keys that can protect your knees and thus reduces knee pain. This move helps align your knees to strengthen the glutes, back and hamstrings. Practicing the asana helps decrease pain in the pelvic region, abdomen, hips, knees and back.
english
#!/use/bin/env python3 #-*- coding:utf-8 -*- # child.py # A sample child process for receiving messages over a channel import sys,os sys.path.append(os.path.dirname(os.path.abspath(__file__))) import channel ch = channel.Channel(sys.stdout, sys.stdin) while True: try: item = ch.recv() ch.send(("child",item)) except EOFError as e: break
python
<gh_stars>10-100 /*- * #%L * OfficeFrame * %% * Copyright (C) 2005 - 2020 <NAME> * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ package net.officefloor.frame.impl.execute.managedobject.coordinate; import java.util.ArrayList; import java.util.List; import net.officefloor.frame.api.build.DependencyMappingBuilder; import net.officefloor.frame.api.build.Indexed; import net.officefloor.frame.api.build.ManagedObjectBuilder; import net.officefloor.frame.api.build.None; import net.officefloor.frame.api.function.ManagedFunction; import net.officefloor.frame.api.managedobject.AsynchronousContext; import net.officefloor.frame.api.managedobject.AsynchronousManagedObject; import net.officefloor.frame.api.managedobject.CoordinatingManagedObject; import net.officefloor.frame.api.managedobject.ManagedObject; import net.officefloor.frame.api.managedobject.ObjectRegistry; import net.officefloor.frame.api.managedobject.source.ManagedObjectSourceContext; import net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource; import net.officefloor.frame.test.AbstractOfficeConstructTestCase; /** * Ensure can have multiple {@link CoordinatingManagedObject} dependencies that * ensure coordination of dependency before the * {@link CoordinatingManagedObject}. * * @author <NAME> */ public class ChainCoordinateManagedObjectTest extends AbstractOfficeConstructTestCase { /** * {@link AsynchronousContext} instances to trigger. */ private static final List<AsynchronousContext> listeners = new ArrayList<AsynchronousContext>(); /** * Ensure that {@link CoordinatingManagedObject} can depend on another * {@link CoordinatingManagedObject}. */ public void testChainingTogetherCoordinatingManagedObjects() throws Exception { // Ensure no listeners listeners.clear(); // Obtain the office name final String officeName = this.getOfficeName(); // Calculate expected coordination String identifier = "0"; // Construct the seed value ManagedObjectBuilder<None> moBuilder = this.constructManagedObject(identifier, ChainCoordinatingManagedObjectSource.class, officeName); moBuilder.addProperty(ChainCoordinatingManagedObjectSource.PROPERTY_IDENTIFIER, identifier); moBuilder.addProperty(ChainCoordinatingManagedObjectSource.PROPERTY_OBTAIN_DEPENDENCY, "false"); moBuilder.setTimeout(10); this.getOfficeBuilder().addProcessManagedObject(identifier, identifier); // Create chaining of coordination (start identifier after seed) for (int i = 1; i < 100; i++) { // Obtain the identifier for this coordination identifier = String.valueOf(i); // Obtain the identifier for previous in chain final String PREVIOUS = String.valueOf(i - 1); // Provide the chained coordinating managed object moBuilder = this.constructManagedObject(identifier, ChainCoordinatingManagedObjectSource.class, officeName); moBuilder.addProperty(ChainCoordinatingManagedObjectSource.PROPERTY_IDENTIFIER, identifier); moBuilder.setTimeout(10); DependencyMappingBuilder dependencies = this.getOfficeBuilder().addProcessManagedObject(identifier, identifier); dependencies.mapDependency(0, PREVIOUS); } // Construct the work ChainCoordinatingWork coordinate = new ChainCoordinatingWork(); this.constructFunction(coordinate, "service").buildObject(identifier); // Invoke the function boolean[] isComplete = new boolean[] { false }; this.triggerFunction("service", null, (escalation) -> isComplete[0] = true); // Allow processing of work while (!isComplete[0]) { // Ensure have completion listener // (otherwise should be complete) assertTrue("Should have completion listener", listeners.size() == 1); AsynchronousContext listener = listeners.remove(0); listener.complete(null); } // Verify the resulting coordination assertNotNull("Should have dependency", coordinate.dependency); ChainCoordinatingManagedObject dependency = coordinate.dependency; for (int i = 99; i >= 0; i--) { assertEquals("Incorrect dependency", String.valueOf(i), dependency.identifier); dependency = dependency.dependency; } } /** * Functionality for obtaining the resulting chained coordination. */ public static class ChainCoordinatingWork { /** * Result of chained coordination. */ public volatile ChainCoordinatingManagedObject dependency = null; /** * {@link ManagedFunction} to receive results of chained coordination. * * @param dependency * Result of chained coordination. */ public void service(ChainCoordinatingManagedObject dependency) { this.dependency = dependency; } } /** * Chaining together {@link CoordinatingManagedObject}. */ public static class ChainCoordinatingManagedObjectSource extends AbstractManagedObjectSource<Indexed, None> { /** * Name of property to specify the identifier. */ public static final String PROPERTY_IDENTIFIER = "idenifier"; /** * Name of property to specify whether to obtain dependency. */ public static final String PROPERTY_OBTAIN_DEPENDENCY = "obtain.dependency"; /** * Identifier of the dependency. */ private String identifier; /** * Indicates whether to obtain a dependency; */ private boolean isObtainDependency; /* * ====================== ManagedObjectSource ======================= */ @Override protected void loadSpecification(SpecificationContext context) { context.addProperty(PROPERTY_IDENTIFIER); } @Override protected void loadMetaData(MetaDataContext<Indexed, None> context) throws Exception { ManagedObjectSourceContext<None> mosContext = context.getManagedObjectSourceContext(); // Obtain the identifier this.identifier = mosContext.getProperty(PROPERTY_IDENTIFIER); // Obtain whether to obtain dependency this.isObtainDependency = Boolean .parseBoolean(mosContext.getProperty(PROPERTY_OBTAIN_DEPENDENCY, Boolean.TRUE.toString())); // Specify the meta-data context.setObjectClass(ChainCoordinatingManagedObject.class); context.setManagedObjectClass(ChainCoordinatingManagedObject.class); if (this.isObtainDependency) { context.addDependency(ChainCoordinatingManagedObject.class).setLabel("Dependency"); } } @Override protected ManagedObject getManagedObject() throws Throwable { return new ChainCoordinatingManagedObject(this.identifier, this.isObtainDependency); } } /** * Chaining together {@link CoordinatingManagedObject}. */ public static class ChainCoordinatingManagedObject implements CoordinatingManagedObject<Indexed>, AsynchronousManagedObject { /** * Identifier of the dependency. */ public final String identifier; /** * Flags whether to obtain a dependency. */ private final boolean isObtainDependency; /** * {@link AsynchronousContext}. */ private AsynchronousContext listener; /** * Dependency. */ public ChainCoordinatingManagedObject dependency; /** * Initiate. * * @param identifier * Identifier of the dependency. * @param isObtainDependency * Flags whether to obtain a dependency. */ public ChainCoordinatingManagedObject(String identifier, boolean isObtainDependency) { this.identifier = identifier; this.isObtainDependency = isObtainDependency; } /* * ======================== ManagedObject ============================ */ @Override public void setAsynchronousContext(AsynchronousContext listener) { this.listener = listener; } @Override public void loadObjects(ObjectRegistry<Indexed> registry) throws Throwable { // Obtain the dependency if (this.isObtainDependency) { this.dependency = (ChainCoordinatingManagedObject) registry.getObject(0); } // Trigger asynchronous operation (so continues coordinating) this.listener.start(null); // Register the lister for triggering completion listeners.add(this.listener); } @Override public Object getObject() throws Throwable { return this; } } }
java
{"Sections":[{"Errors":[],"SectionType":"newEntitySection","Id":"newEntitySection_x1","Body":"","Name":"x1","Type":"ml","ListBody":[],"Range":{"Start":{"Line":2,"Character":0},"End":{"Line":3,"Character":4}}},{"Errors":[],"SectionType":"newEntitySection","Id":"newEntitySection_x1","Body":"","Name":"x1","Features":"city3","ListBody":[],"Range":{"Start":{"Line":3,"Character":4},"End":{"Line":3,"Character":27}}}],"Content":"\n @ ml x1\n @ x1 usesFeature city3\n","Errors":[]}
json
NEW DELHI: Three newly-elected members from the North-East on Monday took oath as members of the Rajya Sabha. Chairman of the Upper House M Venkaiah Naidu presided over the process of oath and affirmation of the new members. Those who took oath are Pabitra Margherita and Rwngwra Narzary from Assam and JS Phangnon Konyak from Nagaland. Jebi Mather Hisham, Sandosh Kumar and A Rahim from Kerala also took oath on Monday. BJP's Konyak, who was elected unopposed to the lone Rajya Sabha seat from Nagaland, became the first woman from the State to get a berth in the Upper House of Parliament. Konyak is also president of Nagaland's BJP women wing. In the recent election of 13 Rajya Sabha seats, the BJP has won four Rajya Sabha seats from three Northeastern States - Assam, Tripura and Nagaland. The saffron party's alliance partner United People's Party Liberal (UPPL) won one Rajya Sabha seat from Assam. (IANS) Also Watch: A Man from Tamil Nadu Bought his Dream Bike with Rs. 1 Coins he saved over 3 Years.
english
<gh_stars>0 {"remainingRequest":"/home/daragh/Documents/Placement/vue_app/node_modules/babel-loader/lib/index.js!/home/daragh/Documents/Placement/vue_app/node_modules/eslint-loader/index.js??ref--13-0!/home/daragh/Documents/Placement/vue_app/src/main.js","dependencies":[{"path":"/home/daragh/Documents/Placement/vue_app/src/main.js","mtime":1630175196023},{"path":"/home/daragh/Documents/Placement/vue_app/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/daragh/Documents/Placement/vue_app/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/home/daragh/Documents/Placement/vue_app/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:<KEY>},{"version":3,"sources":["/home/daragh/Documents/Placement/vue_app/src/main.js"],"names":["createApp","App","mount"],"mappings":";;;;AAAA,SAASA,SAAT,QAA0B,KAA1B;AACA,OAAOC,GAAP,MAAgB,WAAhB;AACAD,SAAS,CAACC,GAAD,CAAT,CAAeC,KAAf,CAAqB,MAArB","sourcesContent":["import { createApp } from 'vue'\nimport App from './App.vue'\ncreateApp(App).mount('#app')"]}]}
json
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { namespace Physics { /// Range used when filtering what triangles of a mesh /// should be checked for either collision or for a cast. struct MeshFilterRange { // When performing collision against a mesh, we may need to have multiple // manifolds (one for each triangle). So we also need to differentiate // between the triangles with an id. Therefore, narrow phase needs the // object to test collision against as well as it's id. struct TriangleObject { uint Index; Triangle Shape; }; typedef Array<uint> IndexArray; MeshFilterRange(const Vec3Array* vertices, const IndexArray* indices, const Aabb& aabb); void SkipDead(); // Range Interface void PopFront(); TriangleObject& Front(); bool Empty(); // since we have to return a reference in Front(), we need to store // the TriangleObject internally and modify that. TriangleObject obj; const Vec3Array* mVertices; const IndexArray* mIndices; /// What triangle is currently at the front of the range. uint mIndex; Aabb mAabb; }; /// Range used when filtering against a pre-filtered range. This happens when /// getting a set of results back from a mid-phase (aabb tree). This should /// eventually be reconstructed to store the range from the mid-phase instead /// the results since this range will most likely be copied. struct MeshPreFilteredRange { // When performing collision against a mesh, we may need to have multiple // manifolds (one for each triangle). So we also need to differentiate // between the triangles with an id. Therefore, narrow phase needs the // object to test collision against as well as it's id. struct TriangleObject { uint Index; Triangle Shape; }; typedef Array<uint> IndexArray; typedef Array<Triangle> TriangleArray; MeshPreFilteredRange(); // Used to tell the range that we have filled out it's triangles and indices. void Initialize(); // Range Interface void PopFront(); TriangleObject& Front(); bool Empty(); // since we have to return a reference in Front(), we need to store // the TriangleObject internally and modify that. TriangleObject obj; TriangleArray mTriangles; IndexArray mIndices; /// What triangle is currently at the front of the range. uint mIndex; }; } // namespace Physics } // namespace Zero
cpp
World champion Viktor Axelsen of Denmark beat Malaysia’s Lee Chong Wei on Sunday to clinch his first Japan Open title. Axelsen, who defeated two-time Olympic champion Lin Dan of China to bag the world title in Glasgow last month, edged out Lee 21-14, 19-21, 21-14 in the men's singles final. Lee, who has won the Japan Open six times including last year, narrowly took the second game but the Dane put in a brilliant performance to triumph in the third. In the women’s singles Carolina Marin of Spain, last year's Olympic gold medallist, overwhelmed He Bingjiao of China 23-21, 21-12. Japan's Rio Olympics gold medallists Ayaka Takahashi and Misaki Matsutomo beat South Korea's Kim Ha-Na and Kong Hee-Yong 21-18, 21-16 in the women's doubles final, to the delight of local fans at the Tokyo Metropolitan Gymnasium. But Japanese male duo Takuto Inoue and Yuki Kaneko suffered a 21-12, 21-15 defeat at the hands of Indonesians Marcus Fernaldi Gideon and Kevin Sanjaya Sukamuljo in the men's doubles final. In the mixed doubles, Chinese pair Wang Yilyu and Huang Dongping overpowered Takuro Hoki and Sayaka Hirota of Japan 21-13, 21-8.
english
<reponame>scopely/deck import * as React from 'react'; import { BindAll } from 'lodash-decorators'; import { CollapsibleSectionStateCache } from 'core/cache'; import { HelpField } from 'core/help/HelpField'; export interface ICollapsibleSectionProps { bodyClassName?: string; cacheKey?: string; defaultExpanded?: boolean; heading: (() => JSX.Element) | string; helpKey?: string; subsection?: boolean; } export interface ICollapsibleSectionState { cacheKey: string; expanded: boolean; headingIsString: boolean; } @BindAll() export class CollapsibleSection extends React.Component<ICollapsibleSectionProps, ICollapsibleSectionState> { constructor(props: ICollapsibleSectionProps) { super(props); const headingIsString = typeof props.heading === 'string' || props.heading instanceof String; const cacheKey = props.cacheKey || (headingIsString ? (props.heading as string) : undefined); this.state = { cacheKey, headingIsString, expanded: CollapsibleSectionStateCache.isSet(cacheKey) ? CollapsibleSectionStateCache.isExpanded(cacheKey) : props.defaultExpanded, }; } public toggle(): void { const { cacheKey, expanded } = this.state; this.setState({ expanded: !expanded }); CollapsibleSectionStateCache.setExpanded(cacheKey, !expanded); } public render() { const { bodyClassName, children, heading, helpKey, subsection } = this.props; const { expanded, headingIsString } = this.state; const Heading = headingIsString ? heading : (heading as () => JSX.Element)(); const prefix = subsection ? 'sub' : ''; const icon = expanded ? 'down' : 'right'; return ( <div className={`collapsible-${prefix}section`}> <a className={`clickable section-${prefix}heading`} onClick={this.toggle}> <h4 className={`collapsible-${prefix}heading`}> <span className={`glyphicon glyphicon-chevron-${icon}`} /> {Heading} {helpKey && <HelpField id={helpKey} placement="right" />} </h4> </a> {expanded && <div className={`content-body ${bodyClassName ? bodyClassName : ''}`}>{children}</div>} </div> ); } }
typescript
<gh_stars>0 {"limit":100,"name":"Wizard's mind bomb (m)","value":2,"highalch":1,"id":5741,"lowalch":1,"name_pt":"Wmb madura","price":2594,"last":2594}
json
<filename>spring-oxygen-core/src/main/java/com/ispong/oxygen/common/validation/PhoneCodeRes.java<gh_stars>1-10 package com.ispong.oxygen.common.validation; import lombok.Data; /** * 手机验证码返回对象 * * @author ispong * @since 0.0.1 */ @Data public class PhoneCodeRes { private String phone; private String codeType; private String code; private String msgId; }
java
<gh_stars>1-10 { "id": 11711, "citation_title": "Dams", "citation_author": [ "<NAME>", "<NAME>" ], "citation_publication_date": "2005-10-24", "issue_date": "2005-10-24", "revision_date": "None", "topics": [ "Development and Growth", "Development", "Public Economics", "Public Goods", "Taxation" ], "program": [ "Public Economics" ], "projects": null, "working_groups": null, "abstract": "\n\nThe construction of large dams is one of the most costly and controversial forms of public infrastructure investment in developing countries, but little is known about their impact. This paper studies the productivity and distributional effects of large dams in India. To account for endogenous placement of dams we use GIS data and the fact that river gradient affects a district's suitability for dams to provide instrumental variable estimates of their impact. We find that, in a district where a dam is built, agricultural production does not increase but poverty does. In contrast, districts located downstream from the dam benefit from increased irrigation and see agricultural production increase and poverty fall. Overall, our estimates suggest that large dam construction in India is a marginally cost-effective investment with significant distributional implications, and has, in aggregate, increased poverty.\n\n", "acknowledgement": "\n" }
json
#include <iostream> using namespace std; void a(int p) { cout << x << endl; f(p - 1); } int main() { f(1); return 0; }
cpp
Lok Sabha Speaker Sumitra Mahajan has suspended 25 members of the Congress for five days for causing "grave disorder" in Parliament and for "persistently, wilfully obstructing" the House". The Speaker 'named' the 25 Congress members who were carrying placards and shouting slogans in the Well while pressing for resignation of external affairs minister Sushma Swaraj and Rajasthan chief minister Vasundhara Raje over Lalit Modi row and Madhya Pradesh chief minister Shivraj Singh Chouhan over Vyapam scam. She ruled that the 'named' members will not attend five sittings of the House. Mahajan adjourned the House immediately after.
english
Public Provident Fund (PPF) interest rate revision (June 2023): The quarterly revision of interest rates of small savings schemes will take place by the end of this month. The Government has not changed the PPF interest rate since April 2020, when it was cut to 7.1% from 7.9%. The PPF interest has thus remained at 7.1% since 01.04.2020. As the interest rates for various small savings schemes were increased in the last revision announced in March 2023, expectations are high that Government will finally hike the PPF interest rate after almost 3 years. According to Government officials, one of the reasons why the PPF interest rate has not been hiked much is that the post-tax returns from this scheme are higher. It almost works out to be 10.32% in the case of taxpayers in the highest (31.2%) tax bracket. Given this argument, the Government may once again keep the PPF interest rate unchanged. However, depositors are hoping that the rates will be revised upwards this month. PPF is one of the few schemes that provide “E-E-E” tax benefits. Investments up to Rs 1.5 lakh in a PPF account qualify for deduction under Section 80C of the Income Tax Act. Moreover, the interest earned and the amount withdrawn on maturity are also tax-free. In past, the PPF scheme has given up to 9.5% interest to depositors. The scheme comes with a lock-in period of 15 years and is considered a good option for savings aimed at retirement, especially for those who do not contribute to schemes like EPF or NPS. In the fourth quarter of FY 2022-23, the Government increased the interest rates for other small savings schemes like Senior Citizens Savings Scheme (SCSS), Sukanya Samriddhi Yojana, Kisan Vikas Patra, Post Office Fixed Deposits, Post Office Monthly Income Scheme and Post Office Recurring Deposit.
english
Republican presidential candidate Donald Trump’s campaign has been about “taking our country back,” and he has been a supporter of U. K’s exit from the European Union. Mr. Trump exulted over the outcome of the Brexit referendum, not only because it gives a fillip to the anti-trade, anti-immigration – anti-globalisation in general - rhetoric that is the staple of his politics, but also due to the business opportunity that a falling British currency may hold out for him personally. “I hope America is watching, it will soon be time to believe in America again,” he said in a Facebook post. In Scotland for the opening of a Trump golf resort, Mr. Trump said the people of the U. K have “taken their country back. ” “I think it’s a great thing that happened…People are angry, all over the world. People, they’re angry. ” “When the pound goes down, more people are coming to Turnberry (his resort), frankly,” Mr. Trump said. Barack Obama, who has been an ardent promoter of global trade, urged the people of U. K to vote remain in EU during his last visit as president to the country in April. Mr. Trump had objected to the President’s position and said he would support U. K’s exit.
english
The formation of a confluence zone has resulted in light to moderate rains over Telangana, South Odisha as well as adjoining Chhattisgarh during the last 24 hours. Moreover,the last two to three days have been continuously witnessing light rains along with dense fog over the Raipur city and its adjoining areas. In the last 24 hours, Bhawanipatna and Kalahandi districts of Odisha have witnessed dense fog over its some parts. At present, the deep depression is present over Southwest Bay of Bengal around 700 kms east- southeast of Chennai.This system will probably intensify into a cyclonic storm and will move away towards Coastal Andhra Pradesh during the next 24 hours. In fact, this will be for the very first time during this winters, that any significant system will move close to Odisha region. Further,a trough is also expected to form from Northeastern states across system along the coastal line. All these significant systems will gradually result in intensified clouding over Odisha and Chhattisgarh by today evening. Consequently, rains and thundershowers will hit extreme South Odisha along with strong gusty winds to blow over the region. Moreover, moderate rains along with isolated heavy showers may occur over many places of Odisha. The speed of winds will vary around 40 to 60 kms across the South coastal station of Odisha. In the coming days, these activities will gradually move towards the interior parts of Odisha and Chhattisgarh. As a result ,the southern parts of Chhattisgarh will experience light to moderate rains and thundershowers along with squally winds to blow over the region. Gradually, these activities will also cover the northern parts of Chhattisgarh by December 16. Talking about the temperatures, maximums would drop significantly over most parts of Odisha and Chhattisgarh with a marginal rise over some parts during night hours. The foggy condition is also expected to improve over these areas.
english
New Delhi, May 21: Finance Minister P Chidambaram on Saturday ruled out reintroducing long-term capital gains tax on equity transactions or unilaterally reviewing the double tax avoidance treaty with Mauritius. "There is no intention to reintroduce long-term capital gains tax on securities traded on the stock market,” said Chidambaram. “The issue of Double Taxation Avoidance Agreement has been debated threadbare. Due to host of economic, political and diplomatic reasons, the treaty cannot be reviewed unilaterally," he said at a press conference here. The Bombay stock market fell nearly 1,300 points this week, mainly on selling by Foreign Institutional Investors (FII) who feared that the Central Board of Direct Taxes may levy higher tax from them. The FII withdrawal had prompted the Finance Minister to clarify that no FIIs would be taxed and the fears were based on "uninformed reporting. " Following FIIs' pull out, the CPI-M had demanded that the government reintroduce long-term capital gains and dividend tax, apart from reviewing the DTAA with Mauritius, which was being increasingly used by FIIs for avoiding tax. He also dismissed apprehensions about the economy, saying economic fundamentals were very strong and it did not undergo any change recently. "The foreign exchange reserves were at 163 billion dollars, inflation reined in below four per cent for several weeks, manufacturing sector is growing at over nine per cent and monsoon has set in, which is expected to be good," he said. The Finance Minister said the stock markets go beyond Sensex stocks. "In the last four trading sessions, 420 stocks have risen adding more than Rs 5,200 crore to their market capitalisation". He said FIIs influence 10 per cent of volumes in derivatives market and 10 per cent of volumes in cash market. "FIIs play a significant role in India like in any other market. I believe mutual funds also play an equally important role," Chidambaram said. The Minister also said, "Indian growth story continues to be a growth story. It goes beyond stock markets and includes agriculture, services and manufacturing".
english
Hardline Hurriyat Conference chairman Syed Ali Shah Geelani on Tuesday called for a shutdown on December 8 to protest against the visit of Prime Minister Narendra Modi, who will hold his first election campaign rally in the Valley. “Geelani Tuesday called for complete shutdown on December 8 against the proposed visit of Prime Minister Narendra Modi to Jammu and Kashmir,” a spokesman of the Hurriyat said. The Prime Minister is scheduled to address two election rallies in Srinagar and Anantnag towns of the Valley as part of the campaign for party candidates. Polls in these areas will be held on December 14. Geelani has also called for a shutdown on December 9 to protest against the holding of elections in Budgam, Pulwama and Baramulla district which go to polls in the third phase. Meanwhile, Geelani condemned the killing of sarpanch Mohammad Sultan Bhat on Sunday by unidentified gunmen and attack on another sarpanch on Monday in Shopian district. “It is an un-Islamic, inhuman act and unjustified to kill any unarmed person without assigning any proper reason … this is an intolerable act,” he said.
english
- #Dawood IbrahimHas Haji Salim Replaced Dawood Ibrahim As The New Drug Lord In Pakistan? Mumbai , July 18: Mumbai Police has arrested underworld don Dawood Ibrahim's nephew Rizwan Kaskar in connection with an extortion case, an official said on Thursday. Rizwan Kaskar, the son of Ibrahim's brother Iqbal Kaskar, was arrested on Wednesday night from the international airport when he was trying to escape the country, he said. Two days ago, Mumbai Police's anti-extortion cell arrested Ahmed Raza Wadharia, a close aide of Ibrahim's gang member Fahim Machmach, in an extortion case, a senior official from the crime branch said. Dawood's Pak aide in UK opposes US extradition citing depression, NY's 'adverse prison conditions' "During his interrogation, Rizwan Kaskar's name cropped up. Based on the information, a trap was laid and he was detained at the Mumbai international airport on Wednesday night when he was trying to escape from the country," he said. He was placed under arrest after detailed interrogation, the official added.
english
import React, {FC} from 'react'; import {NavLink} from 'react-router-dom'; import {Button} from 'components'; import HomeComparisonCards from 'containers/Home/HomeComparisonCards'; import './HomeInstantTransactions.scss'; const HomeInstantTransactions: FC = () => { return ( <div className="HomeInstantTransactions"> <div className="HomeInstantTransactions__content-container"> <div className="HomeInstantTransactions__mini-text">INSTANT TRANSACTIONS</div> <h1 className="HomeInstantTransactions__title">Say goodbye to 10 minute block times</h1> <div className="HomeInstantTransactions__text-snippets"> <div className="HomeInstantTransactions__text-snippets-left-block"> <p> We rebuilt the Blockchain from the ground up. We kissed those outdated Proof of Work and Proof of Stake consensus algorithms goodbye and replaced them with an innovative trust based architecture. </p> <NavLink className="HomeInstantTransactions__content-container--display-large" to="/guide/introduction"> <Button>View Docs</Button> </NavLink> </div> <div className="HomeInstantTransactions__text-snippets-right-block"> <p> Join our open source development community as we reinvent digital currency. Help us build the worlds first peer-to-peer (yet blazing fast) distributed payment network using Python and JavaScript. </p> <p> <b>Now in alpha!</b> </p> <NavLink className="HomeInstantTransactions__content-container--display-small" to="/guide/introduction"> <Button>View Docs</Button> </NavLink> </div> </div> <HomeComparisonCards /> </div> <svg className="HomeInstantTransactions__background-graphic" viewBox="0 0 1366 659" fill="none"> <path d="M1366 0L0 147L0 659H1366.5L1366 0Z" fill="#131F41" /> </svg> <div className="HomeInstantTransactions__blue-block" /> </div> ); }; export default HomeInstantTransactions;
typescript
hiiii, I am new at navi-mumbai and I want to have a broadband connection . So which services are there in Navi-mumbai ? I think to get a MTNL triband I need to have a fixed phone. But I dont have any fixed phone that the problem . So what can I do ? what else option I have ?
english
Don’t Miss Out on the Latest Updates. Subscribe to Our Newsletter Today! After creating a storm with its first teaser, the Amazon Original series Tandav featuring Saif Ali Khan is all set to introduce fans to the cast of this riveting political drama. The online streamer on Monday unveiled some character looks of the ensemble cast including Saif as Samar Pratap Singh, Dimple Kapadia as Anuradha Kishore, Sunil Grover as Gurpal Chauhan, Mohd. Zeeshan Ayyub as Shiva Shekhar and Kritika Kamra as Sana Mir. The nine-episode series marks the creator and director Ali Abbas Zafar’s exciting debut in the digital streaming world. Set in the capital city of the world’s largest democracy, Tandav will take viewers inside the closed, chaotic corridors of power and uncover the manipulations, charades as well as dark secrets of people who will go to any lengths in pursuit of power. The political drama web show will be available for Prime members in India and in more than 200 countries and territories. The OTT platform will release Tandav on January 15, 2021. The makers released Tandav’s teaser on December 7 and you must have witnessed a beautiful white palace where Saif was spotted. It is reported that the shooting of the series was done at Saif Ali Khan’s ancestral property, the royal Pataudi Palace. It is Khan’s go-to destination for lavish parties with friends and family. 40% of the property has been used for shooting. The Pataudi Palace is located in Gurgaon, Haryana and was built in 1990s and was earlier called Ibrahim Kothi. Tandav is created and directed by Ali Abbas Zafar, produced by Himanshu Kishan Mehra and Ali Abbas Zafar. It will consist of 9-episodes. For breaking news and live news updates, like us on Facebook or follow us on Twitter and Instagram. Read more on Latest Entertainment News on India. com.
english
<filename>docs/new-pandas-doc/generated/pandas.get_option.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>pandas.get_option &#8212; pandas 0.24.0.dev0+81.g8d5032a8c.dirty documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <link rel="index" title="Index" href="../genindex.html" /> <link rel="search" title="Search" href="../search.html" /> <link rel="next" title="pandas.set_option" href="pandas.set_option.html" /> <link rel="prev" title="pandas.reset_option" href="pandas.reset_option.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="pandas.set_option.html" title="pandas.set_option" accesskey="N">next</a> |</li> <li class="right" > <a href="pandas.reset_option.html" title="pandas.reset_option" accesskey="P">previous</a> |</li> <li class="nav-item nav-item-0"><a href="../index.html">pandas 0.24.0.dev0+81.g8d5032a8c.dirty documentation</a> &#187;</li> <li class="nav-item nav-item-1"><a href="../api.html" accesskey="U">API Reference</a> &#187;</li> </ul> </div> <div class="content-wrapper"> <div class="content"> <div class="document"> <div class="sphinxsidebar"> <h3>Table Of Contents</h3> <ul class="current"> <li class="toctree-l1"><a class="reference internal" href="../whatsnew.html">What’s New</a></li> <li class="toctree-l1"><a class="reference internal" href="../install.html">Installation</a></li> <li class="toctree-l1"><a class="reference internal" href="../contributing.html">Contributing to pandas</a></li> <li class="toctree-l1"><a class="reference internal" href="../overview.html">Package overview</a></li> <li class="toctree-l1"><a class="reference internal" href="../10min.html">10 Minutes to pandas</a></li> <li class="toctree-l1"><a class="reference internal" href="../tutorials.html">Tutorials</a></li> <li class="toctree-l1"><a class="reference internal" href="../cookbook.html">Cookbook</a></li> <li class="toctree-l1"><a class="reference internal" href="../dsintro.html">Intro to Data Structures</a></li> <li class="toctree-l1"><a class="reference internal" href="../basics.html">Essential Basic Functionality</a></li> <li class="toctree-l1"><a class="reference internal" href="../text.html">Working with Text Data</a></li> <li class="toctree-l1"><a class="reference internal" href="../options.html">Options and Settings</a></li> <li class="toctree-l1"><a class="reference internal" href="../indexing.html">Indexing and Selecting Data</a></li> <li class="toctree-l1"><a class="reference internal" href="../advanced.html">MultiIndex / Advanced Indexing</a></li> <li class="toctree-l1"><a class="reference internal" href="../computation.html">Computational tools</a></li> <li class="toctree-l1"><a class="reference internal" href="../missing_data.html">Working with missing data</a></li> <li class="toctree-l1"><a class="reference internal" href="../groupby.html">Group By: split-apply-combine</a></li> <li class="toctree-l1"><a class="reference internal" href="../merging.html">Merge, join, and concatenate</a></li> <li class="toctree-l1"><a class="reference internal" href="../reshaping.html">Reshaping and Pivot Tables</a></li> <li class="toctree-l1"><a class="reference internal" href="../timeseries.html">Time Series / Date functionality</a></li> <li class="toctree-l1"><a class="reference internal" href="../timedeltas.html">Time Deltas</a></li> <li class="toctree-l1"><a class="reference internal" href="../categorical.html">Categorical Data</a></li> <li class="toctree-l1"><a class="reference internal" href="../visualization.html">Visualization</a></li> <li class="toctree-l1"><a class="reference internal" href="../style.html">Styling</a></li> <li class="toctree-l1"><a class="reference internal" href="../io.html">IO Tools (Text, CSV, HDF5, …)</a></li> <li class="toctree-l1"><a class="reference internal" href="../enhancingperf.html">Enhancing Performance</a></li> <li class="toctree-l1"><a class="reference internal" href="../sparse.html">Sparse data structures</a></li> <li class="toctree-l1"><a class="reference internal" href="../gotchas.html">Frequently Asked Questions (FAQ)</a></li> <li class="toctree-l1"><a class="reference internal" href="../r_interface.html">rpy2 / R interface</a></li> <li class="toctree-l1"><a class="reference internal" href="../ecosystem.html">pandas Ecosystem</a></li> <li class="toctree-l1"><a class="reference internal" href="../comparison_with_r.html">Comparison with R / R libraries</a></li> <li class="toctree-l1"><a class="reference internal" href="../comparison_with_sql.html">Comparison with SQL</a></li> <li class="toctree-l1"><a class="reference internal" href="../comparison_with_sas.html">Comparison with SAS</a></li> <li class="toctree-l1"><a class="reference internal" href="../comparison_with_stata.html">Comparison with Stata</a></li> <li class="toctree-l1 current"><a class="reference internal" href="../api.html">API Reference</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="../api.html#input-output">Input/Output</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#general-functions">General functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#series">Series</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#dataframe">DataFrame</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#panel">Panel</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#index">Index</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#numeric-index">Numeric Index</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#categoricalindex">CategoricalIndex</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#intervalindex">IntervalIndex</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#multiindex">MultiIndex</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#datetimeindex">DatetimeIndex</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#timedeltaindex">TimedeltaIndex</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#periodindex">PeriodIndex</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#scalars">Scalars</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#frequencies">Frequencies</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#window">Window</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#groupby">GroupBy</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#resampling">Resampling</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#style">Style</a></li> <li class="toctree-l2"><a class="reference internal" href="../api.html#id43">Plotting</a></li> <li class="toctree-l2 current"><a class="reference internal" href="../api.html#general-utility-functions">General utility functions</a><ul class="current"> <li class="toctree-l3 current"><a class="reference internal" href="../api.html#working-with-options">Working with options</a><ul class="current"> <li class="toctree-l4"><a class="reference internal" href="pandas.describe_option.html">pandas.describe_option</a></li> <li class="toctree-l4"><a class="reference internal" href="pandas.reset_option.html">pandas.reset_option</a></li> <li class="toctree-l4 current"><a class="current reference internal" href="#">pandas.get_option</a></li> <li class="toctree-l4"><a class="reference internal" href="pandas.set_option.html">pandas.set_option</a></li> <li class="toctree-l4"><a class="reference internal" href="pandas.option_context.html">pandas.option_context</a></li> </ul> </li> <li class="toctree-l3"><a class="reference internal" href="../api.html#testing-functions">Testing functions</a></li> <li class="toctree-l3"><a class="reference internal" href="../api.html#exceptions-and-warnings">Exceptions and warnings</a></li> <li class="toctree-l3"><a class="reference internal" href="../api.html#data-types-related-functionality">Data types related functionality</a></li> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="../api.html#extensions">Extensions</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../developer.html">Developer</a></li> <li class="toctree-l1"><a class="reference internal" href="../internals.html">Internals</a></li> <li class="toctree-l1"><a class="reference internal" href="../extending.html">Extending Pandas</a></li> <li class="toctree-l1"><a class="reference internal" href="../release.html">Release Notes</a></li> </ul> <h3 style="margin-top: 1.5em;">Search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" size="18"/> <input type="submit" value="Go"/> <input type="hidden" name="check_keywords" value="yes"/> <input type="hidden" name="area" value="default"/> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="pandas-get-option"> <h1>pandas.get_option<a class="headerlink" href="#pandas-get-option" title="Permalink to this headline">¶</a></h1> <dl class="data"> <dt id="pandas.get_option"> <code class="descclassname">pandas.</code><code class="descname">get_option</code><span class="sig-paren">(</span><em>pat</em><span class="sig-paren">)</span><em class="property"> = &lt;pandas.core.config.CallableDynamicDoc object&gt;</em><a class="headerlink" href="#pandas.get_option" title="Permalink to this definition">¶</a></dt> <dd><p>Retrieves the value of the specified option.</p> <p>Available options:</p> <ul class="simple"> <li>compute.[use_bottleneck, use_numexpr]</li> <li>display.[chop_threshold, colheader_justify, column_space, date_dayfirst, date_yearfirst, encoding, expand_frame_repr, float_format]</li> <li>display.html.[border, table_schema, use_mathjax]</li> <li>display.[large_repr]</li> <li>display.latex.[escape, longtable, multicolumn, multicolumn_format, multirow, repr]</li> <li>display.[max_categories, max_columns, max_colwidth, max_info_columns, max_info_rows, max_rows, max_seq_items, memory_usage, multi_sparse, notebook_repr_html, pprint_nest_depth, precision, show_dimensions]</li> <li>display.unicode.[ambiguous_as_wide, east_asian_width]</li> <li>display.[width]</li> <li>html.[border]</li> <li>io.excel.xls.[writer]</li> <li>io.excel.xlsm.[writer]</li> <li>io.excel.xlsx.[writer]</li> <li>io.hdf.[default_format, dropna_table]</li> <li>io.parquet.[engine]</li> <li>mode.[chained_assignment, sim_interactive, use_inf_as_na, use_inf_as_null]</li> <li>plotting.matplotlib.[register_converters]</li> </ul> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>pat</strong> : str</p> <blockquote> <div><p>Regexp which should match a single option. Note: partial matches are supported for convenience, but unless you use the full option name (e.g. x.y.z.option_name), your code may break in future versions if new options with similar names are introduced.</p> </div></blockquote> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="first docutils"> <dt><strong>result</strong> <span class="classifier-delimiter">:</span> <span class="classifier">the value of the option</span></dt> <dd></dd> </dl> </td> </tr> <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><dl class="first last docutils"> <dt><strong>OptionError</strong> <span class="classifier-delimiter">:</span> <span class="classifier">if no such option exists</span></dt> <dd></dd> </dl> </td> </tr> </tbody> </table> <p class="rubric">Notes</p> <p>The available options with its descriptions:</p> <dl class="docutils"> <dt>compute.use_bottleneck <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>Use the bottleneck library to accelerate if it is installed, the default is True Valid values: False,True [default: True] [currently: True]</dd> <dt>compute.use_numexpr <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>Use the numexpr library to accelerate computation if it is installed, the default is True Valid values: False,True [default: True] [currently: True]</dd> <dt>display.chop_threshold <span class="classifier-delimiter">:</span> <span class="classifier">float or None</span></dt> <dd>if set to a float value, all float values smaller then the given threshold will be displayed as exactly 0 by repr and friends. [default: None] [currently: None]</dd> <dt>display.colheader_justify <span class="classifier-delimiter">:</span> <span class="classifier">‘left’/’right’</span></dt> <dd>Controls the justification of column headers. used by DataFrameFormatter. [default: right] [currently: right]</dd> <dt>display.column_space No description available.</dt> <dd>[default: 12] [currently: 12]</dd> <dt>display.date_dayfirst <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>When True, prints and parses dates with the day first, eg 20/01/2005 [default: False] [currently: False]</dd> <dt>display.date_yearfirst <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>When True, prints and parses dates with the year first, eg 2005/01/20 [default: False] [currently: False]</dd> <dt>display.encoding <span class="classifier-delimiter">:</span> <span class="classifier">str/unicode</span></dt> <dd>Defaults to the detected encoding of the console. Specifies the encoding to be used for strings returned by to_string, these are generally strings meant to be displayed on the console. [default: UTF-8] [currently: UTF-8]</dd> <dt>display.expand_frame_repr <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>Whether to print out the full DataFrame repr for wide DataFrames across multiple lines, <cite>max_columns</cite> is still respected, but the output will wrap-around across multiple “pages” if its width exceeds <cite>display.width</cite>. [default: True] [currently: True]</dd> <dt>display.float_format <span class="classifier-delimiter">:</span> <span class="classifier">callable</span></dt> <dd>The callable should accept a floating point number and return a string with the desired format of the number. This is used in some places like SeriesFormatter. See formats.format.EngFormatter for an example. [default: None] [currently: None]</dd> <dt>display.html.border <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>A <code class="docutils literal notranslate"><span class="pre">border=value</span></code> attribute is inserted in the <code class="docutils literal notranslate"><span class="pre">&lt;table&gt;</span></code> tag for the DataFrame HTML repr. [default: 1] [currently: 1]</dd> <dt>display.html.table_schema <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>Whether to publish a Table Schema representation for frontends that support it. (default: False) [default: False] [currently: False]</dd> <dt>display.html.use_mathjax <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>When True, Jupyter notebook will process table contents using MathJax, rendering mathematical expressions enclosed by the dollar symbol. (default: True) [default: True] [currently: True]</dd> <dt>display.large_repr <span class="classifier-delimiter">:</span> <span class="classifier">‘truncate’/’info’</span></dt> <dd>For DataFrames exceeding max_rows/max_cols, the repr (and HTML repr) can show a truncated table (the default from 0.13), or switch to the view from df.info() (the behaviour in earlier versions of pandas). [default: truncate] [currently: truncate]</dd> <dt>display.latex.escape <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>This specifies if the to_latex method of a Dataframe uses escapes special characters. Valid values: False,True [default: True] [currently: True]</dd> <dt>display.latex.longtable :bool</dt> <dd>This specifies if the to_latex method of a Dataframe uses the longtable format. Valid values: False,True [default: False] [currently: False]</dd> <dt>display.latex.multicolumn <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>This specifies if the to_latex method of a Dataframe uses multicolumns to pretty-print MultiIndex columns. Valid values: False,True [default: True] [currently: True]</dd> <dt>display.latex.multicolumn_format <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>This specifies if the to_latex method of a Dataframe uses multicolumns to pretty-print MultiIndex columns. Valid values: False,True [default: l] [currently: l]</dd> <dt>display.latex.multirow <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>This specifies if the to_latex method of a Dataframe uses multirows to pretty-print MultiIndex rows. Valid values: False,True [default: False] [currently: False]</dd> <dt>display.latex.repr <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>Whether to produce a latex DataFrame representation for jupyter environments that support it. (default: False) [default: False] [currently: False]</dd> <dt>display.max_categories <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>This sets the maximum number of categories pandas should output when printing out a <cite>Categorical</cite> or a Series of dtype “category”. [default: 8] [currently: 8]</dd> <dt>display.max_columns <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd><p class="first">If max_cols is exceeded, switch to truncate view. Depending on <cite>large_repr</cite>, objects are either centrally truncated or printed as a summary view. ‘None’ value means unlimited.</p> <p class="last">In case python/IPython is running in a terminal and <cite>large_repr</cite> equals ‘truncate’ this can be set to 0 and pandas will auto-detect the width of the terminal and print a truncated object which fits the screen width. The IPython notebook, IPython qtconsole, or IDLE do not run in a terminal and hence it is not possible to do correct auto-detection. [default: 0] [currently: 0]</p> </dd> <dt>display.max_colwidth <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>The maximum width in characters of a column in the repr of a pandas data structure. When the column overflows, a “…” placeholder is embedded in the output. [default: 50] [currently: 50]</dd> <dt>display.max_info_columns <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>max_info_columns is used in DataFrame.info method to decide if per column information will be printed. [default: 100] [currently: 100]</dd> <dt>display.max_info_rows <span class="classifier-delimiter">:</span> <span class="classifier">int or None</span></dt> <dd>df.info() will usually show null-counts for each column. For large frames this can be quite slow. max_info_rows and max_info_cols limit this null check only to frames with smaller dimensions than specified. [default: 1690785] [currently: 1690785]</dd> <dt>display.max_rows <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd><p class="first">If max_rows is exceeded, switch to truncate view. Depending on <cite>large_repr</cite>, objects are either centrally truncated or printed as a summary view. ‘None’ value means unlimited.</p> <p class="last">In case python/IPython is running in a terminal and <cite>large_repr</cite> equals ‘truncate’ this can be set to 0 and pandas will auto-detect the height of the terminal and print a truncated object which fits the screen height. The IPython notebook, IPython qtconsole, or IDLE do not run in a terminal and hence it is not possible to do correct auto-detection. [default: 60] [currently: 60]</p> </dd> <dt>display.max_seq_items <span class="classifier-delimiter">:</span> <span class="classifier">int or None</span></dt> <dd><p class="first">when pretty-printing a long sequence, no more then <cite>max_seq_items</cite> will be printed. If items are omitted, they will be denoted by the addition of “…” to the resulting string.</p> <p class="last">If set to None, the number of items to be printed is unlimited. [default: 100] [currently: 100]</p> </dd> <dt>display.memory_usage <span class="classifier-delimiter">:</span> <span class="classifier">bool, string or None</span></dt> <dd>This specifies if the memory usage of a DataFrame should be displayed when df.info() is called. Valid values True,False,’deep’ [default: True] [currently: True]</dd> <dt>display.multi_sparse <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>“sparsify” MultiIndex display (don’t display repeated elements in outer levels within groups) [default: True] [currently: True]</dd> <dt>display.notebook_repr_html <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>When True, IPython notebook will use html representation for pandas objects (if it is available). [default: True] [currently: True]</dd> <dt>display.pprint_nest_depth <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>Controls the number of nested levels to process when pretty-printing [default: 3] [currently: 3]</dd> <dt>display.precision <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>Floating point output precision (number of significant digits). This is only a suggestion [default: 6] [currently: 6]</dd> <dt>display.show_dimensions <span class="classifier-delimiter">:</span> <span class="classifier">boolean or ‘truncate’</span></dt> <dd>Whether to print out dimensions at the end of DataFrame repr. If ‘truncate’ is specified, only print out the dimensions if the frame is truncated (e.g. not display all rows and/or columns) [default: truncate] [currently: truncate]</dd> <dt>display.unicode.ambiguous_as_wide <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>Whether to use the Unicode East Asian Width to calculate the display text width. Enabling this may affect to the performance (default: False) [default: False] [currently: False]</dd> <dt>display.unicode.east_asian_width <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>Whether to use the Unicode East Asian Width to calculate the display text width. Enabling this may affect to the performance (default: False) [default: False] [currently: False]</dd> <dt>display.width <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>Width of the display in characters. In case python/IPython is running in a terminal this can be set to None and pandas will correctly auto-detect the width. Note that the IPython notebook, IPython qtconsole, or IDLE do not run in a terminal and hence it is not possible to correctly detect the width. [default: 80] [currently: 80]</dd> <dt>html.border <span class="classifier-delimiter">:</span> <span class="classifier">int</span></dt> <dd>A <code class="docutils literal notranslate"><span class="pre">border=value</span></code> attribute is inserted in the <code class="docutils literal notranslate"><span class="pre">&lt;table&gt;</span></code> tag for the DataFrame HTML repr. [default: 1] [currently: 1] (Deprecated, use <cite>display.html.border</cite> instead.)</dd> <dt>io.excel.xls.writer <span class="classifier-delimiter">:</span> <span class="classifier">string</span></dt> <dd>The default Excel writer engine for ‘xls’ files. Available options: auto, xlwt. [default: auto] [currently: auto]</dd> <dt>io.excel.xlsm.writer <span class="classifier-delimiter">:</span> <span class="classifier">string</span></dt> <dd>The default Excel writer engine for ‘xlsm’ files. Available options: auto, openpyxl. [default: auto] [currently: auto]</dd> <dt>io.excel.xlsx.writer <span class="classifier-delimiter">:</span> <span class="classifier">string</span></dt> <dd>The default Excel writer engine for ‘xlsx’ files. Available options: auto, openpyxl, xlsxwriter. [default: auto] [currently: auto]</dd> <dt>io.hdf.default_format <span class="classifier-delimiter">:</span> <span class="classifier">format</span></dt> <dd>default format writing format, if None, then put will default to ‘fixed’ and append will default to ‘table’ [default: None] [currently: None]</dd> <dt>io.hdf.dropna_table <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>drop ALL nan rows when appending to a table [default: False] [currently: False]</dd> <dt>io.parquet.engine <span class="classifier-delimiter">:</span> <span class="classifier">string</span></dt> <dd>The default parquet reader/writer engine. Available options: ‘auto’, ‘pyarrow’, ‘fastparquet’, the default is ‘auto’ [default: auto] [currently: auto]</dd> <dt>mode.chained_assignment <span class="classifier-delimiter">:</span> <span class="classifier">string</span></dt> <dd>Raise an exception, warn, or no action if trying to use chained assignment, The default is warn [default: warn] [currently: warn]</dd> <dt>mode.sim_interactive <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>Whether to simulate interactive mode for purposes of testing [default: False] [currently: False]</dd> <dt>mode.use_inf_as_na <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>True means treat None, NaN, INF, -INF as NA (old way), False means None and NaN are null, but INF, -INF are not NA (new way). [default: False] [currently: False]</dd> <dt>mode.use_inf_as_null <span class="classifier-delimiter">:</span> <span class="classifier">boolean</span></dt> <dd>use_inf_as_null had been deprecated and will be removed in a future version. Use <cite>use_inf_as_na</cite> instead. [default: False] [currently: False] (Deprecated, use <cite>mode.use_inf_as_na</cite> instead.)</dd> <dt>plotting.matplotlib.register_converters <span class="classifier-delimiter">:</span> <span class="classifier">bool</span></dt> <dd>Whether to register converters with matplotlib’s units registry for dates, times, datetimes, and Periods. Toggling to False will remove the converters, restoring any converters that pandas overwrote. [default: True] [currently: True]</dd> </dl> </dd></dl> </div> </div> </div> </div> <div class="clearer"></div> </div> </div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="pandas.set_option.html" title="pandas.set_option" >next</a> |</li> <li class="right" > <a href="pandas.reset_option.html" title="pandas.reset_option" >previous</a> |</li> <li class="nav-item nav-item-0"><a href="../index.html">pandas 0.24.0.dev0+81.g8d5032a8c.dirty documentation</a> &#187;</li> <li class="nav-item nav-item-1"><a href="../api.html" >API Reference</a> &#187;</li> </ul> </div> <style type="text/css"> .scrollToTop { text-align: center; font-weight: bold; position: fixed; bottom: 60px; right: 40px; display: none; } </style> <a href="#" class="scrollToTop">Scroll To Top</a> <script type="text/javascript"> $(document).ready(function() { //Check to see if the window is top if not then display button $(window).scroll(function() { if ($(this).scrollTop() > 200) { $('.scrollToTop').fadeIn(); } else { $('.scrollToTop').fadeOut(); } }); //Click event to scroll to top $('.scrollToTop').click(function() { $('html, body').animate({ scrollTop: 0 }, 500); return false; }); }); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-27880019-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>
html
Lucknow, July 20 (UNI) Chief Minister Yogi Adityanath on Wednesday said 77. 7 per cent of the Uttar Pradesh population lives in rural areas and so more and more educational institutions should be connected to rural areas. He said the NEP perfectly blends the theoretical and practical dimensions of knowledge. “This new policy will prove to be helpful in taking the society towards self-reliance. With the implementation of NEP-2020, students will not be limited to bookish knowledge and their practical and technical knowledge will also get enriched,” he said. The Chief Minister said that many educational institutions in the private sector were doing commendable work and their best practices should be implemented in government institutions. He directed the authorities to get NAAC grading of all eligible institutions done immediately. There should be healthy competition among academic institutions. Academic institutions should not serve as centers for distributing degrees alone and should also fulfill their larger responsibilities towards the society, he said.
english
Pakistan's Prime Minister Nawaz Sharif will embark on a three-day visit to the Maldives today to take part in the country's 52nd Independence Day celebrations as the chief guest. Sharif has been invited by Maldivian President Abdulla Yameen Abdul Gayoom to be the chief guest at the celebrations of the 52nd Independence Day of Maldives on July 26. Sharif will also hold talks with the Maldivian President during the visit, the Foreign Office said in a statement. "A number of MoUs/Agreements for cooperation in various fields would also be signed after the talks," the Foreign Office said. "Pakistan attaches high importance to its relations with the Maldives which are characterised by cordiality, mutual respect and commonality of interests," the statement said. "The visit of the Prime Minister will provide impetus to further strengthen our bilateral relations with the Maldives in all areas including political, trade, economic, defence, tourism, education and people to people contacts," it said. The Foreign Office said that Pakistan's diplomatic relations with Maldives, established on July 26, 1966, have grown from "strength to strength". "Both the countries closely coordinate with each other at regional and international fora on issues of mutual importance. The visit by Prime Minister is in line with our pro-active policy of engagement with the countries of our region," it said.
english
<reponame>signaux-faibles/opensignauxfaibles { "title": "EntréeApDemande", "description": "Champs importés par le parseur lib/apdemande/main.go de sfdata.", "bsonType": "object", "required": [ "id_demande", "periode", "hta", "motif_recours_se", "effectif_entreprise", "effectif", "date_statut", "mta", "effectif_autorise", "heure_consommee", "montant_consommee", "effectif_consomme", "perimetre" ], "properties": { "id_demande": { "description": "Numéro de la demande (11 caractères principalement des chiffres)", "bsonType": "string" }, "periode": { "description": "Période de chômage", "bsonType": "object", "required": ["start", "end"], "properties": { "start": { "bsonType": "date" }, "end": { "bsonType": "date" } }, "additionalProperties": false }, "hta": { "description": "Nombre total d'heures autorisées", "bsonType": "number" }, "motif_recours_se": { "description": "Motif de recours à l'activité partielle: \n 1 - Conjoncture économique. \n 2 - Difficultés d’approvisionnement en matières premières ou en énergie \n 3 - Sinistre ou intempéries de caractère exceptionnel \n 4 - Transformation, restructuration ou modernisation des installations et des bâtiments \n 5 - Autres circonstances exceptionnelles", "bsonType": "number" }, "effectif_entreprise": { "description": "Effectif de l'entreprise", "bsonType": "number" }, "effectif": { "description": "Effectif de l'établissement", "bsonType": "number" }, "date_statut": { "description": "Date du statut - création ou mise à jour de la demande", "bsonType": "date" }, "mta": { "description": "Montant total autorisé", "bsonType": "number" }, "effectif_autorise": { "description": "Effectifs autorisés", "bsonType": "number" }, "heure_consommee": { "description": "Nombre total d'heures consommées", "bsonType": "number" }, "montant_consommee": { "description": "Montant total consommé", "bsonType": "number" }, "effectif_consomme": { "bsonType": "number" }, "perimetre": { "bsonType": "number" } }, "additionalProperties": false }
json