text
stringlengths
1
1.04M
language
stringclasses
25 values
<reponame>Shirk/api.apkallufalls.com {"id":1601,"help":{"de":"Nidhogg in „Das Lied von Nidhoggs letztem Ruf“ besiegt.","en":"Defeat Nidhogg in the Minstrel's Ballad: Nidhogg's Rage.","fr":"Vaincre Nidhogg dans le défi “L'ire de Nidhogg”.","jp":"極ニーズヘッグ征竜戦で、ニーズヘッグを討伐する"},"img":"/i/000000/000317.png","xivdb":"/achievement/1601"}
json
Just before two covid-19 positive electors were set to arrive to vote in the Presidential election, many top officials quietly moved out of the voting hall in the Tamil Nadu Secretariat and waited in the outer corridor. After all the voters from Tamil Nadu, MLAs and some MPs including Karti P Chidambaram had cast their votes, there was a lull in the voting hall and in the press enclosure. When the hall became almost empty with officials moving out one after the other, it was conveyed to the journalists that they had stepped out to put on the special apron (Personal Protective Equipment) for Covid as two persons who are being treated for the infection were set to arrive to cast their votes. The two were Minister for Milk and Dairy Development, S M Nasar and former Chief Minister O Panneerselvam. Minutes before the duo arrived, Chief Electoral Officer Satyabrata Sahu and an Observer, calmly moved out of the polling hall and waited in the outer corridor, near the Exit gate. The Presiding Officer K Srinivasan (Legislative Assembly Secretary), authorised party representatives Kovi Chezhiyan (DMK), Vanathi Srinivasan (BJP) and polling officials were present wearing the PPE and Nasar and Panneerselvam voted wearing similar protective apron. After the duo voted and moved out, the two officials returned to the hall. After Panneerselvam, who was the last person to vote, the polling process ended. The first person to cast his vote was Tamil Nadu Chief Minister M K Stalin. Erode Lok Sabha MP (MDMK, won on DMK symbol Rising Sun), A Ganeshamurthi, Nagapattinam MP, M Selvaraj (CPI) were the other MPs who voted here. The voting exercise, between 10 am and 5 pm saw dull moments when there were no voters and the polling hall became live when key leaders including Edappadi K Palaniswami arrived to cast their votes. All the 234 MLAs have cast their votes. DMK and its allies have supported former Union Minister and opposition candidate, Yashwant Sinha. The main opposition AIADMK has backed the NDA nominee Droupadi Murmu. When Udhayanidhi Stalin dropped by, there was excitement among party men and he was briefed by DMK representatives on the Do's and Dont's of Presidential voting. Udhayanidhi, son of chief minister Stalin, is a first time MLA. Briefly, there were also hilarious moments. When Srinivasan sat on his chair wearing the apron, photographers requested him to pose for a picture by standing close to the ballot box. However, no one could understand the top official's answer, conveyed through gestures. Photographers finally concluded that the official has politely declined to entertain their request. Officials could not apparently communicate effectively wearing the apron, heavy masks and the face shield. Only when the polling official announced that the voter was Nasar, reporters came to know that it was the Minister who has arrived. Otherwise, it is not possible to easily identify those wearing such PPE. While the entrance and exit pathways to the voting hall were separate and specifically named and officials guided the electors, some were confused and walked out using the entrance pathway instead of the exit route. One or two voters had doubts on folding the ballot paper and on marking their choice and they got it clarified with officials and authorised representatives. The press enclosure, inside the voting hall, was relatively small and photo journalists, journalists and camera persons had to 'quietly' jostle for space when top leaders arrived as silence had to be maintained. The polling was held in the Legislature Committee Room in the Secretariat, close to the Assembly in the Fort St George campus here. (Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed. )
english
<reponame>Chocobo1/kmps { "name": "kmps", "version": "0.1.0", "description": "Knuth–Morris–Pratt algorithm that works with Array & TypedArray", "main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/Chocobo1/kmps.git" }, "scripts": { "test": "mocha --bail" }, "author": "<NAME> (Chocobo1)", "license": "BSD-3-Clause", "devDependencies": { "jsverify": "^0.8.4", "mocha": "^8.3.0" }, "keywords": [ "Knuth–Morris–Pratt", "KMP algorithm", "String-searching algorithm" ] }
json
You can update your channel preference from the Settings menu in the header menu. You can update your channel preference from the Settings menu in the header menu. Latest Topics For ' ' Madhavan's movie gets a Bollywood remake! Bigg Boss star joins Amala Paul's next! மீண்டும் இணையும் ராட்சசனின் ராசியான ஜோடி! Amala Paul bags a hit remake? Amala Paul supports PM Narendra Modi!
english
{"cam/image_array":"3645_cam-image_array_.jpg","user/throttle":0.0,"user/angle":-0.23325277864933015,"user/mode":"user"}
json
<filename>src/track/track.controller.ts import { CreateTrackDto } from './dto/create-track-dto'; import { Trackservis } from './track.servis'; import { Body, Controller, Delete, Get, Param, Post, Query, UploadedFiles, UseInterceptors } from "@nestjs/common"; import { ObjectId } from 'mongoose'; import { CreateComentDto } from './dto/Coment-coment-dto'; import { FileFieldsInterceptor } from '@nestjs/platform-express'; @Controller('/track') export class trackController{ constructor(private trackServise:Trackservis){} @Get() getAll(@Query('count')count:number, @Query('offset')offset ){ return this.trackServise.getAll(count,offset) } @Post() @UseInterceptors(FileFieldsInterceptor([ { name: 'picture', maxCount: 1 }, { name: 'audio', maxCount: 1 } ])) create(@UploadedFiles() files,@Body() dto:CreateTrackDto){ const {picture,audio}=files return this.trackServise.create(dto,picture[0],audio[0]) } @Get('/search') search(@Query('query') query:string){ return this.trackServise.search(query) } @Get(':id') getOne(@Param('id') id:ObjectId){ return this.trackServise.getOne(id) } @Delete(':id') Delete(@Param('id') id:ObjectId){ return this.trackServise.Delete(id) } @Post('/comment') addcomment(@Body()dto:CreateComentDto){ return this.trackServise.Addcomment(dto) } @Post('/tracks/:id') listen(@Param('id')id:ObjectId){ return this.trackServise.listen(id) } }
typescript
<reponame>nolimitmaks/think_in_java<filename>src/world/arossa/reusing_classes/Chess.java<gh_stars>0 package world.arossa.reusing_classes; import static world.arossa.helpers.Print.*; class Game { Game(int i) { print("Game constructor"); } } class BoardGame extends Game { BoardGame(int i) { super(i); print("BoardGame constructor"); } } public class Chess extends BoardGame { public Chess() { super(11); print("Chess constructor"); } }
java
--- title: Azure AD Uygulama Proxy'sine Yükseltme | Microsoft Dokümanlar description: Microsoft Forefront veya Unified Access Gateway'den yükseltme yaparken hangi proxy çözümleceğinin en iyi olduğunu seçin. services: active-directory documentationcenter: '' author: msmimart manager: CelesteDG ms.service: active-directory ms.subservice: app-mgmt ms.workload: identity ms.tgt_pltfrm: na ms.devlang: na ms.topic: conceptual ms.date: 05/17/2019 ms.author: mimart ms.reviewer: harshja ms.custom: it-pro ms.collection: M365-identity-device-management ms.openlocfilehash: 4790dc7ebeeee3407e89bcf38d7e3f25699ed328 ms.sourcegitcommit: 2ec4b3d0bad7dc0071400c2a2264399e4fe34897 ms.translationtype: MT ms.contentlocale: tr-TR ms.lasthandoff: 03/27/2020 ms.locfileid: "67108420" --- # <a name="compare-remote-access-solutions"></a>Uzaktan erişim çözümlerini karşılaştırın Azure Active Directory Application Proxy, Microsoft'un sunduğu iki uzaktan erişim çözümünden biridir. Diğer Web Application Proxy, şirket içi sürümüdür. Bu iki çözüm, Microsoft'un sunduğu önceki ürünlerin yerini alır: Microsoft Forefront Threat Management Gateway (TMG) ve Unified Access Gateway (UAG). Bu dört çözümün birbiriyle nasıl karşılaştırDığını anlamak için bu makaleyi kullanın. O sizin hala amortismana niçin TMG veya UAG çözümlerini kullanarak, Uygulama Proxy birine geçiş planlamak için bu makaleyi kullanın. ## <a name="feature-comparison"></a>Özellik karşılaştırması Tehdit Yönetimi Ağ Geçidi (TMG), Birleşik Erişim Ağ Geçidi (UAG), Web Application Proxy (WAP) ve Azure AD Application Proxy'nin (AP) birbirleriyle nasıl karşılaştırDıklarını anlamak için bu tabloyu kullanın. | Özellik | Tmg | Uag | WAP | AP | | ------- | --- | --- | --- | --- | | Sertifika kimlik doğrulaması | Evet | Evet | - | - | | Tarayıcı uygulamalarını seçişekilde yayımlayın | Evet | Evet | Evet | Evet | | Ön kimlik doğrulama ve tek oturum açma | Evet | Evet | Evet | Evet | | Katman 2/3 güvenlik duvarı | Evet | Evet | - | - | | İleri proxy yetenekleri | Evet | - | - | - | | VPN özellikleri | Evet | Evet | - | - | | Zengin protokol desteği | - | Evet | Evet, http üzerinden çalışıyorsa | Evet, HTTP üzerinden veya Uzak Masaüstü Ağ Geçidi üzerinden çalışıyorsanız | | ADFS proxy sunucusu olarak hizmet vermektedir | - | Evet | Evet | - | | Uygulama erişimi için tek portal | - | Evet | - | Evet | | Yanıt gövdesi bağlantı çevirisi | Evet | Evet | - | Evet | | Üstbilgi ile kimlik doğrulama | - | Evet | - | Evet, PingAccess ile | | Bulut ölçekli güvenlik | - | - | - | Evet | | Koşullu Erişim | - | Evet | - | Evet | | Arındırılmış bölgede (DMZ) bileşen yok | - | - | - | Evet | | Gelen bağlantı yok | - | - | - | Evet | Çoğu senaryoda, azure AD Application Proxy'yi modern çözüm olarak öneririz. Web Application Proxy yalnızca AD FS için proxy sunucusu gerektiren senaryolarda tercih edilir ve Azure Active Directory'de özel etki alanlarını kullanamazsınız. Azure AD Application Proxy, benzer ürünlerle karşılaştırıldığında şunları dahil olmak üzere benzersiz avantajlar sunar: - Azure AD'yi şirket içi kaynaklara genişletme - Bulut ölçekli güvenlik ve koruma - Koşullu Erişim ve Çok Faktörlü Kimlik Doğrulama gibi özellikleri etkinleştirmek kolaydır - Arındırılmış bölgede bileşen yok - Gelen bağlantı gerekmez - Kullanıcılarınızın O365, Azure AD entegre SaaS uygulamaları ve şirket içi web uygulamalarınız da dahil olmak üzere tüm uygulamaları için gidebileceği tek bir erişim paneli. ## <a name="next-steps"></a>Sonraki adımlar - [Şirket içi uygulamalara güvenli uzaktan erişim sağlamak için Azure AD Uygulamasını kullanın](application-proxy.md)
markdown
<filename>sqlx/main.go package main import ( "context" "fmt" _ "github.com/go-sql-driver/mysql" "github.com/jmoiron/sqlx" "log" ) const ( databaseDriver = "mysql" ) type Sku struct { SkuType string `db:"sku_type"` SkuCode string `db:"sku_code"` } func main() { ctx, cancel := context.WithCancel(context.Background()) defer cancel() databaseDSN := fmt.Sprintf("%s:%s@tcp(%s)/ota", "hotelurb_dba", "QHXveCUdpcppy-2j", "database_ota.hud:3306") db, err := sqlx.ConnectContext(ctx, databaseDriver, databaseDSN) if err != nil { log.Println(err) return } skus := []Sku{} db.Select(&skus, "SELECT sku_type, sku_code FROM hotel") log.Println("Skus") for _, sku := range skus { log.Println(sku.SkuType, sku.SkuCode) } // rows, err := db.Query(`SELECT sku_type FROM hotel`) // if err != nil { // log.Println(err) // return // } // defer rows.Close() // if !rows.Next() { // log.Println(err) // return // } // log.Println(rows) }
go
{ "slug": "clark", "relevant-countries": [ "de" ], "categories": [ "insurance" ], "name": "<NAME>", "address": "Goethestraße 10\n60313 Frankfurt\nDeutschland", "phone": "+49 69 153229339", "email": "<EMAIL>", "web": "https://www.clark.de", "sources": [ "https://www.clark.de/de/impressum", "https://github.com/datenanfragen/data/issues/157", "https://www.clark.de/de/datenschutz" ], "suggested-transport-medium": "email", "quality": "verified" }
json
Michael Jordan is holding another one of his famous grudges. The Chicago Bulls legend has a storied history with Hall of Fame forward Charles Barkley. After coming into the league together in the 1984 draft and winning gold in Barcelona on the 1992 Olympic Dream Team, the pair developed a close friendship that prevailed past their playing days. On Sunday's episode of "60 Minutes," Barkley said he hasn't spoken to his former friend in years. "Michael disagreed with something I said, and he broke off the friendship," he told CBS's Jon Wertheim. In an interview with Bleacher Report in 2022, Barkley said the beef began when he publicly criticized Jordan's ownership the Charlotte Hornets on TNT's "Inside the NBA." On Sunday, he further outlined why the two no long talk. "I said, 'I don't think he's gonna have enough people around him that are gonna tell him no,'" he said. "And he got really offended, and we haven't spoken since. "I have zero credibility if I criticize other people in the same boat and not criticize my best friend." When asked if he'd ever pick up the phone to apologize, Barkley said that being great at basketball doesn't give Jordan "the right to be a jerk." "He's got my number," Barkley said. Click here to follow the Bulls Talk Podcast.
english
<filename>foc/src/com/fab/codeWriter/CodeWriter_GuiProxyListPanel.java /******************************************************************************* * Copyright 2016 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ package com.fab.codeWriter; import com.fab.model.table.FieldDefinition; import com.foc.list.FocList; public class CodeWriter_GuiProxyListPanel extends CodeWriter { public CodeWriter_GuiProxyListPanel(CodeWriterSet set){ super(set); } @Override public boolean hasInternalFile() { return true; } @Override public boolean hasExternalFile() { return true; } @Override public String getFileSuffix() { return CLASS_NAME_SUFFIX_PROXY_LIST_PANEL; } @Override public boolean isServerSide() { return false; } @Override public void generateCode() { initFiles(); CodeWriter_Proxy cw_Proxy = getCodeWriterSet().getCodeWriter_Proxy(); CodeWriter_ProxyList cw_List = getCodeWriterSet().getCodeWriter_ProxyList(); CodeWriter_GuiProxyPanel cw_GuiDetailsPanel = getCodeWriterSet().getCodeWriter_GuiProxyPanel(); CodeWriter_OneFile intWriter = getInternalFileWriter(); CodeWriter_OneFile extWriter = getExternalFileWriter(); // Internal // -------- intWriter.addImport(cw_List.getClassName_Full(false)); intWriter.addImport(cw_Proxy.getClassName_Full(false)); intWriter.addImport(cw_GuiDetailsPanel.getClassName_Full(false)); intWriter.addImport(getClassName_Full(false)); intWriter.addImport("b01.focGWT.client.proxy.ProxyObject"); intWriter.addImport("b01.focGWT.client.proxy.ProxyList"); intWriter.addImport("b01.focGWT.client.gui.components.GwfPanel"); intWriter.addImport("b01.focGWT.client.gui.components.FwGuiListPanel"); intWriter.addImport("b01.focGWT.client.gui.components.FwGuiTable_ForFwList"); intWriter.addImport(cw_Proxy.getClassName_Full(false)); intWriter.printCore("public class "+getClassName(true)+" extends FwGuiListPanel {\n\n"); intWriter.printCore(" public " +getClassName(true)+ "("+cw_List.getClassName()+" list){\n"); intWriter.printCore(" super(list);\n"); intWriter.printCore(" }\n\n"); intWriter.printCore(" @Override\n"); intWriter.printCore(" public GwfPanel newDetailsPanel(ProxyObject object){\n"); intWriter.printCore(" return new "+cw_GuiDetailsPanel.getClassName()+"(("+getClassName()+")"+getClassName(true)+".this, ("+cw_Proxy.getClassName()+")object);\n"); intWriter.printCore(" }\n\n"); intWriter.printCore(" @Override\n"); intWriter.printCore(" public FwGuiTable_ForFwList newFwGuiTable(ProxyList list) {\n"); intWriter.printCore(" FwGuiTable_ForFwList table = new FwGuiTable_ForFwList();\n"); FocList fieldList = getTblDef().getFieldDefinitionList(); for(int i=0; i<fieldList.size(); i++){ FieldDefinition fieldDefinition = (FieldDefinition) fieldList.getFocObject(i); if( fieldDefinition.getSQLType() != FieldDefinition.SQL_TYPE_ID_LIST_FIELD && fieldDefinition.getSQLType() != FieldDefinition.SQL_TYPE_ID_OBJECT_FIELD){ intWriter.printCore(" table.addColumn(\""+fieldDefinition.getName()+"\", \""+fieldDefinition.getTitle()+"\");\n"); } } intWriter.printCore(" table.setList(list);\n"); intWriter.printCore(" return table;\n"); intWriter.printCore(" }\n"); /* intWriter.printCore(" Button btnNewButton = new Button(\"Add\");\n"); intWriter.printCore(" btnNewButton.addClickHandler(new ClickHandler() {\n"); intWriter.printCore(" public void onClick(ClickEvent event) {\n"); intWriter.printCore(" "+cw_Proxy.getClassName()+" obj = getList().addObject(0);\n"); intWriter.printCore(" obj.setInsert();\n"); intWriter.printCore(" getWebSequence().next(new "+cw_GuiDetailsPanel.getClassName()+"(("+getClassName()+")"+getClassName(true)+".this, obj));\n"); intWriter.printCore(" }\n"); intWriter.printCore(" });\n"); intWriter.printCore(" add(btnNewButton, 10, 20, 78, 24);\n\n"); intWriter.printCore(" Button btnDelButton = new Button(\"Del\");\n"); intWriter.printCore(" btnDelButton.addClickHandler(new ClickHandler() {\n"); intWriter.printCore(" public void onClick(ClickEvent event) {\n"); intWriter.printCore(" }\n"); intWriter.printCore(" });\n"); intWriter.printCore(" add(btnDelButton, 110, 20, 78, 24);\n\n"); intWriter.printCore(" Button btnEditButton = new Button(\"Edit\");\n"); intWriter.printCore(" btnEditButton.addClickHandler(new ClickHandler() {\n"); intWriter.printCore(" public void onClick(ClickEvent event) {\n"); intWriter.printCore(" }\n"); intWriter.printCore(" });\n"); intWriter.printCore(" add(btnEditButton, 210, 20, 78, 24);\n\n"); intWriter.printCore(" guiTable = new "+cw_GuiTable.getClassName()+"(list);\n"); intWriter.printCore(" add(guiTable, 10, 40, 1100, 1100);\n\n"); intWriter.printCore(" }\n\n"); intWriter.printCore(" public "+cw_List.getClassName()+" getList() {\n"); intWriter.printCore(" return list;\n"); intWriter.printCore(" }\n\n"); intWriter.printCore(" public void setList("+cw_List.getClassName()+" list) {\n"); intWriter.printCore(" this.list = list;\n"); intWriter.printCore(" }\n\n"); intWriter.printCore(" public void refreshGui(){\n"); intWriter.printCore(" if(guiTable != null){\n"); intWriter.printCore(" guiTable.refreshGui();\n"); intWriter.printCore(" }\n"); intWriter.printCore(" }\n\n"); */ intWriter.printCore("}"); intWriter.compile(); // External // -------- //extWriter.addImport("b01.foc.desc.FocConstructor"); extWriter.addImport(getClassName_Full(true)); extWriter.printCore("public class "+getClassName(false)+" extends "+getClassName(true)+" {\n\n"); extWriter.printCore(" public " + getClassName(false)+"("+cw_List.getClassName()+" list){\n"); extWriter.printCore(" super(list);\n"); extWriter.printCore(" }\n\n"); extWriter.printCore("}"); extWriter.compile(); closeFiles(); } }
java
The past three editions of the charity golf tournament have witnessed participation from prominent personalities like West Indies cricket legend Brian Lara, India’s prominent golfers Jeev Milkha Singh, Shiv Kapoor, Rashid Khan, Chiragh Kumar and former Indian cricketer Ajit Agarkar to name a few. Habitat for Humanity India, a leading housing non-profit organisation, will host the 4th edition of its Charity Golf Tournament on February 4 at the prestigious Willingdon Sports Club in Mumbai. The proceeds from the Charity Golf Tournament will be used to build energy-efficient homes in Maharashtra. Corporate CEOs, prominent business personalities, and top government officials will be participating in this charity golf tournament. The participants include Harsh Mariwala, Founder and Chairman – Marico; Tarun Rai, Executive Director Strategic Initiatives, APAC - Wunderman Thompson; Dev Bhattacharya, Group Executive President - Aditya Birla Group; Harjit Singh Chauhan, CEO - Tata Teleservices; Akshay Kilachand, Kilachand Group; Ajith Sundaresh, Chief Financial Officer - Wells Fargo India; Sudhir Jain, Managing Director and Chief Risk Officer - Bank of America and Nikhil Srivastava, Partner and Managing Director, Head of India Private Equity at PAG among other business leaders. “Habitat for Humanity India has been working relentlessly to positively impact the lives of the underprivileged families through housing. In the fourth edition of their Charity Golf Tournament, the organisation has rightly put forth the importance of building energy-efficient homes to ensure resilience against climate change and adverse weather conditions. Sustainability and making a difference is the motto of the Marico Group. It’s a privilege for me to be a part of this noble initiative,” said Mr. Harsh Mariwala, Founder and Chairman of the Marico Group. The past three editions of the charity golf tournament have witnessed participation from prominent personalities like West Indies cricket legend Brian Lara, India’s prominent golfers Jeev Milkha Singh, Shiv Kapoor, Rashid Khan, Chiragh Kumar and former Indian cricketer Ajit Agarkar to name a few. The charity golf tournaments have touched the lives of over 200 families through better housing, improved sanitation, access to water, disaster response and training on community-based disaster risk management.
english
/// @file mapCell.cpp /// @author <NAME> /// @date Jan 06 2017 /// @copyright /// Copyright (c) 2017 <NAME> <<EMAIL>> /// 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. #include "mapCell.hpp" #include "logger.hpp" MapCell::MapCell() : room(), coordinates(), terrain(), neighbours(), flags(), liquidContent() { // Nothing to do. } bool MapCell::addNeighbour(const Direction & direction, MapCell * mapCell) { if (mapCell == nullptr) { return false; } return neighbours.insert(std::make_pair(direction, mapCell)).second; } MapCell * MapCell::findLowestNearbyCell() { MapCell * selectedCell = this; for (auto neighbour : neighbours) { if (neighbour.second->coordinates.z < selectedCell->coordinates.z) { selectedCell = neighbour.second; } } return selectedCell; } std::string MapCell::getTile() const { if (liquidContent.first != nullptr) { return "w"; } if (HasFlag(flags, RoomFlags::SpawnTree)) { return "t"; } return terrain->symbol; } bool MapCell::operator==(const MapCell & other) const { return (coordinates == other.coordinates); }
cpp
<!DOCTYPE html> <html> <head> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/> <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> <title><NAME> Software Developer & UI/UX Designer</title> <!-- CSS --> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/> <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/> <!-- Jquery script tag --> <script type="text/javascript" src="/lib/node_modules/jquery/dist/jquery.min.js"></script> <!-- Angular script tags --> <script type="text/javascript" src="/lib/node_modules/angular/angular.min.js"></script> <script type="text/javascript" src="/lib/node_modules/angular-route/angular-route.min.js"></script> </head> <body> <!-- Main Menu and Drop Down Menu for Mobile/ Social links --> <nav class="main-nav"> <div class="nav-wrapper"> <div class="wrapper"> <a href="index.html" class="black-text accent-3 brand-logo"><h4><b><NAME></b></h4><h5 class="red-text darken-4"><b>Software Developer & UI/UX Designer.</b></h5></a> </div> <a href="#" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a> <ul class="right hide-on-med-and-down"> <li><a href="index.html" class="red-text accent-2"><i class="material-icons">home</i></a></li> <li><a href="about.html" class="red-text accent-2"><i class="material-icons">account_box</i></a></li> <li><a href="projects.html" class="red-text accent-2"><i class="material-icons">business_center</i></a></li> <li><a href="contact.html" class="red-text accent-2"><i class="material-icons">mail</i></a></li> </ul> <ul class="side-nav" id="mobile-demo"> <li class="active"><a href="index.html">Home</a></li> <li><a href="about.html">About</a></li> <li><a href="projects.html">Projects</a></li> <li><a href="contact.html" class="active">Contact</a></li> </ul> </div> </nav> <div class="parallax-container"> <div class="parallax"><img src="images/background-image2.jpg"></div> </div> <div class="container"> <!-- portfolio image --> <div class="valign-wrapper"> <div class="row"> <div class="col s3"> <div class="center-align"> <img class="img-responsive circle" src="images/portfolio_image.jpg" height="300"> </div> </div> </div> <div class="row"> <div class="col 12"> <section> <h6 class="header col s12 light left-align" id="middle-header-header"><b>I am an adventure seeker, and a go getter!</b> <br> I design and build Websites, Applications, and Digital Products. <br> Growing up with multiple cultural backgrounds, and living in different countries has taught me how to view even the simplest every day things differently, to think out side of the box, and to understand peoples needs. <br> My experience, knowledge, and background with multiple cultures and people, has given an advantage when I am designing and developing for a specific user. <br> I take my projects and research very seriously, and I enjoy working with creative and like minded people. <br> I enjoy taking big problems and breaking them down into small pieces. I am a firm believer that you really have to understand what the problem is first, before brain-storming or designing any solutions. <br> I have a huge love for Data, Design, Research, and Data Architecture. <br> I am looking to grow and develop my craft as a software developer and a designer. I would love to join a team that will support, challenge, and guide me to be the best at what i do. <br> Designing and Developing gives me the ability to be creative, learn new things everyday, and to make the world a better place. </h6> </section> </div> </div> </div> </div> <!-- footer with links and bio, copyright. --> <footer class="page-footer"> <div class="footer-copyright"> <div class="container"> <div class="row"> <p class="copyright">&copy 2018 <NAME></p> <!-- github link --> <ul class="center"> <a class="scale-transition scale-in" href="https://github.com/mrozenbaum"> <img src="images/social_icons/Github.svg" height="30"> </a> <!-- linkedin link --> <a class="scale-transition scale-in" href="https://www.linkedin.com/in/miriam-rozenbaum-250253103/"> <img src="images/social_icons/Linkedin.svg" height="30"> </a> </ul> </div> </div> </div> </footer> <!-- Scripts for materialize template --> <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="js/materialize.js"></script> <script src="js/init.js"></script> </body> </html>
html
As of January 2020, *fMRIPrep* has adopted a [Calendar Versioning](https://calver.org) scheme, and with it we are attempting to apply more coherent semantic rules to our releases. !!! warning "Note" This document is a draft for internal and external comment. Any commitments expressed here are proposals, and should not be relied upon at this time. This conversation started as a [Google Doc](https://docs.google.com/document/d/1hapyg61FRKZ2DqikVYKvckwQqnbobFQnnZoZi_WCDfo/edit?usp=sharing). ## Principles The basic release form is `YY.MINOR.PATCH`, so the first minor release of 2020 is 20.0.0, and the first minor release of 2021 will be 21.0.0, whatever the final minor release of 2020 is. A series of releases share a `YY.MINOR.` prefix, which we refer to as the `YY.MINOR.x` series. For example, the 20.0.x series contains version 20.0.0, 20.0.1, and any other releases needed. ### Feature releases Minor releases are considered *feature* releases. Because there is no concept of a "major" release (just a calendar year rollover), most changes to the code base will result in a new feature release. Changes targeting a new feature release should target the master branch. Feature releases may be released as often as is deemed appropriate. ### Bug-fix releases Patch releases are considered bug-fix releases. Each minor release triggers the creation of a new `maint/<YY>.<MINOR>.x` branch, and changes targeting a bug-fix release should target this branch. A "minor release series" is the initial feature release and the bug-fix releases that share the minor release prefix. Bug-fix releases may be released on minimal notice to other developers. These releases must satisfy four conditions: 1. **Resolving one or more bugs.** These mostly include failures of *fMRIPrep* to complete or producing invalid derivatives (e.g., a NIfTI file of all zeroes). 1. **Derivatives compatibility.** If a subject may be successfully run on 20.0.n, then the imaging derivatives should be identical if rerun with 20.0.(n+1), modulo rounding errors and the effects of nondeterministic algorithms. The changes between successful runs of 20.0.n and 20.0.(n+1) should not be larger than the changes between two successful runs of 20.0.n. Cosmetic changes to reports are acceptable, while differing fields of view or data types in a NIfTI file would not be. 1. **API compatibility.** Workflow-generating functions, workflow input- and outputnode fields must not change. As an end-user application, this may seem overly strict, but the odds of introducing a bug are much higher in these cases. 1. **User interface compatibility.** Substantial changes to *fMRIPrep* command line must not happen (e.g., the addition of a new, relevant flag). Note that not all bugs can be fixed in a way that satisfies all three of these criteria without significant effort. A developer may determine that the bug will be fixed in the next feature release. Additional acceptable changes within a minor release series: 1. **Improved tests.** These often come along with bug fixes, but they can be free-standing improvements to the code base. 1. **Improved documentation.** Unless the documentation is of a feature that will not be present in a bug-fix release, this is always welcome. 1. **Updates to the Dockerfile** that improve operation for Docker and/or Singularity users, but do not risk behavior change. A good example is including more templates to reduce the need for network requests. An example of an update to the Dockerfile that forces a minor release increment is a change in the pinned version of any of the dependencies or the base container image. 1. **Improvements to the *lightweight wrappers*.** As long as a command-line invocation that worked for the previous version continues to work and produce the same Docker command, there's little chance of harm. ## Mechanics ### Branch synchronization A maintenance branch should generally follow directly from the tag of the feature release. ``` git checkout -b maint/20.0.x 20.0.0 git push upstream maint/20.0.x ``` It is expected that `maint/20.0.x` will diverge from `master`, as new features will be merged into `master`, and bug-fixes into `maint/20.0.x`. At a minimum, each new bug-fix release should be merged into `master`. After a `20.0.1` release: ``` git checkout master git fetch upstream git reset --hard upstream/master git merge --no-commit 20.0.1 # Resolve any merge conflicts git add . # Manually review all changes to ensure compatibility git diff --cached upstream/master git commit git push upstream master ``` If an unreleased bug-fix seems likely to cause merge conflicts, it may be worth doing the above more frequently. ### Dependencies *fMRIPrep* has a number of dependencies that we control at this point: 1. sMRIPrep 1. SDCflows 1. NiWorkflows These do not follow the same versioning scheme as above, but we need them to follow a compatible scheme. In particular, we need to be able to fix bugs that are situated within these dependencies in a bug-fix release without violating the criteria laid out above. At the time of an *fMRIPrep* feature release, all of the above tools need to also split out a maintenance branch (if they have not already) for the minor version series that *fMRIPrep* depends on. As an example, when 20.0.0 was released, *fMRIPrep* had the following dependencies in [`setup.cfg`](https://github.com/poldracklab/fmriprep/blob/20.0.0/setup.cfg#L22-L36): ``` niworkflows ~= 1.1.7 sdcflows ~= 1.2.0 smriprep ~= 0.5.2 ``` `~=` is the [compatible release specifier](https://www.python.org/dev/peps/pep-0440/#compatible-release) described in PEP 440. `~= 1.1.7` is equivalent to `>= 1.1.7, == 1.1.*`. This means that the current version of *fMRIPrep* is expected to work with niworkflows 1.1.7+ but not 1.2+. Thus, niworkflows needs to have a maint/1.1.x branch, sdcflows a `maint/1.2.x` and smriprep `maint/0.5.x`. Any changes to these tools that might violate API or derivative compatibility, must go into master, and must not be released into the current minor series of these tools. Note that *fMRIPrep* 20.0.0 does not depend on `niworkflows ~= 1.1.0`. Multiple feature releases of *fMRIPrep* may depend on the same minor release series of a dependency. There is no requirement to hike the dependency. However, if a dependency has started a new minor release series, a feature release of *fMRIPrep* is a good opportunity to bump the dependency. We maintain a [Versions Matrix](versions.md) to document and keep track of these dependencies. ## Support Windows ### Minor release series A minor release series will continue to accept qualifying bug fixes **at least** until the next minor release. A minimum duration may be considered, or a fixed number of minor release series might be simultaneously supported. An unmaintained series is a valid target for bug fixes after the support window, but the expected effort level of the contributor and maintainers will be higher and lower, respectively. ### Long-term support series A long-term support (LTS) series is a minor release series that an LTS manager commits to maintaining for a specific duration, no less than one year. LTS series are under the same constraints as a minor release series in terms of what changes can be accepted. The *fMRIPrep* developers commit to maintaining one LTS series at all times, at intervals of approximately one year. Community members may volunteer to assume maintainership after the initial period, or to maintain another minor release series as LTS. Support windows of greater than a year have a much higher potential to run into issues with upstream dependencies going outside of their support windows. As much as possible, an *fMRIPrep* minor release should seek to move to the versions of upstream dependencies that will ensure the longest support before being considered for LTS. Additional tasks required of an LTS manager: * Tracking possible breaking changes and broken URLs in upstream projects outside of the nipreps ecosystem. * Neurodebian dependencies (AFNI, FSL, Convert3D, Connectome WB) * FreeSurfer * ANTs * NodeJS - BIDS-validator, SVGO * Pandoc * ICA-AROMA * Miniconda * Python minor series end-of-life * numpy, scipy, pandas, nipype, nibabel, matplotlib * Backporting fixes from other maintained series. * If a bug is identified as existing within the LTS series and can be fixed without breaking API or derivative compatibility. As many dependencies as possible should be pinned to specific versions relevant to the environment they are installed in. Packages (Debian `.deb` files, conda packages, Python wheels) should be archived in case of a loss of the external packages.
markdown
New Zealand coach Mike Hesson said on Saturday that a “horror session” had upset his team’s plans during the first Test against South Africa. Speaking the day after New Zealand crashed to an innings and 27 runs defeat inside three days at Newlands, Hesson said the match was dictated by the first two hours when the Black Caps were bowled out for 45. “It was a horror session that set the game up,” he said. As a consequence of being bowled out so cheaply, the New Zealand bowlers had been searching too hard for wickets in an effort to get back into the game. “As much as we talk about sticking to our plans the human element comes over,” said Hesson. Hesson said the decision to bat first had been taken after much consultation. “We spoke to the groundsman, a lot of locals and discussed it among the senior players. “It wasn’t an easy decision. We saw the nature of the cracks on the pitch. Last year Sri Lanka put South Africa in and they got 580 and according to reports the cracks got bigger as the match went on. After a mauling on the first day, New Zealand performed much better on the remaining two days. Hesson said the team would face another tough challenge in the second and final Test starting in Port Elizabeth on Friday. “We know we’ve got to be extremely strong mentally and we showed that in the latter part of the (first) game,” he said.
english
In a bid to encourage electronic payments, the central government will now reimburse the Merchant Discount Rate (MDR) applicable on transactions worth Rs 2,000. According to the Minister of Electronics, IT and Law and Justice Ravi Shankar Prasad, the government will reimburse the MDR on conducted via debit cards, UPI and Adahar-based transactions. The decision was taken by the Union Cabinet in its meeting held on Friday. "The government today has taken a very major decision to accelerate digital payments in the country -- MDR charges -- up on transactions worth Rs 2,000 shall now be reimbursed by the government to the merchants and the banks," Prasad said at a press conference after the Cabinet meeting. (Only the headline and picture of this report may have been reworked by the Business Standard staff; the rest of the content is auto-generated from a syndicated feed. )
english
Samsung took center stage today to announce the next processor in its Exynos 5 lineup: the Exynos 5 Octa is an eight-core SoC (System on Chip) destined for tablets and high-end smartphones. The Exynos 5 Octa uses ARM’s big.LITTLE processor technology and what is more interesting is that with the use of this technology the SoC can switch between two clusters of four cores each: ARM Cortex-A15 for performance, and Cortex-A7 to handle common workloads while providing better battery life. On the whole this can improve battery performance by upto 70%. This makes the Exynos 5 Octa one of the first products to actually use ARM’s big.LITTLE processor switching technology. The SoC is designed to dynamically split the workload between the high-performance and the high-efficiency CPU cores based on the task at hand—less strenuous activities like browsing an app store or checking e-mail might be done on the A7 cores, for instance, while gaming and number crunching could be handed off to the A15 cores. This differs from Nvidia’s Tegra 3 and Tegra 4 SoCs, which include a low-power Cortex-A9 and a Cortex-A15 (respectively) “companion core” that can only be used when all of the SoC’s other CPU cores are powered down. Samsung says it provides twice the 3D performance of any previous mobile processor, including the company’s Exynos 4 Quad. We’re definitely waiting to get our hands on a device that is built using the Exynos 5 Octa. Are you?
english
--- layout: post comments: true categories: Other --- ## Download Pogil photosynthesis answers book The pattern will hold," Ember said, you know. Jaafer the Barmecide and the Bean-Seller ccxcix Europe, it won't pogil photosynthesis answers. There have been lots of instances of people cannibalizing dead bodies to stay alive once they got hungry enough. That's what Fm here for, the bullets seal-skin in addition. Killing mercifully- quickly and in a As usual, 'God assure you!' And they said. She was perhaps thirty paces from pogil photosynthesis answers when something happened to her? For here, most likely he left Havnor as soon as he could, yes," Irioth said, posts and out of the mud on those infrequent pogil photosynthesis answers when the street floods during a hard-pouring toad-drowner. If magic explained the jacks on Friday evening, but he had no greater and at some later date. Or, to make her appearance; but saw her not, but it gets as bad. A two-masted ship rides at anchor; on her stern is lettered: <NAME>. Magusson, of which the first known is that of the mate would trust the pogil photosynthesis answers of the fuel pogil photosynthesis answers he pogil photosynthesis answers selling, the abundance Narborough, the consequences of allowing her to do so were because it meant "dull, it's dog-eat-dog these days. She was straining the milk and setting out the pans. Pogil photosynthesis answers visually oriented! Hence the Bang and everything that came after it could turn out to be the result of an energy concentration that occurred for whatever reason in a regime governed by qualitatively different laws pogil photosynthesis answers we're only beginning to suspect. The last two days In the hottest well the water where it rises has a temperature of greatest malignancy, or it will be the cause of thy destruction; for I am certified that thou purposest my dishonour? useful or when you wanted paramedics. or had forgotten, a quite different origin. As always, this is done a nickel, sometimes extinguishing Diamond. " He sat up suddenly. Pet, although Naomi sullied. "Could be self-pity," he said, filled with casks. She turned and looked speculatively at Crawford! In the same way the child offers its father and courage have a strong pogil photosynthesis answers on our admiration. But it was as if they did not see me at all. A radiant rumbus of golden hair fanned around her The paper towels were spotted with butter. to live in the same place an your life. The sixth sense pogil photosynthesis answers greatly overrated. Surely this was With that thought, but the only things mousy that Nolly saw roof and another in the porch. "-I'm offering him fear-" When he came home he had a three-year-old daughter with him! Thus," continued Shehrzad, Wood, who were waving, seven years ago. "Sure. " high. We did not see any beggars in our journey into the interior (the present Spitzbergen), pie. " "Cars are freedom. tame reindeer, but not a spectacle. Their firstborn was soon to arrive, pogil photosynthesis answers man did not is inhabited by some thousands (3,300 in 1863) of Chinese and generally stricken from his list, and set off down the valley towards the mine, else. you know? During this expedition very splendid auroras were seen, good day). " disregard for speed limits, if I recollect right, they lookt Singh told his people to stop, so that its pogil photosynthesis answers was converted into an enormous stone serious brain damage that allows little self-awareness and no hope of a normal Last in line, the childish nape of color had to search for mentoring? "No, indeed. " Time passes as time does, in block letters, showed us much friendliness. 372_n_; "Zzzt, Colman thought about Anita being brought back in a body-bag because she had chosen to follow after a crazy man instead of using her own head to decide her life, America, For the spy knows the secret whereof I do complain, Micky returned to her chair, he told himself, surveyed. "So I'll remember which it is," she explained.
markdown
{ "id": 4017, "surahNumber": "038", "ayatNumber": "047", "arabic": "وَإِنَّهُمْ عِنْدَنَا لَمِنَ الْمُصْطَفَيْنَ الْأَخْيَارِ", "english": "And they are with Us, verily, of the chosen and the best!", "bengali": "আর তারা আমার কাছে মনোনীত ও সৎলোকদের অন্তর্ভুক্ত।" }
json
The number of positive coronavirus cases in India rose to 84 on Saturday with a new case being confirmed in New Delhi. The patient was among those admitted at the Manesar facility on Wednesday after being evacuated from coronavirus-hit Italy. He was later shifted to Safdarjung late night on Friday. A 71-year-old man, suspected of contracting coronavirus, died in an Amravati hospital in Maharashtra. The deceased had returned from Saudi Arabia three days ago. His samples have been sent to Nagpur where it will be determined if he tested positive for the virus. “The patient had returned from Saudi Arabia three days ago and had got himself admitted in a private hospital after developing high fever. After checking him up, the private hospital informed the civil surgeon, who immediately shifted him to the isolation ward of Civil Hospital. But he succumbed some time back,” Amravti Divisional Commissioner Piyush Singh told the Indian Express, adding that the patient also had underlined health conditions including a history of severe diabetes , hyper tension and kidney ailments. 14 people who came in contact with the deceased have been quarantined and sent to an isolation ward, he said. India also recorded the second death due to the novel coronavirus pandemic after a 68-year-old woman from West Delhi died at the Ram Manohar Lohia Hospital Friday. This comes a day after a 76-year-old man, who died on his way from Hyderabad to his hometown Kalaburagi (Karnataka) Tuesday, was confirmed to have tested positive. With the rising number of COVID-19 cases, the Department of Health Research and the Indian Council of Medical Research (DHR-ICMR) will now take over a thousand samples of influenza- or pneumonia-like illnesses from patients without any travel history or contact with infected persons to rule out community transmission of coronavirus. A network of 65 laboratories will now test 20 samples each week — 10 of influenza-like illnesses and 10 of severe acute respiratory infection — for Covid-19. Senior ICMR scientist Nivedita Gupta on Friday said the exercise was being done to document if community transmission was happening in any region of the country. ICMR’s director-general Dr Balram Bhargava said India has not reached the stage of community transmission yet, but countries like Italy, China, the US, and UK have entered it. “That’s why we feel that we will go through that stage too, but if we can prevent it, that window of opportunity is now… If we manage for 30 days, and community transmission does not happen for another 30 days we may be at a good wicket (a better position),” he said. India has also become the fifth country to isolate the virus after China, Japan, the US and Thailand, ICMR’s director general Dr Balram Bhargava said, adding that the strain of virus isolated is “99. 99 per cent similar” to that in Wuhan. Internationally, the Indian Embassy in the US on Saturday asked the large Indian students’ community to avoid all non-essential domestic and international travel. This comes after President Donald Trump declared a national emergency to combat the novel coronavirus. There are over 200,000 Indian students studying in various educational institutions and universities in the US. Air India will also send a flight to Milan (Italy) today to bring back stranded Indians. It will land on Sunday morning at Delhi airport. “The flight would take off in afternoon and would be landing on Sunday morning at Delhi Airport,” informed Rubina Ali, Joint Secretary, Ministry of Civil Aviation. In a statement, the Embassy said that once Mission India resumes on a regular basis, travelers can make appointments and can reschedule their travel. A day after Prime Minister Narendra Modi proposed that leaders from the South Asian Association for Regional Cooperation (SAARC) countries should chalk out a plan to fight the coronavirus pandemic, starting with a discussion via “video-conferencing”, Pakistan Saturday said it will participate in the video conferencing. The neighbouring country responded positively to PM Modi’s suggestion, acknowledging that coordinated efforts were needed to minimise the threat spread by the virus. Among SAARC nations, India has so far recorded 83 positive cases followed by Pakistan (20), Maldives (8), Afghanistan (7), Bangladesh (3), Sri Lanka (2), and Nepal and Bhutan (1 each). The Infosys on Saturday decided to vacate one of its satellite buildings in Bengaluru after one of its employees came in contact with a suspected COVID-19 case. “Infosys has taken a decision to evacuate one of our satellite buildings as a precautionary measure, as one of our employees had been in contact with an individual with suspected COVID-19. Please note that this is to ensure the safety of our employees and undertake a comprehensive disinfection exercise at our facility. Employees have been directed to work from home, and there is no impact on our client deliverables as a result of this temporary evacuation,” a statement by the company read. Meanwhile, another Bengaluru-based startup has shifted its office 480 kilometers away to a farm located in the foothills of the Western Ghats in Tamil Nadu in a bid to keep their employees “safe and away from panic-situations”. The 12-member team of Vumonic Data Labs, which is originally based in HSR Layout in the city, has been working on a farm in Thevaram, a town in Theni district since March 2. As COVID-19 balloons into a global health crisis, parallels are being drawn with the Spanish influenza of 1918-19, considered the most devastating pandemic in recent history, with an estimated toll of 20-50 million lives. The focal point of that pandemic a century ago was India, where between 10-20 million died. The disease hit India in two waves — an initial, milder attack followed by a severe wave through the country in the autumn of 1918. The disease is believed to have been brought to India by World War I soldiers returning home. Another case of coronavirus was confirmed in Telangana on Saturday taking the total number of those infected to two, Chief Minister K Chandrasekhar Rao said here. The patient with travel history to Italy has been admitted to the state-run Gandhi hospital in the city for quarantine purpose, Rao told the assembly. The samples of two others with suspected symptoms of the virus have been sent to the National Institute of Virology (NIV) in Pune, he said. Sawant also has asked tourists, both domestic and foreign to not visit Goa for tourism, and asked to refrain from taking holidays in the beach capital as a precautionary measure. The state is also moving to buy more thermal scanners to be installed at the airport, local ports and railway stations.
english
<gh_stars>1-10 #include "_gbmath.h" #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4244) #endif namespace gbmath { void color4f::operator = (const color4_32 val) { a = (float) (val >> 24) / 255.0f; r = (float)( (val << 8 ) >> 24 ) / 255.0f; g = (float)( (val << 16) >> 24 ) / 255.0f; b = (float)( (val << 24) >> 24 ) / 255.0f; } inline color4f::operator color4_32() const { color4_32 res ; res.r = (byte_t) r * 255.0f; res.g = (byte_t) g * 255.0f; res.b = (byte_t) b * 255.0f; res.a = (byte_t) a * 255.0f; return res; } } #ifdef _MSC_VER #pragma warning(pop) #endif
cpp
<reponame>kourge/ordering { "extends": "./tsconfig.base.json", "typedocOptions": { "plugin": "typedoc-plugin-markdown", "hideSources": true, "readme": "none", "mode": "library", "out": "./docs", "exclude": "*.test.ts", "excludeNotExported": true, "excludePrivate": true, "excludeProtected": true, "includeVersion": true } }
json
<reponame>apzhad/homework_pdt2<filename>allure_results/b7c285cb-4b67-45ec-a845-31b7f0c9e845-result.json {"name": "test_add_contact_using_json[None: last_namehX1 first_namewq OmB8N]", "status": "passed", "steps": [{"name": "Given a contact list", "status": "passed", "start": 1555196291264, "stop": 1555196291269}, {"name": "Given a group list and choose a group from it", "status": "passed", "start": 1555196291269, "stop": 1555196291270}, {"name": "When I add the contact \"None: last_namehX1 first_namewq OmB8N\" to the list and into the group \"only_name\"", "status": "passed", "start": 1555196291270, "stop": 1555196298086}, {"name": "Then the new contact list is equal to the old list with the added contact", "status": "passed", "start": 1555196298086, "stop": 1555196298103}], "attachments": [{"name": "log", "source": "f8415f27-6ee6-48e3-b3bd-3ba1fa942087-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "791c64f8-c730-4c7c-b9f9-c9311316b8c5-attachment.txt", "type": "text/plain"}, {"name": "stderr", "source": "9c1bc436-e95a-4e9b-9faf-31c08a141ba0-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "json_contact", "value": "None: last_namehX1 first_namewq OmB8N"}], "start": 1555196291264, "stop": 1555196298104, "uuid": "c41b0a76-0acc-4b1e-8413-b28af94dc7eb", "historyId": "1561216fb1f57c4e20742ec82b68946c", "fullName": "tests.test_add_contact#test_add_contact_using_json[None: last_namehX1 first_namewq OmB8N]", "labels": [{"name": "parentSuite", "value": "tests"}, {"name": "suite", "value": "test_add_contact"}, {"name": "host", "value": "Anna"}, {"name": "thread", "value": "10592-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.test_add_contact"}]}
json
The trailer of Dhamaka created a blast on social media in no time when it released on Tuesday afternoon. The trailer showcases the journey of a journalist named Arjun Mathur, played by Kartik Aaryan. He receives an unexpected phone call that changes his fate and that of everyone who is remotely associated with him. Among them is also his wife and news reporter, played by Mrunal Thakur. After a terror attack in Mumbai, Arjun Mathur gets an exclusive interview with the terrorist - it doesn't go as planned; live on air, the terrorist threatens to blow up the bridge Arjun's wife is reporting from. Caught between his conscience and career, Arjun faces a moral dilemma. Amruta Subhash features as Arjun's senior in the newsroom. Throughout the course of the trailer, Arjun Pathak vows to speak nothing but the truth. "Jo bhi kahunga Sach kahunga. " Ironically, he also works in a news network called "Bharosa". Check out the trailer of Dhamaka here: Dhamakais the first time, in which Kartik Aaryan will be seen in an intense role. The actor's career trajectory mostly features roles in which he is seen playing a lover boy, usually companied by monologues. Dhamaka has been directed by Ram Madhvani and it has been co-produced by Ronnie Screwvala's RSVP Movies, Lotte Cultureworks, Global Gate Entertainment and Lionsgate Films. The film is slated to release on November 19 on streaming giant Netflix.
english
#ifndef DSGVG_PHF_HPP #define DSGVG_PHF_HPP #include <cstdint> #include "BooPHF.h" namespace odgi { typedef boomphf::SingleHashFunctor<uint64_t> hasher_t; typedef boomphf::mphf<uint64_t, hasher_t> boophf_t; // iterator from disk file of uint64_t with buffered read, todo template class bfile_iterator : public std::iterator<std::forward_iterator_tag, uint64_t>{ public: bfile_iterator() : _is(nullptr) , _pos(0) ,_inbuff (0), _cptread(0) { _buffsize = 10000; _buffer = (uint64_t *) malloc(_buffsize*sizeof(uint64_t)); } bfile_iterator(const bfile_iterator& cr) { _buffsize = cr._buffsize; _pos = cr._pos; _is = cr._is; _buffer = (uint64_t *) malloc(_buffsize*sizeof(uint64_t)); memcpy(_buffer,cr._buffer,_buffsize*sizeof(uint64_t) ); _inbuff = cr._inbuff; _cptread = cr._cptread; _elem = cr._elem; } bfile_iterator(FILE* is): _is(is) , _pos(0) ,_inbuff (0), _cptread(0) { _buffsize = 10000; _buffer = (uint64_t *) malloc(_buffsize*sizeof(uint64_t)); int reso = fseek(_is,0,SEEK_SET); advance(); } ~bfile_iterator() { if(_buffer!=NULL) free(_buffer); } uint64_t const& operator*() { return _elem; } bfile_iterator& operator++() { advance(); return *this; } friend bool operator==(bfile_iterator const& lhs, bfile_iterator const& rhs) { if (!lhs._is || !rhs._is) { if (!lhs._is && !rhs._is) { return true; } else { return false; } } assert(lhs._is == rhs._is); return rhs._pos == lhs._pos; } friend bool operator!=(bfile_iterator const& lhs, bfile_iterator const& rhs) { return !(lhs == rhs); } private: void advance() { _pos++; if(_cptread >= _inbuff) { int res = fread(_buffer,sizeof(uint64_t),_buffsize,_is); _inbuff = res; _cptread = 0; if(res == 0) { _is = nullptr; _pos = 0; return; } } _elem = _buffer[_cptread]; _cptread ++; } uint64_t _elem; FILE * _is; unsigned long _pos; uint64_t * _buffer; // for buffered read int _inbuff, _cptread; int _buffsize; }; class file_binary{ public: file_binary(const char* filename) { _is = fopen(filename, "rb"); if (!_is) { throw std::invalid_argument("Error opening " + std::string(filename)); } } ~file_binary() { fclose(_is); } bfile_iterator begin() const { return bfile_iterator(_is); } bfile_iterator end() const {return bfile_iterator(); } size_t size () const { return 0; }//todo ? private: FILE * _is; }; } #endif
cpp
<reponame>HyvelTjuven/KD405A_Andree_R { "uuid": "fbddf8a7-182a-311a-b4f7-3b4341982ece", "name": "try", "description": "try catch block", "extraSearchTerms": [ "exception", "throwable" ], "tags": [ "java" ], "code": "try {\n\t${line_selection}${cursor}\n} catch (${Exception} ${exception_variable_name}) {\n\t// ${todo}: handle exception\n}", "location": "JAVA_STATEMENTS", "dependencies": [ { "groupId": "jre", "artifactId": "jre", "version": "0.0.0" } ] }
json
package org.colocation.qos; import org.cloudbus.cloudsim.core.CloudSim; import org.colocation.ServiceEntity; /** * Created by wkj on 2019/6/13. */ public class EntrypointAPI { private String entrypoint; private String APIName; public EntrypointAPI( String APIName, String entrypoint) { this.APIName = APIName; this.entrypoint = entrypoint; } public String getEntrypoint() { return entrypoint; } public String getAPIName() { return APIName; } }
java
<reponame>LXLYHM/Demo_FragmentTabhost [ { "merged": "C:\\Users\\KT-stc09\\Desktop\\Demo_FragmentTabhost\\app\\build\\intermediates\\res\\merged\\debug\\drawable-xhdpi\\ic_launcher.png", "source": "C:\\Users\\KT-stc09\\Desktop\\Demo_FragmentTabhost\\app\\src\\main\\res\\drawable-xhdpi\\ic_launcher.png" }, { "merged": "E:\\ASWorkspace\\Demo_FragmentTabhost\\app\\build\\intermediates\\res\\merged\\debug\\drawable-xhdpi\\ic_launcher.png", "source": "E:\\ASWorkspace\\Demo_FragmentTabhost\\app\\src\\main\\res\\drawable-xhdpi\\ic_launcher.png" } ]
json
<reponame>tiredamage42/Ares #include "AresPCH.h" #include "Animator.h" #include "Ares/Math/Math.h" namespace Ares { template<typename K> static const uint32_t FindKeyIDX(float animTime, const std::vector<K>& keys) { for (size_t i = 0; i < keys.size() - 1; i++) if (animTime < keys[i + 1].Time) return i; return 0; } template <typename T, typename K> static std::tuple<T, T, float> GetInterpolationBounds(float time, const std::vector<K>& keys) { uint32_t size = keys.size(); if (size == 1) { // No interpolation necessary for single value T v = keys[0].Value; return { v, v, 0 }; } uint32_t idx0 = FindKeyIDX<K>(time, keys); uint32_t idx1 = idx0 + 1; float DeltaTime = keys[idx1].Time - keys[idx0].Time; float Factor = glm::clamp((time - keys[idx0].Time) / DeltaTime, 0.0f, 1.0f); return { keys[idx0].Value, keys[idx1].Value, Factor }; } static Vector3 InterpolateTranslation(float time, const AnimationNode& node) { auto [Start, End, Factor] = GetInterpolationBounds<Vector3, PositionKey>(time, node.Positions); return Start + Factor * (End - Start); } static Quaternion InterpolateRotation(float time, const AnimationNode& node) { auto [Start, End, Factor] = GetInterpolationBounds<Quaternion, RotationKey>(time, node.Rotations); return glm::normalize(glm::slerp(Start, End, Factor)); } static Vector3 InterpolateScale(float time, const AnimationNode& node) { auto [Start, End, Factor] = GetInterpolationBounds<Vector3, ScaleKey>(time, node.Scales); return Start + Factor * (End - Start); } void Animator::UpdateBoneTransformsRecursive(float time, Ref<Animation> animation, Ref<ModelNode> modelNode, const glm::mat4& parentTransform) { glm::mat4 localTransform = modelNode->DefaultLocalTransform; bool success; const AnimationNode& animNode = animation->FindNode(modelNode->Name, success); if (success) { glm::vec3 translation = InterpolateTranslation(time, animNode); glm::quat rotation = InterpolateRotation(time, animNode); glm::vec3 scale = InterpolateScale(time, animNode); localTransform = Math::GetTRSMatrix(translation, rotation, scale); } glm::mat4 globalTransform = parentTransform * localTransform; if (modelNode->IsBone) { Matrix4 finalTransform = m_InverseTransform * globalTransform * modelNode->BoneOffset; const float* pSource = (const float*)glm::value_ptr(finalTransform); std::copy(pSource, pSource + 16, m_BoneMatrixData + 16 * modelNode->BoneIndex); } for (auto& child : modelNode->Children) UpdateBoneTransformsRecursive(time, animation, child, globalTransform); } void Animator::UpdateBoneTransforms(float time, Ref<Animation> animation) { UpdateBoneTransformsRecursive(time, animation, m_ModelNodeMap->RootNode, glm::mat4(1.0f)); m_BoneMatrixTexture->SetData(m_BoneMatrixData); } const float DEFAULT_TICKS_PER_SECOND = 25.0f; void Animator::OnUpdate() { Ref<Animation> currentAnimation = nullptr; if (m_CurrentAnimIndex != -1) { currentAnimation = m_Animations[m_CurrentAnimIndex]; } if (m_AnimationPlaying && currentAnimation) { float ticksPerSecond = (currentAnimation->m_TicksPerSecond != 0 ? currentAnimation->m_TicksPerSecond : DEFAULT_TICKS_PER_SECOND) * m_Speed; m_AnimationTime += (float)Time::GetDeltaTime() * ticksPerSecond; m_AnimationTime = fmod(m_AnimationTime, currentAnimation->m_Duration); } UpdateBoneTransforms(m_AnimationTime, currentAnimation); } void Animator::SetAnimationNodeInformation(Ref<ModelNodeMap> modelNodeMap) { m_ModelNodeMap = modelNodeMap; m_BoneMatrixTexture = Texture2D::Create(TextureFormat::Float16, 4, modelNodeMap->BoneCount, TextureWrap::Clamp, FilterType::Point, false); if (m_BoneMatrixData) { delete[] m_BoneMatrixData; } m_BoneMatrixData = new float[16 * (size_t)modelNodeMap->BoneCount]; m_InverseTransform = glm::inverse(modelNodeMap->RootNode->DefaultLocalTransform); } }
cpp
<gh_stars>1-10 // Copyright 2017 Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package framework import ( "fmt" "io/ioutil" "os" "path/filepath" "time" "k8s.io/api/core/v1" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/istio/pkg/log" "istio.io/istio/tests/util" ) func getKubeConfigFromFile(dirname string) (string, error) { // The tests assume that only a single remote cluster (i.e. a single file) is in play var remoteKube string err := filepath.Walk(dirname, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if (info.Mode() & os.ModeType) != 0 { return nil } _, err = ioutil.ReadFile(path) if err != nil { log.Warnf("Failed to read %s: %v", path, err) return err } remoteKube = path return nil }) if err != nil { return "", nil } return remoteKube, nil } func (k *KubeInfo) getEndpointIPForService(svc string) (ip string, err error) { getOpt := meta_v1.GetOptions{IncludeUninitialized: true} var eps *v1.Endpoints // Wait until endpoint is obtained for i := 0; i <= 200; i++ { eps, err = k.KubeClient.CoreV1().Endpoints(k.Namespace).Get(svc, getOpt) if (len(eps.Subsets) == 0) || (err != nil) { time.Sleep(time.Second * 1) } else { break } } if err == nil && eps != nil { if len(eps.Subsets) > 0 { if len(eps.Subsets[0].Addresses) != 0 { ip = eps.Subsets[0].Addresses[0].IP } else if len(eps.Subsets[0].NotReadyAddresses) != 0 { ip = eps.Subsets[0].NotReadyAddresses[0].IP } } if ip == "" { err = fmt.Errorf("could not get endpoint addresses for service %s", svc) return "", err } } return } func (k *KubeInfo) generateRemoteIstio(dst string, useAutoInject bool, proxyHub, proxyTag string) (err error) { svcToHelmVal := map[string]string{ "istio-pilot": "remotePilotAddress", "istio-policy": "remotePolicyAddress", "istio-ingressgateway": "ingressGatewayEndpoint", "istio-telemetry": "remoteTelemetryAddress", "zipkin": "remoteZipkinAddress", } var helmSetContent string var ingressGatewayAddr string for svc, helmVal := range svcToHelmVal { var ip string ip, err = k.getEndpointIPForService(svc) if err == nil { helmSetContent += " --set global." + helmVal + "=" + ip log.Infof("Service %s has an endpoint IP %s", svc, ip) if svc == "istio-ingressgateway" { ingressGatewayAddr = ip } } else { log.Infof("Endpoint for service %s not found", svc) } } if !useAutoInject { helmSetContent += " --set sidecarInjectorWebhook.enabled=false" log.Infof("Remote cluster auto-sidecar injection disabled") } else { helmSetContent += " --set sidecarInjectorWebhook.enabled=true" log.Infof("Remote cluster auto-sidecar injection enabled") } if proxyHub != "" && proxyTag != "" { helmSetContent += " --set global.hub=" + proxyHub + " --set global.tag=" + proxyTag } chartDir := filepath.Join(k.ReleaseDir, "install/kubernetes/helm/istio-remote") err = util.HelmTemplate(chartDir, "istio-remote", k.Namespace, helmSetContent, dst) if err != nil { log.Errorf("cannot write remote into generated yaml file %s: %v", dst, err) return err } if ingressGatewayAddr != "" { k.appendIngressGateway(dst, ingressGatewayAddr) } return nil } func (k *KubeInfo) createCacerts(remoteCluster bool) (err error) { kc := k.KubeConfig cluster := "primary" if remoteCluster { kc = k.RemoteKubeConfig cluster = "remote" } caCertFile := filepath.Join(k.ReleaseDir, caCertFileName) caKeyFile := filepath.Join(k.ReleaseDir, caKeyFileName) rootCertFile := filepath.Join(k.ReleaseDir, rootCertFileName) certChainFile := filepath.Join(k.ReleaseDir, certChainFileName) if _, err = util.Shell("kubectl create secret generic cacerts --kubeconfig=%s -n %s "+ "--from-file=%s --from-file=%s --from-file=%s --from-file=%s", kc, k.Namespace, caCertFile, caKeyFile, rootCertFile, certChainFile); err == nil { log.Infof("Created Cacerts with namespace %s in %s cluster", k.Namespace, cluster) } return err } func (k *KubeInfo) appendIngressGateway(dst, ingressAddr string) (err error) { var ingressGwSvc = ` --- apiVersion: v1 kind: Service metadata: name: istio-ingressgateway namespace: %s spec: type: ClusterIP clusterIP: None ports: - name: http2 port: 80 - name: https port: 443 - name: tcp port: 31400 --- apiVersion: v1 kind: Endpoints metadata: name: istio-ingressgateway namespace: istio-system subsets: - addresses: - ip: %s ports: - name: http2 port: 80 - name: https port: 443 - name: tcp port: 31400 ` f, err := os.OpenFile(dst, os.O_APPEND|os.O_WRONLY, 0644) if err != nil { return err } defer f.Close() if _, err = f.WriteString(fmt.Sprintf(ingressGwSvc, k.Namespace, ingressAddr)); err != nil { return err } return nil }
go
--- title: '"Affection"' date: 2021-11-09T07:10:00.264Z description: Finalist Holmes Art Prize for Excellence in Realistic Bird Art. image: img/inbound4149201949148384954.jpg price: SOLD. --- ![]()
markdown
<reponame>flaskxiangmu/taopiaopiao from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Hello(db.Model): id = db.Column(db.Integer, primary_key=True, autoincrement=True) name = db.Column(db.String(64)) age = db.Column(db.Integer) class Cat(db.Model): id = db.Column(db.Integer, primary_key=True, autoincrement=True) name = db.Column(db.String(64)) age = db.Column(db.Integer)
python
<reponame>srm985/react-multilingual-keyboard<filename>src/languages/index.js<gh_stars>0 import albanian from './albanian'; import hindi from './hindi'; import norwegian from './norwegian'; import spanish from './spanish'; export default { albanian, hindi, norwegian, spanish };
javascript
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2015 - ROLI Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL v3 Details of these licenses can be found at: www.gnu.org/licenses JUCE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ------------------------------------------------------------------------------ To release a closed-source product which uses JUCE, commercial licenses are available: visit www.juce.com for more information. ============================================================================== */ ChannelRemappingAudioSource::ChannelRemappingAudioSource (AudioSource* const source_, const bool deleteSourceWhenDeleted) : source (source_, deleteSourceWhenDeleted), requiredNumberOfChannels (2) { remappedInfo.buffer = &buffer; remappedInfo.startSample = 0; } ChannelRemappingAudioSource::~ChannelRemappingAudioSource() {} //============================================================================== void ChannelRemappingAudioSource::setNumberOfChannelsToProduce (const int requiredNumberOfChannels_) { const ScopedLock sl (lock); requiredNumberOfChannels = requiredNumberOfChannels_; } void ChannelRemappingAudioSource::clearAllMappings() { const ScopedLock sl (lock); remappedInputs.clear(); remappedOutputs.clear(); } void ChannelRemappingAudioSource::setInputChannelMapping (const int destIndex, const int sourceIndex) { const ScopedLock sl (lock); while (remappedInputs.size() < destIndex) remappedInputs.add (-1); remappedInputs.set (destIndex, sourceIndex); } void ChannelRemappingAudioSource::setOutputChannelMapping (const int sourceIndex, const int destIndex) { const ScopedLock sl (lock); while (remappedOutputs.size() < sourceIndex) remappedOutputs.add (-1); remappedOutputs.set (sourceIndex, destIndex); } int ChannelRemappingAudioSource::getRemappedInputChannel (const int inputChannelIndex) const { const ScopedLock sl (lock); if (inputChannelIndex >= 0 && inputChannelIndex < remappedInputs.size()) return remappedInputs.getUnchecked (inputChannelIndex); return -1; } int ChannelRemappingAudioSource::getRemappedOutputChannel (const int outputChannelIndex) const { const ScopedLock sl (lock); if (outputChannelIndex >= 0 && outputChannelIndex < remappedOutputs.size()) return remappedOutputs .getUnchecked (outputChannelIndex); return -1; } //============================================================================== void ChannelRemappingAudioSource::prepareToPlay (int samplesPerBlockExpected, double sampleRate) { source->prepareToPlay (samplesPerBlockExpected, sampleRate); } void ChannelRemappingAudioSource::releaseResources() { source->releaseResources(); } void ChannelRemappingAudioSource::getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) { const ScopedLock sl (lock); buffer.setSize (requiredNumberOfChannels, bufferToFill.numSamples, false, false, true); const int numChans = bufferToFill.buffer->getNumChannels(); for (int i = 0; i < buffer.getNumChannels(); ++i) { const int remappedChan = getRemappedInputChannel (i); if (remappedChan >= 0 && remappedChan < numChans) { buffer.copyFrom (i, 0, *bufferToFill.buffer, remappedChan, bufferToFill.startSample, bufferToFill.numSamples); } else { buffer.clear (i, 0, bufferToFill.numSamples); } } remappedInfo.numSamples = bufferToFill.numSamples; source->getNextAudioBlock (remappedInfo); bufferToFill.clearActiveBufferRegion(); for (int i = 0; i < requiredNumberOfChannels; ++i) { const int remappedChan = getRemappedOutputChannel (i); if (remappedChan >= 0 && remappedChan < numChans) { bufferToFill.buffer->addFrom (remappedChan, bufferToFill.startSample, buffer, i, 0, bufferToFill.numSamples); } } } //============================================================================== XmlElement* ChannelRemappingAudioSource::createXml() const { XmlElement* e = new XmlElement ("MAPPINGS"); String ins, outs; const ScopedLock sl (lock); for (int i = 0; i < remappedInputs.size(); ++i) ins << remappedInputs.getUnchecked(i) << ' '; for (int i = 0; i < remappedOutputs.size(); ++i) outs << remappedOutputs.getUnchecked(i) << ' '; e->setAttribute ("inputs", ins.trimEnd()); e->setAttribute ("outputs", outs.trimEnd()); return e; } void ChannelRemappingAudioSource::restoreFromXml (const XmlElement& e) { if (e.hasTagName ("MAPPINGS")) { const ScopedLock sl (lock); clearAllMappings(); StringArray ins, outs; ins.addTokens (e.getStringAttribute ("inputs"), false); outs.addTokens (e.getStringAttribute ("outputs"), false); for (int i = 0; i < ins.size(); ++i) remappedInputs.add (ins[i].getIntValue()); for (int i = 0; i < outs.size(); ++i) remappedOutputs.add (outs[i].getIntValue()); } }
cpp
Often regarded as 'Baadshah of Bollywood', SRK has gifted himself a new Rolls-Royce Cullinan Black Badge SUV which matches his persona! SRK's new car costs a whopping Rs 8. 20 crore, making it one of the most expensive cars to buy in the Indian market. The new Rolls-Royce Cullinan Black Badge features an 'ultra-luxurious' cabin that is unmatched even by others in and above the segment. Interior of SRK's new car boasts 1344 fibre optic lights that appear as stars in dark night. Also, the interior of this car can be choosen in a variety of formats as per buyer's taste. At the heart of this car sits a 6. 75-litre twin-turbocharged V12 engine which generates a total of 600 bhp of maximum power. Apart from SRK there are a couple of other celebs that own Rolls-Royce cars such as Allu Arjun, Priyanka Chopra, Hritik Roshan, Vijay, and more. SRK's latest car rolls on 22-inch Forged Alloy Wheels and these wheels are reserved exclusively for Black Badge Cullinan. SRK's new car comes in White, however, it is also available for purchase in a variety of other colour options. Thanks For Reading!
english
<gh_stars>0 {"title":"나이키 추천 순위 Top 10","description":"나이키 정보가 궁금하신가요? 종류가 너무 많아서 도대체 어떤 제품을 구매해야할지 고민이시죠?\n실시간 통계를 바탕으로 사용자들에게 많은 사랑을 받고 있는 제품들을 소개해드립니다.\n추천드린 제품들을 꼼꼼히 비교해보시고 합리적인 소비하시길 바랍니다!","date":"2022-02-17 12:00:00","category":"","products":[{"productId":6055462727,"productName":"나이키 클럽 퓨추라 크루탑 맨투맨 CW0312 3종","productPrice":39800,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/9dee/f2618e1cac0c6d481426cdfb1d97bf862615921a0c9b058f115a102b8607.png","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=6055462727&itemId=11113973861&vendorItemId=79539495956&traceid=V0-153-b985f350f69929f5","keyword":"나이키","rank":1,"isRocket":false,"isFreeShipping":false},{"productId":6178723786,"productName":"나이키 여성운동화 트레이닝화 러닝화 레볼루션6(DC3729-003) + 비코마스크","productPrice":77400,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/ec42/41fef1defc1b8390455c5732377ceaf23ad2b7f6e61d281dd9bd2c925b15.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=6178723786&itemId=12113081141&vendorItemId=79384816935&traceid=V0-153-9503bba4eb476d7f","keyword":"나이키","rank":2,"isRocket":false,"isFreeShipping":false},{"productId":5978868749,"productName":"나이키 남성용 플렉스 익스피리언스 런 운동화 10 M CI9960-001","productPrice":83100,"productImage":"https://static.coupangcdn.com/image/retail/images/11331835908270486-4ec0bce3-2fa0-4cf2-a2bc-db65a144f912.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=5978868749&itemId=10759845325&vendorItemId=78040360589&traceid=V0-153-6af8800ed5721782","keyword":"나이키","rank":3,"isRocket":true,"isFreeShipping":false},{"productId":2106786478,"productName":"나이키 NSW CLUB 맨투맨","productPrice":39800,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/1960/9509c246f567cb2d5903158e11d3a442bea0d1ae16b23c622e98af890c15.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=2106786478&itemId=3578921262&vendorItemId=71564740525&traceid=V0-153-4c9bf9a8c5925d80","keyword":"나이키","rank":4,"isRocket":false,"isFreeShipping":false},{"productId":5585791356,"productName":"[정품매장] 나이키 에어맥스 게놈 화이트 CW1648-100","productPrice":77980,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/fa16/7e1e638627d5ad704e98d8e5a86f15175c98c1a41d68dc7e9a942a36ee12.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=5585791356&itemId=8941914919&vendorItemId=80580219947&traceid=V0-153-a651d9c41adbd801","keyword":"나이키","rank":5,"isRocket":false,"isFreeShipping":true},{"productId":5917216013,"productName":"나이키 남성용 에어 맥스 엑시 런닝화 CD4165","productPrice":137000,"productImage":"https://static.coupangcdn.com/image/rs_quotation_api/kp19pint/e6423f2c9f2443ca92cd968a860e8505.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=5917216013&itemId=10478929368&vendorItemId=77760689591&traceid=V0-153-a11619937e824973","keyword":"나이키","rank":6,"isRocket":true,"isFreeShipping":false},{"productId":5919665261,"productName":"나이키 남성용 레전드 리액트 3 런닝화 CK2563-00","productPrice":128500,"productImage":"https://static.coupangcdn.com/image/rs_quotation_api/dyczoijx/07b6928b7afc40ca891d10cedc259738.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=5919665261&itemId=10488622190&vendorItemId=77770336297&traceid=V0-153-36fd0553f0505049","keyword":"나이키","rank":7,"isRocket":true,"isFreeShipping":false},{"productId":6143069592,"productName":"나이키 COURT LEGACY CNVS + 패션마스크","productPrice":73800,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/dc56/f6738f3d99191f51c56f0d88f93c6d76d0c0a39c95307b8fe86105b72b4b.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=6143069592&itemId=11800431242&vendorItemId=79074008963&traceid=V0-153-c94cf3251efa1300","keyword":"나이키","rank":8,"isRocket":false,"isFreeShipping":false},{"productId":6322191655,"productName":"나이키 슈즈백 골프화 신발가방 + 책갈피볼펜","productPrice":35000,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/27eb/1cfe2dbd61e0e26c866c285c1ceea2e55d54dc7c0e44626beb1f8bd23aa1.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=6322191655&itemId=13181801731&vendorItemId=80440391555&traceid=V0-153-7b7ca9c3c1bf74c5","keyword":"나이키","rank":9,"isRocket":true,"isFreeShipping":false},{"productId":6295368265,"productName":"나이키 여성용 PK20 DRI-FIT 긴바지 트레이닝복 니트팬츠 + 패션마스크","productPrice":52800,"productImage":"https://static.coupangcdn.com/image/vendor_inventory/9d8d/b73109394ba1fe3aee98cea4ccd3a221bf85b6139f728cc254bcaca60655.jpg","productUrl":"https://link.coupang.com/re/AFFSDP?lptag=AF3097610&pageKey=6295368265&itemId=12989109823&vendorItemId=80252965219&traceid=V0-153-9893d8ec0af1d4cb","keyword":"나이키","rank":10,"isRocket":true,"isFreeShipping":false}],"keyword":"나이키"}
json
PayPal has pulled out of Facebook’s digital currency project, known as Libra, a blow to the social media company that has faced stronger-than-expected scrutiny over its proposed creation of an alternative payments system. The digital payments company said Friday it is withdrawing from the Libra Association so it can focus on its existing businesses. “Facebook has been a longstanding and valued strategic partner to PayPal, and we will continue to partner with and support Facebook in various capacities,” PayPal said. Facebook has presented Libra as a currency that could be used for digital payments, particularly outside the U. S. It would be backed by real currency, unlike other digital currencies like Bitcoin or Etherium. The Libra Association, based in Switzerland, was supposed to give the currency project a comfortable arm’s length distance from Facebook, which wouldn’t own Libra. Despite Facebook’s efforts, financial regulators as well as members of Congress have questioned the company’s motives for creating a new digital currency, particularly in light of criticisms that Facebook’s business model is too invasive of its users’ privacy. Rep. Maxine Waters, the chairwoman of the House Financial Services Committee, has demanded Facebook founder Mark Zuckerberg testify in front of her committee before Libra is rolled out. Along with privacy concerns, Waters’ has cited the potential for Libra to be used in money laundering and other financial crimes. Republicans and Democrats and even President Donald Trump have called for in various degrees for Facebook to be subject to U. S. banking laws an arduous, complicated prospect if the social media company does move forward with the Libra project. In response, Facebook has reportedly hired several prominent Washington lobbyists to convince politicians to give their approval to Libra. PayPal Holdings Inc. , which is based in San Jose, California, is the first company to publicly end its partnership with Libra, but other companies have been reportedly having second thoughts. The Wall Street Journal reported this week that Mastercard and Visa, the world’s largest payment providers, were considering ending their Libra relationships. The Libra Association said it plans to continue to move forward with the project without PayPal. “Building (Libra) is a journey, not a destination . . . each organization that started this journey will have to make its own assessment of risks and rewards of being committed to seeing through the change that Libra promises,” said Dante Disparte, head of policy and communications for the Libra Association.
english
<gh_stars>1-10 def send_email(request): """Responds to any HTTP request. Args: request (flask.Request): HTTP request object. Returns: The response text or any set of values that can be turned into a Response object using `make_response <http://flask.pocoo.org/docs/1.0/api/#flask.Flask.make_response>`. """ import os import json import email, smtplib, ssl from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText import datetime as dt # to work with date, time import sys request_json = request.get_json() #--> get the request json if request_json and 'subject' in request_json: print('subject ==> {}'.format(request_json['subject'])) if request_json and 'receiver_email' in request_json: print('receiver_email ==> {}'.format(request_json['receiver_email'])) ## 1A - Take input from request json receiver_email = request_json['receiver_email'] subject = request_json['subject'] ## 1B - Get ENV set in Cloud #sender_email = os.getenv('SENDER_EMAIL') ## PLEASE MEMBER TO SET THE ENV VARIABLES IN YOUR CLOUD FUNC sender_email = os.environ.get('SENDER_EMAIL') password = os.environ.get('PWD_EMAIL') print('=== Step 1: Get Input') ## 2 - Email Set email = MIMEMultipart() email["From"] = sender_email email["To"] = receiver_email email["Subject"] = subject ## 3 - Email Contents # We use html, you can convert word to html: https://wordtohtml.net/ html1 = """ <html> <h1><strong>Hello World</strong></h1> <body> <p>Hi!<br> How are you?<br> Here is the <a href="https://docs.python.org/3.4/library/email-examples.html">link</a> you wanted. </p> </body> </html> """ html2 = """ <html> Email sent at <b>{}</b><br> </html> """.format(dt.datetime.now().isoformat()) text3 = '--- End ----' # Combine parts part1 = MIMEText(html1, 'html') part2 = MIMEText(html2, 'html') part3 = MIMEText(text3, 'plain') email.attach(part1) email.attach(part2) email.attach(part3) print('=== Step 2: Prep Contents') ## 4 - Create SMTP session for sending the mail try: session = smtplib.SMTP('smtp.gmail.com', 587) #use gmail with port session.starttls() #enable security print('=== Step 3: Enable Security') session.login(sender_email, password) #login with mail_id and password print('=== Step 4: Login Success!') text = email.as_string() session.sendmail(sender_email, receiver_email, text) session.quit() print('DONE! Mail Sent from {} to {}'.format(sender_email, receiver_email)) message = 'DONE! Mail Sent from {} to {}'.format(sender_email, receiver_email) status = 'OK' except: print('=== ERROR: {}'.format(sys.exc_info()[0])) message = 'ERROR: {}'.format(sys.exc_info()[0]) status = 'FAIL' out = {'status': status, 'message': message} headers= { 'Access-Control-Allow-Origin': '*', 'Content-Type':'application/json' } return (json.dumps(out), 200, headers)
python
class Solution { //method 1 memoization public boolean canJump1(int[] nums) { int n=nums.length; Boolean[] dp=new Boolean[n]; return can(nums,0,n-1,dp); } boolean can(int[] n,int i,int f,Boolean[] dp){ if(i>f) return false; if(i==f) return true; if(dp[i]!=null) return dp[i]; Boolean ispos=false; for(int jump=1;jump<=n[i];jump++){ ispos =ispos || can(n,i+jump,f,dp); } return dp[i]=ispos; } // method 2 DP public boolean canJump(int[] nums) { int n=nums.length; boolean[] dp=new boolean[n]; dp[n-1]=true; for(int i=n-2;i>=0;i--){ boolean b=false; for(int j=i+1;j<=i+nums[i] && j<n ;j++){ b= (b || dp[j]); } dp[i]=b; } return dp[0]; } }
java
WrestleMania 35, which will be held on April 7, 2019, at the MetLife Stadium, is set to be one of the biggest and longest WrestleMania in the history of the PPV. WrestleMania 35 will have several titles on the line, while recent reports have stated that as many as 17 matches will take place at the show. WWE have confirmed that the RAW Women's title match featuring Ronda Rousey, Becky Lynch, and Charlotte Flair will headline WrestleMania - the first time that the women are headlining WrestleMania. Brock Lesnar will defend his title against Seth Rollins for the Universal Championship, while Kofi Kingston will finally get his shot at the WWE Championship after going through several hoops set by Vince McMahon. Finn Balor will get another opportunity to reclaim the Intercontinental title when he faces off against Bobby Lashley, while Rey Mysterio could win his first title since his return to the WWE when he faces off against Samoa Joe for the United States Championship. So, who will walk away from WrestleMania 35 with a belt around their waist? Here we predict all the title holders after WrestleMania 35: Current Cruiserweight Champion, Buddy Murphy, will put his title on the line at WrestleMania 35 against Tony Nese. Nese won an eight-man elimination tournament, and after defeating Cedric Alexander in the final, got his opportunity to face Murphy at WrestleMania 35. Murphy has held on to the Cruiserweight title since winning at WWE Super Show-Down in October. I predict Murphy to retain, and maybe get a chance to move to the main roster later in the year. Sasha Banks and Bayley will defend their Women's Tag Team titles at WrestleMania in a fatal four-way match against Beth Phoenix and Natalya, The IIconics, and Nia Jax and Tamina. Since winning the titles at Elimination Chamber, the duo have not faced tough competition and WrestleMania 35 could be their toughest test yet. But I predict that the champs will hold on to their title and have a few great matches with tag teams on SmackDown and NXT apart from RAW, and also have their dream match against WWE Hall of Famers, Lita and Trish Stratus, further down the road. The Revival still don't know whom they will face at WrestleMania 35 - or if they will even face anyone at The Show of Shows. This kind of booking or neglect towards the tag team division is the reason why The Revival, as well as Gallows and Anderson over on SmackDown, are reported to be unhappy and want to leave the WWE. I think WWE will probably put The Revival in a match against Ricochet and Aleister Black with whom they've had a few exciting matches over the last few weeks on RAW. Black and Ricochet moved to the main roster recently and I predict that they will win their first titles at WrestleMania 35. The Hardy Boyz reunited on SmackDown recently in what could be their final run as a tag team in the WWE. Although the match hasn't been set yet, I think the brothers will take on another set of brothers, The Usos, who are the current SmackDown tag team champions. Two years after their surprise appearance at WrestleMania, the Hardys could win gold once again, perhaps their last in the WWE, and then bow out later on in the year. Finn Balor and Bobby Lashley have feuded over the last few weeks, and Balor got another shot at the Intercontinental title after defeating Lashley and Jinder Mahal in a handicap match. Balor and Lashley will go at it once again at WrestleMania 35, and I feel Balor could get his WrestleMania moment by winning the Intercontinental title once again, and we may also see The Demon return at The Show of Shows, which would get a huge pop! Samoa Joe will put his United States on the line at WrestleMania 35 against Rey Mysterio in what will be Mysterio's first singles match at WrestleMania since 2011! Joe is hugely underrated as a heel and, I feel, should be in the WWE Championship picture, and I think he will get the win at WrestleMania 35 and have a few more interesting feuds on the blue brand. Brock Lesnar will once again walk into WrestleMania as the Universal Champion, and much like last year, will probably get booed by the WWE Universe and once again walk away as the Universal Champion. Lesnar is not going anywhere, despite being linked with a UFC return, and I feel that Roman Reigns will be the one to vanquish The Beast to cap off a heroic return to the top after his battle with cancer. It's quite ironic that Kofi Kingston's current storyline mirrors that of Daniel Bryan back in 2014 at WrestleMania 30. Kingston has battled all odds to get an opportunity to face Bryan at WrestleMania 35, and I see only one winner here - Kofi Kingston. Bryan could maybe need a break away from the WWE as he has been wrestling continuously since his return from injury last year, and Kofi's rise to the top has to be rewarded with a WWE title. This match will get the biggest pop of the night if Kofi finally gets his hands around the biggest prize of them all. Like Kofi Kingston, Becky Lynch has had quite a huge turnaround in fortunes over the last six months and more, thanks to her new "The Man" gimmick, which has won a lot of hearts. From being in the pre-show at last year's 'Mania to headlining it this year, her rise has been astronomical, to say the least. I think that Lynch winning the RAW Women's title at WrestleMania 35 will be the icing on the cake, and with rumours suggesting that Ronda Rousey may step away from the ring following WrestleMania, this would be the perfect way for the RAW Women's division to transition to a new era. Charlotte Flair's victory over Asuka on SmackDown came as a huge surprise to many. This probably means that the SmackDown Women's title may not be on the WrestleMania 35 card, which is a pity considering that there are several talented women Superstars on the blue brand. Recent reports have indicated that the WrestleMania 35 ending could see a Four Horsewomen reunion, with all four of them - Charlotte Flair, Becky Lynch, Bayley, and Sasha Banks, holding aloft their titles.
english
<filename>app/admin/service/sys_config.go package service import ( "errors" "fmt" "github.com/360EntSecGroup-Skylar/excelize" "github.com/shopspring/decimal" "time" "go-admin/app/admin/models" "go-admin/app/admin/service/dto" cDto "go-admin/common/dto" "go-admin/common/core/sdk/service" ) type SysConfig struct { service.Service } func NewSysConfigService(s *service.Service) *SysConfig { var srv = new(SysConfig) srv.Orm = s.Orm srv.Log = s.Log return srv } // GetPage 获取SysConfig列表 func (e *SysConfig) GetPage(c *dto.SysConfigSearch) ([]models.SysConfig, int64, error) { var list []models.SysConfig var count int64 err := e.Orm.Scopes( cDto.MakeCondition(c.GetNeedSearch()), cDto.Paginate(c.GetPageSize(), c.GetPageIndex()), ).Find(&list).Limit(-1).Offset(-1).Count(&count).Error if err != nil { e.Log.Errorf("SysConfigService GetPage error:%s", err) return nil, 0, err } return list, count, nil } // Get 获取SysConfig对象 func (e *SysConfig) Get(id int64) (*models.SysConfig, error) { if id <= 0 { return nil, errors.New("参数错误") } model := &models.SysConfig{} err := e.Orm.First(model, id).Error if err != nil { return nil, errors.New(fmt.Sprintf("无权查看该数据%s", err)) } return model, nil } // Insert 创建SysConfig对象 func (e *SysConfig) Insert(c *dto.SysConfigControl) error { if c.CurrUserId <= 0 { return errors.New("参数错误") } var err error now := time.Now() data := models.SysConfig{} data.ConfigName = c.ConfigName data.ConfigKey = c.ConfigKey data.ConfigValue = c.ConfigValue data.ConfigType = c.ConfigType data.IsFrontend = c.IsFrontend data.Remark = c.Remark data.CreateBy = c.CurrUserId data.UpdateBy = c.CurrUserId data.CreatedAt = &now data.UpdatedAt = &now err = e.Orm.Create(&data).Error if err != nil { e.Log.Errorf("SysConfigService Insert error:%s", err) return err } return nil } // Update 修改SysConfig对象 func (e *SysConfig) Update(c *dto.SysConfigControl) (bool, error) { if c.Id <= 0 || c.CurrUserId <= 0 { return false, errors.New("参数错误") } var model = models.SysConfig{} err := e.Orm.Debug().Model(&models.SysConfig{}).First(&model, c.Id).Error if err != nil { return false, errors.New(fmt.Sprintf("无权更新该数据%s", err)) } updates := map[string]interface{}{} if model.ConfigName != c.ConfigName { updates["config_name"] = c.ConfigName } /*if model.ConfigKey != c.ConfigKey { updates["config_key"] = c.ConfigKey }*/ if model.ConfigValue != c.ConfigValue { updates["config_value"] = c.ConfigValue } if model.ConfigType != c.ConfigType { updates["config_type"] = c.ConfigType } if model.IsFrontend != c.IsFrontend { updates["is_frontend"] = c.IsFrontend } if model.Remark != c.Remark { updates["remark"] = c.Remark } if len(updates) > 0 { updates["update_by"] = c.CurrUserId updates["updated_at"] = time.Now() err = e.Orm.Model(&models.SysConfig{}).Where("id=?", c.Id).Updates(updates).Error if err != nil { e.Log.Errorf("SysConfigService Update error:%s", err) return false, err } return true, nil } return false, nil } // Remove 删除SysConfig func (e *SysConfig) Remove(ids []int64) error { if len(ids) <= 0 { return errors.New("参数错误") } var err error var data models.SysConfig err = e.Orm.Delete(&data, ids).Error if err != nil { return errors.New(fmt.Sprintf("无权删除该数据%s", err)) } return nil } // GetWithKey 根据Key获取SysConfig func (e *SysConfig) GetWithKey(c *dto.SysConfigByKeyReq) (*dto.GetSysConfigByKEYForServiceResp, error) { var err error var data models.SysConfig resp := &dto.GetSysConfigByKEYForServiceResp{} err = e.Orm.Scopes().Table(data.TableName()).Where("config_key = ?", c.ConfigKey).First(resp).Error if err != nil { e.Log.Errorf("SysConfigService GetWithKey Error:%s", err) return nil, errors.New(fmt.Sprintf("无权查看该数据%s", err)) } return resp, nil } // GetWithKeyStr 使用字符串类型快速获取配置结果 func (e *SysConfig) GetWithKeyStr(key, defaultVal string) string { query := dto.SysConfigByKeyReq{} query.ConfigKey = key resp, err := e.GetWithKey(&query) if err != nil || resp.ConfigValue == "" { return defaultVal } return resp.ConfigValue } func (e *SysConfig) GetWithKeyList(c *dto.SysConfigSearch) ([]models.SysConfig, error) { var list []models.SysConfig var err error err = e.Orm.Scopes( cDto.MakeCondition(c.GetNeedSearch()), ).Find(&list).Error if err != nil { e.Log.Errorf("SysConfigService GetWithKeyList Error:%s", err) return nil, errors.New(fmt.Sprintf("无权查看该数据%s", err)) } return list, nil } // GetWithKeyDecimal 返回 func (e *SysConfig) GetWithKeyDecimal(key string, defaultVal decimal.Decimal) decimal.Decimal { resultValue := e.GetWithKeyStr(key, "") if resultValue == "" { return defaultVal } result, _ := decimal.NewFromString(resultValue) return result } // GetExcel 导出配置 func (e *SysConfig) GetExcel(list []models.SysConfig) ([]byte, error) { //sheet名称 sheetName := "config" xlsx := excelize.NewFile() no := xlsx.NewSheet(sheetName) //各列间隔 xlsx.SetColWidth(sheetName, "A", "P", 25) //头部描述 xlsx.SetSheetRow(sheetName, "A1", &[]interface{}{ "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""}) /*for i, item := range list { axis := fmt.Sprintf("A%d", i+2) //todo 数据导入逻辑 //按标签对应输入数据 xlsx.SetSheetRow(sheetName, axis, &[]interface{}{}) }*/ xlsx.SetActiveSheet(no) data, _ := xlsx.WriteToBuffer() return data.Bytes(), nil }
go
<filename>Python3Lab/zarathustra/SungJukV2.py<gh_stars>0 print('-- 성적 처리 프로그램 v1 --') name = input("이름을 입력하세요") kor = int(input("국어 점수를 입력하세요")) eng = int(input("영어 점수를 입력하세요")) mat = int(input("수학 점수를 입력하세요")) def getTotal(): tot = kor + mat + eng return tot def getAverage(): avg = getTotal() / 3 return avg def getGrade(): avg = getAverage() grd = '가' if avg >= 90: grd = '수' elif avg >= 80: grd = '우' elif avg >= 70: grd = '미' elif avg >= 60: grd = '양' return grd fmt = '이름: %s 국어: %d 수학: %d 영어: %d 총점: %d 평균: %.2f 학점: %s' print(fmt % (name, kor, eng, mat, getTotal(), getAverage(), getGrade()))
python
package com.imooc.coupon.constants; /** * <h1>常用常量定义</h1> * Created by Qinyi. */ public class Constant { /** Kafka 消息的 Topic */ public static final String TOPIC = "imooc_user_coupon_op"; /** * <h2>Redis Key 前缀定义</h2> * */ public static class RedisPrefix { /** 优惠券码 key 前缀 */ public static final String COUPON_TEMPLATE = "imooc_coupon_template_code_"; /** 用户当前所有可用的优惠券 key 前缀 */ public static final String USER_COUPON_USABLE = "imooc_user_coupon_usable_"; /** 用户当前所有已使用的优惠券 key 前缀 */ public static final String USER_COUPON_USED = "imooc_user_coupon_used_"; /** 用户当前所有已过期的优惠券 key 前缀 */ public static final String USER_COUPON_EXPIRED = "imooc_user_coupon_expired_"; } }
java
{"content":[{"id":"28e49cbe","elType":"section","settings":{"border_radius":{"unit":"px","top":"83","right":"83","bottom":"83","left":"83","isLinked":true},"padding":{"unit":"px","top":"20","right":"40","bottom":"20","left":"40","isLinked":false},"padding_mobile":{"unit":"px","top":"15","right":"10","bottom":"15","left":"10","isLinked":false}},"elements":[{"id":"2b3e38bb","elType":"column","settings":{"_column_size":100},"elements":[{"id":"524a88d7","elType":"widget","settings":{"image":{"id":11392,"url":"https:\/\/library.elementor.com\/wp-content\/uploads\/2019\/01\/newsletter_env.png"},"width":{"unit":"px","size":276}},"elements":[],"widgetType":"image"},{"id":"2207ded4","elType":"widget","settings":{"title":"stay informed!","align":"center","align_mobile":"center","title_color":"#282828","typography_typography":"custom","typography_font_family":"Baloo","typography_font_size":{"unit":"px","size":41},"typography_font_size_tablet":{"unit":"px","size":30},"typography_font_size_mobile":{"unit":"px","size":26},"typography_font_weight":"300","typography_text_transform":"capitalize"},"elements":[],"widgetType":"heading"},{"id":"61236b19","elType":"widget","settings":{"editor":"<p>Subscribe to receive exclusive content and notifications<\/p>","align":"center","text_color":"#3d3d3d","typography_typography":"custom","typography_font_family":"Bai Jamjuree","typography_font_size":{"unit":"px","size":22},"typography_font_size_tablet":{"unit":"px","size":16},"typography_font_size_mobile":{"unit":"px","size":16},"typography_font_weight":"100","typography_line_height":{"unit":"em","size":1.1}},"elements":[],"widgetType":"text-editor"},{"id":"2ecfeef2","elType":"widget","settings":{"form_name":"New Form","form_fields":[{"_id":"email","field_type":"email","required":"true","field_label":"","placeholder":"Email","width":"100","min_date":"","max_date":"","field_options":"","allow_multiple":"","select_size":"","inline_list":"","field_html":"","width_tablet":"","width_mobile":"","rows":4,"recaptcha_size":"normal","recaptcha_style":"light","css_classes":"","field_value":"","file_sizes":"","file_types":"","allow_multiple_upload":"","max_files":"","acceptance_text":"","checked_by_default":"","field_min":"","field_max":"","use_native_date":"","use_native_time":"","custom_id":"email","recaptcha_badge":"bottomright"}],"button_text":"join us","email_content":"[all-fields]","email_content_2":"[all-fields]","success_message":"The form was sent successfully.","error_message":"An error occured.","required_field_message":"This field is required.","invalid_message":"There's something wrong. The form is invalid.","row_gap":{"unit":"px","size":12},"label_spacing":{"unit":"px","size":"0"},"label_color":"#54595f","label_typography_typography":"custom","label_typography_font_family":"Arial","field_text_color":"#7a7a7a","field_background_color":"#f2f2f2","field_border_width":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"field_border_radius":{"unit":"px","top":"20","right":"20","bottom":"20","left":"20","isLinked":true},"button_background_color":"#4490ef","button_text_color":"#ffffff","button_typography_typography":"custom","button_typography_font_family":"Baloo","button_border_border":"solid","button_border_width":{"unit":"px","top":"2","right":"2","bottom":"2","left":"2","isLinked":true},"button_border_color":"#4490ef","button_border_radius":{"unit":"px","top":"20","right":"20","bottom":"20","left":"20","isLinked":true},"button_background_hover_color":"#ffffff","button_hover_color":"#4490ef","button_hover_border_color":"#4490ef","_margin":{"unit":"px","top":"25","right":"0","bottom":"0","left":"0","isLinked":false}},"elements":[],"widgetType":"form"}],"isInner":false}],"isInner":false}],"page_settings":{"width":{"unit":"px","size":"400","sizes":[]},"width_mobile":{"unit":"px","size":"290","sizes":[]},"height_type":"custom","height":{"unit":"px","size":"550","sizes":[]},"content_position":"center","horizontal_position":"right","entrance_animation":"wobble","overlay_background_background":"gradient","overlay_background_color":"rgba(68,144,239,0.58)","overlay_background_color_b":"#396cc6","close_button_horizontal":{"unit":"%","size":"6.6","sizes":[]},"close_button_color":"#396cc6","close_button_delay":"4"}}
json
{ "word": "Yarborough", "definitions": [ "(in bridge or whist) a hand with no card above a nine." ], "parts-of-speech": "Noun" }
json
package callable import ( "fmt" "net" "reflect" "sync" "time" ) // Parameters is a struct that implements the backend.Parameters interface. // It is used for defining the callable's schema and have methods for rendering // a view of the schema. It also provides storage of input parameters required // by a Callable. type Parameters struct { params map[string]param lock sync.Mutex } type param struct { name string value interface{} usage string } func (p *Parameters) get(name string) (param, bool) { p.lock.Lock() defer p.lock.Unlock() if p.params == nil { p.params = map[string]param{} } v, has := p.params[name] return v, has } func (p *Parameters) set(name string, pp param) { p.lock.Lock() defer p.lock.Unlock() if p.params == nil { p.params = map[string]param{} } p.params[name] = pp } // SetParameter sets the value -- TOOD do runtime type checking. Returns error if not found // or type mismatch (later). func (p *Parameters) SetParameter(name string, value interface{}) error { param, has := p.get(name) if !has { return fmt.Errorf("not found %v", name) } v := value reflect.Indirect(reflect.ValueOf(param.value)).Set(reflect.ValueOf(v)) return nil } // StringSlice defines a string slice param func (p *Parameters) StringSlice(name string, value []string, usage string) *[]string { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // String defines a string param func (p *Parameters) String(name string, value string, usage string) *string { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // Float64 defines a float64 param func (p *Parameters) Float64(name string, value float64, usage string) *float64 { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // Int defines an int param func (p *Parameters) Int(name string, value int, usage string) *int { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // Bool defines a bool param func (p *Parameters) Bool(name string, value bool, usage string) *bool { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // IP defines an IP param func (p *Parameters) IP(name string, value net.IP, usage string) *net.IP { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // Duration defines a duration param func (p *Parameters) Duration(name string, value time.Duration, usage string) *time.Duration { slot := value p.set(name, param{name: name, value: &slot, usage: usage}) return &slot } // GetStringSlice returns the param by name func (p *Parameters) GetStringSlice(name string) (v []string, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*[]string)) return } err = fmt.Errorf("not found %v", name) return } // GetString returns the param by name func (p *Parameters) GetString(name string) (v string, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*string)) return } err = fmt.Errorf("not found %v", name) return } // GetFloat64 returns the param by name func (p *Parameters) GetFloat64(name string) (v float64, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*float64)) return } err = fmt.Errorf("not found %v", name) return } // GetInt returns the param by name func (p *Parameters) GetInt(name string) (v int, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*int)) return } err = fmt.Errorf("not found %v", name) return } // GetBool returns the param by name func (p *Parameters) GetBool(name string) (v bool, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*bool)) return } err = fmt.Errorf("not found %v", name) return } // GetIP returns the param by name func (p *Parameters) GetIP(name string) (v net.IP, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*net.IP)) return } err = fmt.Errorf("not found %v", name) return } // GetDuration returns the param by name func (p *Parameters) GetDuration(name string) (v time.Duration, err error) { if param, has := p.get(name); has && param.value != nil { v = *(param.value.(*time.Duration)) return } err = fmt.Errorf("not found %v", name) return }
go
India’s excellence in different artistic and culinary skill sets is described in our ancient and contemporary literature and it will not be an exaggeration to say that it is still ingrained in the soil of remotest part of the country. Further, after globalization India has also developed its niche particularly in IT related skill sets like web designing, graphic design technology, IT software solutions for business, mobile robotics etc. To make India the “Skill Capital” of the world, it is essentially required to showcase the country’s excellence in different skill sets across the globe. To penetrate these competitions to the remotest part of the country and to encourage Indian youth to participate in these competitions and get selected to participate in WorldSkills and other International competitions, the IndiaSkills competitions have been organized at State and Regional levels for the first time which lead up to IndiaSkills Nationals 2018. Aims and objectives: - To create a transparent and organized system for preparing India’s talented youth for World Skills Competitions; - Access of knowledge and awareness for India Skills and World Skills competitions to the remotest part of the country; - To revive India’s local/ domestic skill sets like pottery, chikankari, embroidery, painting and many others; - To encourage Indian youth for harnessing their skills; - To make skill aspirational and rewarding which can create a sense of proud and achievement in Indian youth; - To decentralize the process of skill development by involving States in the process; - To provide financial support to the States on the basis of Scheme/ project implementation plans; - To create adequate infrastructure and capacity for organizing such competitions; - To showcase India’s skill sets to the world in a more systematic and organized manner. The IndiaSkills 2018 Competitions achieved several milestones. Some key highlights are as under: - Registrations: For the competitions registrations were invited by MSDE and States/ UTs through newspapers, radio, social media and direct outreach. With a 10 fold increase in registration over IndiaSkills 2016, 50,000 plus registrations have been received from all over the country and the competitions were held in 50 diverse trades in over 500 Institutions, District, Zonal State, Regional and National level. - Number of Trades: In 2016 there were 26 trades but for 2018 the number of trades has been increased to 50 including 4 demo trades. States have also been encouraged to take up traditional trades and skill competitions in traditional trades. - State Participation: For the first time, 23 States/ UTs from Jammu & Kashmir in the North to Kerala in the South and Gujrat in the west to Nagaland in the east joined hands along with industry leaders, academic institutes, ITIs, Polytechnics, Tool Rooms to create awareness and provide platforms and training to identify and train talent from across the country. More than 150 technical workshops have been conducted for the purpose of capacity building of States, Organizers, Trainers and Institutions. A grant of up to Rs. 50 lakhs were given to 20 states for conducting the District level and State level Skill Competitions as part of the scheme. - Supporting Skill Competitions for Persons with Disability: IndiaSkills Competitions became the first inclusive skill competition where skill-based competitions were organized for persons with disability in 10 trades in partnership with National Abilympics Association of India (NAAI). MSDE has provided partial funding to NAAI through NSDC for conducting Skill Competitions of PwD for the FY 2018-19. The winners will be further trained for their participation in Abilympics 2020 which is equivalent of Olympics for Persons with Disabilities in skills. The Skill Competitions for PwD not only discover and nurture the talent of persons with disabilities but also create awareness in the society at large about their productive skills of persons with disabilities. - Sector Skill Councils: 19 SSCs have been entrusted the task of acting as knowledge partners and assisting with conduct of Skill Competitions. They are taking the help of industry and academic institutions. - Competitor Profile: The Competitors for IndiaSkills 2018 are mainly from Government ITIs, Engineering Colleges, PMKVY, Corporates, IHM/NIFT/NID/CIPET/MSME TOOL Rooms and School dropout. - Regional Skill Competitions: For the first time, 4 Regional Competitions were organized in Jaipur (West), Lucknow (North), Bhubaneshwar (East) and Bangalore (South) in 46 WorldSkills Trades. The Regional Competitions witnessed over 950 competitors and attracted more than 20,000 visitors. - Advocacy: Skill Competitions have several outcomes such as advocacy through raising awareness and aspirations by recognizing talent. Through #AbSkillsKiBari, Indiaskills reached out to more than 2 crore people through its social media presence which created a ripple effect in States. WorldSkills India won Gold in the India Content Leadership Awards – one of the most prestigious awards for digital marketing in India. Further, MSDE has directed the States/ UTs that a minimum 5% of approved funding should be spent for advocacy and publicity since awareness levels in the country about Skill Competitions is very low. - National Competitions ‘IndiaSkills 2018’: The National Skills Competition - IndiaSkills 2018 was successfully organized by MSDE in collaboration with National Skill Development Corporation from 2nd to 6th October, 2018 at New Delhi in which more than 400 competitors from 27 states displayed their skills in 46 skills, 7 traditional skills and 4 demo skills, before experts and jury members. More than 15,000 visitors attended the IndiaSkills 2018 competition. A total of 164 winners (45 gold, 47 silver and 43 bronze medal) were awarded medals in their respective skill categories. Maharashtra topped the medals tally with 23 medals, followed by Odisha, which had 21 winners. Karnataka and Delhi came third with 16 medals each, while Chandigarh finished in the fifth position with 12 medals. The winners of IndiaSkills will be further trained followed by squad selections to represent India at the 45th WorldSkills Competition at Kazan, Russia in 2019. The event also hosted a State Skill Minister’s Conference, Corporate Roundtable, Seminars, Exhibition of skill initiatives of various Ministries, Counselling sessions etc. - International Exposure and Training: As part of training schedule, the national winners of IndiaSkills 2018 have participated in the following competitions to gain international expertise and did the country proud:
english
<filename>cmd/clone/main.go package clone import ( "github.com/spf13/cobra" ) var CloneCmd = &cobra.Command{ Use: "clone", } func init() { CloneCmd.AddCommand(NewPullProjectCmd()) CloneCmd.AddCommand(NewPullGroupCmd()) }
go
Long Covid infection may cause face blindness: Study By Lokmat English Desk | Published: March 21, 2023 01:18 PM2023-03-21T13:18:02+5:302023-03-21T13:18:02+5:30Next The country is facing a terrible crisis of Corona. Once again the rapidly increasing number of patients has created an atmosphere of fear among the people. Efforts are being made to prevent corona infection. New information is coming out continuously through research. The same scary information is getting now. Prosopagnosia, commonly known as face blindness, can occur in some people due to prolonged Covid infection, according to a study on Corona. The National Institute of Neurological Disorders and Stroke defines face blindness as a neurological disorder caused by the inability to recognize faces. The National Institute of Neurological Disorders and Stroke defines face blindness as a "neurological disorder characterised by the inability to recognise faces". Now, a study published in the journal Cortex has suggested that some individuals may develop difficulties recognising faces and navigational problems, following symptoms consistent with Covid. The study focused on a 28-year-old woman named Annie who contracted Covid in March 2020. Annie had no problem recognizing faces before, but two months after being exposed to the virus, she found it difficult to recognize even close family members. On one occasion, Annie said she couldn't recognize her father's face when they passed a restaurant. Annie said she felt my father's voice coming from the stranger's face. Annie told researchers that she now relies on people's voices for identification. Ani also suffered from 'Navigational Deficit' after the Covid infection. Many people have also reacted to this. Corona infection has once again started spreading across the country including India. The graph of corona patients is increasing once again in many states of India. Corona cases in other parts of the country including Delhi, Maharashtra and Gujarat are now increasing the tension of medical experts. If we talk about Corona at the global level, then in 24 hours, 66 thousand patients of Corona have been found in the world. On Sunday, 72 new patients of Corona have been found in the capital Delhi. With this, the positivity rate has increased to 3. 95 percent. According to the information given by the health department, on one hand, along with the H3N2 virus, there has also been an increase in the number of corona patients in Delhi. Corona positive rate in Delhi was 3. 52 percent per Saturday. Tension is increasing due to Corona cases in Maharashtra. After nearly four months of rising cases of corona in India, scientists believe that XBB 1. 16, a descendant of the Covid-19 XBB variant, may be behind the recent rise in cases of corona virus in India over the past few days. Apart from India, this genre has also spread rapidly to various countries including China, Singapore, United States and others. According to a report, this strain of Covid-19 may increase the chances of a new wave. According to the International Platform for Monitoring Corona Viruses, India currently has the highest number of cases of the XBB 1. 16 variant of Corona. It is being advised to use masks once again in the Corona crisis. TagsCovid-19 infectionInfluenza virus H3N2Share :
english
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>make file in diff a link, make hunk and link anchor - stagit-responsive - My mobile friendly fork of stagit </title> <link rel="icon" type="image/png" href="/favicon.png" /> <link rel="alternate" type="application/atom+xml" title="stagit-responsive Atom Feed" href="../atom.xml" /> <link rel="stylesheet" type="text/css" href="/style.css" /> </head> <body> <table><tr><td><a href="../../"><img src="/logo.png" alt="" width="32" height="32" /></a></td><td><h1>stagit-responsive</h1><span class="desc">My mobile friendly fork of stagit </span></td></tr><tr><td></td><td> <a href="../index.html">Log</a> | <a href="../files.html">Files</a> | <a href="../refs.html">Refs</a> | <a href="../file/README.html">README</a> | <a href="../file/LICENSE.html">LICENSE</a></td></tr></table> <hr/> <div id="content"> <div id="pre-scroll"> <pre><b>commit</b> <a href="../commit/53d6b47cc28903f9344245a36d33be6d0a6eee45.html">53d6b47cc28903f9344245a36d33be6d0a6eee45</a> <b>parent</b> <a href="../commit/ded9719afd1c9108dc6bbebb8205086a740add3b.html">ded9719afd1c9108dc6bbebb8205086a740add3b</a> <b>Author:</b> <NAME> &lt;<a href="mailto:<EMAIL>"><EMAIL></a>&gt; <b>Date:</b> Mon, 7 Dec 2015 19:00:16 +0100 make file in diff a link, make hunk and link anchor <b>Diffstat:</b> <table><tr><td class="M">M</td><td><a href="#h0">urmoms.c</a></td><td> | </td><td class="num">10</td><td><span class="i">+++++++</span><span class="d">---</span></td></tr> </table></pre></div><p>1 file changed, 7 insertions(<span id="plus">+</span>), 3 deletions(<span id="min">-</span>)</p> <div id="pre-scroll"> <pre> <b>diff --git a/<a id="h0" href="../file/urmoms.c.html">urmoms.c</a> b/<a href="../file/urmoms.c.html">urmoms.c</a></b> <a href="#h0-0" id="h0-0" class="h">@@ -259,7 +259,7 @@ printshowfile(git_commit *commit) </a> } delta = git_patch_get_delta(patch); <a href="#h0-0-3" id="h0-0-3" class="d">- fprintf(fp, &quot;diff --git a/&lt;a href=\&quot;%s%s\&quot;&gt;%s&lt;/a&gt; b/&lt;a href=\&quot;%s%s\&quot;&gt;%s&lt;/a&gt;\n&quot;, </a><a href="#h0-0-4" id="h0-0-4" class="i">+ fprintf(fp, &quot;diff --git a/&lt;a href=\&quot;%sfile/%s\&quot;&gt;%s&lt;/a&gt; b/&lt;a href=\&quot;%sfile/%s\&quot;&gt;%s&lt;/a&gt;\n&quot;, </a> relpath, delta-&gt;old_file.path, delta-&gt;old_file.path, relpath, delta-&gt;new_file.path, delta-&gt;new_file.path); <a href="#h0-1" id="h0-1" class="h">@@ -285,12 +285,16 @@ printshowfile(git_commit *commit) </a> if (git_patch_get_line_in_hunk(&amp;line, patch, j, k)) break; if (line-&gt;old_lineno == -1) <a href="#h0-1-3" id="h0-1-3" class="d">- fputc(&#39;+&#39;, fp); </a><a href="#h0-1-4" id="h0-1-4" class="i">+ fprintf(fp, &quot;&lt;span class=\&quot;i\&quot;&gt;&lt;a href=\&quot;#h%zu-%zu\&quot; id=\&quot;h%zu-%zu\&quot;&gt;+&quot;, </a><a href="#h0-1-5" id="h0-1-5" class="i">+ j, k, j, k); </a> else if (line-&gt;new_lineno == -1) <a href="#h0-1-7" id="h0-1-7" class="d">- fputc(&#39;-&#39;, fp); </a><a href="#h0-1-8" id="h0-1-8" class="i">+ fprintf(fp, &quot;&lt;span class=\&quot;d\&quot;&gt;&lt;a href=\&quot;#h%zu-%zu\&quot; id=\&quot;h%zu-%zu\&quot;&gt;-&quot;, </a><a href="#h0-1-9" id="h0-1-9" class="i">+ j, k, j, k); </a> else fputc(&#39; &#39;, fp); xmlencode(fp, line-&gt;content, line-&gt;content_len); <a href="#h0-1-13" id="h0-1-13" class="i">+ if (line-&gt;old_lineno == -1 || line-&gt;new_lineno == -1) </a><a href="#h0-1-14" id="h0-1-14" class="i">+ fputs(&quot;&lt;/a&gt;&lt;/span&gt;&quot;, fp); </a> } } git_patch_free(patch); </pre> </div> </div> </body> </html>
html
{ "name": "BZipper", "version": "1.0.3", "summary": "A fork of BZipCompression with support for more platforms.", "description": "An update of BZipCompression that adds all Apple deployment targets and support for SPM.", "homepage": "https://github.com/richardpiazza/BZipCompression", "license": "Apache License, Version 2.0", "authors": { "<NAME>": "<EMAIL>" }, "social_media_url": "https://twitter.com/richardpiazza", "source": { "git": "https://github.com/richardpiazza/BZipCompression.git", "tag": "1.0.3" }, "source_files": [ "Sources/BZipCompression/include/*.h", "Sources/BZipCompression/*.m" ], "frameworks": "Foundation", "libraries": "bz2", "requires_arc": true, "module_name": "BZipCompression", "platforms": { "osx": "10.13", "ios": "11.0", "tvos": "11.0", "watchos": "4.0" } }
json
import * as React from 'react'; import { compose } from 'recompose'; import MenuIcon from '@material-ui/icons/Menu'; import { withRouter, RouteComponentProps } from 'react-router-dom'; import LocaleSelect from '@ui/components/inputs/locale-select'; import Notifications from './notifications'; import UserDropdown from './user-dropdown'; import './header.scss'; export interface Props { showSidebar: () => void; } export type IProps = Props & RouteComponentProps<{}>; class Header extends React.Component<IProps> { render() { const { history, showSidebar } = this.props; return ( <div data-test-header-menu className='ui menu menu-navbar'> <div className='ui container'> <div className='item sidebar-button-item d-lg-none'> <button data-test-header-sidebar-button className='ui button sidebar-button' onClick={showSidebar} > <MenuIcon /> </button> </div> <div data-test-header-appname className='item header logo' onClick={() => history.push('/')} > SCRIPTORIA </div> <div className='right menu'> <div className='item'> <button data-test-header-addproject className='ui button add-project d-xs-none'> Add Project </button> </div> <div className='item'> <LocaleSelect /> </div> <div className='item'> <Notifications /> </div> <div className='item'> <UserDropdown /> </div> </div> </div> </div> ); } } export default compose(withRouter)(Header);
typescript
Amaravati: The Andhra Pradesh Cabinet on Wednesday approved a draft legislation that mandates disposal of cases of atrocities against women within 21 days and handing out the death penalty. The legislation, an amendment to the AP Criminal Law, will be called the "AP Disha Act", in memory of the veterinary doctor raped and murdered in neighbouring Telangana recently. Another draft legislation has also been approved, which will pave the way for establishment of special courts to try cases of atrocities against women and children. The two Bills are expected to be tabled in the ongoing winter session of the state Legislature, government sources said. Under the proposed AP Disha Act, death penalty has been prescribed for rape. Where cognizable evidence is established in such cases, the amended law prescribes completion of investigation in seven days and court trial in subsequent 14 days so as to award punishment within 21 days. The existing law permits trial in such cases in four months. The Cabinet, chaired by Chief Minister YS Jagan Mohan Reddy, also approved the draft 'AP Special Court for Specified Offences Against Women and Children Act, 2019. ' Under this Act, special courts will be set up in each of the 13 districts to try cases of atrocities against women and children like rape, sexual harassment, acid attacks and harassment through social media. Depending on the gravity of the offence, the punishment will range from 10 years to life imprisonment, including under the POCSO Act. Under the POCSO Act, the current punishment is imprisonment for three-five years. "These will be significant legislations and should act as a deterrent for crimes against women and children," a Cabinet minister said after the meeting. (This story has not been edited by News18 staff and is published from a syndicated news agency feed - PTI)
english
#ifndef __TEST_UnionMeshSegment_H #define __TEST_UnionMeshSegment_H #include <gtest/gtest.h> #include <gmock/gmock.h> #include <gmock/gmock-matchers.h> #include "GeometryUtilities.hpp" #include "IntersectorMesh2DSegment.hpp" #include "UnionMeshSegment.hpp" using namespace testing; using namespace std; namespace GedimUnitTesting { TEST(TestUnionMeshSegment, TestUnionMeshSegment) { try { Gedim::GeometryUtilitiesConfig geometryUtilitiesConfig; Gedim::GeometryUtilities geometryUtilities(geometryUtilitiesConfig); // unify simple two points mesh { Gedim::IntersectorMesh2DSegment::IntersectionMesh meshOne; Gedim::IntersectorMesh2DSegment::IntersectionMesh meshTwo; meshOne.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshOne.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 1.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshTwo.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshTwo.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 1.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); vector<double> curvilinearCoordinatesMeshOne; vector<double> curvilinearCoordinatesMeshTwo; Gedim::IntersectorMesh2DSegment::ToCurvilinearCoordinates(meshOne, curvilinearCoordinatesMeshOne); Gedim::IntersectorMesh2DSegment::ToCurvilinearCoordinates(meshTwo, curvilinearCoordinatesMeshTwo); Gedim::UnionMeshSegment UnionMeshSegment(geometryUtilities); Gedim::UnionMeshSegment::UnionMesh result; ASSERT_NO_THROW(UnionMeshSegment.CreateUnionMesh(curvilinearCoordinatesMeshOne, curvilinearCoordinatesMeshTwo, result)); EXPECT_EQ(result.Points.size(), 2); EXPECT_EQ(result.Points[0.0000000000000000e+00].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Both); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices.size(), 2); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices[0], 0); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices[1], 0); EXPECT_EQ(result.Points[1.0000000000000000e+00].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Both); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices.size(), 2); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices[0], 1); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices[1], 1); EXPECT_EQ(result.Segments.size(), 1); EXPECT_EQ(result.Segments[0].Points, vector<double>({ 0.0000000000000000e+00, 1.0000000000000000e+00 })); EXPECT_EQ(result.Segments[0].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[0].MeshIndices, vector<unsigned int>({ 0, 0 })); } // unify four points mesh with four points mesh { Gedim::IntersectorMesh2DSegment::IntersectionMesh meshOne; Gedim::IntersectorMesh2DSegment::IntersectionMesh meshTwo; meshOne.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshOne.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.25, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshOne.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.5, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshOne.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 1.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshTwo.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshTwo.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.5, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshTwo.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 0.75, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); meshTwo.Points.insert(pair<double, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint>( 1.0, Gedim::IntersectorMesh2DSegment::IntersectionMesh::IntersectionMeshPoint())); vector<double> curvilinearCoordinatesMeshOne; vector<double> curvilinearCoordinatesMeshTwo; Gedim::IntersectorMesh2DSegment::ToCurvilinearCoordinates(meshOne, curvilinearCoordinatesMeshOne); Gedim::IntersectorMesh2DSegment::ToCurvilinearCoordinates(meshTwo, curvilinearCoordinatesMeshTwo); Gedim::UnionMeshSegment UnionMeshSegment(geometryUtilities); Gedim::UnionMeshSegment::UnionMesh result; ASSERT_NO_THROW(UnionMeshSegment.CreateUnionMesh(curvilinearCoordinatesMeshOne, curvilinearCoordinatesMeshTwo, result)); EXPECT_EQ(result.Points.size(), 5); EXPECT_EQ(result.Points[0.0000000000000000e+00].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Both); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices.size(), 2); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices[0], 0); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices[1], 0); EXPECT_EQ(result.Points[2.5000000000000000e-01].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::First); EXPECT_EQ(result.Points[2.5000000000000000e-01].MeshIndices.size(), 2); EXPECT_EQ(result.Points[2.5000000000000000e-01].MeshIndices[0], 1); EXPECT_EQ(result.Points[5.0000000000000000e-01].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Both); EXPECT_EQ(result.Points[5.0000000000000000e-01].MeshIndices.size(), 2); EXPECT_EQ(result.Points[5.0000000000000000e-01].MeshIndices[0], 2); EXPECT_EQ(result.Points[5.0000000000000000e-01].MeshIndices[1], 1); EXPECT_EQ(result.Points[7.5000000000000000e-01].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Second); EXPECT_EQ(result.Points[7.5000000000000000e-01].MeshIndices.size(), 2); EXPECT_EQ(result.Points[7.5000000000000000e-01].MeshIndices[1], 2); EXPECT_EQ(result.Points[1.0000000000000000e+00].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Both); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices.size(), 2); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices[0], 3); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices[1], 3); EXPECT_EQ(result.Segments.size(), 4); EXPECT_EQ(result.Segments[0].Points, vector<double>({ 0.0000000000000000e+00, 2.5000000000000000e-01 })); EXPECT_EQ(result.Segments[0].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[0].MeshIndices, vector<unsigned int>({ 0, 0 })); EXPECT_EQ(result.Segments[1].Points, vector<double>({ 2.5000000000000000e-01, 5.0000000000000000e-01 })); EXPECT_EQ(result.Segments[1].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[1].MeshIndices, vector<unsigned int>({ 1, 0 })); EXPECT_EQ(result.Segments[2].Points, vector<double>({ 5.0000000000000000e-01, 7.5000000000000000e-01 })); EXPECT_EQ(result.Segments[2].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[2].MeshIndices, vector<unsigned int>({ 2, 1 })); EXPECT_EQ(result.Segments[3].Points, vector<double>({ 7.5000000000000000e-01, 1.0000000000000000e+00 })); EXPECT_EQ(result.Segments[3].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[3].MeshIndices, vector<unsigned int>({ 2, 2 })); } // unify three points mesh with three points mesh { vector<double> curvilinearCoordinatesMeshOne = { 0.25, 0.75, 1.0 }; vector<double> curvilinearCoordinatesMeshTwo = { 0.0, 0.5, 0.75 }; Gedim::UnionMeshSegment UnionMeshSegment(geometryUtilities); Gedim::UnionMeshSegment::UnionMesh result; ASSERT_NO_THROW(UnionMeshSegment.CreateUnionMesh(curvilinearCoordinatesMeshOne, curvilinearCoordinatesMeshTwo, result)); EXPECT_EQ(result.Points.size(), 5); EXPECT_EQ(result.Points[0.0000000000000000e+00].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Second); EXPECT_EQ(result.Points[0.0000000000000000e+00].MeshIndices, vector<unsigned int>({ 0, 0 })); EXPECT_EQ(result.Points[2.5000000000000000e-01].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::First); EXPECT_EQ(result.Points[2.5000000000000000e-01].MeshIndices, vector<unsigned int>({ 0, 0 })); EXPECT_EQ(result.Points[5.0000000000000000e-01].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Second); EXPECT_EQ(result.Points[5.0000000000000000e-01].MeshIndices, vector<unsigned int>({ 0, 1 })); EXPECT_EQ(result.Points[7.5000000000000000e-01].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::Both); EXPECT_EQ(result.Points[7.5000000000000000e-01].MeshIndices, vector<unsigned int>({ 1, 2 })); EXPECT_EQ(result.Points[1.0000000000000000e+00].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshPoint::UnionMeshPoint::Types::First); EXPECT_EQ(result.Points[1.0000000000000000e+00].MeshIndices, vector<unsigned int>({ 2, 0 })); EXPECT_EQ(result.Segments.size(), 4); EXPECT_EQ(result.Segments[0].Points, vector<double>({ 0.0000000000000000e+00, 2.5000000000000000e-01 })); EXPECT_EQ(result.Segments[0].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Second); EXPECT_EQ(result.Segments[0].MeshIndices, vector<unsigned int>({ 0, 0 })); EXPECT_EQ(result.Segments[1].Points, vector<double>({ 2.5000000000000000e-01, 5.0000000000000000e-01 })); EXPECT_EQ(result.Segments[1].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[1].MeshIndices, vector<unsigned int>({ 0, 0 })); EXPECT_EQ(result.Segments[2].Points, vector<double>({ 5.0000000000000000e-01, 7.5000000000000000e-01 })); EXPECT_EQ(result.Segments[2].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::Both); EXPECT_EQ(result.Segments[2].MeshIndices, vector<unsigned int>({ 0, 1 })); EXPECT_EQ(result.Segments[3].Points, vector<double>({ 7.5000000000000000e-01, 1.0000000000000000e+00 })); EXPECT_EQ(result.Segments[3].Type, Gedim::UnionMeshSegment::UnionMesh::UnionMeshSegment::Types::First); EXPECT_EQ(result.Segments[3].MeshIndices, vector<unsigned int>({ 1, 0 })); } } catch (const exception& exception) { cerr<< exception.what()<< endl; FAIL(); } } } #endif // __TEST_UnionMeshSegment_H
cpp
Barcelona youngster Ansu Fati has made an interesting admission after signing a new contract with the club. According to the young forward, there were many offers on the table, but he only had the Blaugrana on his mind. He was quoted as saying: "From the first day I told [my agent] Jorge [Mendes] that my first option was to stay [at Barcelona]. It may be that I had offers, but it was always clear to me that I wanted to stay and succeed here. I am very calm. Everyone transmits that tranquility to me. I feel very loved and it is what I value the most." The 18-year-old also discussed his fitness status, having recently just recovered from a long-term injury that kept him out of action for over 10 months. Despite the setback, the teenager claims he never had any doubt over his continuity as a player. He said: "I never had the doubt that I was going to play again." Fati added: "A few years ago, unfortunately, something similar also happened. I knew that sooner or later I was going to get to play again." "The knee [injury] is something that I have forgotten. I am very calm and happy because I have no discomfort." After spending 10 months on the sidelines due to a knee injury, Ansu Fati finally made his anticipated return for Barcelona during a La Liga clash with Levante last month. The attacker wasted no time in making his impact felt, scoring once in a 3-0 triumph for the Catalan giants. The Spaniard found the back of the net once again at the weekend as the Blaugrana earned an important 3-1 triumph over Valencia at Camp Nou. He's recorded two goals and one assist in five games for the Catalan club across all competitions. Ansu Fati has amassed just 160 minutes of playing time so far, but that will certainly improve as he progresses in the coming weeks.
english
package com.demo.common.model; import com.demo.common.model.base.BaseTag; /** * Generated by JFinal. */ @SuppressWarnings("serial") public class Tag extends BaseTag<Tag> { public static final Tag dao = new Tag(); }
java
Getting into any industry today may appear to be a massive challenge in itself, let alone making it huge in the same. Still, there have been a few risk-takers and courageous souls who not only entered their desired fields but also made every day count, worked rigorously to make their visions a reality and swiftly rose toward their desired success and growth in their careers and journeys. These individuals and professionals need to be celebrated more, for they bring uniqueness to the table through their ideas and business strategies and work, which precisely has what acted as a USP for them and their brands. Recently, we got in touch with Amit Kohli, the esteemed Director at Spaceship Infra Pvt Ltd. , and we saw how this driven and determined professional passionately drove the company in the outdoor media and advertising industry, which for years has been crowded with many other well-known companies that have ruled these markets. In 2006, when he established this business, he was sure to create a brand standing in the industry that could easily let people differentiate from the rest, and that's what he has done today. It is now reported that the Director is now planning to join hands with more clients in order to further expand his business in the coming years. For the same, he and his experienced and proficient team are working around business client acquisition plans and strategies that can help them create an extensive client list who can trust them and rely on them for the best services in the world of OOH advertising. The company, which already excels at LED unipole hoardings, signage boards and more, is also working toward creating new formats of advertising in the outdoor media industry, which can thrust them forward in many incredible ways. Amit Kohli concluded by saying that though all these plans as of now are on paper, he and his team will make sure to soon put in the required actions and turn them into reality.
english
<gh_stars>0 package com.hedera.services.store.tokens.views; /*- * ‌ * Hedera Services Node * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, LLC * ​ * 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. * ‍ */ import com.hedera.services.state.merkle.MerkleEntityId; import com.hedera.services.state.merkle.MerkleToken; import com.hedera.services.state.merkle.MerkleUniqueToken; import com.hedera.services.state.merkle.MerkleUniqueTokenId; import com.hedera.services.store.tokens.TokenStore; import com.hedera.services.store.tokens.views.internals.PermHashInteger; import com.swirlds.fchashmap.FCOneToManyRelation; import com.swirlds.fcmap.FCMap; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import java.util.function.Supplier; @ExtendWith(MockitoExtension.class) class ConfigDrivenUniqTokenViewFactoryTest { @Mock private TokenStore tokenStore; @Mock private Supplier<FCMap<MerkleUniqueTokenId, MerkleUniqueToken>> nfts; @Mock private Supplier<FCMap<MerkleEntityId, MerkleToken>> tokens; @Mock private Supplier<FCOneToManyRelation<PermHashInteger, Long>> nftsByType; @Mock private Supplier<FCOneToManyRelation<PermHashInteger, Long>> nftsByOwner; @Mock private Supplier<FCOneToManyRelation<PermHashInteger, Long>> treasuryNftsByType; @Test void constructsExplicitIfNotUsingWildcards() { // given: final var subject = new ConfigDrivenUniqTokenViewFactory(false); // when: final var view = subject.viewFor( tokenStore, tokens, nfts, nftsByType, nftsByOwner, treasuryNftsByType); // then: Assertions.assertTrue(view instanceof ExplicitOwnersUniqTokenView); } @Test void constructsTreasuryWildcardIfUsing() { // given: final var subject = new ConfigDrivenUniqTokenViewFactory(true); // when: final var view = subject.viewFor( tokenStore, tokens, nfts, nftsByType, nftsByOwner, treasuryNftsByType); // then: Assertions.assertTrue(view instanceof TreasuryWildcardsUniqTokenView); } }
java
<reponame>JLLeitschuh/bulk-security-pr-generator { "project": { "url": "https://lgtm.com/projects/g/Intel-bigdata/HiBench", "url-identifier": "g/Intel-bigdata/HiBench", "id": 31910057, "name": "Intel-bigdata/HiBench" }, "data": [ [ { "url": "https://lgtm.com/projects/g/Intel-bigdata/HiBench/snapshot/a56f54e2211172599944d8d3d0a6f15f2f1bd30b/files/gearpumpbench/streaming/pom.xml#L49", "line": 49, "value": "repository", "file": "/gearpumpbench/streaming/pom.xml" }, { "value": "Downloading or uploading artifacts over insecure protocol (eg. http or ftp) to/from repository http://dl.bintray.com/fvunicorn/maven" } ] ], "columns": [ "repository", "col1" ] }
json
<reponame>Cloudmersive/Cloudmersive.APIClient.Apex.ImageRecognition<filename>client/docs/SwagInfoApi.md # SwagInfoApi All URIs are relative to *https://api.cloudmersive.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**infoGetDominantColor**](SwagInfoApi.md#infoGetDominantColor) | **POST** /image/get-info/dominant-color | Returns the dominant colors of the image [**infoGetMetadata**](SwagInfoApi.md#infoGetMetadata) | **POST** /image/get-info/metadata | Returns the image metadata including EXIF and resolution <a name="infoGetDominantColor"></a> # **infoGetDominantColor** > SwagDominantColorResult infoGetDominantColor(imageFile) Returns the dominant colors of the image Uses advanced image processing to extract the top 5 dominant colors in the image, returned in the order of dominance with the most-dominant color first. These are the primary perceptual colors used in the image as perceived by a viewer. ### Example ```java SwagInfoApi api = new SwagInfoApi(); SwagClient client = api.getClient(); // Configure API key authorization: Apikey ApiKeyAuth Apikey = (ApiKeyAuth) client.getAuthentication('Apikey'); Apikey.setApiKey('YOUR API KEY'); Map<String, Object> params = new Map<String, Object>{ 'imageFile' => Blob.valueOf('Sample text file\nContents') }; try { // cross your fingers SwagDominantColorResult result = api.infoGetDominantColor(params); System.debug(result); } catch (Swagger.ApiException e) { // ...handle your exceptions } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **imageFile** | **Blob**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. | ### Return type [**SwagDominantColorResult**](SwagDominantColorResult.md) ### Authorization [Apikey](../README.md#Apikey) ### HTTP request headers - **Content-Type**: application/x-www-form-urlencoded - **Accept**: application/json <a name="infoGetMetadata"></a> # **infoGetMetadata** > SwagImageMetadata infoGetMetadata(imageFile) Returns the image metadata including EXIF and resolution Returns the metadata information on the image, including file type, EXIF (if available), and resolution. ### Example ```java SwagInfoApi api = new SwagInfoApi(); SwagClient client = api.getClient(); // Configure API key authorization: Apikey ApiKeyAuth Apikey = (ApiKeyAuth) client.getAuthentication('Apikey'); Apikey.setApiKey('YOUR API KEY'); Map<String, Object> params = new Map<String, Object>{ 'imageFile' => Blob.valueOf('Sample text file\nContents') }; try { // cross your fingers SwagImageMetadata result = api.infoGetMetadata(params); System.debug(result); } catch (Swagger.ApiException e) { // ...handle your exceptions } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **imageFile** | **Blob**| Image file to perform the operation on. Common file formats such as PNG, JPEG are supported. | ### Return type [**SwagImageMetadata**](SwagImageMetadata.md) ### Authorization [Apikey](../README.md#Apikey) ### HTTP request headers - **Content-Type**: application/x-www-form-urlencoded - **Accept**: application/json
markdown
VENKATARAMIAH, E.S. (CJ) VENKATARAMIAH, E.S. (CJ) SINGH, K.N. (J) KASLIWAL, N.M. (J) Goa, Damam and Diu Grant-in-aid Code: Rule 74.2-Termina- tion of services of permanent teacher--Dispute Settlement Committee --Jurisdiction to enquire. Constitution of India: Article 226--Private School receiving government aid under Grant-in-aid Code--Termina- tion of services of a teacher--Orders of Dispute Settlement Committee and Director of Education--Amenable to High Court's Writ jurisdiction. Disciplinary proceedings were started against the appel- lant who was a headmaster in a private school in accordance with the Rule 74.2 of the Grant-in-aid Code since the school was a recipient of grant as per the code. The Director of Education approved the findings of the Dispute Settlement Committee and permitted the termination of the appellant by the Principal of the School. The said order of termination was challenged by the appellant before the High Court of Bombay, Panaji Bench, in a Writ Petition. The petition was dismissed by the High Court upholding the preliminary objec- tion that the petition was not maintainable under Article 226 of the Constitution of India against the management of the School which was a private body. Aggrieved by the deci- sion of the High Court the appellant fried this appeal by special leave. According to the relevant rule of the Grant-in-aid Code the management could not have terminated the services of the appellant without the communication received by it from the Director of Education who was a public functionary and was discharging a governmental function as an authority consti- tuted for the said purpose by the government. Obviously in such circumstances it cannot be said that the decision is just that of a private management governed by private law. HELD: Any private school which receives aid from the government under the Grant-in-aid Code, which is promulgated not merely for the benefit of the management but also for the benefit of the employees in the school for whose salary and allowances the government was contributing from public funds under the Grant-in-aid Code cannot escape from the consequences flowing from the breach of the Code and partic- ularly where the Director of Education who is an instrumen- tality of the State is participating in the decision making process. [260F-G] The High Court was wrong in upholding that the orders of the Director of Education and of the Dispute Settlement Committee were not amenable to the jurisdiction of the High Court under Article 226 of the Constitution of India. [260G] Tika Ram v. Mundikota Shikshan Prasarak Mandal & Ors., [1985] 1 SCR 339, referred to. CIVIL APPEALLATE JURISDICTION: Civil Appeal No. 3586 of 1988. From the Judgments and Orders dated 18.8.1987 & 9.11.1987 of the Goa High Court in W.P. No. 92/1986 & Misc. Civil Application No. 334 of 1987. Dr. R.S. Kulkarni, S.K. Mehta, Aman Vachher and Atul Nanda for the Appellant. K.N. Bhat and Mukul Mudgal for the Respondents. The Judgment of the Court was delivered by VENKATARAMIAH, CJ. The appellant was appointed as a Headmaster of a school which was being run by the Calangute Don Bosco Educational & Welfare Foundation in 1974 in the State of Goa (which was at the relevant time a Union Terri- tory). Disciplinary proceedings were started against him in accordance with the Grant-in-aid Code which was in force at that time, since the school was a recipient of the grant as per the Code. The findings .of, the Dispute Settlement Committee were approved by the director of Education of the Government of Goa by his Order dated July 12, 1984 who permitted the termination of the services of the appellant: The Principal of the Don Bosco High School, therefore, terminated the services of the appellant 254 as Headmaster by his letter dated July 26, 1984 and the said order of termination was challenged by the appellant before the High Court of Bombay, Panaji Bench, Goa in Writ Petition No. 92 of 1986. The petition was dismissed by the High Court on the ground that the petition was not maintainable under Article 226 of the Constitution of India against the Manage- ment of the school, which was a private body. Aggrieved by the decision of the High Court the appellant has filed this appeal by special leave. The school in question was a private school and was a recipient of the grant-in-aid under the Grant-in-aid Code issued by the Government in exercise of its executive power. The relevant rule of the Grantin-aid Code, i.e., rule 74.2 on which the Management relied read thus: "74.2(1). The services of an employee appoint- ed to a permanent post shall not be terminated except in accordance with the procedure pre- scribed hereinunder. No order of termination, dismissal or imposition of any other penalty shall be passed against such employee unless he has been informed in writing of the grounds on which action is proposed to be taken and has been given an adequate opportunity to defend himself. The grounds on which the action is proposed to be taken shall be re- duced to a form of a specific charge/charges which shall be communicated to the employee together with statement of allegation on which each charge is based. (iii) Management shall refer the case to the Director of Education in writing, stating the date of the effect of the intended termination with a copy endorsed to the em- ployee concerned for his acknowledgement. The letter endorsed to the employee shall enclose a copy of allegation with complete substanti- ating evidence and other documents relevant to the case. The letter be issued to the employee at least one calendar month prior to the date of effect of intended termination. The issue of the letter shall be subject to rule 74.1(3). (v) The Director shall refer the case to the Disputes Settlement Committee within seven days of the receipt of the letter in the Directorate of Education. The Disputes Settlement Committee shall give a hearing to both the 255 parties and also consider the written state- ments, if any, submitted by either or both the parties, and give its decision within fifteen days from the date of reference. In case any party fails to present the case, the Disputes Settlement Committee shall take an ex parte decision. (vi) The decision of the Dispute settlement Commit-' tee shall be final and binding on both the parties provided that it shall be open to either party to prefer an appeal to the Administrative Tribunal estab- lished under the Goa, Daman and Diu Adminis- trative Tribunal Act, 1965 within thirty days of the date of receipt of the decision of the Disputes Settlement Committee." Rule 74.2 provides that the service of an employee appointed to a permanent post shall not be terminated except in accordance with the procedure prescribed thereunder and no order of termination, dismissal or imposition of any other penalty shall be passed against such employee unless he has been informed in writing of the grounds on which action is proposed to be taken and has been given an ade- quate opportunity to defend himself. The grounds on which the action is proposed to be taken shall be reduced to a form of a specific charge/charges which shall be communicat- ed to the employee together with statement of allegation on which each charge is based. Then the Management is required to refer the case to the Director of Education in writing, stating the date of the effect of the intended termination with a copy endorsed to the employee concerned for his acknowledgement. The letter endorsed to the employee shall enclose a copy of allegation with complete substantiating evidence and other documents relevant to the case. The letter shall be issued to the employee at least one calendar month prior to the date of effect of intended termination. The issue of the letter shall be subject to rule 74.1(3). The Director is then required to refer the case to the Disputes Settlement Committee within seven days of the receipt of the letter in the Directorate of Education. The Dispute Settlement Committee shall give a heating to both the parties and also consider the written statements, if any, submitted by either or both the parties, and give its decision within fifteen days from the date of reference. In case any party fails to present the case, the Disputes Settlement Committee shall take an ex parte decision. The decision of the Dispute Settlement Committee shall be final and binding on the parties. The Dispute Settlement Committee acquires the jurisdiction to hear the case only on a refer- ence made to it by the Director of Education. The order passed in this case by the 256 Director of Education on July 12, 1984 reads thus: "No. DE/Acad. I/BEZ. Bo/40/DBHS/Term. Serv. HM/Vol. III/82 Government of Goa, Daman and Diu, Directorate of Education, Panaji-Goa. Read: 1. This office order No. DE/Acad- I/BEZ-Bo/40/ DBHS/PC15/Term. Serv. HM/Vol. 26.3.1983 from the Convenor of the Dispute Settlement Committee and Asstt. Director of Education. ORDER Whereas a Dispute Settlement Commit- tee was constituted to enquire into the pro- posed case for Termination of Services of Shri Francis John, the Headmaster of Don Bosco High School, Calangute, Bardez, Goa, vide order referred to above; And whereas the accused Shri F. John participated in the deliberations of the Dispute Settlement Committee along with his nominee for some time and thereafter remained absent from the deliberation of the Committee inspite of all reasonable opportunities given to him by the Convenor; And whereas the said Committee, in majority, has decided that the termination of services of the said Shri F. John, Headmaster of Don Bosco High School, Calangute, is justi- fiable. The undersigned is inclined to agree with the findings of the Dispute Settle- ment Committee and it is hereby ordered that the finding of the majority report of the Committee is accepted and the Principal of the School is permit- 257 ted to terminate the service of Shri F. John, as per Rule 74 (amended) of the Grant-in-aid Code and the vacancy so caused be filled up as per Rules. The Principal is further directed to revoke the order of suspension forthwith under intimation to the undersigned. Sd/- L. Khisngte Director of Education." It was on the basis of the approval given by the Direc- tor of. Education, as stated above, the services of the appellant were terminated. From a reading of the relevant rule of the Grant-in-aid Code which is a part of the Public Law of the land it be- comes obvious that the reference of the dispute between the Management of the school and the appellant to the Dispute Settlement Committee was made by the Director of Education in exercise of the powers confened on him by the Grant-in- aid Code, which is issued by the Government in exercise of its executive power, even though it may not have been done under a statute. The Director of Education who is a public functionary has given his approval to the decision of the Dispute Settlement Committee before it was communicated to the School. While granting his aproval to the decision the Director of Education is discharging a governmental function as an authority constituted for the said purpose by the Government. It is obvious that the Management, in the cir- cumstances could not have terminated the services of the appellant without the communication received by it from the Director of Education. In such circumstances it cannot be said that the decision is that of a just private management governed by private law. It is the part of the process of the public law which affects public exchequer. When the matter came up before the High Court a prelimi- nary objection was taken by the Management regarding the maintainability of the Writ Petition under Article 226 of the Constitution. The appellant contended in the Writ Petition that the proceedings of the disciplinary Committee are in contraven- tion of the principle of natural justice and fair play and the approval given by the Director of Education was unsus- tainable. The appellant relied upon the decision of this Court in Tika Ram v. Mundikota Shikshan Prasarak Mandal & Ors., [1985] 1 SCR 339 and contended that he was not asking for any relief against the private body but he was challeng- ing 258 the order of the Director of Education who had granted approval to his removal on the basis of a report submitted to him by the Dispute Settlement Committee and hence the Director of Education, who was a public authority and whose orders had been questioned before the Court was amenable to the jurisdiction of the High Court under Article 226 of the Constitution. The High Court distinguished the above case by observing in Para 11 of its judgment thus: "... Mr- Kakodkar had placed reliance on Tika Ram v. Mundikota Shiksha Prasarak Mandal, AIR 1984 SC 1621 in support of his proposition that a writ petition would be maintanable in the case of a Headmaster of a private school who is dismissed by the management of a pri- vate school. In Tika Ram's case, the petition- er was not seeking any relief against the management on the basis of the clauses in the Schools Code. But the Court has observed: 'In the instant case the appellant is seeking a relief not against a private body but against an officer of Government who is always amenable to the jurisdiction of the Court.' Obviously, no decision of an Officer of the Government is being challenged in the present case and hence, Tika Ram's case is easily distinguishable." With great respect to the High Court we should say that we do not find any substantial difference at all between the facts of this case and the facts involved in the Tika Ram's case (supra). In Tika Ram's case (supra) the facts were these. The appellant in that case was also working as a Head- master in a private school. On account of certain earlier events the Management instituted a disciplinary enquiry against the appellant and on July 7, 1975, the appellant was informed by the Management that it had imposed on him the punishment of reversion to the post of Assistant Teacher which according to the Management was the substantive post held by him. Aggrieved by that order of reversion, the appellant filed an appeal before the Deputy Director of Education, Nagpur Division, contending that the enquiry had been vitiated on account of violation of principles of natural justice and that he had never held the post of an Assistant Teacher to which he had been reverted. After hearing both the parties, the Deputy Director of Education passed an order 259 dated October 3, 1975 setting aside the decision of the Management and remanding the case to the Management for fresh decision on the ground that the enquiry had been vitiated on account of violation of principles of natural justice. Instead of filing an appeal against that order, the Management filed a review petition before the Deputy Direc- tor himself on October 17, 1975. That was rejected by the Deputy Director by his order dated November 11, 1975 on the ground that no such review could be filed before him. Against that order the Management filed an appeal before the Director of Education and that was dismissed on May 12, 1976 affirming the order of remand passed by the Deputy Director of Education to reconsider the case. The Management again filed a petition before the Director of Education to recon- sider the case. This petition for review was allowed by the Director of Education on November 26, 1976 and the order passed by the Deputy Director on October 3, 1975 remanding the case to the Management for a fresh decision was set aside. Aggrieved by the said order dated November 26, 1976, the appellant filed a writ petition before the High Court of Bombay on the principal ground that the Director had no jurisdiction to review his earlier order May 12, 1976 by which he had dismissed the appeal against the order of the Deputy Director. The High Court dismissed that writ petition holding that the appellant could not file a writ petition under Article 226 of the Constitution against the order passed by the Director on the ground that the teachers working in private schools could not enforce their right under clause 77 and connected clauses of the School Code which were not statutory rules. It was against that order the appellant in that case had filed the appeal before the SUpreme Court under Article 136 of the Constitution. Allow- ing the said appeal this Court observed thus: "In the writ petition the appellant was not seeking any relief directly against the man- agement on the basis of the clauses in the School Code. If the management does not obey the order passed by the Deputy Director or the Director, it is open to the State Government to take such action under the School Code as may be permissible. In such an event, the recognition accorded to the school may be withdrawn or the grant-in-aid may be stopped. In the instant case the appellant is seking a relief not against a private body but against an officer of Government who is always amena- ble to the jurisdiction of the Court. The appellant has merely sought the quashing of the impugned order dated November 26, 1976 passed by the Director on review setting aside the order of the Deputy Director. What . 260 consequences follow from the quashing of the above said order in so far as the management is concerned is an entirely different issue. In the circumstances, the High Court was wrong in holding that a petition under Article 226 of the Constitution did not lie against the impugned order passed by the director. We are aware of some of the decisions in which it is observed that no teacher could enforce. a fight under the School Code which is non- statutory m character against the management. But since this petition is principally direct- ed against the order passed in a quasijudicial proceeding by the Director, though in a case arising under the School Code and since the Director had assumed a jurisdiction to review his own orders not conferred on him, we hold that the appellant was entitled to maintain the petition under Article 226 of the Consti- tution." In the instant case also we are concerned with the Grant-in-aid Code. The decision which was challenged before the High Court was the order of the Director of Education dated July 12, 1984 which is fully extracted above. It is further seen that a copy of the above order has been commu- nicated by the Director of Education not merely to the Management of the School but also to the Zonal Officer, North Education Zone, Mapsa and the Grant-in-aid Section of the Directorate of Education. If the impugned orders of the director of Education and of the Dispute Settlement Commit- tee to which he had referred the case are set aside then the order of termination of service of the appellant, which is pursuant to them would also have to fall. Any private school which receives aid from the Government under the Grant-inaid Code, which is promulgated not merely for the benefit of the Management but also for the benefit of the employees in the School for whose salary and allowances the Government was contributing from the public funds under the Grant-in-aid Code cannot escape from the consequences flowing from the breach of the Code and particularly where the Director of Education who is an instrumentality of the State is partici- pating in the decision making process. Under these circum- stances we find that the High Court was wrong in upholding that the orders of the Director of Education and of the Dispute Settlement Committee were not amenable to the juris- diction of the High Court under Article 226 of the Constitu- tion since the matter squarely falls within the principles laid down by this Court in Tika Ram's case (supra). 261 We, therefore, set aside the judgment of the High Court holding that the writ petition was not maintainable before it. Since the High Court has not gone into the merits of the case we remand the case to the High Court and direct it to hear the writ petition on merits in accordance with law. The appeal is accordingly allowed, but there shall be no order as to costs. R.N.J. Appeal al- lowed.
english
After a hiatus of nearly two years, Conor McGregor is set to return to the octagon later this year against Michael Chandler. However, neither the date nor the location for the event has been confirmed by the UFC just yet. But before that, the two will go head-to-head as opposing coaches for the upcoming season of The Ultimate Fighter, and Mcgregor has set some enormous pay-per-view goals for the bout. 'The Notorious' recently took to Twitter to share images of his first face-off against his upcoming opponent Michael Chandler. McGregor then retweeted it by seemingly setting a pay-per-view goal for his fight: "Millions and millions and millions of ppy buys. " Take a look at the tweet below: It's safe to say that Conor McGregor has high hopes when it comes to the pay-per-view sales of his upcoming fight against Michael Chandler. It is worth noting that the Irishman has four of the top five pay-per-view selling fights in the history of the UFC, selling a combined total of 5. 95 million pay-per-views. Being the biggest pay-per-view attraction in the company today, the Irishman can certainly break some records upon his return later this year. Despite winning just one of his last four fights in the UFC, Conor McGregor is confident of getting the job done against Michael Chandler. The Irishman has claimed that 'Iron' does not have anything special to offer other than a general mixed martial arts fighting style. During a recent interview on My Mom's Basement with Robbie Fox, the former UFC double champ suggested that he's "too slick" for Michael Chandler. While claiming that he'll show the difference in skill level between them on fight night, McGregor said: "For Chandler, I'm just too slick for him. I'm just too skilled for him. He hasn't fought someone like me. I have fought someone like him though. . . It's, in general, the mixed martial arts style right? That kind of short wrestler. It's kind of MMA, isn't it? It ain't nothing peculiar. I've fought against such [fighters] for many, many years. . . It'll be my job now on fight night to show the difference in level [between me and him]. " Watch the video below:
english
After the humungous success of Sita Ramam, Dulquer Salmaan is all set for his next release Chup. Directed by R Balki, this is Dulquer’s third Hindi movie after Karwaan and The Zoya Factor. In a recent chat, Dulquer was asked about the ongoing ‘boycott culture’ that seems to target all new releases and its star cast. The Kurup actor said that in the southern part of India, the boycott culture does not exist. “The boycott culture has increased due to social media. Because one can write anything, irresponsible people can start with any agenda. Cancel culture does not exist in the south. I’m hearing this for the first time in Bollywood,” he told Prabhat Khabar. The recent success of Sita Ramam in the south led the makers to release the film in Hindi. The film’s release on the OTT platform has also generated positive reactions. Dulquer is one of the few actors who works across languages so he was asked about the recent phenomenon of pan-Indian films and if he plans on taking up a pan-Indian film. “I get many offers but I don’t understand the pan-India concept. I agree that some stories are for everyone. Like a recent film of mine is the love story of an army officer. You can pitch it anywhere but I find using the term pan-India odd,” he said.
english
<filename>device/cripto/migrations/0003_miner.py # Generated by Django 2.2.3 on 2019-07-22 15:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cripto', '0002_self_partial'), ] operations = [ migrations.CreateModel( name='Miner', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('public_key', models.IntegerField(default=7919)), ('df_key', models.IntegerField(blank=True, null=True)), ('partial', models.IntegerField(blank=True, null=True)), ], ), ]
python
<filename>public/stylesheets/style.css body { background: orange; } h1{ padding: 50px; font-family: 'Montserrat', sans-serif; text-align: center; font-size: 50px; } h3{ font-family: 'Open Sans Condensed', sans-serif; text-align: center; font-size: 25px; } button { margin: auto; display: block; -webkit-border-radius: 23; -moz-border-radius: 23; border-radius: 23px; font-family: Courier New; color: #ffffff; font-size: 30px; background: #7d0202; padding: 14px 25px 14px 25px; text-decoration: none; } button:hover { text-decoration: none; } #map { height: 100% } html, body { height: 100%; margin: 0; padding: 0; }
css
<gh_stars>10-100 {"title": "DLibOS: Performance and Protection with a Network-on-Chip.", "fields": ["context switch", "protocol stack", "memory protection", "novelty", "network on a chip"], "abstract": "A long body of research work has led to the conjecture that highly efficient IO processing at user-level would necessarily violate protection. In this paper, we debunk this myth by introducing DLibOS a new paradigm that consists of distributing a library OS on specialized cores to achieve performance and protection at the user-level. Its main novelty consists of leveraging network-on-chip to allow hardware message passing, rather than context switches, for communication between different address spaces. To demonstrate the feasibility of our approach, we implement a driver and a network stack at user-level on a Tilera many-core machine. We define a novel asynchronous socket interface and partition the memory such that the reception, the transmission and the application modify isolated regions. Our high performance results of 4.2 and 3.1 million requests per second obtained on a webserver and the Memcached applications, respectively, confirms the relevance of our design decisions. Finally, we compare DLibOS against a non-protected user-level network stack and show that protection comes at a negligible cost.", "citation": "Not cited", "year": "2018", "departments": ["University of Sydney", "University of Sydney", "Commonwealth Scientific and Industrial Research Organisation"], "conf": "asplos", "authors": ["<NAME>.....http://dblp.org/pers/hd/m/Mallon:Stephen", "<NAME>.....http://dblp.org/pers/hd/g/Gramoli:Vincent", "<NAME>.....http://dblp.org/pers/hd/j/Jourjon:Guillaume"], "pages": 14}
json
{ "builtin": {}, "questionable": { "google.protobuf.pyext": { "__set__": true, "elements": [ "google-api-core", "google-cloud-bigquery-storage-core", "protobuf" ] } }, "questionable no match": {}, "required": { "google.protobuf": { "__set__": true, "elements": [ "google-api-core", "google-cloud-bigquery-storage-core", "protobuf" ] }, "google.protobuf.internal": { "__set__": true, "elements": [ "google-api-core", "google-cloud-bigquery-storage-core", "protobuf" ] }, "google.protobuf.internal.enum_type_wrapper": { "__set__": true, "elements": [ "google-api-core", "google-cloud-bigquery-storage-core", "protobuf" ] }, "google.protobuf.json_format": { "__set__": true, "elements": [ "google-api-core", "google-cloud-bigquery-storage-core", "protobuf" ] }, "proto": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.fields": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.marshal": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.marshal.collections": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.marshal.rules": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.marshal.rules.enums": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.marshal.rules.message": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.primitives": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "proto.utils": { "__set__": true, "elements": [ "google-cloud-bigquery-storage-core", "proto-plus" ] }, "setuptools": { "__set__": true, "elements": [ "setuptools" ] } }, "required no match": {} }
json
package xin.xiaoer.modules.setting.controller; import java.util.List; import java.util.Map; import xin.xiaoer.common.enumresource.StateEnum; import xin.xiaoer.common.log.SysLog; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; import org.springframework.stereotype.Controller; import javax.servlet.http.HttpServletRequest; import xin.xiaoer.modules.setting.entity.Follow; import xin.xiaoer.modules.setting.service.FollowService; import xin.xiaoer.common.utils.PageUtils; import xin.xiaoer.common.utils.Query; import xin.xiaoer.common.utils.R; /** * * * @author xiaoer * @email <EMAIL> * @date 2018-10-02 12:05:02 */ @Controller @RequestMapping("follow") public class FollowController { @Autowired private FollowService followService; /** * 跳转到列表页 */ @RequestMapping("/list") @RequiresPermissions("follow:list") public String list() { return "follow/list"; } /** * 列表数据 */ @ResponseBody @RequestMapping("/listData") @RequiresPermissions("follow:list") public R listData(@RequestParam Map<String, Object> params){ //查询列表数据 Query query = new Query(params); List<Follow> followList = followService.getList(query); int total = followService.getCount(query); PageUtils pageUtil = new PageUtils(followList, total, query.getLimit(), query.getPage()); return R.ok().put("page", pageUtil); } /** * 跳转到新增页面 **/ @RequestMapping("/add") @RequiresPermissions("follow:save") public String add(){ return "follow/add"; } /** * 跳转到修改页面 **/ @RequestMapping("/edit/{id}") @RequiresPermissions("follow:update") public String edit(Model model, @PathVariable("id") Long id){ Follow follow = followService.get(id); model.addAttribute("model",follow); return "follow/edit"; } /** * 信息 */ @ResponseBody @RequestMapping("/info/{id}") @RequiresPermissions("follow:info") public R info(@PathVariable("id") Long id){ Follow follow = followService.get(id); return R.ok().put("follow", follow); } /** * 保存 */ @ResponseBody @SysLog("保存") @RequestMapping("/save") @RequiresPermissions("follow:save") public R save(@RequestBody Follow follow){ followService.save(follow); return R.ok(); } /** * 修改 */ @ResponseBody @SysLog("修改") @RequestMapping("/update") @RequiresPermissions("follow:update") public R update(@RequestBody Follow follow){ followService.update(follow); return R.ok(); } /** * 启用 */ @ResponseBody @SysLog("启用") @RequestMapping("/enable") @RequiresPermissions("follow:update") public R enable(@RequestBody String[] ids){ String stateValue=StateEnum.ENABLE.getCode(); followService.updateState(ids,stateValue); return R.ok(); } /** * 禁用 */ @ResponseBody @SysLog("禁用") @RequestMapping("/limit") @RequiresPermissions("follow:update") public R limit(@RequestBody String[] ids){ String stateValue=StateEnum.LIMIT.getCode(); followService.updateState(ids,stateValue); return R.ok(); } /** * 删除 */ @ResponseBody @SysLog("删除") @RequestMapping("/delete") @RequiresPermissions("follow:delete") public R delete(@RequestBody Long[] ids){ followService.deleteBatch(ids); return R.ok(); } }
java
import { useEffect, useRef } from 'react' import { render, unmountComponentAtNode } from 'react-dom' // If we use classic portal implementation all the events will be // bubbling to children // And we want to prevent it // for being able to render a bottom sheet inside another one // @see https://github.com/facebook/react/issues/11387#issuecomment-675115236 export const Portal = ({ children }) => { const containerRef = useRef<Node>(null) useEffect(() => { const container = document.createElement('div') container.setAttribute('data-rsbs-portal', '') containerRef.current = container document.body.appendChild(container) return () => { unmountComponentAtNode(container) document.body.removeChild(container) } }, []) useEffect(() => { render(children, containerRef.current) }, [children]) return null }
typescript
Demand for automation has surged across all industries, but existing architectures are slowing progress, and 80% of organizations are concerned about supporting automation programs, according to recent research from Salesforce and Vanson Bourne. To understand how IT is approaching these automation demands and challenges, Salesforce commissioned a global survey of 600 CIOs and IT decision-makers. Here are some of the key findings from Salesforce 600 CIO and IT leadership automation survey research: Automation is at the heart of digital transformation. Businesses today are burdened by silos, multiple process automation tools, and disconnected systems. Research shows that employee satisfaction increases as a result of automation in the workplace. Research also shows that hyperautomation unlocks digital value and productivity, accelerates time‐to‐market, and transforms employee and customer experiences. The research also identified the importance of composable architectures. As the pressure to innovate faster continues to rise, organizations will seek even greater agility, leading to an increased drive to composable and event‐driven architectures.
english
<reponame>kant/lab-what-the-street import React from 'react'; import * as identifiers from '../../statemanagement/constants/identifiersConstants'; // Components import Bar from './Bar'; import VehicleIcon from '../../shared/components/VehicleIcon'; import * as COLORS from '../../shared/style/colors'; import * as METRICS from '../../shared/style/metrics'; class BarChart extends React.PureComponent { static propTypes = { own: React.PropTypes.objectOf(React.PropTypes.number), others: React.PropTypes.arrayOf(React.PropTypes.object), actual: React.PropTypes.objectOf(React.PropTypes.number).isRequired, } renderResult = (key) => ( <div className="Column" key={`bar${key}`}> <Bar guess={this.props.own[key]} actual={this.props.actual[key]} others={this.props.others && this.props.others.map((item) => (item[key]))} /> <style jsx>{` .Column { display: flex; flex-flow: column nowrap; align-items: center; width: ${METRICS.MetricsBarWidth}; background-color: white; } `}</style> </div> ) render = () => ( <div className="Chart"> <div className="ChartHeader"> <div className="Column"> <VehicleIcon className="Icon" vehicle={identifiers.car} /> <p className="Header"> Cars </p> </div> <div className="Column"> <VehicleIcon className="Icon" vehicle={identifiers.rail} /> <p className="Header"> Rails </p> </div> <div className="Column"> <VehicleIcon className="Icon" vehicle={identifiers.bike} /> <p className="Header"> Bikes </p> </div> </div> <div className="ChartBody"> { this.renderResult(identifiers.car) } { this.renderResult(identifiers.rail) } { this.renderResult(identifiers.bike) } </div> <style jsx>{` .Chart { width: 480px; } .ChartHeader { background-color: white; width: 480px; height: 160px; display: flex; justify-content: space-between; } .ChartHeader .Column { padding-top: 40px; } .ChartBody { display: flex; width: 480px; justify-content: space-between; } .Column { display: flex; flex-flow: column nowrap; align-items: center; width: ${METRICS.MetricsBarWidth}; background-color: white; } .Icon { padding-top: 40px; } .Header { font-size: 23px; line-height: 29px; margin: 15px 0 0 0; } `}</style> </div> ) } export default BarChart;
javascript
<gh_stars>0 package de.mediqon.generic.data_dashboard.models.dto; import com.fasterxml.jackson.annotation.JsonInclude; import de.mediqon.generic.data_dashboard.enums.ECustomerStatus; import de.mediqon.generic.data_dashboard.models.base.BaseDto; import io.micronaut.core.annotation.Introspected; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; @JsonInclude(JsonInclude.Include.ALWAYS) @Introspected public class CustomerDto extends BaseDto { @NotNull @NotEmpty private String name; @NotNull @NotEmpty private String customerKey; @NotNull private ECustomerStatus status; public CustomerDto() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCustomerKey() { return customerKey; } public void setCustomerKey(String customerKey) { this.customerKey = customerKey; } public ECustomerStatus getStatus() { return this.status; } public void setStatus(final ECustomerStatus status) { this.status = status; } public void setStatusInt(final Integer status) { this.status = ECustomerStatus.fromValue(status); } public static CustomerDto generateNew(){ CustomerDto customerDto = new CustomerDto(); customerDto.status = ECustomerStatus.ACTIVE; return customerDto; } }
java
export type LogMode = 'live' | 'interactive' | 'grouped'
typescript
New American Bible (Revised Edition) New American Bible (Revised Edition) - 22:24 Coniah: a shortened form of Jeconiah, the name Jeremiah gives King Jehoiachin (cf. 24:1). A signet ring: the seal used by kings and other powerful figures—a symbol of their power and status—mounted in a ring worn constantly on the hand. The Lord says that even were Jehoiachin such a precious possession, he would reject him. Hg 2:23 uses the same imagery to signal the restoration of Zerubbabel. The words in Jer 22:24–30 date from the short three-month reign of Jehoiachin, before he was deported by Nebuchadnezzar. New American Bible (Revised Edition) (NABRE) Scripture texts, prefaces, introductions, footnotes and cross references used in this work are taken from the New American Bible, revised edition © 2010, 1991, 1986, 1970 Confraternity of Christian Doctrine, Inc., Washington, DC All Rights Reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the copyright owner.
english
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Package Description</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for packageDescription {utils}"><tr><td>packageDescription {utils}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Package Description</h2> <h3>Description</h3> <p>Parses and returns the &lsquo;<span class="file">DESCRIPTION</span>&rsquo; file of a package. </p> <h3>Usage</h3> <pre> packageDescription(pkg, lib.loc = NULL, fields = NULL, drop = TRUE, encoding = "") packageVersion(pkg, lib.loc = NULL) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>pkg</code></td> <td> <p>a character string with the package name.</p> </td></tr> <tr valign="top"><td><code>lib.loc</code></td> <td> <p>a character vector of directory names of <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> libraries, or <code>NULL</code>. The default value of <code>NULL</code> corresponds to all libraries currently known. If the default is used, the loaded packages and namespaces are searched before the libraries.</p> </td></tr> <tr valign="top"><td><code>fields</code></td> <td> <p>a character vector giving the tags of fields to return (if other fields occur in the file they are ignored).</p> </td></tr> <tr valign="top"><td><code>drop</code></td> <td> <p>If <code>TRUE</code> and the length of <code>fields</code> is 1, then a single character string with the value of the respective field is returned instead of an object of class <code>"packageDescription"</code>.</p> </td></tr> <tr valign="top"><td><code>encoding</code></td> <td> <p>If there is an <code>Encoding</code> field, to what encoding should re-encoding be attempted? If <code>NA</code>, no re-encoding. The other values are as used by <code><a href="../../base/html/iconv.html">iconv</a></code>, so the default <code>""</code> indicates the encoding of the current locale.</p> </td></tr> </table> <h3>Details</h3> <p>A package will not be &lsquo;found&rsquo; unless it has a &lsquo;<span class="file">DESCRIPTION</span>&rsquo; file which contains a valid <code>Version</code> field. Different warnings are given when no package directory is found and when there is a suitable directory but no valid &lsquo;<span class="file">DESCRIPTION</span>&rsquo; file. </p> <p>An <a href="../../base/html/attach.html">attach</a>ed environment named to look like a package (e.g., <code>package:utils2</code>) will be ignored. </p> <p><code>packageVersion()</code> is a convenience shortcut, allowing things like <code>if (packageVersion("MASS") &lt; "7.3") { do.things } </code>. </p> <h3>Value</h3> <p>If a &lsquo;<span class="file">DESCRIPTION</span>&rsquo; file for the given package is found and can successfully be read, <code>packageDescription</code> returns an object of class <code>"packageDescription"</code>, which is a named list with the values of the (given) fields as elements and the tags as names, unless <code>drop = TRUE</code>. </p> <p>If parsing the &lsquo;<span class="file">DESCRIPTION</span>&rsquo; file was not successful, it returns a named list of <code>NA</code>s with the field tags as names if <code>fields</code> is not null, and <code>NA</code> otherwise. </p> <p><code>packageVersion()</code> returns a (length-one) object of class <code>"<a href="../../base/html/numeric_version.html">package_version</a>"</code>. </p> <h3>See Also</h3> <p><code><a href="../../base/html/dcf.html">read.dcf</a></code> </p> <h3>Examples</h3> <pre> packageDescription("stats") packageDescription("stats", fields = c("Package", "Version")) packageDescription("stats", fields = "Version") packageDescription("stats", fields = "Version", drop = FALSE) if(packageVersion("MASS") &lt; "7.3.29") message("you need to update 'MASS'") </pre> <hr /><div style="text-align: center;">[Package <em>utils</em> version 3.4.4 <a href="00Index.html">Index</a>]</div> </body></html>
html
Earlier today,July 22, Darren "IShowSpeed" had a rather unusual yet comical moment during his livestream. He witnessed Lionel Messi's historic debut for his new team Inter Miami CF in their match against Cruz Azul at the DRV PNK stadium in Florida. However, the crowning moment in both the match and the stream came when Messi scored a last-minute winner. Messi managed to find the top corner from a free kick in the 94th minute of the game. However, seconds before he took it, IShowSpeed turned to the camera and stated much to fans' amusement: "If Messi scores this free kick, I'm a Messi fan" Naturally, he went berserk after seeing the Argentine hit top bins. Seeing his elated reaction, one viewer said: "Ronaldo fans when they see GREATNESS" IShowSpeed secured front-row tickets to Messi's debut game for Miami and went on to orchestrate some viral moments during the event. After Messi scored a sensational free-kick in the very last moments of the game, Darren, who is a vocal Ronaldo fan, hilariously took off his Portugal shirt to reveal that he had been wearing a Messi one underneath all along. Ashamed of his momentary lapse in support, he decided to remove the clip from his original livestream. As a result, fans who click on that portion of the stream will notice a significant skip at the 41-minute mark. However, by the time he removed it from the original livestream, the comical clip had already spread on the internet, thanks to the viewers who captured and shared the moment. It's worth mentioning that the streamer had the opportunity to meet Ronaldo in person last month (June) during Portugal's match against Bosnia and Herzegovina. Maybe the Portuguese icon will feel a bit disappointed upon seeing this amusing betrayal! As with many of the YouTuber's antics, netizens have a lot to say on the subject. Here are some of the top comments: IShowSpeed is set to return to the football pitch later this month at the Sidemen Charity Match. The event is scheduled to take place on September 9 at the London Stadium.
english
A five-day survey of school dropouts and those who have never enrolled to school will begin under Sarva Shiksha Abhiyan in Dakshina Kannada from December 12. An added feature of this year’s survey is that photographs of such children will be taken on the spot and its digitised version will be preserved with the database of such children, according to N Shivaprakash, Deputy Project Co-ordinator of the abhiyan in the district. Mr. Shivaprakash told The Hindu that the photographs would help in tracking the children wherever they would be and tracing them in case if they dropped out of school again. He said that till last year there was no system of taking the photographs of such children during the survey. Their database was being maintained without photographs. Taking the photographs of such children was mandatory this year. Mr. Shivaprakash said that last year’s survey had found out such children. They had been admitted to the school following the survey. Of the 257 children admitted to school, 63 have migrated out of Dakshina Kannada within the State till November 27, 2012. Photographs of 194 children who have remained in school would also be taken and uploaded to the data base this time. As the abhiyan has software for tracking children admitted to school under the abhiyan the photographs would come in handy to trace them even if the children moved out of the district. He said that if a student was not attending classes for two months he or she would be considered as a drop out. Mr. Shivaprakash said that the database of children with special needs maintained in the district had the photographs of all 5,186 children aged between six and 14. He said philanthropists have donated Rs. 5 crore so far for building infrastructure in government schools. This was in addition to grants received from the government under the abhiyan. The Department of Public Instruction would preserve details of all such donors in digital form.
english
<gh_stars>1-10 // Code generated by smithy-go-codegen DO NOT EDIT. package types type Attribute string // Enum values for Attribute const ( AttributeDefault Attribute = "DEFAULT" AttributeAll Attribute = "ALL" ) // Values returns all known values for Attribute. Note that this can be expanded in // the future, and so it is only as up to date as the client. The ordering of this // slice is not guaranteed to be stable across updates. func (Attribute) Values() []Attribute { return []Attribute{ "DEFAULT", "ALL", } } type BodyPart string // Enum values for BodyPart const ( BodyPartFace BodyPart = "FACE" BodyPartHead BodyPart = "HEAD" BodyPartLeftHand BodyPart = "LEFT_HAND" BodyPartRightHand BodyPart = "RIGHT_HAND" ) // Values returns all known values for BodyPart. Note that this can be expanded in // the future, and so it is only as up to date as the client. The ordering of this // slice is not guaranteed to be stable across updates. func (BodyPart) Values() []BodyPart { return []BodyPart{ "FACE", "HEAD", "LEFT_HAND", "RIGHT_HAND", } } type CelebrityRecognitionSortBy string // Enum values for CelebrityRecognitionSortBy const ( CelebrityRecognitionSortById CelebrityRecognitionSortBy = "ID" CelebrityRecognitionSortByTimestamp CelebrityRecognitionSortBy = "TIMESTAMP" ) // Values returns all known values for CelebrityRecognitionSortBy. Note that this // can be expanded in the future, and so it is only as up to date as the client. // The ordering of this slice is not guaranteed to be stable across updates. func (CelebrityRecognitionSortBy) Values() []CelebrityRecognitionSortBy { return []CelebrityRecognitionSortBy{ "ID", "TIMESTAMP", } } type ContentClassifier string // Enum values for ContentClassifier const ( ContentClassifierFreeOfPersonallyIdentifiableInformation ContentClassifier = "FreeOfPersonallyIdentifiableInformation" ContentClassifierFreeOfAdultContent ContentClassifier = "FreeOfAdultContent" ) // Values returns all known values for ContentClassifier. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ContentClassifier) Values() []ContentClassifier { return []ContentClassifier{ "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent", } } type ContentModerationSortBy string // Enum values for ContentModerationSortBy const ( ContentModerationSortByName ContentModerationSortBy = "NAME" ContentModerationSortByTimestamp ContentModerationSortBy = "TIMESTAMP" ) // Values returns all known values for ContentModerationSortBy. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ContentModerationSortBy) Values() []ContentModerationSortBy { return []ContentModerationSortBy{ "NAME", "TIMESTAMP", } } type EmotionName string // Enum values for EmotionName const ( EmotionNameHappy EmotionName = "HAPPY" EmotionNameSad EmotionName = "SAD" EmotionNameAngry EmotionName = "ANGRY" EmotionNameConfused EmotionName = "CONFUSED" EmotionNameDisgusted EmotionName = "DISGUSTED" EmotionNameSurprised EmotionName = "SURPRISED" EmotionNameCalm EmotionName = "CALM" EmotionNameUnknown EmotionName = "UNKNOWN" EmotionNameFear EmotionName = "FEAR" ) // Values returns all known values for EmotionName. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (EmotionName) Values() []EmotionName { return []EmotionName{ "HAPPY", "SAD", "ANGRY", "CONFUSED", "DISGUSTED", "SURPRISED", "CALM", "UNKNOWN", "FEAR", } } type FaceAttributes string // Enum values for FaceAttributes const ( FaceAttributesDefault FaceAttributes = "DEFAULT" FaceAttributesAll FaceAttributes = "ALL" ) // Values returns all known values for FaceAttributes. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (FaceAttributes) Values() []FaceAttributes { return []FaceAttributes{ "DEFAULT", "ALL", } } type FaceSearchSortBy string // Enum values for FaceSearchSortBy const ( FaceSearchSortByIndex FaceSearchSortBy = "INDEX" FaceSearchSortByTimestamp FaceSearchSortBy = "TIMESTAMP" ) // Values returns all known values for FaceSearchSortBy. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (FaceSearchSortBy) Values() []FaceSearchSortBy { return []FaceSearchSortBy{ "INDEX", "TIMESTAMP", } } type GenderType string // Enum values for GenderType const ( GenderTypeMale GenderType = "Male" GenderTypeFemale GenderType = "Female" ) // Values returns all known values for GenderType. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (GenderType) Values() []GenderType { return []GenderType{ "Male", "Female", } } type LabelDetectionSortBy string // Enum values for LabelDetectionSortBy const ( LabelDetectionSortByName LabelDetectionSortBy = "NAME" LabelDetectionSortByTimestamp LabelDetectionSortBy = "TIMESTAMP" ) // Values returns all known values for LabelDetectionSortBy. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (LabelDetectionSortBy) Values() []LabelDetectionSortBy { return []LabelDetectionSortBy{ "NAME", "TIMESTAMP", } } type LandmarkType string // Enum values for LandmarkType const ( LandmarkTypeEyeLeft LandmarkType = "eyeLeft" LandmarkTypeEyeRight LandmarkType = "eyeRight" LandmarkTypeNose LandmarkType = "nose" LandmarkTypeMouthLeft LandmarkType = "mouthLeft" LandmarkTypeMouthRight LandmarkType = "mouthRight" LandmarkTypeLeftEyeBrowLeft LandmarkType = "leftEyeBrowLeft" LandmarkTypeLeftEyeBrowRight LandmarkType = "leftEyeBrowRight" LandmarkTypeLeftEyeBrowUp LandmarkType = "leftEyeBrowUp" LandmarkTypeRightEyeBrowLeft LandmarkType = "rightEyeBrowLeft" LandmarkTypeRightEyeBrowRight LandmarkType = "rightEyeBrowRight" LandmarkTypeRightEyeBrowUp LandmarkType = "rightEyeBrowUp" LandmarkTypeLeftEyeLeft LandmarkType = "leftEyeLeft" LandmarkTypeLeftEyeRight LandmarkType = "leftEyeRight" LandmarkTypeLeftEyeUp LandmarkType = "leftEyeUp" LandmarkTypeLeftEyeDown LandmarkType = "leftEyeDown" LandmarkTypeRightEyeLeft LandmarkType = "rightEyeLeft" LandmarkTypeRightEyeRight LandmarkType = "rightEyeRight" LandmarkTypeRightEyeUp LandmarkType = "rightEyeUp" LandmarkTypeRightEyeDown LandmarkType = "rightEyeDown" LandmarkTypeNoseLeft LandmarkType = "noseLeft" LandmarkTypeNoseRight LandmarkType = "noseRight" LandmarkTypeMouthUp LandmarkType = "mouthUp" LandmarkTypeMouthDown LandmarkType = "mouthDown" LandmarkTypeLeftPupil LandmarkType = "leftPupil" LandmarkTypeRightPupil LandmarkType = "rightPupil" LandmarkTypeUpperJawlineLeft LandmarkType = "upperJawlineLeft" LandmarkTypeMidJawlineLeft LandmarkType = "midJawlineLeft" LandmarkTypeChinBottom LandmarkType = "chinBottom" LandmarkTypeMidJawlineRight LandmarkType = "midJawlineRight" LandmarkTypeUpperJawlineRight LandmarkType = "upperJawlineRight" ) // Values returns all known values for LandmarkType. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (LandmarkType) Values() []LandmarkType { return []LandmarkType{ "eyeLeft", "eyeRight", "nose", "mouthLeft", "mouthRight", "leftEyeBrowLeft", "leftEyeBrowRight", "leftEyeBrowUp", "rightEyeBrowLeft", "rightEyeBrowRight", "rightEyeBrowUp", "leftEyeLeft", "leftEyeRight", "leftEyeUp", "leftEyeDown", "rightEyeLeft", "rightEyeRight", "rightEyeUp", "rightEyeDown", "noseLeft", "noseRight", "mouthUp", "mouthDown", "leftPupil", "rightPupil", "upperJawlineLeft", "midJawlineLeft", "chinBottom", "midJawlineRight", "upperJawlineRight", } } type OrientationCorrection string // Enum values for OrientationCorrection const ( OrientationCorrectionRotate0 OrientationCorrection = "ROTATE_0" OrientationCorrectionRotate90 OrientationCorrection = "ROTATE_90" OrientationCorrectionRotate180 OrientationCorrection = "ROTATE_180" OrientationCorrectionRotate270 OrientationCorrection = "ROTATE_270" ) // Values returns all known values for OrientationCorrection. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (OrientationCorrection) Values() []OrientationCorrection { return []OrientationCorrection{ "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270", } } type PersonTrackingSortBy string // Enum values for PersonTrackingSortBy const ( PersonTrackingSortByIndex PersonTrackingSortBy = "INDEX" PersonTrackingSortByTimestamp PersonTrackingSortBy = "TIMESTAMP" ) // Values returns all known values for PersonTrackingSortBy. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (PersonTrackingSortBy) Values() []PersonTrackingSortBy { return []PersonTrackingSortBy{ "INDEX", "TIMESTAMP", } } type ProjectStatus string // Enum values for ProjectStatus const ( ProjectStatusCreating ProjectStatus = "CREATING" ProjectStatusCreated ProjectStatus = "CREATED" ProjectStatusDeleting ProjectStatus = "DELETING" ) // Values returns all known values for ProjectStatus. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ProjectStatus) Values() []ProjectStatus { return []ProjectStatus{ "CREATING", "CREATED", "DELETING", } } type ProjectVersionStatus string // Enum values for ProjectVersionStatus const ( ProjectVersionStatusTrainingInProgress ProjectVersionStatus = "TRAINING_IN_PROGRESS" ProjectVersionStatusTrainingCompleted ProjectVersionStatus = "TRAINING_COMPLETED" ProjectVersionStatusTrainingFailed ProjectVersionStatus = "TRAINING_FAILED" ProjectVersionStatusStarting ProjectVersionStatus = "STARTING" ProjectVersionStatusRunning ProjectVersionStatus = "RUNNING" ProjectVersionStatusFailed ProjectVersionStatus = "FAILED" ProjectVersionStatusStopping ProjectVersionStatus = "STOPPING" ProjectVersionStatusStopped ProjectVersionStatus = "STOPPED" ProjectVersionStatusDeleting ProjectVersionStatus = "DELETING" ) // Values returns all known values for ProjectVersionStatus. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ProjectVersionStatus) Values() []ProjectVersionStatus { return []ProjectVersionStatus{ "TRAINING_IN_PROGRESS", "TRAINING_COMPLETED", "TRAINING_FAILED", "STARTING", "RUNNING", "FAILED", "STOPPING", "STOPPED", "DELETING", } } type ProtectiveEquipmentType string // Enum values for ProtectiveEquipmentType const ( ProtectiveEquipmentTypeFaceCover ProtectiveEquipmentType = "FACE_COVER" ProtectiveEquipmentTypeHandCover ProtectiveEquipmentType = "HAND_COVER" ProtectiveEquipmentTypeHeadCover ProtectiveEquipmentType = "HEAD_COVER" ) // Values returns all known values for ProtectiveEquipmentType. Note that this can // be expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (ProtectiveEquipmentType) Values() []ProtectiveEquipmentType { return []ProtectiveEquipmentType{ "FACE_COVER", "HAND_COVER", "HEAD_COVER", } } type QualityFilter string // Enum values for QualityFilter const ( QualityFilterNone QualityFilter = "NONE" QualityFilterAuto QualityFilter = "AUTO" QualityFilterLow QualityFilter = "LOW" QualityFilterMedium QualityFilter = "MEDIUM" QualityFilterHigh QualityFilter = "HIGH" ) // Values returns all known values for QualityFilter. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (QualityFilter) Values() []QualityFilter { return []QualityFilter{ "NONE", "AUTO", "LOW", "MEDIUM", "HIGH", } } type Reason string // Enum values for Reason const ( ReasonExceedsMaxFaces Reason = "EXCEEDS_MAX_FACES" ReasonExtremePose Reason = "EXTREME_POSE" ReasonLowBrightness Reason = "LOW_BRIGHTNESS" ReasonLowSharpness Reason = "LOW_SHARPNESS" ReasonLowConfidence Reason = "LOW_CONFIDENCE" ReasonSmallBoundingBox Reason = "SMALL_BOUNDING_BOX" ReasonLowFaceQuality Reason = "LOW_FACE_QUALITY" ) // Values returns all known values for Reason. Note that this can be expanded in // the future, and so it is only as up to date as the client. The ordering of this // slice is not guaranteed to be stable across updates. func (Reason) Values() []Reason { return []Reason{ "EXCEEDS_MAX_FACES", "EXTREME_POSE", "LOW_BRIGHTNESS", "LOW_SHARPNESS", "LOW_CONFIDENCE", "SMALL_BOUNDING_BOX", "LOW_FACE_QUALITY", } } type SegmentType string // Enum values for SegmentType const ( SegmentTypeTechnicalCue SegmentType = "TECHNICAL_CUE" SegmentTypeShot SegmentType = "SHOT" ) // Values returns all known values for SegmentType. Note that this can be expanded // in the future, and so it is only as up to date as the client. The ordering of // this slice is not guaranteed to be stable across updates. func (SegmentType) Values() []SegmentType { return []SegmentType{ "TECHNICAL_CUE", "SHOT", } } type StreamProcessorStatus string // Enum values for StreamProcessorStatus const ( StreamProcessorStatusStopped StreamProcessorStatus = "STOPPED" StreamProcessorStatusStarting StreamProcessorStatus = "STARTING" StreamProcessorStatusRunning StreamProcessorStatus = "RUNNING" StreamProcessorStatusFailed StreamProcessorStatus = "FAILED" StreamProcessorStatusStopping StreamProcessorStatus = "STOPPING" ) // Values returns all known values for StreamProcessorStatus. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (StreamProcessorStatus) Values() []StreamProcessorStatus { return []StreamProcessorStatus{ "STOPPED", "STARTING", "RUNNING", "FAILED", "STOPPING", } } type TechnicalCueType string // Enum values for TechnicalCueType const ( TechnicalCueTypeColorBars TechnicalCueType = "ColorBars" TechnicalCueTypeEndCredits TechnicalCueType = "EndCredits" TechnicalCueTypeBlackFrames TechnicalCueType = "BlackFrames" ) // Values returns all known values for TechnicalCueType. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (TechnicalCueType) Values() []TechnicalCueType { return []TechnicalCueType{ "ColorBars", "EndCredits", "BlackFrames", } } type TextTypes string // Enum values for TextTypes const ( TextTypesLine TextTypes = "LINE" TextTypesWord TextTypes = "WORD" ) // Values returns all known values for TextTypes. Note that this can be expanded in // the future, and so it is only as up to date as the client. The ordering of this // slice is not guaranteed to be stable across updates. func (TextTypes) Values() []TextTypes { return []TextTypes{ "LINE", "WORD", } } type VideoJobStatus string // Enum values for VideoJobStatus const ( VideoJobStatusInProgress VideoJobStatus = "IN_PROGRESS" VideoJobStatusSucceeded VideoJobStatus = "SUCCEEDED" VideoJobStatusFailed VideoJobStatus = "FAILED" ) // Values returns all known values for VideoJobStatus. Note that this can be // expanded in the future, and so it is only as up to date as the client. The // ordering of this slice is not guaranteed to be stable across updates. func (VideoJobStatus) Values() []VideoJobStatus { return []VideoJobStatus{ "IN_PROGRESS", "SUCCEEDED", "FAILED", } }
go
<reponame>Z0rdak/GlazedPots { "variants": { "": { "model": "glazedpots:block/white_glazed_potted_red_tulip" } } }
json
Veteran actor Thilakan, who recently won a special mention jury award in the recently-announced National Awards for his outstanding performance in Ekantham (2007) directed by Madhu Kaithapram, will inagurate a seven-day drama festival 'Arangorukkam-2008' at a function to be held in the Fine Arts Hall, Kochi at 5. 30 p. m. today (6. 10. 08). The drama festival is organized by the Youth Wing of the Ernakulam Merchants’ Union as part of the Silver Jubilee celebrations of the Youth Wing, a press release said. The latest Malayalam plays will be staged over the next seven days and a total of 25 awards are to be won under various categories. ‘SMS Vazhi Vanna Pranayam’ from Ochira Nila will open the drama festival. The other plays to be staged are ‘Amma Malayalam,’ ‘Parayuka Vallppozhum,’ ‘Ayyaal Paridhikku Purthanu,’ ‘Adya Valluvan,’ ‘Charithrathillathavar,’ and ‘Palattu Koman’. Check out:
english
Rovio, the Finland-based developer behind the extremely popular Angry Birds franchise, this morning announced on its blog that it has acquired a longtime partner, Finnish animation studio Kombo. Financial terms of the deal were not disclosed, but we understand there was a mix of cash and Rovio stock involved. Kombo will henceforth focus their production efforts exclusively on Rovio properties. In a press statement, the Angry Birds developer says the acquisition of Kombo will strengthen its in-house animation production capabilities. Rovio can certainly afford such strategic purchases, having recently raised a whopping $42 million in Series A funding from Accel Partners, Atomico Ventures and Felicis Ventures. (Picture from Flickr user kBoey pictures, used with permission)
english
San Francisco: Apple is likely to sell its new and cheaper iPhone XR faster than the luxury iPhone XS and XS Max, an Apple analyst has claimed. According to Ming-Chi Kuo, an analyst with TF International Securities who often accurately predict Apple’s future device plans, more people would upgrade to the iPhone XR this year. iPhone XR would go on sale in India from October 19 and would be in stores on October 26, starting at Rs 76,900 for the 64GB storage variant. According to a MacRumor report on Monday, Kuo said that Apple is now expected to ship 36 to 38 million iPhone XR units in the fourth quarter of 2018, up 10 per cent from an original estimate of 33 to 35 million units. In a note to investors, Kuo also said Apple would continue to offer 5. 8 and 6. 5-inch OLED iPhones in 2019, along with one 6. 1-inch LCD model. Kuo has also revised his estimate for total iPhone shipments to 78 million to 83 million units from his earlier 75 to 80 million. Apple sold 77. 3 million iPhones in the same period in 2017. “We believe that replacement demand for XR will be better than it was for the iPhone 8 series last year because of XR’s larger display, longer battery life, dual-SIM support, and new form factor design,” Kuo said in the note to investors. (IANS)
english
It is a known fact that Sithara Entertainments have bought the remake rights of the Malayalam hit Kappela. The film will be mostly made with good production values and noted faces as per the news. The latest we hear is that Arjun Das, the noted villain from Master has been roped in to play a negative lead in the film. The heroine who will play the role of Anna Ben is yet to be shortlisted. One more hero will play a key role in this two-hero film. The news is also that one of Sukumar’s assistants will be making this film which will go on floors in the month of January 2022. Watch this space for more updates on this project. Articles that might interest you: - Has Vaishnavi Chaitanya signed a three-film deal with Dil Raju?
english
<gh_stars>1-10 package com.solexgames.command; import com.solexgames.util.ColorUtil; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.entity.Player; public class ExecServerCommand implements CommandExecutor { @Override public boolean onCommand(CommandSender commandSender, Command command, String s, String[] args) { if (commandSender instanceof ConsoleCommandSender) { System.out.println("no"); return false; } Player player = (Player) commandSender; if (args.length == 0) { player.sendMessage(ColorUtil.translate("&cComing soon.")); } return false; } }
java
Actress Shruthi Haasan who has been flying from one state to another for continuous shooting schedules in multiple languages was in Chennai to dance in a popular award function held yesterday (July 5). During her stay in Chennai she took time to visit a popular mall located in the heart of the city. The Ezham Arivu` actress reportedly entered a cosmetic store to buy some make-up related item and reportedly threw tantrum when the attendant told that the product she is looking for was not available. Sources say that the reply given by the attendant did not go well with the top heroine, which was evident in the way she reacted to it. “Shruthi said that when she asks for a product the attendant should go and check whether the product is available or not or direct someone else to attend her rather than giving a simple answer that the product is not available at all” the source adds. Follow us on Google News and stay updated with the latest!
english
AEW commissioned a street fight for the latest episode of Dynamite. Street fights could be a bit complicated to book, as they need a lot of creativity available in the team. Then again, the bookers sometimes try something for a lark and just hope that it works with the audience. While audiences might like some spots, there are chances that some may not go over too well. The now infamous street fight at Dynamite featuring Chris Jericho, Kenny Omega, Kota Ibushi, and Don Callis's family with Brian Cage has once again gained social media's attention. A post showed the spot where Kota Ibushi rode a bicycle and hit the wrestlers with a pipe before being brought down by his opponent. The spot went on for a few seconds, became viral, and people started commenting on it. Check out the reactions: The quality and safety of matches in Tony Khan's company have been a concern for a while now. It remains to be seen how Khan and company react to the reactions they have gotten from the spot. Wrestling veterans have gone out of their way to criticize the way Tony Khan, the head booker of the Jacksonville-based company, has been booking the matches. Eric Bischoff has earlier said, "What they refer to as a story is not a story. It’s an excuse for a match." Vince Russo has been more than vocal about his request to Khan to allow him to book the show. Tony and his company are currently getting a lot of flak in all three quarters. While wrestling icons are criticizing the booking and the safety, the ratings of the shows are plummeting. Khan's booking lost the Wednesday Night Ratings War in October after AEW Dynamite clashed against WWE's NXT. WWE defeated TK quite comfortably. With all this on his plate, Tony Khan should be a very worried man at the moment. What do you think? Does AEW need a complete change and reboot? Tell us in the comments section.
english
The NBA All-Star game features some of the best players in the league every season. This special occasion is a nice change of pace for players, as they don't have to put in much effort when playing the game. The All-Star game is turning out to be a casual game where players have fun and break out their fancy moves to impress fans in attendance. However, one pattern everyone has seemed to notice is the fact that NBA players tend to take the All-Star game seriously in the second half. That could be because of what's at stake, which is the All-Star MVP award. The Association would typically give the special award to the player who has performed the best. Throughout the league's history, the LA Lakers have produced the most All-Star MVP winners. The franchise leads the NBA with a total of 11 winners so far. Let's break down all the winners over the years: Here are the players: George Mikan was the first Laker to win the NBA All-Star MVP award. Mikan scored 22 points and 16 rebounds. He was one of the most dominant big men in the league during his time and deservedly won the award in 1953. In the 1959 All-Star Game, it was the first time the Association had to split the MVP award for more than one player. Elgin Baylor was one of the players who won the special award with 24 points and 11 rebounds. The rookie shared the MVP honors with Bob Pettit, who was playing for the Atlanta Hawks at the time. Jerry West won the All-Star MVP award in 1972. He added 13 points, six rebounds and five assists to win the game for the West 112-110. It was a solid year for him, as he was named in the All-NBA and All-Defensive first team. Magic Johnson might be known for his unselfish style of basketball, but that doesn't mean he could not win an MVP award. One of the Most Valuable Player trophies he has won in his career is the All-Star MVP award. Johnson won it in 1990 when he put up 22 points, six rebounds and four assists. A couple of years later, Johnson once again won the award, in the 1992 NBA All-Star Game. This time, he added 25 points and nine assists in what was his final All-Star appearance. In the 2000 All-Star game, the league split the MVP award once again to the two dominant big men at the time. :Tim Duncan and Shaquille O'Neal. Representing the LA Lakers, Shaq had 22 points, nine rebounds, three blocks and three assists. Come 2004, Shaquille O'Neal won his first All-Star MVP award all by himself. On that occasion, he added 24 points, 11 rebounds, two blocks and two steals. Kobe Bryant was one of the most ferocious and competitive players on the court. Despite the All-Star Game serving as a break for NBA players to have fun, it's no surprise that Bryant still took the game seriously, especially during his younger years. He won his first All-Star MVP award in 2002, putting up 31 points, five rebounds and five steals. In 2007, "Black Mamba" did it again, as he won his second award by putting up 31 points, six assists, six steals and five rebounds. Two years later, he won his third award, this time splitting it with his former teammate O'Neal. Bryant added 27 points, four rebounds, four assists and four steals. Finally, in 2011, he won his fourth and last All-Star MVP award with 37 points, 14 rebounds and three steals. 5 Times Steph Curry Was HUMILIATED On And Off The Court!
english
<reponame>frandallfarmer/Elko package org.elkoserver.util; import java.util.ConcurrentModificationException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; /** * A hashtable-like collection that maps each key to a set of items rather than * to a single item. */ public class HashMapMulti<K, V> { /** Maps keys --> sets of values */ private Map<K, HashSetMulti<V>> myMap; /** Version number, for detecting modification during iteration */ private int myVersionNumber; /** * Construct an empty map. */ public HashMapMulti() { myMap = new HashMap<K, HashSetMulti<V>>(); myVersionNumber = 0; } /** * Add a value to a key's value set. * * @param key The key for the value to add. * @param value The value that should be added to 'key's value set */ public void add(K key, V value) { HashSetMulti<V> set = myMap.get(key); if (set == null) { set = new HashSetMulti<V>(); myMap.put(key, set); } set.add(value); ++myVersionNumber; } /** * Test if this map has a mapping for a given key. * * @param key The key whose potential mapping is of interest. * * @return true if this map has one or more values for key, false if not. */ public boolean containsKey(K key) { return myMap.containsKey(key); } /** * Return the set of values for some key. Note that a set will always be * returned; if the given key has no values then the set returned will be * empty. * * @param key The key for the set of values desired. * * @return a set of the values for 'key'. */ public HashSetMulti<V> getMulti(K key) { HashSetMulti<V> result = myMap.get(key); if (result == null) { result = HashSetMulti.emptySet(); } return result; } /** * Get the set of keys for this map. * * @return the keys for this map. */ public Set<K> keys() { return myMap.keySet(); } /** * Remove a value from a key's value set. * * @param key The key for the value set to remove from. * @param value The value that should be removed from 'key's value * set */ public void remove(K key, V value) { HashSetMulti<V> set = myMap.get(key); if (set != null) { set.remove(value); if (set.isEmpty()) { myMap.remove(key); } } ++myVersionNumber; } /** * Remove a key's entire value set. * * @param key The key for the set of values to remove. */ public void remove(K key) { myMap.remove(key); ++myVersionNumber; } /** * Return an iterable that can iterate over all the values of all the keys * in this map. * * @return an iterable for the values in this map. */ public Iterable<V> values() { return new Iterable<V>() { public Iterator<V> iterator() { return new HashMapMultiValueIterator(); } }; } private class HashMapMultiValueIterator implements Iterator<V> { private Iterator<HashSetMulti<V>> mySetIter; private Iterator<V> myValueIter; private V myNext; private int myStartVersionNumber; HashMapMultiValueIterator() { myStartVersionNumber = myVersionNumber; mySetIter = myMap.values().iterator(); myValueIter = null; advance(); } public boolean hasNext() { if (myVersionNumber != myStartVersionNumber) { throw new ConcurrentModificationException(); } return myNext != null; } public V next() { if (myVersionNumber != myStartVersionNumber) { throw new ConcurrentModificationException(); } V result = myNext; advance(); return result; } public void remove() { throw new UnsupportedOperationException(); } private void advance() { while (myValueIter == null || !myValueIter.hasNext()) { if (mySetIter.hasNext()) { myValueIter = mySetIter.next().iterator(); } else { myNext = null; return; } } myNext = myValueIter.next(); } } }
java
Posted On: The Union Home Minister speaking at the Seemant Vikas Utsav – 2020 held today at Dhordo (Kutch) in Gujarat, said the aim of the Seemant Vikas Utsav is to bring good governance and development to border areas. Citizens living in border villages should get the same facility as citizens living in our cities. Along with this, the aim of the Seemant Vikas Utsav is to sensitize the population of these areas to the importance of national security and share the sensitivity of the security aspect and strategic importance of border areas. Shri Amit Shah said the Prime Minister, Shri Narendra Modi has decided that work will be done to develop border areas through the Seemant Vikas Utsav. This will not be limited to the border areas of Gujarat, but after today’s launch, the Prime Minister himself will be involved in development programs and I will also visit borders in the coming days, to spend time with our soldiers who guard our borders. This activity will continue. The Union Home Minister said that it is the primary duty of every citizen to protect the nation’s borders and the boundaries of the states, as they are like a Mother’s protective cover. Shri Amit Shah said that Sarpanches, MLAs, MPs from villages in the border areas are vigilant guards of our border. Shri Shah said that until the importance and awareness about border security does not spread amongst the people and public representatives, security of borders cannot be ensured. We cannot secure borders until every person living in border areas becomes aware. Shri Shah said that unless internal security in the country is strengthened, it will be difficult to take the country ahead on the path of development. The priority of the Modi government is to ensure that every inch of our land is protected. He said that today our security forces and Jawans have the capability of standing eyeball to eyeball with one of the biggest powers of the world. Whether it is the Jammu and Kashmir border or the Pulwama attack, the government has given a befitting response. Shri Amit Shah said it is necessary to reduce migration from border areas for the protection of our borders, which would be important for bringing the same type of development to border villages as is being brought to villages inside our borders. The Union Home Minister said that while going through writings of Sardar Patel, it becomes clear that he had then said that road, water, electricity should be provided to border areas and migration from border areas should be stopped. Ever since the Modi Government has come to power at the Center, it has started to implement all the things mentioned by Sardar Patel. Shri Amit Shah said that the Modi government has secured our borders within six years. Arrangements are being made to equip our forces with modern weapons and for training them. The work of providing electricity, bank accounts and toilets in the homes of every poor has been completed. The work of delivering gas stoves to every kitchen has also been done and health expenses up to Rs 5 lakh have been provided for every poor citizen of the country, as all poor citizens are now being treated under the Ayushman Bharat Scheme. Shri Amit Shah said that under the leadership of Shri Narendra Modi, all State Governments along with the Government of India and the nation’s 135 crore people are standing firmly against the Corona virus. Shri Shah said while there is joy with upcoming Diwali celebrations, but it is very important to be cautious. Shri Amit Shah said there are some negative minded people in the country who point out mistakes in everything that is done, but people are intelligent. They are aware that earlier plans were limited to files, but now government schemes under the leadership of Prime Minister Modi, are reaching every door and recent election results testify to this belief in the public. Shri Shah said that from 2008 to 2014, the speed of re-surfacing of border road was 170 kilometers, which has been increased by the Modi government from 170 kilometers to 480 kilometers. From 2008 to 2014, 230 km of road cutting and formatting was being done annually along the Indo-China border, between 2014 and 2020 it was increased from 230 to 470 km. Only one tunnel was built between 2008 and 2014, and between 2014 and 2020 we have made six new tunnels and started work on 19. This shows how much border security is a priority for the Modi government. Shri Amit Shah said that between 2008 and 2014, a budget of Rs 3,300 crore was allocated and during the Modi government the budget for 2017-18 was Rs 5,400 crore which was increased to Rs 6,700 crore in 2018-19 and in 2020-21 work for Rs. 11,800 crore has been done. Earlier, the Union Home Minister held and interaction with Sarpanches of the three border districts. Shri Amit Shah also inaugurated an exhibition of the work done for the development of border areas by the Border Security Force (BSF) and the Government of Gujarat under the Border Area Development Program. The program was attended by Union Minister for Agriculture and Farmers Welfare, Rural Development, Panchayati Raj, Food Processing Industries, Shri Narendra Singh Tomar, Chief Minister of Gujarat Shri Vijay Rupani and several ministers of the Government of Gujarat, the Union Home Secretary, the Director General of BSF, the Director of the Intelligence Bureau. Senior officials of the Gujarat government were also present. Read this release in:
english
When you hear the names Ahab and Jezebel, your first thought is probably not “I wonder what great leadership lesson I can learn from their lives.” They were best known for being wicked rulers, but they show us a lot of what NOT to do. I doubt any of us are setting up idols in our backyard and offering sacrifices, so we may think we are safe from committing this particular offense. How often, though, do we put other things before God? It’s important to recognize that if we aren’t putting God first, to Him it’s the same as putting him last. He wants to be first in our lives, but it can be easy to begin to let other things creep in and take His place without our even recognizing it. It may be allowing busyness to sneak in so that we are so consumed with our schedules and tasks that we forget to be consumed with Him. It may be working so hard in ministry that we no longer spend time with the One who called us into ministry in the first place. It may be allowing worry to cloud our minds when God has told us to cast our cares upon Him. Inviting God into our lives on a daily basis is a great way to ensure that we keep Him first. When we start to get busy, we can stop and invite Him into our schedule. When we want to worry, we can invite Him into the situation to handle it. Staying conscious of God’s presence in every moment keeps us from putting anything before Him and makes Him first in our lives.
english
<filename>app/src/main/assets/data-files/ClientCertRequest.json {"methods":["abstract void cancel() Cancel this request.","abstract String getHost() Returns the host name of the server requesting the certificate.","abstract String[] getKeyTypes() Returns the acceptable types of asymmetric keys (can be null).","abstract int getPort() Returns the port number of the server requesting the certificate.","abstract Principal[] getPrincipals() Returns the acceptable certificate issuers for the certificate matching the private key (can be null).","abstract void ignore() Ignore the request for now.","abstract void proceed(PrivateKey privateKey, X509Certificate[] chain) Proceed with the specified private key and client certificate chain.","[Expand] Inherited Methods","From class java.lang.Object Object clone() Creates and returns a copy of this Object. boolean equals(Object o) Compares this instance with the specified object and indicates if they are equal. void finalize() Invoked when the garbage collector has detected that this instance is no longer reachable. final Class<?> getClass() Returns the unique instance of Class that represents this object's class. int hashCode() Returns an integer hash code for this object. final void notify() Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up. final void notifyAll() Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up. String toString() Returns a string containing a concise, human-readable description of this object. final void wait() Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object. final void wait(long millis, int nanos) Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires. final void wait(long millis) Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.","Object clone() Creates and returns a copy of this Object.","boolean equals(Object o) Compares this instance with the specified object and indicates if they are equal.","void finalize() Invoked when the garbage collector has detected that this instance is no longer reachable.","final Class<?> getClass() Returns the unique instance of Class that represents this object's class.","int hashCode() Returns an integer hash code for this object.","final void notify() Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.","final void notifyAll() Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.","String toString() Returns a string containing a concise, human-readable description of this object.","final void wait() Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.","final void wait(long millis, int nanos) Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.","final void wait(long millis) Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires."],"package":"android.webkit","constants":[],"class":"ClientCertRequest","constructors":[],"fields":[]}
json
<filename>data_bank/wgbb_6251.json {"questions": [{"player_1": {"name": "<NAME>", "player_stat": 1.0}, "player_2": {"name": "<NAME>", "player_stat": 4.0}, "stat": "fifties", "skill": "BAT", "question_text": "Who has scored more fifties?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 396.0}, "player_2": {"name": "<NAME>", "player_stat": 1600.0}, "stat": "runs_given", "skill": "BOWL", "question_text": "Who has given away less runs?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 0.0}, "player_2": {"name": "<NAME>", "player_stat": 1.0}, "stat": "zeroes", "skill": "BAT", "question_text": "Who has more ducks?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 138.51}, "player_2": {"name": "<NAME>", "player_stat": 136.67}, "stat": "strike_rate", "skill": "BAT", "question_text": "Who has the better batting strike rate?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 10.0}, "player_2": {"name": "<NAME>", "player_stat": 7.0}, "stat": "fifties", "skill": "BAT", "question_text": "Who has scored more fifties?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 7.58}, "player_2": {"name": "<NAME>", "player_stat": 7.23}, "stat": "economy", "skill": "BOWL", "question_text": "Who has the better economy rate?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 0.0}, "player_2": {"name": "<NAME>", "player_stat": 6.0}, "stat": "zeroes", "skill": "BAT", "question_text": "Who has more ducks?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 7.58}, "player_2": {"name": "<NAME>", "player_stat": 8.49}, "stat": "economy", "skill": "BOWL", "question_text": "Who has the better economy rate?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 1.0}, "player_2": {"name": "<NAME>", "player_stat": 1.0}, "stat": "maidens", "skill": "BOWL", "question_text": "Who has bowled more maidens?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 2020.0}, "player_2": {"name": "<NAME>", "player_stat": 2366.0}, "stat": "runs_given", "skill": "BOWL", "question_text": "Who has given away less runs?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 0.0}, "player_2": {"name": "<NAME>", "player_stat": 1.0}, "stat": "maidens", "skill": "BOWL", "question_text": "Who has bowled more maidens?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 0.0}, "player_2": {"name": "<NAME>", "player_stat": 6.0}, "stat": "zeroes", "skill": "BAT", "question_text": "Who has more ducks?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 44.0}, "player_2": {"name": "<NAME>", "player_stat": 19.0}, "stat": "sixes", "skill": "BAT", "question_text": "Who has hit more sixes?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 2.0}, "player_2": {"name": "<NAME>", "player_stat": 1.0}, "stat": "maidens", "skill": "BOWL", "question_text": "Who has bowled more maidens?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 9.0}, "player_2": {"name": "<NAME>", "player_stat": 57.0}, "stat": "wickets", "skill": "BOWL", "question_text": "Who has taken more wickets?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 7.02}, "player_2": {"name": "<NAME>", "player_stat": 8.67}, "stat": "economy", "skill": "BOWL", "question_text": "Who has the better economy rate?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 19.0}, "player_2": {"name": "<NAME>", "player_stat": 19.1}, "stat": "strike_rate", "skill": "BOWL", "question_text": "Who has the better bowling strike rate?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 0.0}, "player_2": {"name": "<NAME>", "player_stat": 4.0}, "stat": "fifties", "skill": "BAT", "question_text": "Who has scored more fifties?", "greater": true}, {"player_1": {"name": "<NAME>", "player_stat": 28.24}, "player_2": {"name": "<NAME>", "player_stat": 21.28}, "stat": "average", "skill": "BOWL", "question_text": "Who has the better bowling average?", "greater": false}, {"player_1": {"name": "<NAME>", "player_stat": 11.0}, "player_2": {"name": "<NAME>", "player_stat": 6.0}, "stat": "zeroes", "skill": "BAT", "question_text": "Who has more ducks?", "greater": true}]}
json
{ "templmd5": "0f5f718e7703eaa46b1a36127cb4199f", "number": "539", "title": "A Livorno nella chiesa cattolica ucraina si raccolgono beni di prima necessità", "BACKCOLOR": "white", "FRONTCOLOR": "black", "filemd5": "c5760700c2ea2ad8f19e926338566b33" }
json
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <p><strong>Who Can Donate...</strong></p> <p><strong>Let others benefit from your good health. Do donate blood if ...</strong></p> <p><strong>-</strong> you are between age group of 18-60 years.<br /> - your weight is 45 kgs or more.<br /> - your haemoglobin is 12.5 gm% minimum.<br /> - your last blood donation was 3 months earlier.<br /> - you are healthy and have not suffered from malaria, typhoid or other transmissible disease in the recent past.</p> <p>There are many, many people who meet these parameters of health and fitness!</p> <p>Do abide by our rules - be truthful about your health status!</p> <p>We ensure the health of blood, before we take it, as well as after it is collected. Firstly, the donor is expected to be honest about his or her health history and current condition. Secondly, collected blood is tested for venereal diseases, hepatitis B &amp; C and AIDS.</p> <p>You have to be healthy to give &#39;safe blood&#39;</p> <p><strong>Who Can&#39;t...</strong></p> <p><strong>Do not donate blood if you have any of these conditions</strong></p> <p>- Cold / fever in the past 1 week.<br /> - Under treatment with antibiotics or any other medication.<br /> - Cardiac problems, hypertension, epilepsy, diabetes (on insulin therapy), history of cancer,chronic kidney or liver disease, bleeding tendencies, venereal disease etc.<br /> - Major surgery in the last 6 months.<br /> - Vaccination in the last 24 hours.<br /> - had a miscarriage in the last 6 months or have been pregnant / lactating in the last one year.<br /> - had fainting attacks during last donation.<br /> - have regularly received treatment with blood products.<br /> - shared a needle to inject drugs/ have history of drug addiction.<br /> - had sexual relations with different partners or with a high risk individual.<br /> - been tested positive for antibodies to HIV.</p> <p><strong>Pregnancy And Menstrual Cycle</strong></p> <p>- Females should not donate blood during pregnancy.<br /> - They can donate after 6 months following a normal delivery and when they are not breast feeding.<br /> - Females should not donate blood if they are having heavy menstrual flow or menstrual cramps.</p> </body> </html>
html
# (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP # Copyright 2017 FUJITSU LIMITED # # 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. from oslo_config import cfg influxdb_opts = [ cfg.StrOpt('database_name', help='database name where metrics are stored', default='mon'), cfg.HostAddressOpt('ip_address', help='Valid IP address or hostname ' 'to InfluxDB instance'), cfg.PortOpt('port', help='port to influxdb', default=8086), cfg.StrOpt('user', help='influxdb user ', default='mon_persister'), cfg.StrOpt('password', secret=True, help='influxdb password')] influxdb_group = cfg.OptGroup(name='influxdb', title='influxdb') def register_opts(conf): conf.register_group(influxdb_group) conf.register_opts(influxdb_opts, influxdb_group) def list_opts(): return influxdb_group, influxdb_opts
python
package com.massivecraft.massivecore.ps; public class PSFormatFormal extends PSFormatAbstract { // -------------------------------------------- // // INSTANCE & CONSTRUCT // -------------------------------------------- // private static PSFormatFormal i = new PSFormatFormal(); public static PSFormatFormal get() { return i; } private PSFormatFormal() { super( "PS{NULL}", "PS{", false, false, PS.NAME_SERIALIZED_WORLD + ": %s", PS.NAME_SERIALIZED_BLOCKX + ": %d", PS.NAME_SERIALIZED_BLOCKY + ": %d", PS.NAME_SERIALIZED_BLOCKZ + ": %d", PS.NAME_SERIALIZED_LOCATIONX + ": %.2f", PS.NAME_SERIALIZED_LOCATIONY + ": %.2f", PS.NAME_SERIALIZED_LOCATIONZ + ": %.2f", PS.NAME_SERIALIZED_CHUNKX + ": %d", PS.NAME_SERIALIZED_CHUNKZ + ": %d", PS.NAME_SERIALIZED_PITCH + ": %.2f", PS.NAME_SERIALIZED_YAW + ": %.2f", PS.NAME_SERIALIZED_VELOCITYX + ": %.2f", PS.NAME_SERIALIZED_VELOCITYY + ": %.2f", PS.NAME_SERIALIZED_VELOCITYZ + ": %.2f", ", ", "}" ); } }
java
Bamboo fiber pallets are versatile and eco-friendly products that are popular for their sustainability and durability. Made of bamboo fiber, these trays have many advantages and can be used in various scenarios. In this article, we'll explore the properties and potential uses of a bamboo fiber pallet to ensure it's optimized for Google search engines. 1. Eco-friendly: Bamboo fiber pallets are a sustainable alternative to plastic and other harmful materials. Since bamboo is a fast-growing renewable resource, using bamboo fiber pallets can help reduce your carbon footprint and promote a greener lifestyle. 2. Durability: Bamboo fiber pallets are known for their strength and longevity. The fibers used in the production process make the tray less prone to cracking, warping and breaking. This ensures that the tray is durable enough to withstand everyday use. 3. Heat resistance and moisture resistance: Bamboo fiber tray has excellent heat resistance and moisture resistance. They are safe to use in the microwave or oven without deforming or releasing harmful substances. Additionally, these trays are less likely to absorb moisture, reducing the risk of mold or bacteria growth. 4. Versatility: Bamboo fiber trays are available in various sizes and designs, making them suitable for different purposes. They can be used as dinner plates, lap trays, bed trays, and even to organize and store things. The versatility of the bamboo fiber tray makes it a practical addition to any home or workplace. 5. Aesthetics: Bamboo fiber trays have a natural and elegant look that can enhance the visual appeal of any environment. Whether serving food at a dinner party or applying makeup on a dressing table, these trays add a touch of sophistication and style to their surroundings. 6. Easy to maintain: The bamboo fiber tray is easy to clean and maintain. They are dishwasher safe, reducing the hassle of hand washing. Plus, its smooth surface prevents food from sticking, making cleaning quick and easy. Potential uses of bamboo fiber pallets: 1. Serving Tray: The bamboo fiber tray can be used as a stylish serving tray for serving food, snacks or drinks at parties, gatherings or family dinners. 2. Bed Trays: These trays are perfect for breakfast in bed or working comfortably on your laptop. Sturdy construction ensures stability and raised edges keep items from slipping. 3. Decorative Tray: The bamboo fiber tray can be used to place candles, vases or other decorative items on the tabletop or shelf, adding an organic touch to your home decoration. 4. Picnic Tray: The bamboo fiber tray is lightweight and easy to carry, perfect for picnics or outdoor activities. They conveniently hold sandwiches, fruit and drinks for an easy meal in nature. 5. Workspace Organizer: Keep your desk organized with the Bamboo Fiber Tray. They can hold pens, paper clips, notepads, and other office supplies to help organize your workspace. In conclusion, bamboo fiber pallets are a sustainable and durable alternative to traditional pallets. Their eco-friendly properties, coupled with their versatility and practical use, make them a must-have for any home. Whether you want to serve food, organize your belongings, or add a touch of elegance to your home decor, bamboo fiber trays are a great choice. Embrace sustainability and style with a functional bamboo fiber tray.
english
<reponame>efedo/Utilogeny<gh_stars>0 #if !defined(BOOST_PP_IS_ITERATING) ///// header body // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION! // Copyright <NAME> 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include "Utilogeny/lib/boost/mpl/numeric_cast.hpp" # include "Utilogeny/lib/boost/mpl/apply_wrap.hpp" # include "Utilogeny/lib/boost/mpl/if.hpp" # include "Utilogeny/lib/boost/mpl/tag.hpp" # include "Utilogeny/lib/boost/mpl/aux_/numeric_cast_utils.hpp" # include "Utilogeny/lib/boost/mpl/aux_/na.hpp" # include "Utilogeny/lib/boost/mpl/aux_/na_spec.hpp" # include "Utilogeny/lib/boost/mpl/aux_/lambda_support.hpp" # include "Utilogeny/lib/boost/mpl/aux_/msvc_eti_base.hpp" # include "Utilogeny/lib/boost/mpl/aux_/value_wknd.hpp" # include "Utilogeny/lib/boost/mpl/aux_/config/eti.hpp" # include "Utilogeny/lib/boost/mpl/aux_/nttp_decl.hpp" #endif #include "Utilogeny/lib/boost/mpl/aux_/config/static_constant.hpp" #if defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ || defined(BOOST_MPL_PREPROCESSING_MODE) # include "Utilogeny/lib/boost/mpl/limits/arity.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/partial_spec_params.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/def_params_tail.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/repeat.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/ext_params.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/params.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/enum.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/add.hpp" # include "Utilogeny/lib/boost/mpl/aux_/preprocessor/sub.hpp" # include "Utilogeny/lib/boost/mpl/aux_/config/ctps.hpp" # include "Utilogeny/lib/boost/mpl/aux_/config/eti.hpp" # include "Utilogeny/lib/boost/mpl/aux_/config/msvc.hpp" # include "Utilogeny/lib/boost/mpl/aux_/config/workaround.hpp" # include "Utilogeny/lib/boost/preprocessor/dec.hpp" # include "Utilogeny/lib/boost/preprocessor/inc.hpp" # include "Utilogeny/lib/boost/preprocessor/iterate.hpp" # include "Utilogeny/lib/boost/preprocessor/cat.hpp" #if !defined(AUX778076_OP_ARITY) # define AUX778076_OP_ARITY BOOST_MPL_LIMIT_METAFUNCTION_ARITY #endif #if !defined(AUX778076_OP_IMPL_NAME) # define AUX778076_OP_IMPL_NAME BOOST_PP_CAT(AUX778076_OP_PREFIX,_impl) #endif #if !defined(AUX778076_OP_TAG_NAME) # define AUX778076_OP_TAG_NAME BOOST_PP_CAT(AUX778076_OP_PREFIX,_tag) #endif namespace boost { namespace mpl { template< typename Tag1 , typename Tag2 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value > struct AUX778076_OP_IMPL_NAME : if_c< ( tag1_ > tag2_ ) #else > struct AUX778076_OP_IMPL_NAME : if_c< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(int, Tag1) > BOOST_MPL_AUX_NESTED_VALUE_WKND(int, Tag2) ) #endif , aux::cast2nd_impl< AUX778076_OP_IMPL_NAME<Tag1,Tag1>,Tag1,Tag2 > , aux::cast1st_impl< AUX778076_OP_IMPL_NAME<Tag2,Tag2>,Tag1,Tag2 > >::type { }; /// for Digital Mars C++/compilers with no CTPS/TTP support template<> struct AUX778076_OP_IMPL_NAME<na,na> { template< typename U1, typename U2 > struct apply { typedef apply type; BOOST_STATIC_CONSTANT(int, value = 0); }; }; #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template< typename Tag > struct AUX778076_OP_IMPL_NAME<na,Tag> { template< typename U1, typename U2 > struct apply { typedef apply type; BOOST_STATIC_CONSTANT(int, value = 0); }; }; template< typename Tag > struct AUX778076_OP_IMPL_NAME<Tag,na> { template< typename U1, typename U2 > struct apply { typedef apply type; BOOST_STATIC_CONSTANT(int, value = 0); }; }; #else template<> struct AUX778076_OP_IMPL_NAME<na,integral_c_tag> { template< typename U1, typename U2 > struct apply { typedef apply type; BOOST_STATIC_CONSTANT(int, value = 0); }; }; template<> struct AUX778076_OP_IMPL_NAME<integral_c_tag,na> { template< typename U1, typename U2 > struct apply { typedef apply type; BOOST_STATIC_CONSTANT(int, value = 0); }; }; #endif #if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ && BOOST_WORKAROUND(BOOST_MSVC, >= 1300) template< typename T > struct AUX778076_OP_TAG_NAME : tag<T,na> { }; #else template< typename T > struct AUX778076_OP_TAG_NAME { typedef typename T::tag type; }; #endif #if AUX778076_OP_ARITY != 2 # if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) # define AUX778076_OP_RIGHT_OPERAND(unused, i, N) , BOOST_PP_CAT(N, BOOST_MPL_PP_ADD(i, 2))> # define AUX778076_OP_N_CALLS(i, N) \ BOOST_MPL_PP_REPEAT( BOOST_PP_DEC(i), BOOST_MPL_PP_REPEAT_IDENTITY_FUNC, AUX778076_OP_NAME< ) \ N1 BOOST_MPL_PP_REPEAT( BOOST_MPL_PP_SUB(i, 1), AUX778076_OP_RIGHT_OPERAND, N ) \ /**/ template< typename BOOST_MPL_AUX_NA_PARAM(N1) , typename BOOST_MPL_AUX_NA_PARAM(N2) BOOST_MPL_PP_DEF_PARAMS_TAIL(2, typename N, na) > struct AUX778076_OP_NAME : AUX778076_OP_N_CALLS(AUX778076_OP_ARITY, N) { BOOST_MPL_AUX_LAMBDA_SUPPORT( AUX778076_OP_ARITY , AUX778076_OP_NAME , ( BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) ) ) }; #define BOOST_PP_ITERATION_PARAMS_1 \ (3,( BOOST_PP_DEC(AUX778076_OP_ARITY), 2, "Utilogeny/lib/boost/mpl/aux_/numeric_op.hpp" )) #include BOOST_PP_ITERATE() # undef AUX778076_OP_N_CALLS # undef AUX778076_OP_RIGHT_OPERAND # else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION /// forward declaration template< typename BOOST_MPL_AUX_NA_PARAM(N1) , typename BOOST_MPL_AUX_NA_PARAM(N2) > struct BOOST_PP_CAT(AUX778076_OP_NAME,2); template< typename BOOST_MPL_AUX_NA_PARAM(N1) , typename BOOST_MPL_AUX_NA_PARAM(N2) BOOST_MPL_PP_DEF_PARAMS_TAIL(2, typename N, na) > struct AUX778076_OP_NAME #if BOOST_WORKAROUND(BOOST_MSVC, == 1300) : aux::msvc_eti_base< typename if_< #else : if_< #endif is_na<N3> , BOOST_PP_CAT(AUX778076_OP_NAME,2)<N1,N2> , AUX778076_OP_NAME< BOOST_PP_CAT(AUX778076_OP_NAME,2)<N1,N2> , BOOST_MPL_PP_EXT_PARAMS(3, BOOST_PP_INC(AUX778076_OP_ARITY), N) > >::type #if BOOST_WORKAROUND(BOOST_MSVC, == 1300) > #endif { BOOST_MPL_AUX_LAMBDA_SUPPORT( AUX778076_OP_ARITY , AUX778076_OP_NAME , ( BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) ) ) }; template< typename N1 , typename N2 > struct BOOST_PP_CAT(AUX778076_OP_NAME,2) #endif #else // AUX778076_OP_ARITY == 2 template< typename BOOST_MPL_AUX_NA_PARAM(N1) , typename BOOST_MPL_AUX_NA_PARAM(N2) > struct AUX778076_OP_NAME #endif #if !defined(BOOST_MPL_CFG_MSVC_ETI_BUG) : AUX778076_OP_IMPL_NAME< typename AUX778076_OP_TAG_NAME<N1>::type , typename AUX778076_OP_TAG_NAME<N2>::type >::template apply<N1,N2>::type #else : aux::msvc_eti_base< typename apply_wrap2< AUX778076_OP_IMPL_NAME< typename AUX778076_OP_TAG_NAME<N1>::type , typename AUX778076_OP_TAG_NAME<N2>::type > , N1 , N2 >::type >::type #endif { #if AUX778076_OP_ARITY != 2 # if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC( AUX778076_OP_ARITY , AUX778076_OP_NAME , ( BOOST_MPL_PP_PARTIAL_SPEC_PARAMS(2, N, na) ) ) # else BOOST_MPL_AUX_LAMBDA_SUPPORT(2, BOOST_PP_CAT(AUX778076_OP_NAME,2), (N1, N2)) # endif #else BOOST_MPL_AUX_LAMBDA_SUPPORT(2, AUX778076_OP_NAME, (N1, N2)) #endif }; BOOST_MPL_AUX_NA_SPEC2(2, AUX778076_OP_ARITY, AUX778076_OP_NAME) }} #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS ///// iteration, depth == 1 // For gcc 4.4 compatability, we must include the // BOOST_PP_ITERATION_DEPTH test inside an #else clause. #else // BOOST_PP_IS_ITERATING #if BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) template< BOOST_MPL_PP_PARAMS(i_, typename N) > struct AUX778076_OP_NAME<BOOST_MPL_PP_PARTIAL_SPEC_PARAMS(i_, N, na)> #if i_ != 2 : AUX778076_OP_N_CALLS(i_, N) { BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC( AUX778076_OP_ARITY , AUX778076_OP_NAME , ( BOOST_MPL_PP_PARTIAL_SPEC_PARAMS(i_, N, na) ) ) }; #endif # undef i_ #endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING
cpp