text
stringlengths
1
1.04M
language
stringclasses
25 values
31 Therefore (A)that place was called Beersheba,[a] because there both of them swore an oath. The Holy Bible, English Standard Version. ESV® Text Edition: 2016. Copyright © 2001 by Crossway Bibles, a publishing ministry of Good News Publishers.
english
package biz.c24.io.training.statements; /** * The Header complex data type. * * @author C24 Integration Objects; * @see biz.c24.io.training.statements.Header **/ public class HeaderClass extends biz.c24.io.api.data.ComplexDataType { protected static HeaderClass instance; private static boolean initialized; /** * Singleton constructor - use {@link #getInstance()} instead. **/ protected HeaderClass() { } /** * Gets the singleton instance of this type. * @return The type, or its supertype if present. **/ public static biz.c24.io.api.data.DataType getInstance() { if (!initialized) { synchronized (biz.c24.io.training.statements.HeaderClass.class) { if (instance == null) { instance = new biz.c24.io.training.statements.HeaderClass(); instance.init(); initialized = true; } } } return instance; } /** * Called internally to initialize this type. **/ protected void init() { setName("Header"); setModel(biz.c24.io.training.statements.StatementsDataModel.getInstance()); setValidObjectClass(biz.c24.io.training.statements.Header.class); setContentModel(biz.c24.io.api.data.ContentModelEnum.SEQUENCE); biz.c24.io.api.data.Element element = null; addElementDecl(element = new biz.c24.io.api.data.Element("NameAddress", 1, 1, biz.c24.io.training.statements.PostalAddress1Class.class, biz.c24.io.training.statements.StatementsDataModel.getInstance())); addElementDecl(element = new biz.c24.io.api.data.Element("StmtDate", 1, 1, biz.c24.io.training.statements.ISODateClass.class, biz.c24.io.training.statements.StatementsDataModel.getInstance())); addElementDecl(element = new biz.c24.io.api.data.Element("StmtNo", 1, 1, biz.c24.io.training.statements.Max5IntegerClass.class, biz.c24.io.training.statements.StatementsDataModel.getInstance())); addElementDecl(element = new biz.c24.io.api.data.Element("StmtPage", 1, 1, biz.c24.io.training.statements.Max5IntegerClass.class, biz.c24.io.training.statements.StatementsDataModel.getInstance())); addElementDecl(element = new biz.c24.io.api.data.Element("Account", 1, 1, biz.c24.io.training.statements.IBANIdentifierClass.class, biz.c24.io.training.statements.StatementsDataModel.getInstance())); addElementDecl(element = new biz.c24.io.api.data.Element("StartBalance", 1, 1, biz.c24.io.training.statements.CurrencyAndAmountClass.class, biz.c24.io.training.statements.StatementsDataModel.getInstance())); } private java.lang.Object readResolve() { return getInstance(); } }
java
/* ************************************************************************************** * Filename: Login.cpp * Author: <NAME>. * Student ID: 934 309 717. * Date: October 11, 2020. * Assignment: Program 1 - Wizard Spellbook Catalog. * Description: * Input: - A existing file that contains all the login information needed to verify if * a wizard exist. * - This variable will be of type const char*. * Output: The user is prompted for his/her ID. * - If the user entered did not enter a string of representing a positive * integer, then the user will be asked to re-enter his/her ID. * (This does not count towards an invalid attempt.) * After a successful user ID was entered, the user will be prompted for a password. * - If the password and ID matches a wizard from the text file, then the * information from the text file will be saved in one wizard struct represeting * the wizard that is logged in. * - Else, the wizards will be asked to re-enter his/her ID and password. * After three invalid attempts, the program will print an error message and * terminate the program. * **************************************************************************************/ #include "wizard.h" #include "spellbook.h" #include <fstream> #include <iostream> /* ************************************************************************************** * Function name: create_spellbooks() * Description: ### Caution: Allocates dynamic memory. ### * This function will create a dynamic array of spellbooks. * It is used inside the get_data() function. * Parameters: int * Pre-conditions: - * Post-conditions: The function creates dynamic memory. * *************************************************************************************/ spellbook* create_spellbooks(int num_books){ if(num_books > 0){ return new spellbook[num_books]; }else{ std::cout << "[create_spellbooks()]: Error, cannot create and array" << " of spellbooks of size: " << num_books << "." << std::endl; std::cout << "The function will return a NULL pointer." << std::endl << std::endl; return NULL; } } // ### Caution: Allocates dynamic memory. ### // This function will create a dynamic array of spells. spell* create_spells(int num_spells){ if(num_spells > 0){ return new spell[num_spells]; }else{ std::cout << "[create_spells()]: Error, cannot create and array" << " of spells of size: " << num_spells << "." << std::endl; std::cout << "The function will return a NULL pointer." << std::endl << std::endl; return NULL; } } // This function frees the memory allocated by create_spellbooks(). void delete_spellbook_array(spellbook* spell_bk_ar){ if(spell_bk_ar != NULL){ delete[] spell_bk_ar; }else{ std::cout << "[delete_spellbook_array()]:" << "Error, unable to free memory allocated by the spellbook array."<< std::endl; } } // This function is used to free the memory allocated by create_spells(). void delete_spell_array(spell* spell_ar){ if(spell_ar != NULL){ delete[] spell_ar; }else{ std::cout << "[delete_spell_array()]: You passed in a null pointer." << std::endl; } } // This frees all the memory allocated by the spell arrays and the book array. void delete_library(library* lib){ // Cleaning up memory. // NB! You must first free the memory used by the array of spells before // freeing the memory used by the spellbook array. for(int i = 0; i < lib->num_books;i++){ delete_spell_array(lib->book_ar[i].s); } delete_spellbook_array(lib->book_ar); } // This function will retrieve the data for all the spells contained inside one book. // This function assumes that memory of the correct size is already allocated for the spell_ar. void get_spell_data(spell* spell_ar, int num_spells, std::ifstream& fin){ for(int i = 0; i < num_spells; i++){ fin >> spell_ar[i].name >> spell_ar[i].success_rate >> spell_ar[i].effect; } } // ### Caution: This function creates dynamic memory.### // This function will retrieve all the data needed for 1 spellbook. // It creates an dynamic array of spells. // This function assumes that memory of the correct size is already allocated for the spellbook_ar. void get_spellbook_data(spellbook* spellbook_ar, int num_books, std::ifstream& fin){ for(int i = 0; i < num_books; i++){ fin >> spellbook_ar[i].title >> spellbook_ar[i].author >> spellbook_ar[i].num_pages >> spellbook_ar[i].edition >> spellbook_ar[i].num_spells; // Collecting all the data of the spells. // ### allocation of dynamic memory.###. spellbook_ar[i].s = create_spells(spellbook_ar[i].num_spells); get_spell_data(spellbook_ar[i].s, spellbook_ar[i].num_spells, fin); } } // This function is created to help modularize my program. void get_data(library* lib, std::ifstream* fin){ // Obtain the number of books in the library. *fin >> lib->num_books; // Allocate memory to store the books. lib->book_ar = create_spellbooks(lib->num_books); // Get all the data for the spellbooks. get_spellbook_data(lib->book_ar, lib->num_books, *fin); } // This function is created during the testing process. void print_books(library* lib){ for(int i = 0; i < lib->num_books; i++){ std::cout << "Spellbook name: "<< lib->book_ar[i].title << std::endl; std::cout << "Author : "<< lib->book_ar[i].author << std::endl; std::cout << "Number of pages: "<< lib->book_ar[i].num_pages << std::endl; std::cout << "Edition: "<< lib->book_ar[i].edition << std::endl; std::cout << "Number of spells: "<< lib->book_ar[i].num_spells << std::endl; std::cout << std::endl; std::cout << "The spells inside: " << lib->book_ar[i].title << std::endl; //print_spells(lib->book_ar[i].s); std::cout << std::endl; } } /* ************************************************************************************** * Functionname: Build_library() * Description: This function uses a text file that contains information of all the * spellbooks that the wizards have and stores all the books inside a * library struct, stores the information for each spellbook in a * spellbook struct, and stores the information of each spell inside a spell * struct. * Parameters: library*, char*, wizard*. * Pre-conditions: An instance of a library object needs to be declared in an outer scope. * Post-condtions: All the data inside the spellbooks.txt file will be stored in * the above mentioned data structures. * **************************************************************************************/ // This function will be used in my driver file/ client code/ main program. void Build_library(library* lib, char* text_file){ std::ifstream fin; fin.open(text_file); // The case when the file successfully opened. if(fin.is_open()){ get_data(lib, &fin); // ==================================== // Testing. print_books(lib); // ==================================== // The case when the file is not successfully opened. }else{ std::cout << "The file " << text_file << " was unalbe to open." << std::endl; } fin.close(); } // This is an example on how to use the Build_library() function. // ============================================================== /*int main(int argc, char* argv[]){ library lib; wizard wiz; Build_library(&lib,argv[1]); std::cout << lib.book_ar[5].s[0].effect << std::endl; // Cleaning up memory. // NB! You must first free the memory used by the array of spells before // freeing the memory used by the spellbook array. delete_library(&lib); //for(int i = 0; i < lib.num_books;i++){ // delete_spell_array(lib.book_ar[i].s); //} //delete_spellbook_array(lib.book_ar); return 0; } // ============================================================== */
cpp
import os import tarfile import textwrap from pathlib import Path import setuptools from wheel.wheelfile import WheelFile from setuptools_build_subpackage import Distribution ROOT = Path(__file__).parent.parent def build_dist(folder, command, output, *args): args = [ '--subpackage-folder', folder, 'clean', '--all', command, '--dist-dir', output, *args, ] cur = os.getcwd() os.chdir('example') try: setuptools.setup( distclass=Distribution, script_args=args, ) finally: os.chdir(cur) def test_bdist_wheel(tmp_path): build_dist('example/sub_module_a', 'bdist_wheel', tmp_path) build_dist('example/sub_module_b', 'bdist_wheel', tmp_path) wheel_a_path = tmp_path / 'example_sub_moudle_a-0.0.0-py2.py3-none-any.whl' wheel_b_path = tmp_path / 'example_sub_moudle_b-0.0.0-py2.py3-none-any.whl' assert wheel_a_path.exists(), "sub_module_a wheel file exists" assert wheel_b_path.exists(), "sub_module_b wheel file exists" with WheelFile(wheel_a_path) as wheel_a: assert set(wheel_a.namelist()) == { 'example/sub_module_a/__init__.py', 'example/sub_module_a/where.py', 'example_sub_moudle_a-0.0.0.dist-info/AUTHORS.rst', 'example_sub_moudle_a-0.0.0.dist-info/LICENSE', 'example_sub_moudle_a-0.0.0.dist-info/METADATA', 'example_sub_moudle_a-0.0.0.dist-info/WHEEL', 'example_sub_moudle_a-0.0.0.dist-info/top_level.txt', 'example_sub_moudle_a-0.0.0.dist-info/RECORD', } where = wheel_a.open('example/sub_module_a/where.py').read() assert where == b'a = "module_a"\n' with WheelFile(wheel_b_path) as wheel_b: assert set(wheel_b.namelist()) == { 'example/sub_module_b/__init__.py', 'example/sub_module_b/where.py', 'example_sub_moudle_b-0.0.0.dist-info/AUTHORS.rst', 'example_sub_moudle_b-0.0.0.dist-info/LICENSE', 'example_sub_moudle_b-0.0.0.dist-info/METADATA', 'example_sub_moudle_b-0.0.0.dist-info/WHEEL', 'example_sub_moudle_b-0.0.0.dist-info/top_level.txt', 'example_sub_moudle_b-0.0.0.dist-info/RECORD', } where = wheel_b.open('example/sub_module_b/where.py').read() assert where == b'a = "module_b"\n' def test_sdist(tmp_path): # Build both dists in the same test, so we can check there is no cross-polution build_dist('example/sub_module_a', 'sdist', tmp_path) build_dist('example/sub_module_b', 'sdist', tmp_path) sdist_a_path = tmp_path / 'example_sub_moudle_a-0.0.0.tar.gz' sdist_b_path = tmp_path / 'example_sub_moudle_b-0.0.0.tar.gz' assert sdist_a_path.exists(), "sub_module_a sdist file exists" assert sdist_b_path.exists(), "sub_module_b sdist file exists" with tarfile.open(sdist_a_path) as sdist_a: assert set(sdist_a.getnames()) == { 'example_sub_moudle_a-0.0.0', 'example_sub_moudle_a-0.0.0/AUTHORS.rst', 'example_sub_moudle_a-0.0.0/LICENSE', 'example_sub_moudle_a-0.0.0/PKG-INFO', 'example_sub_moudle_a-0.0.0/example', 'example_sub_moudle_a-0.0.0/example/sub_module_a', 'example_sub_moudle_a-0.0.0/example/sub_module_a/__init__.py', 'example_sub_moudle_a-0.0.0/example/sub_module_a/where.py', 'example_sub_moudle_a-0.0.0/example_sub_moudle_a.egg-info', 'example_sub_moudle_a-0.0.0/example_sub_moudle_a.egg-info/PKG-INFO', 'example_sub_moudle_a-0.0.0/example_sub_moudle_a.egg-info/SOURCES.txt', 'example_sub_moudle_a-0.0.0/example_sub_moudle_a.egg-info/dependency_links.txt', 'example_sub_moudle_a-0.0.0/example_sub_moudle_a.egg-info/not-zip-safe', 'example_sub_moudle_a-0.0.0/example_sub_moudle_a.egg-info/top_level.txt', 'example_sub_moudle_a-0.0.0/setup.cfg', 'example_sub_moudle_a-0.0.0/setup.py', } where = sdist_a.extractfile('example_sub_moudle_a-0.0.0/example/sub_module_a/where.py').read() assert where == b'a = "module_a"\n' setup_cfg = sdist_a.extractfile('example_sub_moudle_a-0.0.0/setup.cfg').read().decode('ascii') assert setup_cfg == (ROOT / 'example' / 'example' / 'sub_module_a' / 'setup.cfg').open(encoding='ascii').read() with tarfile.open(sdist_b_path) as sdist_b: assert set(sdist_b.getnames()) == { 'example_sub_moudle_b-0.0.0', 'example_sub_moudle_b-0.0.0/AUTHORS.rst', 'example_sub_moudle_b-0.0.0/LICENSE', 'example_sub_moudle_b-0.0.0/PKG-INFO', 'example_sub_moudle_b-0.0.0/example', 'example_sub_moudle_b-0.0.0/example/sub_module_b', 'example_sub_moudle_b-0.0.0/example/sub_module_b/__init__.py', 'example_sub_moudle_b-0.0.0/example/sub_module_b/where.py', 'example_sub_moudle_b-0.0.0/example_sub_moudle_b.egg-info', 'example_sub_moudle_b-0.0.0/example_sub_moudle_b.egg-info/PKG-INFO', 'example_sub_moudle_b-0.0.0/example_sub_moudle_b.egg-info/SOURCES.txt', 'example_sub_moudle_b-0.0.0/example_sub_moudle_b.egg-info/dependency_links.txt', 'example_sub_moudle_b-0.0.0/example_sub_moudle_b.egg-info/not-zip-safe', 'example_sub_moudle_b-0.0.0/example_sub_moudle_b.egg-info/top_level.txt', 'example_sub_moudle_b-0.0.0/setup.cfg', 'example_sub_moudle_b-0.0.0/setup.py', } where = sdist_b.extractfile('example_sub_moudle_b-0.0.0/example/sub_module_b/where.py').read() assert where == b'a = "module_b"\n' setup_cfg = sdist_b.extractfile('example_sub_moudle_b-0.0.0/setup.cfg').read().decode('ascii') assert setup_cfg == (ROOT / 'example' / 'example' / 'sub_module_b' / 'setup.cfg').open(encoding='ascii').read() def test_license_template(tmp_path): build_dist('example/sub_module_a', 'sdist', tmp_path, '--license-template', ROOT / 'LICENSE') sdist_a_path = tmp_path / 'example_sub_moudle_a-0.0.0.tar.gz' assert sdist_a_path.exists(), "sub_module_a sdist file exists" with tarfile.open(sdist_a_path) as sdist_a: setup_py = sdist_a.extractfile('example_sub_moudle_a-0.0.0/setup.py').read().decode('ascii') assert setup_py == textwrap.dedent( """\ # Apache Software License 2.0 # # Copyright (c) 2020, <NAME>. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://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__("setuptools").setup() """ )
python
.App { text-align: center; } .rtr-rating > li { font-size: 17px; display: inline-block; padding-right: 10px; padding-left: 10px; cursor: pointer; } .rtr-rating > li i.readonly { cursor: not-allowed; } .rtr-rating > li .active { color: #FFD700; } /* Flash class and keyframe animation */ .rtr-flash { -webkit-animation: flash linear 0.4s; animation: flash linear 0.4s; } @-webkit-keyframes flash { 0% { opacity: 1; } 25% { opacity: 0.4; } 50% { opacity: 1; } 75% { opacity: 0.4; } 100% { opacity: 1; } } @keyframes flash { 0% { opacity: 1; } 25% { opacity: .1; } 50% { opacity: 1; } 75% { opacity: .1; } 100% { opacity: 1; } } .rtr-key-box{ vertical-align: top; zoom: 1; width: 16px; padding: 0; height: 17px; font-size: 12px; line-height: 19px; border: 1px solid rgba(63,63,63,0.8); background: rgba(63,63,63,0.2); margin-right: 7px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; text-align: center; font-weight: bold; text-align: center; margin: 0 auto; } .rtr-key-box:empty { display: none; }
css
<reponame>kisskillkiss/nocobase import { TableOptions } from '@nocobase/database'; export default { name: 'menus', title: '菜单和页面配置', internal: true, // model: 'CollectionModel', developerMode: true, createdAt: false, updatedAt: false, fields: [ { interface: 'sort', type: 'sort', name: 'sort', scope: ['parent_id'], title: '排序', component: { type: 'sort', className: 'drag-visible', width: 60, showInTable: true, }, }, { interface: 'string', type: 'randomString', name: 'name', title: '缩略名', required: true, createOnly: true, randomString: { length: 6, characters: 'abcdefghijklmnopqrstuvwxyz0123456789', }, developerMode: true, }, { interface: 'linkTo', multiple: false, type: 'belongsTo', name: 'parent', title: '父级菜单', target: 'menus', foreignKey: 'parent_id', targetKey: 'id', labelField: 'title', valueField: 'id', component: { type: 'drawerSelect', 'x-component-props': { placeholder: '请选择菜单组', labelField: 'title', valueField: 'id', filter: { type: 'group', }, }, }, }, { interface: 'string', type: 'string', name: 'title', title: '菜单/页面名称', required: true, }, { interface: 'icon', type: 'string', name: 'icon', title: '图标', component: { type: 'icon', }, }, { interface: 'radio', type: 'string', name: 'type', title: '菜单类型', required: true, dataSource: [ { value: 'group', label: '菜单组', color: 'red' }, { value: 'page', label: '页面', color: 'green' }, { value: 'link', label: '自定义链接', color: 'orange' }, ], component: { 'x-linkages': [ { "type": "value:visible", "target": "views", "condition": "{{ $self.value === 'page' }}" }, { "type": "value:visible", "target": "url", "condition": "{{ $self.value === 'link' }}" }, ], }, }, { interface: 'string', type: 'string', name: 'url', title: '链接地址', required: true, }, { interface: 'boolean', type: 'boolean', name: 'developerMode', title: '开发者模式', developerMode: true, defaultValue: false, }, { interface: 'json', type: 'json', name: 'views', title: '显示在页面里的视图', target: 'menus_views_v2', component: { type: 'subTable', 'x-component-props': { viewName: 'menus.views', }, 'x-linkages': [ { type: 'value:schema', target: 'views', schema: { 'x-component-props': { __parent: '{{ $form.values && $form.values.associatedKey }}', associatedKey: "{{ $form.values && $form.values.id }}" }, }, }, ], }, }, // { // interface: 'subTable', // type: 'hasMany', // name: 'menus_views', // title: '显示在页面里的视图', // target: 'menus_views_v2', // sourceKey: 'id', // foreignKey: 'menu_id', // component: { // type: 'subTable', // 'x-component-props': { // viewName: 'menus.menus_views', // filter: { // or: [ // { // 'type.neq': 'descriptions', // }, // { // 'data_source_type.neq': 'association', // } // ], // }, // }, // 'x-linkages': [ // { // type: 'value:schema', // target: 'menus_views', // schema: { // 'x-component-props': { // __parent: '{{ $form.values && $form.values.associatedKey }}', // associatedKey: "{{ $form.values && $form.values.id }}" // }, // }, // }, // ], // }, // }, { interface: 'json', type: 'json', name: 'options', title: '配置信息', defaultValue: {}, developerMode: true, }, { type: 'hasMany', name: 'children', target: 'menus', foreignKey: 'parent_id', }, { interface: 'boolean', type: 'boolean', name: 'developerMode', title: '开发者模式', defaultValue: false, component: { type: 'boolean', }, }, ], actions: [ { type: 'list', name: 'list', title: '查看', }, { type: 'create', name: 'create', title: '新增', viewName: 'form', }, { type: 'update', name: 'update', title: '编辑', viewName: 'form', }, { type: 'destroy', name: 'destroy', title: '删除', }, ], views: [ { type: 'form', name: 'form', title: '表单', template: 'DrawerForm', }, { type: 'details', name: 'details', title: '详情', template: 'Details', actionNames: ['update'], }, { type: 'table', name: 'simple', title: '简易模式', template: 'SimpleTable', default: true, mode: 'simple', actionNames: ['create', 'destroy'], detailsViewName: 'details', updateViewName: 'form', paginated: false, }, { type: 'table', name: 'table', title: '列表', template: 'Table', actionNames: ['create', 'destroy'], }, ], views_v2: [ { developerMode: true, type: 'table', name: 'table', title: '全部数据', labelField: 'title', actions: [ { name: 'create', type: 'create', title: '新增', viewName: 'form', }, { name: 'destroy', type: 'destroy', title: '删除', }, ], expandable: { expandIconColumnIndex: 3, }, paginated: false, fields: ['sort', 'title', 'icon', 'type'], detailsOpenMode: 'drawer', // window details: ['form'], sort: ['sort'], }, { developerMode: true, type: 'form', name: 'form', title: '表单', fields: ['type', 'parent', 'title', 'icon', 'url', 'views'], }, { developerMode: true, type: 'table', name: 'permissions_table', title: '权限表格', labelField: 'title', actions: [], expandable: {}, fields: [ 'title', { interface: 'boolean', name: 'accessible', type: 'boolean', title: '允许访问', dataIndex: ['accessible'], editable: true, resourceName: 'roles.menus', component: { type: 'checkbox', }, }, ], // detailsOpenMode: 'drawer', // window details: [], sort: ['sort'], }, { developerMode: true, type: 'form', name: 'permissions_form', title: '权限表单', fields: ['type', 'title'], }, ], } as TableOptions;
typescript
Digit has awarded pretty much everything but hasn't done a proper GPU test since a long time.What could be the problem? I certainly don't think it could be the AGP/PCIE interface problem. If Digit can seperate cellphones into GSM & CDMA, then why can't they do the same for Graphics Cards.
english
{ "vv48:0.1": "Vimānavatthu", "vv48:0.2": "Itthivimāna", "vv48:0.3": "Mañjiṭṭhakavagga", "vv48:0.4": "10. Ucchuvimānavatthu", "vv48:1.1": "“Obhāsayitvā pathaviṁ sadevakaṁ,", "vv48:1.2": "Atirocasi candimasūriyā viya;", "vv48:1.3": "Siriyā ca vaṇṇena yasena tejasā,", "vv48:1.4": "Brahmāva deve tidase sahindake.", "vv48:2.1": "Pucchāmi taṁ uppalamāladhārinī,", "vv48:2.2": "Āveḷinī kañcanasannibhattace;", "vv48:2.3": "Alaṅkate uttamavatthadhārinī,", "vv48:2.4": "Kā tvaṁ subhe devate vandase mamaṁ.", "vv48:3.1": "Kiṁ tvaṁ pure kammamakāsi attanā,", "vv48:3.2": "Manussabhūtā purimāya jātiyā;", "vv48:3.3": "Dānaṁ suciṇṇaṁ atha sīlasaññamaṁ,", "vv48:3.4": "Kenupapannā sugatiṁ yasassinī;", "vv48:3.5": "Devate pucchitācikkha,", "vv48:3.6": "Kissa kammassidaṁ phalan”ti.", "vv48:4.1": "“Idāni bhante imameva gāmaṁ,", "vv48:4.2": "Piṇḍāya amhāka gharaṁ upāgami;", "vv48:4.3": "Tato te ucchussa adāsi khaṇḍikaṁ,", "vv48:4.4": "Pasannacittā atulāya pītiyā.", "vv48:5.1": "Sassu ca pacchā anuyuñjate mamaṁ,", "vv48:5.2": "Kahaṁ nu ucchuṁ vadhuke avākiri;", "vv48:5.3": "Na chaḍḍitaṁ no pana khāditaṁ mayā,", "vv48:5.4": "Santassa bhikkhussa sayaṁ adāsahaṁ.", "vv48:6.1": "Tuyhaṁ nvidaṁ issariyaṁ atho mama,", "vv48:6.2": "Itissā sassu paribhāsate mamaṁ;", "vv48:6.3": "Leḍḍuṁ gahetvā pahāraṁ adāsi me,", "vv48:6.4": "Tato cutā kālakatāmhi devatā.", "vv48:7.1": "Tadeva kammaṁ kusalaṁ kataṁ mayā,", "vv48:7.2": "Sukhañca kammaṁ anubhomi attanā;", "vv48:7.3": "Devehi saddhiṁ paricārayāmahaṁ,", "vv48:7.4": "Modāmahaṁ kāmaguṇehi pañcahi.", "vv48:8.1": "Tadeva kammaṁ kusalaṁ kataṁ mayā,", "vv48:8.2": "Sukhañca kammaṁ anubhomi attanā;", "vv48:8.3": "Devindaguttā tidasehi rakkhitā,", "vv48:8.4": "Samappitā kāmaguṇehi pañcahi.", "vv48:9.1": "Etādisaṁ puññaphalaṁ anappakaṁ,", "vv48:9.2": "Mahāvipākā mama ucchudakkhiṇā;", "vv48:9.3": "Devehi saddhiṁ paricārayāmahaṁ,", "vv48:9.4": "Modāmahaṁ kāmaguṇehi pañcahi.", "vv48:10.1": "Etādisaṁ puññaphalaṁ anappakaṁ,", "vv48:10.2": "Mahājutikā mama ucchudakkhiṇā;", "vv48:10.3": "Devindaguttā tidasehi rakkhitā,", "vv48:10.4": "Sahassanettoriva nandane vane.", "vv48:11.1": "Tuvañca bhante anukampakaṁ viduṁ,", "vv48:11.2": "Upecca vandiṁ kusalañca pucchisaṁ;", "vv48:11.3": "Tato te ucchussa adāsiṁ khaṇḍikaṁ,", "vv48:11.4": "Pasannacittā atulāya pītiyā”ti.", "vv48:12.1": "Ucchuvimānaṁ dasamaṁ." }
json
{"word":"inlander","definition":"One who lives in the interior of a country, or at a distance from the sea. Sir <NAME>."}
json
Watching Uppu Karuvadu is like watching sausages get made. They say it’s impossible to eat them once you’ve seen them being made. Isn’t the making of a film just as messy… just as bloody? What if someone were to tell you that your most favourite film was made just to launder money or to appease the producer’s own acting dreams… would you like the film any less? Uppu Karuvadu is about one such film. Chandran (Karunakaran) after two unsuccessful outings as director has one last chance to make it big. So when a fisherman (with dirty money, of course) decides to produce a film just for his daughter, Chandran is asked to direct it. The very fact that he agrees to do this film is itself a compromise, so whatever happens to the film in his head? These compromises begin with him transporting his village love story to Kasimedu, just because it’s easier to get permissions to shoot. The director, having selected a suitable actress for his female-centric film, is forced to replace her with the producer’s daughter, whose acting ability is inadequate even for a kindergarten play. And as for the producer, the story of the film isn’t half as important to him as the numerological correctness of the film’s title – Samuthirakumari. What follows is the Chandran’s writing process as he’s accompanied by four assistants, each with their own take on direction. One such take includes a theory of how people in the film industry call good-natured protagonists a cliché, while an evil one is lauded as though it’s from world cinema. There’s a bit about Chandran asking his hero to sunbathe to turn a few shades darker just to emulate other fishermen from the village. What’s that if its not method acting? How about the scene where a bunch of goons disrupt the writing process, even before the script is finalised, because it supposedly insults their caste? But the problem, really, isn’t the film’s idea. With a topic so wacky, there should be a certain deftness in direction to elevate what’s on paper. For instance, there’s an ambitious portion about how a particular scene looks better in the presence of an able actor in comparison to the producer’s daughter. With the same bit of wackiness pouring into direction, it could have been an incredibly powerful scene. Instead, we just have bunch of dialogues telling us it was powerful even though we don’t really see why. There’s even a set of particularly frustrating self-referencing with several mentions of the director’s own Mozhi and Abhiyum Naanum . It’s as though the director was so sure of the script that he believed that all he needed was a camera to magically transform it into cinema. One wonders what these ideas could have been with better execution, with a bit of craft. There’s so much good material, so many interesting characters, so many funny ideas…but they remain mere ideas as we watch Uppu Karuvadu .
english
<gh_stars>0 use std::fs::File; use std::io::Read; use std::time::Instant; fn main() { println!("Hello, world!"); let start = Instant::now(); println!("The first answer is {}", day7_1_result("./input")); let duration = Instant::now() - start; println!("how quick, this quick: {} μs", duration.as_micros()); let start = Instant::now(); println!("The second answer is {}", day7_2_result("./input")); let duration = Instant::now() - start; println!("how quick, this quick: {} μs", duration.as_micros()); let start = Instant::now(); println!("The second (PERF) answer is {}", day7_2p_result("./input", calc_fuel_used)); let duration = Instant::now() - start; println!("how quick, this quick: {} μs", duration.as_micros()); } fn read_file(path: &str) -> Vec<i32> { std::fs::read_to_string(path) .unwrap() .trim_end() .split(',') .filter_map(|s| s.parse::<i32>().ok()) .collect() } fn day7_1_result(path: &str) -> i32 { let data = read_file(path); let (min, max, sum, count) = data .iter() .fold((0, 0, 0, 0), |(min, max, sum, count), &x| { ( if x < min { x } else { min }, if x > max { x } else { max }, sum + x, count + 1, ) }); //let mid_range:i32 = ((max - min) /2) as i32; //let mean:i32 = (sum/count) as i32; //let direction:i32 = match mean - mid_range { // x if x<0 => -1, // _ => 1 //}; //let direction: i32 = 0; let mut fuel_used = i32::MAX; //let mut target_position:i32 = mean; let direction = 1; let mut target_position = 0; let mut answer = 0; loop { let total_distance_from_position = data .iter() .fold(0, |sum, &x| sum + (x - target_position).abs()); if total_distance_from_position < fuel_used { fuel_used = total_distance_from_position; } answer = fuel_used; target_position += 1; if target_position >= 1000 { break; } } answer // too high: 248413364 :-( nor is 105462913 } fn day7_2_result(path: &str) -> i32 { let data = read_file(path); //parse_input_get_positions(path); let (min, max, sum, count) = data .iter() .fold((0, 0, 0, 0), |(min, max, sum, count), &x| { ( if x < min { x } else { min }, if x > max { x } else { max }, sum + x, count + 1, ) }); //let mid_range:i32 = ((max - min) /2) as i32; //let mean:i32 = (sum/count) as i32; //let direction:i32 = match mean - mid_range { // x if x<0 => -1, // _ => 1 //}; //let direction: i32 = 0; let mut fuel_used = i32::MAX; //let mut target_position:i32 = mean; let direction = 1; let mut target_position = 0; let mut answer = 0; loop { let total_distance_from_position = data .iter() .fold(0, |sum, &x| sum + calc_fuel_used(x, target_position)); if total_distance_from_position < fuel_used { fuel_used = total_distance_from_position; } answer = fuel_used; //println!("iteration {}, dist from pos {}, fuel_used {}, answer {}", target_position, total_distance_from_position, fuel_used, answer); //target_position+=direction; target_position += 1; if target_position >= 1000 { break; } } answer } fn day7_2p_result(path: &str, calc_fuel: fn (i32, i32) -> i32) -> i32 { let data = read_file(path); let (min, max, sum, count) = data .iter() .fold((0, 0, 0, 0), |(min, max, sum, count), &x| { ( if x < min { x } else { min }, if x > max { x } else { max }, sum + x, count + 1, ) }); let mid_range: i32 = ((max - min) / 2) as i32; let mean: i32 = (sum / count) as i32; let direction: i32 = match mean - mid_range { x if x < 0 => -1, _ => 1, }; let mut fuel_used = i32::MAX; let mut target_position: i32 = mean; let mut answer = 0; loop { let total_distance_from_position = data .iter() .fold(0, |sum, &x| sum + calc_fuel(x, target_position)); if total_distance_from_position < fuel_used { fuel_used = total_distance_from_position; answer = fuel_used; break; } target_position += direction; if target_position >= 1000 || target_position < 0 { break; } } answer } fn simple_calc_fuel_used (from: i32, to:i32) -> i32 { (from - to).abs() } fn calc_fuel_used(from: i32, to: i32) -> i32 { incremental_cost((from - to).abs()) } fn incremental_cost(x: i32) -> i32 { match x { 0 => 0, x => x + incremental_cost(x - 1), } } #[test] fn incremental_cost_test() { assert_eq!(incremental_cost(4), 10); assert_eq!(incremental_cost(10), 10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1); } //#[test] fn day7_1_test() { assert_eq!(day7_1_result("test_input"), 3); // guessed 462, too low :-( // // 0 = 49. 1 = 41, 2 = 37, 3 = 39, 4 = 43 } #[test] fn read_file_test() { let results = read_file("test_input"); assert_eq!(results[0], 16); assert_eq!(results[5], 2); }
rust
<gh_stars>0 import { Module } from "@nestjs/common"; import { UsersModule } from "./users/users.module"; import { PostsModule } from "./posts/posts.module"; import { prisma } from "@prisma/client"; import { UsersController } from "./users/users.controller"; @Module({ providers: [], imports: [UsersModule, PostsModule], }) export class AppModule {}
typescript
(function(){ var _LEVELS = [ { 'map':[ [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1,1,0,1], [1,0,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1,1,0,1], [1,0,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1,1,0,1], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], [1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1], [1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1], [1,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,1], [1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1], [1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1], [1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1], [1,1,1,1,1,1,0,1,1,0,1,1,1,2,2,1,1,1,0,1,1,0,1,1,1,1,1,1], [1,1,1,1,1,1,0,1,1,0,1,2,2,2,2,2,2,1,0,1,1,0,1,1,1,1,1,1], [0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,0,0], [1,1,1,1,1,1,0,1,1,0,1,2,2,2,2,2,2,1,0,1,1,0,1,1,1,1,1,1], [1,1,1,1,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,1,1,0,1,1,0,1,1,0,1,1,1], [1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1], [1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1], [1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,1,1,1,0,1,1,1], [1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,1], [1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1], [1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1], [1,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,1], [1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1], [1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1], [1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1], [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1] ], 'wall_color':'#9966CC', // Energy bean coordinates 'energy':{ '1,4':1, '26,4':1, '1,27':1, '26,27':1 } } // Level 12 ], _COLOR = ['#F00','#F93','#0CF','#F9C'], // NPC colors red, orange, blue, pink _COS = [0,1,0,-1], _SIN = [-1,0,1,0], _LIFE = 5, _SCORE = 0, _MSG_PLAY = 'Press SPACE to play', _MSG_PAUSE = 'Press SPACE to pause'; var game = new Game('maze', 'pacd', 'char'); // Start screen (function(){ var stage = game.createStage(); // Start screen logo stage.createItem({ x:game.width/2, y:game.height*.45, width:100, height:100, frames:3, draw:function(pacdContext, charContext){ var t = Math.abs(5-this.times%10); charContext.fillStyle = '#FFE600'; charContext.beginPath(); charContext.arc(this.x,this.y,this.width/2,t*.04*Math.PI,(2-t*.04)*Math.PI,false); charContext.lineTo(this.x,this.y); charContext.closePath(); charContext.fill(); charContext.fillStyle = '#000'; charContext.beginPath(); charContext.arc(this.x+5,this.y-27,7,0,2*Math.PI,false); charContext.closePath(); charContext.fill(); } }); // Start screen title stage.createItem({ x:game.width/2, y:game.height*.6, draw:function(pacdContext){ pacdContext.font = 'bold 42px Helvetica'; pacdContext.textAlign = 'center'; pacdContext.textBaseline = 'middle'; pacdContext.fillStyle = '#FFF'; pacdContext.fillText('Pac-Man',this.x,this.y); } }); // Keydown event bindings stage.bind('keydown',function(e){ switch(e.keyCode){ case 13: case 32: stage.audio.opening.pause(); game.nextStage(); document.getElementById('info').textContent = _MSG_PAUSE; break; } }); stage.createAudioHandler('opening'); stage.audio.opening.load(stage); stage.audio.opening.play(); })(); // Game master program (function(){ _LEVELS.forEach(function(config,index){ var stage,map,beans,items,player; stage = game.createStage({ update:function(){ if(stage.status==1){ // Normal running status var itemTimeouts = 0; items.forEach(function(item){ if(map&&!map.get(item.coord.x,item.coord.y)&&!map.get(player.coord.x,player.coord.y)){ var dx = item.x-player.x; var dy = item.y-player.y; // When player and NPC touch if(dx*dx+dy*dy<750&&item.status!=4){ // Non-exception status if(item.status==3){ // Player beats NPC item.status = 4; item.path = []; item.timeout = 0; _SCORE += 10; if(!stage.audioPlaying.includes('eating_npc')){ stage.audio.eating_npc.play(); }else{ stage.audioToPlay.push('eating_npc'); } }else{ // NPC beats player stage.status = 3; stage.timeout = 120; } } } itemTimeouts += item.timeout; }); if(stage.audioPlaying.includes('siren')&&!itemTimeouts){ stage.audio.siren.pause(); } if(stage.audioToPlay.includes('eating_npc')&&!stage.audioPlaying.includes('eating_npc')){ stage.audio.eating_npc.play(); } var includes0 = false; for(let i=0,l=beans.data.length;i<l;i++){ if(beans.data[i].includes(0)){ includes0 = true; break; } } if(!includes0){ if(!stage.nextStage){ stage.nextStage = true; }else{ // Putting the audio here instead of in the previous block so there is a slight bit of sound when the final bean is eaten stage.audio.eating_bean.pause(); stage.audio.siren.pause(); game.nextStage(); } } }else if(stage.status==3){ // Temporary status if(!stage.timeout){ _LIFE--; if(_LIFE){ stage.resetItems(); }else{ var stages = game.getStages(); game.setStage(stages.length-1); return false; } } } return true; } }); map = stage.createMap({ x:60, y:10, data:config['map'], cache:true, draw:function(mazeContext){ mazeContext.lineWidth = 5; for(var j=0,y_length=this.y_length;j<y_length;j++){ for(var i=0,x_length=this.x_length;i<x_length;i++){ var value = this.get(i,j); if(value){ var code = [0,0,0,0]; if(this.get(i,j-1)&&!(this.get(i-1,j-1)&&this.get(i+1,j-1)&&this.get(i-1,j)&&this.get(i+1,j))){ code[0]=1; } if(this.get(i+1,j)&&!(this.get(i+1,j-1)&&this.get(i+1,j+1)&&this.get(i,j-1)&&this.get(i,j+1))){ code[1]=1; } if(this.get(i,j+1)&&!(this.get(i-1,j+1)&&this.get(i+1,j+1)&&this.get(i-1,j)&&this.get(i+1,j))){ code[2]=1; } if(this.get(i-1,j)&&!(this.get(i-1,j-1)&&this.get(i-1,j+1)&&this.get(i,j-1)&&this.get(i,j+1))){ code[3]=1; } if(code.includes(1)){ mazeContext.strokeStyle=value==2?"#FFF":config['wall_color']; var pos = this.coord2position(i,j); switch(code.join('')){ case '0110': mazeContext.beginPath(); mazeContext.arc(pos.x+this.size/2,pos.y+this.size/2,this.size/2,Math.PI,1.5*Math.PI,false); mazeContext.stroke(); mazeContext.closePath(); break; case '0011': mazeContext.beginPath(); mazeContext.arc(pos.x-this.size/2,pos.y+this.size/2,this.size/2,1.5*Math.PI,2*Math.PI,false); mazeContext.stroke(); mazeContext.closePath(); break; case '1001': mazeContext.beginPath(); mazeContext.arc(pos.x-this.size/2,pos.y-this.size/2,this.size/2,0,.5*Math.PI,false); mazeContext.stroke(); mazeContext.closePath(); break; case '1100': mazeContext.beginPath(); mazeContext.arc(pos.x+this.size/2,pos.y-this.size/2,this.size/2,.5*Math.PI,1*Math.PI,false); mazeContext.stroke(); mazeContext.closePath(); break; default: var dist = this.size/2; code.forEach(function(v,index){ if(v){ mazeContext.beginPath(); mazeContext.moveTo(pos.x,pos.y); mazeContext.lineTo(pos.x-_COS[index]*dist,pos.y-_SIN[index]*dist); mazeContext.stroke(); mazeContext.closePath(); } }); } } } } } } }); // Map of bean items beans = stage.createMap({ x:60, y:10, data:config['map'], frames:8, draw:function(mazeContext){ for(let j=0,y_length=this.y_length;j<y_length;j++){ for(var i=0,x_length=this.x_length;i<x_length;i++){ if(!this.get(i,j)){ var pos = this.coord2position(i,j); mazeContext.fillStyle = "#F5F5DC"; if(config['energy'][i+','+j]){ mazeContext.beginPath(); mazeContext.arc(pos.x,pos.y,6,0,2*Math.PI,true); mazeContext.fill(); mazeContext.closePath(); }else{ mazeContext.beginPath(); mazeContext.arc(pos.x,pos.y,3,0,2*Math.PI,true); mazeContext.fill(); mazeContext.closePath(); } } } } } }); // Level score stage.createItem({ x:690, y:80, draw:function(pacdContext, charContext){ if(stage.status==1){ charContext.font = 'bold 26px Helvetica'; charContext.textAlign = 'left'; charContext.textBaseline = 'bottom'; charContext.fillStyle = '#C33'; charContext.fillText('SCORE',this.x,this.y); charContext.font = '26px Helvetica'; charContext.textAlign = 'left'; charContext.textBaseline = 'top'; charContext.fillStyle = '#FFF'; charContext.fillText(_SCORE,this.x+12,this.y); charContext.font = 'bold 26px Helvetica'; charContext.textAlign = 'left'; charContext.textBaseline = 'bottom'; charContext.fillStyle = '#C33'; charContext.fillText('LEVEL',this.x,this.y+72); charContext.font = '26px Helvetica'; charContext.textAlign = 'left'; charContext.textBaseline = 'top'; charContext.fillStyle = '#FFF'; charContext.fillText(index+1,this.x+12,this.y+72); } } }); // Status text stage.createItem({ x:690, y:285, frames:25, draw:function(pacdContext, charContext){ if(stage.status==2&&this.times%2){ charContext.font = '24px Helvetica'; charContext.textAlign = 'left'; charContext.textBaseline = 'center'; charContext.fillStyle = '#FFF'; charContext.fillText('PAUSE',this.x,this.y); } } }); // Number of lives stage.createItem({ x:705, y:510, width:30, height:30, draw:function(pacdContext, charContext){ if(stage.status==1){ var max = Math.min(_LIFE-1,5); for(var i=0;i<max;i++){ var x=this.x+40*i,y=this.y; charContext.fillStyle = '#FFE600'; charContext.beginPath(); charContext.arc(x,y,this.width/2,.15*Math.PI,-.15*Math.PI,false); charContext.lineTo(x,y); charContext.closePath(); charContext.fill(); } charContext.font = '26px Helvetica'; charContext.textAlign = 'left'; charContext.textBaseline = 'center'; charContext.fillStyle = '#FFF'; charContext.fillText('X '+(_LIFE-1),this.x-15,this.y+30); } } }); // NPC stage.createAudioHandler('eating_npc'); stage.audio.eating_npc.load(stage); for(var i=0;i<4;i++){ stage.createItem({ width:30, height:30, orientation:0, color:_COLOR[i], location:map, coord:{x:12+i,y:14,offset:0}, vector:{x:12+i,y:14}, denHome:{x:12+i,y:14}, denEntrance:{x:12+(Math.floor(i/2)+1),y:11}, inDen:true, numReversals:0, atIntersection:false, adjacentNpcOrientations:[], type:2, frames:10, speed:1, timeout:((i+7)%4)*60, update:function(){ if(stage.status==1){ if(this.status==3&&!this.timeout){ stage.audio.siren.pause(); this.status = 1; if(this.inDen){ this.orientation = 0; } } // Calculated when the center of the coordinates is reached (or if temporarily set to not move) if( !this.coord.offset|| this.orientation==-1&&!this.inDen ){ if(this.status==1){ if(!this.timeout){ this.vector = map.finder({ map:map.data, start:this.coord, end:player.coord },this,items); } }else if(this.status==3){ if(this.inDen){ this.vector = map.finder({ map:map.data, start:this.coord, end:this.denHome, type:'evade' },this,items); }else{ this.vector = map.finder({ map:map.data, start:this.coord, end:this.denEntrance, type:'evade' },this,items,player); } }else if(this.status==4){ if(this.inDen&&this.orientation==-1){ this.status = 1; this.orientation = this.vector.orientation = 0; }else{ if( (this.coord.x==this.denEntrance.x&&this.coord.y==this.denEntrance.y)|| this.location.get(this.coord.x,this.coord.y)==2|| this.inDen ){ this.path = []; this.vector = map.finder({ map:map.data, start:this.coord, end:this.denHome, type:'rejuvenateStart' },this,items); this.inDen = true; }else if(this.path.length){ this.vector = this.path.shift(); }else{ // Converge paths originating from NPC and originating from denEntrance var pathsConverged = false; var startTmp0 = Object.assign({},this.coord); var endTmp0 = Object.assign({},this.denEntrance); var avoidOrientation0; var preferredOrientation0; var numTriesInner0; var startTmp1 = Object.assign({},this.denEntrance); var endTmp1 = Object.assign({},this.coord); var avoidOrientation1; var preferredOrientation1; var vector1; var numTriesInner1; var pathTmp = []; for(var numTriesOuter=0;numTriesOuter<map.y_length;numTriesOuter++){ preferredOrientation0 = null; for(numTriesInner0=0;numTriesInner0<map.x_length;numTriesInner0++){ if(preferredOrientation0==null){ if(this.path.length){ avoidOrientation0 = (this.path[this.path.length-1].orientation+2)%4; } } vector0 = map.finder({ map:map.data, start:startTmp0, end:endTmp0, type:'rejuvenateStart', avoidOrientation:avoidOrientation0, preferredOrientation:preferredOrientation0 },this,items); if(typeof vector0.orientation!='number'||typeof vector0.x!='number'||typeof vector0.y!='number'){ break; } if(typeof preferredOrientation0=='number'&&vector0.orientation!=preferredOrientation0){ break; } if(vector0.orientation>-1){ startTmp0 = endTmp1 = {x:vector0.x,y:vector0.y}; preferredOrientation0 = vector0.orientation; if(pathTmp.length){ if(startTmp0.x==startTmp1.x&&startTmp0.y==startTmp1.y){ pathsConverged = true; break; } } this.path.push(vector0); } } if(pathsConverged){ break; } for(numTriesInner1=0;numTriesInner1<map.x_length;numTriesInner1++){ if(preferredOrientation1==null){ if(pathTmp.length){ avoidOrientation1 = (pathTmp[0].orientation+2)%4; } } vector1 = map.finder({ map:map.data, start:startTmp1, end:endTmp1, type:'rejuvenateEnd', avoidOrientation:avoidOrientation1, preferredOrientation:preferredOrientation1 },this,items); if(typeof vector1.orientation!='number'||typeof vector1.x!='number'||typeof vector1.y!='number'){ break; } if(typeof preferredOrientation1=='number'&&vector1.orientation!=preferredOrientation1){ break; } if(vector1.orientation>-1){ startTmp1 = endTmp0 = {x:vector1.x,y:vector1.y}; preferredOrientation1 = vector1.orientation; if(this.path.length){ if(startTmp1.x==startTmp0.x&&startTmp1.y==startTmp0.y){ pathsConverged = true; break; } } pathTmp.unshift(vector1); } } if(pathsConverged){ break; } } if(pathsConverged){ var thisPath = this.path; pathTmp.forEach(function(path,idx){ if(idx==0){ if(pathTmp[0].y==thisPath[thisPath.length-1].y-1){ path.orientation = 0; }else if(pathTmp[0].x==thisPath[thisPath.length-1].x+1){ path.orientation = 1; }else if(pathTmp[0].y==thisPath[thisPath.length-1].y+1){ path.orientation = 2; }else if(pathTmp[0].x==thisPath[thisPath.length-1].x-1){ path.orientation = 3; } }else{ if(path.y==pathTmp[idx-1].y-1){ path.orientation = 0; }else if(path.x==pathTmp[idx-1].x+1){ path.orientation = 1; }else if(path.y==pathTmp[idx-1].y+1){ path.orientation = 2; }else if(path.x==pathTmp[idx-1].x-1){ path.orientation = 3; } } }); this.path = this.path.concat(pathTmp); } this.vector = this.path.shift(); } } } if( this.orientation>-1&& this.vector&& (Math.abs(this.coord.x-this.vector.x)>1) ){ // Emerge from other side of tunnel var newPos = this.location.coord2position(this.vector.x,this.vector.y); this.x = newPos.x; this.y = newPos.y; } this.vector = this.vector || {}; // Direction determination if(typeof this.vector.orientation=='number'){ this.orientation = this.vector.orientation; } } if(this.orientation>-1&&!(this.status==1&&this.timeout)){ var coordNew; var xNew = this.x; var xOffset; var yNew = this.y; var yOffset; switch(this.orientation){ case 0: yNew=this.y-1; yOffset=this.location.getYOffset(yNew); if(yOffset==0){ coordNew = this.location.position2coord(xNew,yNew); } break; case 1: xNew=this.x+1; xOffset=this.location.getXOffset(xNew); if(xOffset==0){ coordNew = this.location.position2coord(xNew,yNew); } break; case 2: yNew=this.y+1; yOffset=this.location.getYOffset(yNew); if(yOffset==0){ coordNew = this.location.position2coord(xNew,yNew); } break; case 3: xNew=this.x-1; xOffset=this.location.getXOffset(xNew); if(xOffset==0){ coordNew = this.location.position2coord(xNew,yNew); } break; } if(!coordNew){ var speedCoefficient = (stage.f%2)+1; switch(index){ case 0: case 1: case 2: speedCoefficient = Math.floor((stage.f%6)/5)+1; break; case 3: case 4: case 5: speedCoefficient = Math.floor((stage.f%3)/2)+1; break; case 6: case 7: case 8: speedCoefficient = (stage.f%2)+1; break; case 9: case 10: case 11: speedCoefficient = Math.ceil((stage.f%3)/2)+1; break; } xNew = this.x+(speedCoefficient*this.speed*_COS[this.orientation]); yNew = this.y+(speedCoefficient*this.speed*_SIN[this.orientation]); coordNew = this.location.position2coord(xNew,yNew); } var value = this.location.get(coordNew.x,coordNew.y); if(value==0||value==2){ this.x = xNew; this.y = yNew; this.coord = coordNew; }else{ // Correct drift var posCorrected = this.location.coord2position(this.coord.x,this.coord.y); this.x = posCorrected.x; this.y = posCorrected.y; this.coord = this.location.position2coord(this.x,this.y); this.orientation = -1; } } } }, draw:function(pacdContext, charContext){ if(stage.status==1){ var isSick = false; if(this.status==3){ isSick = this.timeout>80||this.times%2?true:false; } if(this.status!=4){ charContext.fillStyle = isSick?'#2321DC':this.color; charContext.beginPath(); charContext.arc(this.x,this.y,this.width*.5,0,Math.PI,true); switch(this.times%2){ case 0: charContext.lineTo(this.x-this.width*.5,this.y+this.height*.4); charContext.quadraticCurveTo(this.x-this.width*.4,this.y+this.height*.5,this.x-this.width*.2,this.y+this.height*.3); charContext.quadraticCurveTo(this.x,this.y+this.height*.5,this.x+this.width*.2,this.y+this.height*.3); charContext.quadraticCurveTo(this.x+this.width*.4,this.y+this.height*.5,this.x+this.width*.5,this.y+this.height*.4); break; case 1: charContext.lineTo(this.x-this.width*.5,this.y+this.height*.3); charContext.quadraticCurveTo(this.x-this.width*.25,this.y+this.height*.5,this.x,this.y+this.height*.3); charContext.quadraticCurveTo(this.x+this.width*.25,this.y+this.height*.5,this.x+this.width*.5,this.y+this.height*.3); break; } charContext.fill(); charContext.closePath(); } if(isSick){ charContext.fillStyle = '#FCB796'; charContext.beginPath(); charContext.arc(this.x-this.width*.15,this.y-this.height*.21,this.width*.08,0,2*Math.PI,false); charContext.arc(this.x+this.width*.15,this.y-this.height*.21,this.width*.08,0,2*Math.PI,false); charContext.fill(); charContext.closePath(); }else{ charContext.fillStyle = '#FFF'; charContext.beginPath(); charContext.arc(this.x-this.width*.15,this.y-this.height*.21,this.width*.12,0,2*Math.PI,false); charContext.arc(this.x+this.width*.15,this.y-this.height*.21,this.width*.12,0,2*Math.PI,false); charContext.fill(); charContext.closePath(); charContext.fillStyle = '#000'; charContext.beginPath(); if(this.orientation==-1){ charContext.arc(this.x-this.width*.15,this.y-this.height*.21,this.width*.07,0,2*Math.PI,false); charContext.arc(this.x+this.width*.15,this.y-this.height*.21,this.width*.07,0,2*Math.PI,false); }else{ charContext.arc(this.x-this.width*(.15-.04*_COS[this.orientation]),this.y-this.height*(.21-.04*_SIN[this.orientation]),this.width*.07,0,2*Math.PI,false); charContext.arc(this.x+this.width*(.15+.04*_COS[this.orientation]),this.y-this.height*(.21-.04*_SIN[this.orientation]),this.width*.07,0,2*Math.PI,false); } charContext.fill(); charContext.closePath(); } } } }); } items = stage.getItemsByType(2); stage.createAudioHandler('eating_bean'); stage.createAudioHandler('eating_energy'); stage.createAudioHandler('siren'); stage.createAudioHandler('die'); stage.audio.eating_bean.load(stage); stage.audio.eating_energy.load(stage); stage.audio.siren.load(stage); stage.audio.die.load(stage); // Protagonist (Pac-Man) var beanCoord = {}; var hasBean = false; player = stage.createItem({ width:30, height:30, type:1, location:map, coord:{x:13.5,y:23}, // x is 13.5 to start at the center. Never a decimal thereafter orientation:3, speed:2, frames:10, update:function(){ if(stage.status==1){ var coord = this.coord; if(!coord.offset){ if(typeof this.control.orientation != 'undefined'){ if(!map.get(coord.x+_COS[this.control.orientation],coord.y+_SIN[this.control.orientation])){ this.orientation = this.control.orientation; } } this.control = {}; var value = map.get(coord.x+_COS[this.orientation],coord.y+_SIN[this.orientation]); if(value==0){ this.x += this.speed*_COS[this.orientation]; this.y += this.speed*_SIN[this.orientation]; }else if(value<0){ this.x -= map.size*(map.x_length-1)*_COS[this.orientation]; this.y -= map.size*(map.y_length-1)*_SIN[this.orientation]; } // Eat beans if(!beans.get(this.coord.x,this.coord.y)){ _SCORE++; beanCoord.x = this.coord.x; beanCoord.y = this.coord.y; hasBean = true; beans.set(this.coord.x,this.coord.y,1); // Eat energy beans if(config['energy'][this.coord.x+','+this.coord.y]){ // Eat NPC items.forEach(function(item){ // If the NPC is healthy, set it to a temporary state if(item.status==1||item.status==3){ item.timeout = 450; // Should be 10 seconds item.status = 3; } }); stage.audio.eating_energy.play(); stage.audio.siren.element.loop = true; stage.audio.siren.play(); } if(!stage.audioPlaying.includes('eating_bean')){ stage.audio.eating_bean.element.loop = true; stage.audio.eating_bean.play(); } }else{ if(stage.audioPlaying.includes('eating_bean')){ stage.audio.eating_bean.pause(); stage.audio.eating_bean.element.currentTime = 0; } } }else{ this.x += this.speed*_COS[this.orientation]; this.y += this.speed*_SIN[this.orientation]; } this.coord = this.location.position2coord(this.x,this.y); } }, draw:function(pacdContext, charContext){ if(hasBean){ var beanPos = this.location.coord2position(beanCoord.x,beanCoord.y); pacdContext.fillStyle = '#000'; pacdContext.fillRect(beanPos.x-7,beanPos.y-7,14,14); delete beanCoord.x; delete beanCoord.y; hasBean = false; } charContext.fillStyle = '#FFE600'; charContext.beginPath(); // The player is in a normal state if(stage.status!=3){ if(this.times%2){ charContext.arc(this.x,this.y,this.width/2,(.5*(this.orientation-1)+.20)*Math.PI,(.5*(this.orientation-1)-.20)*Math.PI,false); }else{ charContext.arc(this.x,this.y,this.width/2,(.5*(this.orientation-1)+.01)*Math.PI,(.5*(this.orientation-1)-.01)*Math.PI,false); } // The player has been touched by an NPC }else{ var timeoutOffset = stage.timeout-90; if(timeoutOffset>0&&!stage.nextStage){ stage.audio.eating_bean.pause(); stage.audio.siren.pause(); stage.audio.die.play(); charContext.arc(this.x,this.y,this.width/2,(.5*this.orientation+1-.02*timeoutOffset)*Math.PI,(.5*this.orientation-1+.02*timeoutOffset)*Math.PI,false); } } charContext.lineTo(this.x,this.y); charContext.closePath(); charContext.fill(); } }); // Keydown event bindings stage.bind('keydown',function(e){ var info = document.getElementById('info'); switch(e.keyCode){ case 13: // Enter case 32: // Space if(this.status==2){ this.status = 1; info.textContent = _MSG_PAUSE; }else{ this.status = 2; stage.audio.eating_bean.pause(); stage.audio.siren.pause(); info.textContent = _MSG_PLAY; } break; case 37: // Left player.control.orientation = 3; break; case 38: // Up player.control.orientation = 0; break; case 39: // Right player.control.orientation = 1; break; case 40: // Down player.control.orientation = 2; break; } }); }); })(); // End screen (function(){ var stage = game.createStage({ update:function(){ if(!this.updated){ this.updated = true; return true; }else{ return false; } }, updated: false }); // Game over stage.createItem({ x:game.width/2, y:game.height*.35, draw:function(pacdContext){ pacdContext.fillStyle = '#FFF'; pacdContext.font = 'bold 48px Helvetica'; pacdContext.textAlign = 'center'; pacdContext.textBaseline = 'middle'; pacdContext.fillText(_LIFE?'YOU WIN!':'GAME OVER',this.x,this.y); document.getElementById('info').textContent = _MSG_PLAY; } }); // Score stage.createItem({ x:game.width/2, y:game.height*.5, draw:function(pacdContext){ pacdContext.fillStyle = '#FFF'; pacdContext.font = '20px Helvetica'; pacdContext.textAlign = 'center'; pacdContext.textBaseline = 'middle'; pacdContext.fillText('FINAL SCORE: '+(_SCORE+50*Math.max(_LIFE-1,0)),this.x,this.y); } }); // Keydown event bindings stage.bind('keydown',function(e){ switch(e.keyCode){ case 13: // Enter case 32: // Space _SCORE = 0; _LIFE = 5; game.setStage(1); document.getElementById('info').textContent = _MSG_PAUSE; break; } }); })(); game.init(); })();
javascript
The court has ordered to perform postmortem after exhuming the dead body of Naimul Abrar, a student of Dhaka Residential Model School and College who was electrocuted. Additional Chief Metropolitan Magistrate of Dhaka Aminul Haque delivered the order after reviewing the documents of a case filed by Abrar’s father Mojibur Rahman. Mojibur Rahman lodged the case against editor and publisher of the Prothom Alo and also publisher of Kishor Alo Matiur Rahman over allegation of death due to negligence. The court also ordered to submit the report by December 1 after performing investigation by attaching the current and unnatural death case report following the death of Abrar. Naimul Abrar was electrocuted on November 1 afternoon during an ongoing program of Kishor Alo at Dhaka Residential Model School and College ground. After being injured he was taken to Universal Medical College Hospital at Mohakhali in Dhaka where the on duty physicians declared him dead. Following the death there was allegation that Abrar’s death occurred due to negligence.
english
<reponame>MeirKriheli/django-bidi-utils # -*- coding: utf-8 -*- #!/usr/bin/env python import os import sys import bidiutils try: from setuptools import setup, Command except ImportError: from distutils.core import setup, Command version = bidiutils.__version__ if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') print("You probably want to also tag the version now:") print(" git tag -a %s -m 'version %s'" % (version, version)) print(" git push --tags") sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): import sys, subprocess errno = subprocess.call([sys.executable, 'runtests.py']) raise SystemExit(errno) setup( name='django-bidi-utils', version=version, description='context processors and filters for handling Bi-directional (BiDi) in django templates', long_description=readme + '\n\n' + history, author='<NAME>', author_email='<EMAIL>', url='https://github.com/MeirKriheli/django-bidi-utils', packages=[ 'bidiutils', ], include_package_data=True, install_requires=[ ], cmdclass={'test': PyTest}, license="MIT", zip_safe=False, keywords='django-bidi-utils', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', ], )
python
As Esha Gupta is an avid social media user, here are some of her most scintillating and gravity-defying shots on Instagram that will make you skip a breath. Check it out! Esha Gupta looks too cute for words dressed in a baggy orange tee and a pair of eyeglasses.(imagesource: instagram/eshagupta143) Esha Gupta’s selfie game is perfect as the actress poses with a straight face look.(imagesource: instagram/eshagupta143) Rustom actress Esha Gupta’s flaunts her no-makeup look and her flawless skin is too hard to miss.(imagesource: instagram/eshagupta143) Esha Gupta strikes a gravity-defying pose for the camera by performing a yoga asana.(imagesource: instagram/egupta) One Day: Justice Delivered actress Esha Gupta shines in her sun-kissed picture wearing an adorable headband.(imagesource: instagram/eshagupta143) Esha Gupta is hot as hell and her black and white picture is cool AF.(imagesource: instagram/egupta)
english
Telecommunications coverage mapping company OpenSignal has released its LTE report for the first quarter of 2017, revealing that Australia dropped six places to come in at 19th place worldwide in terms of 4G availability, and dropped two places to rank 10th globally in terms of download speeds. Australia had an average 4G download connection speed of 33.76Mbps, according to OpenSignal, just over 1Mbps faster than it was six months ago. Singapore was the global leader in this category, with 45.62Mbps speeds on average, followed by South Korea, with speeds of 43.46Mbps; Hungary, at 42.61Mbps; Norway, at 41.36Mbps; the Netherlands, with 38.36Mbps; Luxembourg, at 35.44Mbps; Croatia, at 35.19Mbps; New Zealand, at 34.91Mbps; and Bulgaria, at 34.07Mbps. The United Kingdom's average 4G speed was 22.65Mbps, 39th place globally, while the United States came in at 59th place, with 14.99Mbps. "How fast a country's 4G speed is can depend on many factors: How much spectrum is devoted to LTE; whether it has adopted new 4G technologies like LTE-Advanced; how densely networks are built; and how much congestion is on those networks," the report noted. "In general, though, the countries with the fastest speeds tend to be the ones that have built LTE-Advanced networks and have a large proportion of LTE-Advanced capable devices." Australia's telcos have begun rolling out LTE-A or 4G+ services that enable gigabit speeds, with Telstra launching its 1Gbps 4G service in January throughout Sydney, Melbourne, and Brisbane, and Adelaide and Perth set to join later this year alongside more areas in future. Optus similarly switched on its 1Gbps 4.5G network in February, although it was only made available at the telco's headquarters in Macquarie Park, Sydney, ahead of being rolled out to 70 percent of Optus' network in Sydney, Melbourne, Adelaide, Brisbane, and Perth during 2017. Telstra has also promised to upgrade its standard 4G network to 300Mbps speeds for 80 percent of its footprint by 2019, with its 4G network from 98 percent to reach 99 percent of the population by mid-2017. According to the report, despite such far-reaching 4G networks, 4G in Australia has an availability of just 79.26 percent. OpenSignal tracks availability not by overall population or geographic coverage, but rather by the proportion of time that users have access to 4G networks, including when indoors and during times of high congestion. South Korea led the availability metric, at 96.38 percent, followed by Japan, with 93.48 percent availability; Norway, with 86.96 percent; the US, with 86.5 percent; Hong Kong, with 86.41 percent; the Netherlands, with 86.06 percent; Lithuania, at 85.06 percent; Sweden, with 83.65 percent; and Hungary, with 83.59 percent. Despite placing second last in terms of 4G speeds, with an average speed of 5.14Mbps and ahead of only Costa Rica, India came in at 15th place for 4G availability, on 81.56 percent. According to OpenSignal, which ranked Airtel as India's fastest mobile provider on 4G speeds of 11.53Mbps as of April, India is in a "unique" position wherein one mobile operator -- 4G-only operator Reliance Jio, which was formed last year by oil and telco billionaire Mukesh Ambani -- has pushed the nation's global availability ranking significantly higher. "While we measured 4G availability for most Indian 4G operators at around 60 percent in our recent India report, new entrant Reliance Jio provided an enormous boost to India's overall availability with the launch of a nationwide LTE network that attracted 100 million subscribers in the space of six months," the report said. "The South Asian giant has moved into the upper echelons of 4G availability thanks largely to Jio's nationwide LTE rollout. But while signals may be plentiful in India, capacity isn't. India has some of the slowest LTE speeds in the world." Also beating Australia on 4G availability were Taiwan, Finland, Kuwait, Singapore, Estonia, Qatar, Canada, and the Czech Republic. New Zealand lost almost 10 places over the half year to trail in 63rd place worldwide, with just 58.06 percent availability -- OpenSignal said that while New Zealand has built high-performing 4G networks, it is having "difficulty delivering those powerful signals to consumers on a consistent basis" -- while the UK came 43rd, at 66.05 percent availability. Also publishing global rankings this month was Akamai, which last week pinned overall average Australian mobile speeds at 11th globally and fastest in the APAC region, on 15.7Mbps. According to Akami, Australia's leading APAC mobile speeds were followed closely by Japan, which clocked in at 15.6Mbps on average, and by Taiwan and New Zealand, each with 13Mbps; Indonesia, with 12.8Mbps; and South Korea, with 11.8Mbps. Globally, Akamai said Australia's mobile broadband speeds followed only the United Kingdom, which had average speeds of 26Mbps; Cyprus, with 24.2Mbps; Germany, with 24.1Mbps; Switzerland, with 22.4Mbps; Finland, with 21.6Mbps; France, with 17.4Mbps; Norway, with 17.3Mbps; Denmark, with 16.6Mbps; Belgium, with 16.2Mbps; and Romania, with 15.9Mbps. OpenSignal had in February ranked Australia fifth worldwide in terms of overall mobile speeds, taking into account both 4G and 3G.
english
<gh_stars>10-100 { "vorgangId": "5993", "VORGANG": { "WAHLPERIODE": "16", "VORGANGSTYP": "Kleine Anfrage", "TITEL": "Rolle der Bundesregierung bei der Förderung kommerzieller Nachhilfeinstitute (G-SIG: 16011567)", "INITIATIVE": "Fraktion <NAME>", "AKTUELLER_STAND": "Beantwortet", "SIGNATUR": "", "GESTA_ORDNUNGSNUMMER": "", "WICHTIGE_DRUCKSACHE": [ { "DRS_HERAUSGEBER": "BT", "DRS_NUMMER": "16/4033", "DRS_TYP": "Kleine Anfrage", "DRS_LINK": "http://dipbt.bundestag.de:80/dip21/btd/16/040/1604033.pdf" }, { "DRS_HERAUSGEBER": "BT", "DRS_NUMMER": "16/4384", "DRS_TYP": "Antwort", "DRS_LINK": "http://dipbt.bundestag.de:80/dip21/btd/16/043/1604384.pdf" } ], "EU_DOK_NR": "", "SACHGEBIET": "Bildung und Erziehung", "SCHLAGWORT": [ "Bundesministerium für Bildung und Forschung", { "_fundstelle": "true", "__cdata": "Nachhilfeunterricht" }, "Schüler", "Zertifizierung" ], "ABSTRAKT": "Etablierung kommerzieller Bildungsanbieter für Nachhilfeunterricht (Schülerhilfe und Studienkreis), Qualitätszertifikate durch RAL-Gütesicherung und TÜV Rheinland, Umsatz der Nachhilfeinstitute, Rolle des Bundesverbandes Nachhilfe- und Nachmittagsschulen (VNN e.V.) bei Ausgestaltung des Ganztagsschulprogramms, soziale Ungleichheit durch private Nachhilfeangebote, Veröffentlichung des Gutachtens zu Umfang und Qualität privater Nachhilfe im Rahmen der Nationalen Bildungsberichterstattung durch das BMBF\r\n " }, "VORGANGSABLAUF": { "VORGANGSPOSITION": [ { "ZUORDNUNG": "BT", "URHEBER": "Kleine Anfrage, Urheber : Fraktion DIE LINKE ", "FUNDSTELLE": "15.01.2007 - BT-Drucksache 16/4033", "FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/16/040/1604033.pdf", "PERSOENLICHER_URHEBER": [ { "PERSON_TITEL": "Dr.", "VORNAME": "Gregor", "NACHNAME": "Gysi", "FUNKTION": "MdB", "FRAKTION": "DIE LINKE", "AKTIVITAETSART": "Kleine Anfrage" }, { "VORNAME": "Cornelia", "NACHNAME": "Hirsch", "FUNKTION": "MdB", "FRAKTION": "DIE LINKE", "AKTIVITAETSART": "Kleine Anfrage" }, { "VORNAME": "Oskar", "NACHNAME": "Lafontaine", "FUNKTION": "MdB", "FRAKTION": "DIE LINKE", "AKTIVITAETSART": "Kleine Anfrage" }, { "VORNAME": "Volker", "NACHNAME": "Schneider", "WAHLKREISZUSATZ": "Saarbrücken", "FUNKTION": "MdB", "FRAKTION": "DIE LINKE", "AKTIVITAETSART": "Kleine Anfrage" }, { "PERSON_TITEL": "Dr.", "VORNAME": "Petra", "NACHNAME": "Sitte", "FUNKTION": "MdB", "FRAKTION": "DIE LINKE", "AKTIVITAETSART": "Kleine Anfrage" } ] }, { "ZUORDNUNG": "BT", "URHEBER": "Antwort, Urheber : Bundesregierung, Bundesministerium für Bildung und Forschung (federführend)", "FUNDSTELLE": "26.02.2007 - BT-Drucksache 16/4384", "FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/16/043/1604384.pdf" } ] } }
json
<filename>java/com/sudwood/advancedutilities/client/renders/RenderElevator.java package com.sudwood.advancedutilities.client.renders; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.model.AdvancedModelLoader; import net.minecraftforge.client.model.IModelCustom; import org.lwjgl.opengl.GL11; import com.sudwood.advancedutilities.AdvancedUtilities; import com.sudwood.advancedutilities.tileentity.TileEntityPortaChest; public class RenderElevator extends TileEntitySpecialRenderer { ResourceLocation objModelLoc; IModelCustom model; ResourceLocation texture; public RenderElevator() { objModelLoc = new ResourceLocation(AdvancedUtilities.MODID, "models/elevator/elevator.obj"); model = AdvancedModelLoader.loadModel(objModelLoc); texture = new ResourceLocation(AdvancedUtilities.MODID, "models/elevator/elevator.png"); } @Override public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float flot) { GL11.glPushMatrix(); GL11.glTranslated(x + 0.5, y + 0.5, z + 0.5); GL11.glScalef(0.0625F, 0.0625F, 0.0625F); GL11.glPushMatrix(); GL11.glRotatef(0, 0F, 1F, 0F); bindTexture(texture); model.renderPart("base"); model.renderPart("middle"); GL11.glPopMatrix(); GL11.glPopMatrix(); } }
java
{ "name": "sveather", "version": "1.0.1", "description": "Feather Icons as Svelte Components", "keywords": [ "feather", "icons", "svelte" ], "license": "MIT", "author": "theurgi <<EMAIL>> (https://theurgi.xyz/)", "files": [ "dist" ], "type": "module", "svelte": "./dist/components/index.js", "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/theurgi/sveather" }, "scripts": { "build": "node ./src/build.js", "postbuild": "prettier --write . --loglevel silent", "prepublishOnly": "npm run build" }, "devDependencies": { "@theurgi/prettier-config": "^3.0.0", "feather-icons": "^4.28.0", "pascalcase": "^1.0.0", "prettier": "^2.2.1", "prettier-plugin-svelte": "^2.2.0", "svelte": "^3.37.0" }, "peerDependencies": { "svelte": "^3.37.0" }, "engines": { "node": ">= 14.14.0" }, "prettier": "@theurgi/prettier-config" }
json
<reponame>kinecosystem/kin-node<filename>src/index.ts import commonpb from "@kinecosystem/agora-api/node/common/v3/model_pb"; import commonpbv4 from "@kinecosystem/agora-api/node/common/v4/model_pb"; import txpbv4 from "@kinecosystem/agora-api/node/transaction/v4/transaction_service_pb"; import { ASSOCIATED_TOKEN_PROGRAM_ID, TOKEN_PROGRAM_ID, u64 } from "@solana/spl-token"; import { SystemInstruction, SystemProgram, Transaction as SolanaTransaction } from "@solana/web3.js"; import BigNumber from "bignumber.js"; import hash from "hash.js"; import { xdr } from "stellar-base"; import { Client } from "./client"; import { errorsFromSolanaTx, errorsFromStellarTx, TransactionErrors } from "./errors"; import { PrivateKey, PublicKey } from "./keys"; import { Memo } from "./memo"; import { MemoInstruction, MemoProgram } from "./solana/memo-program"; import { AccountSize as ACCOUNT_SIZE, Command, getTokenCommand, SetAuthorityParams, TokenInstruction } from "./solana/token-program"; export { Client, TransactionErrors, PublicKey, PrivateKey, Memo, }; export const MAX_TRANSACTION_TYPE = 3; export enum TransactionType { Unknown = -1, None = 0, Earn = 1, Spend = 2, P2P = 3, } export enum TransactionState { Unknown = 0, Success = 1, Failed = 2, Pending = 3, } export function transactionStateFromProto(state: txpbv4.GetTransactionResponse.State): TransactionState { switch (state) { case txpbv4.GetTransactionResponse.State.SUCCESS: return TransactionState.Success; case txpbv4.GetTransactionResponse.State.FAILED: return TransactionState.Failed; case txpbv4.GetTransactionResponse.State.PENDING: return TransactionState.Pending; default: return TransactionState.Unknown; } } // Commitment is used to indicate to Solana nodes which bank state to query. // See: https://docs.solana.com/apps/jsonrpc-api#configuring-state-commitment export enum Commitment { // The node will query its most recent block. Recent = 0, // The node will query the most recent block that has been voted on by supermajority of the cluster. Single = 1, // The node will query the most recent block having reached maximum lockout on this node. Root = 2, // The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout. Max = 3, } export function commitmentToProto(commitment: Commitment): commonpbv4.Commitment { switch (commitment) { case Commitment.Single: return commonpbv4.Commitment.SINGLE; case Commitment.Recent: return commonpbv4.Commitment.RECENT; case Commitment.Root: return commonpbv4.Commitment.ROOT; case Commitment.Max: return commonpbv4.Commitment.MAX; default: throw new Error("unexpected commitment value: " + commitment); } } // AccountResolution is used to indicate which type of account resolution should be used if a transaction on Kin 4 fails due to // an account being unavailable. export enum AccountResolution { // No account resolution will be used. Exact = 0, // When used for a sender key, in a payment or earn request, if Agora is able to resolve the original sender public key to // a set of token accounts, the original sender will be used as the owner in the Solana transfer instruction and the first // resolved token account will be used as the sender. // // When used for a destination key in a payment or earn request, if Agora is able to resolve the destination key to a set // of token accounts, the first resolved token account will be used as the destination in the Solana transfer instruction. Preferred = 1, } // Environment specifies the desired Kin environment to use. export enum Environment { Prod, Test, } export enum NetworkPasshrase { Prod = "Kin Mainnet ; December 2018", Test = "Kin Testnet ; December 2018", Kin2Prod = "Public Global Kin Ecosystem Network ; June 2018", Kin2Test = "Kin Playground Network ; June 2018", } export const KinAssetCode = "KIN"; const KinAssetCodeBuffer = Buffer.from([75, 73, 78, 0]); export enum Kin2Issuers { Prod = "GDF42M3IPERQCBLWFEZKQRK77JQ65SCKTU3CW36HZVCX7XX5A5QXZIVK", Test = "GBC3SG6NGTSZ2OMH3FFGB7UVRQWILW367U4GSOOF4TFSZONV42UJXUH7", } // kinToQuarks converts a string representation of kin // to the quark value. // // If the provided kin amount contains more than 5 decimal // places (i.e. an inexact number of quarks), additional // decimal places will be ignored. // // For example, passing in a value of "0.000009" will result // in a value of 0 quarks being returned. // export function kinToQuarks(amount: string): BigNumber { const b = new BigNumber(amount).decimalPlaces(5, BigNumber.ROUND_DOWN); return b.multipliedBy(1e5); } export function quarksToKin(amount: BigNumber | string): string { return new BigNumber(amount).dividedBy(1e5).toString(); } export function xdrInt64ToBigNumber(i64: xdr.Int64): BigNumber { const amount = BigNumber.sum( new BigNumber(i64.high).multipliedBy(Math.pow(2, 32)), new BigNumber(i64.low) ); return amount; } export function bigNumberToU64(bn: BigNumber): u64 { const b = Buffer.alloc(8); b.writeBigUInt64LE(BigInt(bn), 0); return u64.fromBuffer(b); } // Invoice represents a transaction invoice for a single payment. // // See https://github.com/kinecosystem/agora-api for details. export interface Invoice { Items: InvoiceItem[] } export function protoToInvoice(invoice: commonpb.Invoice): Invoice { const result: Invoice = { Items: invoice.getItemsList().map(x => { const item: InvoiceItem = { title: x.getTitle(), amount: new BigNumber(x.getAmount()), }; if (x.getDescription()) { item.description = x.getDescription(); } if (x.getSku()) { item.sku = Buffer.from(x.getSku()); } return item; }) }; return result; } export function invoiceToProto(invoice: Invoice): commonpb.Invoice { const result = new commonpb.Invoice(); result.setItemsList(invoice.Items.map(x => { const item = new commonpb.Invoice.LineItem(); item.setTitle(x.title); item.setAmount(x.amount.toString()); if (x.description) { item.setDescription(x.description); } if (x.sku) { item.setSku(x.sku); } return item; })); return result; } // InvoiceItem is a single line item within an invoice. // // See https://github.com/kinecosystem/agora-api for details. export interface InvoiceItem { title: string description?: string amount: BigNumber sku?: Buffer } // Payment represents a payment that will be submitted. export interface Payment { sender: PrivateKey destination: PublicKey type: TransactionType quarks: BigNumber subsidizer?: PrivateKey invoice?: Invoice memo?: string // dedupeId is a unique identifier used by the service to help prevent the // accidental submission of the same intended transaction twice. // If dedupeId is set, the service will check to see if a transaction // was previously submitted with the same dedupeId. If one is found, // it will NOT submit the transaction again, and will return the status // of the previously submitted transaction. dedupeId?: Buffer } // ReadOnlyPayment represents a payment where the sender's // private key is not known. For example, when retrieved off of // the block chain, or being used as a signing request. export interface ReadOnlyPayment { sender: PublicKey destination: PublicKey type: TransactionType quarks: string invoice?: Invoice memo?: string } // Creation represents a Kin token account creation. export interface Creation { owner: PublicKey address: PublicKey } export function parseTransaction(tx: SolanaTransaction, invoiceList?: commonpb.InvoiceList): [Creation[], ReadOnlyPayment[]] { const payments: ReadOnlyPayment[] = []; const creations: Creation[] = []; let invoiceHash: Buffer | undefined; if (invoiceList) { invoiceHash = Buffer.from(hash.sha224().update(invoiceList.serializeBinary()).digest('hex'), "hex"); } let textMemo: string | undefined; let agoraMemo: Memo | undefined; let ilRefCount = 0; let invoiceTransfers = 0; let hasEarn = false; let hasSpend = false; let hasP2P = false; let appIndex = 0; let appId: string | undefined; for (let i = 0; i < tx.instructions.length; i++) { if (isMemo(tx, i)) { const decodedMemo = MemoInstruction.decodeMemo(tx.instructions[i]); try { agoraMemo = Memo.fromB64String(decodedMemo.data, false); } catch (error) { textMemo = decodedMemo.data; } if (textMemo) { let parsedId: string | undefined; try { parsedId = appIdFromTextMemo(textMemo); } catch (error) { continue; } if (appId && parsedId != appId) { throw new Error("multiple app IDs"); } appId = parsedId; continue; } // From this point on we can assume as have an Agora memo const fk = agoraMemo!.ForeignKey(); if (invoiceHash && fk.slice(0, 28).equals(invoiceHash) && fk[28] === 0) { ilRefCount++; } if (appIndex > 0 && appIndex != agoraMemo!.AppIndex()) { throw new Error("multiple app indexes"); } appIndex = agoraMemo!.AppIndex(); switch (agoraMemo!.TransactionType()) { case TransactionType.Earn: hasEarn = true; break; case TransactionType.Spend: hasSpend = true; break; case TransactionType.P2P: hasP2P = true; break; default: } } else if (isSystem(tx, i)) { const create = SystemInstruction.decodeCreateAccount(tx.instructions[i]); if (!create.programId.equals(TOKEN_PROGRAM_ID)) { throw new Error("System::CreateAccount must assign owner to the SplToken program"); } if (create.space != ACCOUNT_SIZE) { throw new Error("invalid size in System::CreateAccount"); } i++; if (i === tx.instructions.length) { throw new Error("missing SplToken::InitializeAccount instruction"); } const init = TokenInstruction.decodeInitializeAccount(tx.instructions[i]); if (!create.newAccountPubkey.equals(init.account)) { throw new Error("SplToken::InitializeAccount address does not match System::CreateAccount address"); } i++; if (i === tx.instructions.length) { throw new Error("missing SplToken::SetAuthority(Close) instruction"); } const closeAuth = TokenInstruction.decodeSetAuthority(tx.instructions[i]); if (closeAuth.authorityType !== 'CloseAccount') { throw new Error("SplToken::SetAuthority must be of type Close following an initialize"); } if (!closeAuth.account.equals(init.account)) { throw new Error("SplToken::SetAuthority(Close) authority must be for the created account"); } if (!closeAuth.newAuthority?.equals(create.fromPubkey)) { throw new Error("SplToken::SetAuthority has incorrect new authority"); } // Changing of the account owner is optional i++; if (i === tx.instructions.length) { creations.push({ owner: PublicKey.fromSolanaKey(init.owner), address: PublicKey.fromSolanaKey(init.account), }); break; } let ownerAuth: SetAuthorityParams; try { ownerAuth = TokenInstruction.decodeSetAuthority(tx.instructions[i]); } catch (error) { i--; creations.push({ owner: PublicKey.fromSolanaKey(init.owner), address: PublicKey.fromSolanaKey(init.account), }); continue; } if (ownerAuth.authorityType !== 'AccountOwner') { throw new Error("SplToken::SetAuthority must be of type AccountHolder following a close authority"); } if (!ownerAuth.account.equals(init.account)) { throw new Error("SplToken::SetAuthority(AccountHolder) must be for the created account"); } creations.push({ owner: PublicKey.fromSolanaKey(ownerAuth.newAuthority!), address: PublicKey.fromSolanaKey(init.account), }); } else if (isSPLAssoc(tx, i)) { const create = TokenInstruction.decodeCreateAssociatedAccount(tx.instructions[i]); i++; if (i === tx.instructions.length) { throw new Error("missing SplToken::SetAuthority(Close) instruction"); } const closeAuth = TokenInstruction.decodeSetAuthority(tx.instructions[i]); if (closeAuth.authorityType !== 'CloseAccount') { throw new Error("SplToken::SetAuthority must be of type Close following an assoc creation"); } if (!closeAuth.account.equals(create.address)) { throw new Error("SplToken::SetAuthority(Close) authority must be for the created account"); } if (!closeAuth.newAuthority?.equals(create.subsidizer)) { throw new Error("SplToken::SetAuthority has incorrect new authority"); } creations.push({ owner: PublicKey.fromSolanaKey(create.owner), address: PublicKey.fromSolanaKey(create.address), }); } else if (isSpl(tx, i)) { const cmd = getTokenCommand(tx.instructions[i]); if (cmd === Command.Transfer) { const transfer = TokenInstruction.decodeTransfer(tx.instructions[i]); if (transfer.owner.equals(tx.feePayer!)) { throw new Error("cannot transfer from a subsidizer-owned account"); } let inv: commonpb.Invoice | undefined; if (agoraMemo) { const fk = agoraMemo.ForeignKey(); if (invoiceHash && fk.slice(0, 28).equals(invoiceHash) && fk[28] === 0) { // If the number of parsed transfers matching this invoice is >= the number of invoices, // raise an error const invoices = invoiceList!.getInvoicesList(); if (invoiceTransfers >= invoices.length) { throw new Error(`invoice list doesn't have sufficient invoicesi for this transaction (parsed: ${invoiceTransfers}, invoices: ${invoices.length})`); } inv = invoices[invoiceTransfers]; invoiceTransfers++; } } payments.push({ sender: PublicKey.fromSolanaKey(transfer.source), destination: PublicKey.fromSolanaKey(transfer.dest), type: agoraMemo ? agoraMemo.TransactionType() : TransactionType.Unknown, quarks: transfer.amount.toString(), invoice: inv ? protoToInvoice(inv) : undefined, memo: textMemo ? textMemo : undefined, }); } else if (cmd !== Command.CloseAccount) { // Closures are valid, but otherwise the instruction is not supported throw new Error(`unsupported instruction at ${i}`); } } else { throw new Error(`unsupported instruction at ${i}`); } } if (hasEarn && (hasSpend || hasP2P)) { throw new Error("cannot mix earns with P2P/spends"); } if (invoiceList && ilRefCount != 1) { throw new Error(`invoice list does not match exactly to one memo in the transaction (matched: ${ilRefCount})`); } if (invoiceList && invoiceList.getInvoicesList().length != invoiceTransfers) { throw new Error(`invoice count (${invoiceList.getInvoicesList().length}) does not match number of transfers referencing the invoice list ${invoiceTransfers}`); } return [creations, payments]; } // TransactionData contains both metadata and payment data related to // a blockchain transaction. export class TransactionData { txId: Buffer; txState: TransactionState; payments: ReadOnlyPayment[]; errors?: TransactionErrors; constructor() { this.txId = Buffer.alloc(0); this.txState = TransactionState.Unknown; this.payments = new Array<ReadOnlyPayment>(); } } export function txDataFromProto(item: txpbv4.HistoryItem, state: txpbv4.GetTransactionResponse.State): TransactionData { const data = new TransactionData(); data.txId = Buffer.from(item.getTransactionId()!.getValue_asU8()); data.txState = transactionStateFromProto(state); const invoiceList = item.getInvoiceList(); if (invoiceList && invoiceList.getInvoicesList().length !== item.getPaymentsList().length) { throw new Error("number of invoices does not match number of payments"); } let txType: TransactionType = TransactionType.Unknown; let stringMemo: string | undefined; if (item.getSolanaTransaction()) { const val = item.getSolanaTransaction()!.getValue_asU8(); const solanaTx = SolanaTransaction.from(Buffer.from(val)); if (solanaTx.instructions[0].programId.equals(MemoProgram.programId)) { const memoParams = MemoInstruction.decodeMemo(solanaTx.instructions[0]); let agoraMemo: Memo | undefined; try { agoraMemo = Memo.fromB64String(memoParams.data, false); txType = agoraMemo!.TransactionType(); } catch (e) { // not a valid agora memo stringMemo = memoParams.data; } } if (item.getTransactionError()) { data.errors = errorsFromSolanaTx(solanaTx, item.getTransactionError()!); } } else if (item.getStellarTransaction()?.getEnvelopeXdr()) { const envelope = xdr.TransactionEnvelope.fromXDR(Buffer.from(item.getStellarTransaction()!.getEnvelopeXdr())); const agoraMemo = Memo.fromXdr(envelope.v0().tx().memo(), true); if (agoraMemo) { txType = agoraMemo.TransactionType(); } else if (envelope.v0().tx().memo().switch() === xdr.MemoType.memoText()) { stringMemo = envelope.v0().tx().memo().text().toString(); } if (item.getTransactionError()) { data.errors = errorsFromStellarTx(envelope, item.getTransactionError()!); } } else { // This case *shouldn't* happen since either a solana or stellar should be set throw new Error("invalid transaction"); } const payments: ReadOnlyPayment[] = []; item.getPaymentsList().forEach((payment, i) => { const p: ReadOnlyPayment = { sender: new PublicKey(payment.getSource()!.getValue_asU8()), destination: new PublicKey(payment.getDestination()!.getValue_asU8()), quarks: new BigNumber(payment.getAmount()).toString(), type: txType }; if (item.getInvoiceList()) { p.invoice = protoToInvoice(item.getInvoiceList()!.getInvoicesList()[i]); } else if (stringMemo) { p.memo = stringMemo; } payments.push(p); }); data.payments = payments; return data; } // EarnBatch is a batch of earn payments to be sent in a transaction. export interface EarnBatch { sender: PrivateKey subsidizer?: PrivateKey memo?: string // The length of `earns` must be less than or equal to 15. earns: Earn[] // dedupeId is a unique identifier used by the service to help prevent the // accidental submission of the same intended transaction twice. // If dedupeId is set, the service will check to see if a transaction // was previously submitted with the same dedupeId. If one is found, // it will NOT submit the transaction again, and will return the status // of the previously submitted transaction. // // Only available on Kin 4. dedupeId?: Buffer } // Earn represents a earn payment in an earn batch. export interface Earn { destination: PublicKey quarks: BigNumber invoice?: Invoice } // EarnBatchResult contains the results from an earn batch. export interface EarnBatchResult { txId: Buffer // If TxError is defined, the transaction failed. txError?: Error // earnErrors contains any available earn-specific error // information. // // earnErrors may or may not be set if TxError is set. earnErrors?: EarnError[] } export interface EarnError { // The error related to an earn. error: Error // The index of the earn that caused the earnIndex: number } function isMemo(tx: SolanaTransaction, index: number): boolean { return tx.instructions[index].programId.equals(MemoProgram.programId); } function isSpl(tx: SolanaTransaction, index: number): boolean { return tx.instructions[index].programId.equals(TOKEN_PROGRAM_ID); } function isSPLAssoc(tx: SolanaTransaction, index: number): boolean { return tx.instructions[index].programId.equals(ASSOCIATED_TOKEN_PROGRAM_ID); } function isSystem(tx: SolanaTransaction, index: number): boolean { return tx.instructions[index].programId.equals(SystemProgram.programId); } function appIdFromTextMemo(textMemo: string): string { const parts = textMemo.split('-'); if (parts.length < 2) { throw new Error("no app id in memo"); } if (parts[0] != "1") { throw new Error("no app id in memo"); } if (!isValidAppId(parts[1])) { throw new Error("no valid app id in memo"); } return parts[1]; } function isValidAppId(appId: string): boolean { if (appId.length < 3 || appId.length > 4) { return false; } if (!isAlphaNumeric(appId)) { return false; } return true; } function isAlphaNumeric(s: string): boolean { for (let i = 0; i < s.length; i++) { const code = s.charCodeAt(i); if (!(code > 47 && code < 58) && // numeric (0-9) !(code > 64 && code < 91) && // upper alpha (A-Z) !(code > 96 && code < 123)) { // lower alpha (a-z) return false; } } return true; }
typescript
<filename>SurfingFestival/assets/ja/Objects/Cheap Amulet/object.json { "Name": "Cheap Amulet?", "Description": "Something seems off about this amulet. Wonder why it's so cheap.", "Category": "ArtisanGoods", "Edibility": -300, "EdibleIsDrink": false, "Price": 50, "HideFromShippingCollection": true, "IsColored": false, "Recipe": null, "NameLocalization": { "hu": "Olcsó amulett?", "ko": "값싼 부적?", "ru": "Дешевый амулет", "zh": "便宜的护身符?" }, "DescriptionLocalization": { "hu": "Valami nem stimmel ezzel az amulettel. Vajon miért olyan olcsó?", "ko": "이 부적에 문제가 있는 것 같습니다. 왜 이렇게 싼지 궁금하네요.", "ru": "Что-то не так с этим амулетом. Интересно, почему он такой дешевый?", "zh": "这个护身符似乎有些不对劲,想知道为什么这么便宜。" } }
json
{ "authors": [], "doi": "", "publication_date": "2014-MM-DD", "id": "IT103151", "url": "https://scuole-specializzazione.miur.it/public/documenti/master_1.pdf", "source": "Miur", "source_url": "https://www.miur.gov.it", "licence": "CC-BY", "language": "it", "type": "other", "description": "General Medicine Questions and Answers for Medical Students", "text": "Giunge in Pronto Soccorso un paziente sofferente, con pressione arteriosa 100/60 mmHg, frequenza cardiaca 110 bpm ritmica, frequenza respiratoria 18 atti per minuto. L'addome si presenta disteso, ipertimpanico, dolente e dolorabile alla palpazione prevalentemente al fianco e fossa iliaca sinistra dove presenta segno di Blumberg positivo; peristalsi ridotta. Viene eseguita una Rx diretta dell'addome che mostra anse intestinali diffusamente distese e dilatazione del colon, senza evidenti livelli idro-aerei." }
json
In Uttar Pradesh’s Mathura constituency ‘Dream Girl’ Hema Malini has secured 2. 27 lakh votes over Rashtriya Lok Dal’s Kunwar Narendra Singh. The actor who contested from Mathura in this Lok Sabha election, is living up to her image of a Bollywood celebrity even in politics. It was in 1999 that Hema Malini made her foray into politics to campaign for Bharatiya Janata Party (BJP) candidate and former Bollywood star Vinod Khanna during the Lok Sabha elections in Gurdaspur, Punjab. Then, in 2014 general elections, the actor herself jumped in the fray from Mathura in Uttar Pradesh and defeated RLD candidate Jayant Chaudhary. This election season, as Hema Malini sweated out in the heat and dust of campaigning, we took a closer look at her political engagements — only to find out that the 70-year-old actor-turned-politician doesn’t follow the underlined sartorial codes that other politicians do. On March 31, when she kickstarted the campaigning, Malini was seen harvesting crops in a wheat field. The actor, who shared her pictures on Twitter, was seen posing with sickle and hay. Her golden and beige-coloured sari perfectly matched the background hue. Always spotted adorning jewellery, even on the campaign trail, she was not the one who looked simple or someone who wanted to be one among the crowd — rather she made it a point that whenever she waved at the crowd from her car, she looked picture-perfect. The Seeta Aur Geeta actor also did not shy away from wearing make-up and was spotted wearing bright colours during her campaigns — from blood red to yellows, she wears them all. “Hemaji loves pastels. Present her with any shades of pink, and she’s happy. The new colour that I’ve introduced to her is lavender. She loves silk Banarasis, patolas, chanderis. She doesn’t wear much of cotton and handloom unless she’s home and resting. She loves chanderi though. My team makes sure she is at that stature always, nothing is ever compromised on. Whether it is her saris or jewellery or hair and make-up, nothing ever falls short. She likes smaller prints and zaris. I make sure I give her saris that are made of real gold zari, that’s the dream girl for the world. Real gold zari saris! She prefers smaller borders and heavy pallas,” Hema Malini’s personal stylist Kareen Parwani says, adding the actor is not fond of black or pale colours. Parwani adds that the actor “basically likes everything exquisite and everything she puts on herself is very exclusive”. “She loves dressing up though she doesn’t need much of it. She still has flawless skin and doesn’t even look close to her age. Her make-up is pretty basic with pink lips and eyeliner and she’s good to go”, she says. However, it is not only during campaign trails or at red carpet events that Malini goes for “exclusive things”. She likes them even in daily life. “Rubies are her favourite. She loves polkis over diamonds but doesn’t mind doing a contrast with her saris. I’ve recently introduced long neckpieces to her and she has fallen in love with them. She usually likes wearing kadas on her hands and doesn’t like small bracelets or rings. But I’d say her solitaires suit her the most. She looks extremely elegant in those. She’s fond of blue tanzanites as well,” she adds. Her casual wear, however, is all about puffy sleeved blouses and handloom saris. Malini opts for palazzos and kurtas while travelling. Though Parwani doesn’t style the BJP MP for her political events, the actor has a knack for style herself. Malini was identified as a fashion icon in the late ’80s. With her thick mascara, winged eyeliner and hair tied in a bun, she carried even a simple outfit with grace. Even though yesteryear actors were not followed by the paparazzi the way they are today, she was always well-dressed, often seen wearing crisp white shirts and black pants, and bold blouses teamed with skirts and midi dresses. Her love for saris was also never a secret.
english
# Plotting tools and utility functions # Nested GridSpec : https://matplotlib.org/stable/gallery/subplots_axes_and_figures/gridspec_nested.html#sphx-glr-gallery-subplots-axes-and-figures-gridspec-nested-py # GridSpec : https://matplotlib.org/stable/gallery/subplots_axes_and_figures/gridspec_multicolumn.html#sphx-glr-gallery-subplots-axes-and-figures-gridspec-multicolumn-py # colorbar : https://matplotlib.org/stable/gallery/subplots_axes_and_figures/colorbar_placement.html#sphx-glr-gallery-subplots-axes-and-figures-colorbar-placement-py ############# ## Imports ## ############# ## General imports ## from matplotlib import pyplot as plt from matplotlib import colors import numpy as np import os ############### ## Constants ## ############### ############# ## Classes ## ############# class MidpointNormalize(colors.Normalize): """ Useful object enbling to normalize colorbar with a chosen midpoint. """ def __init__(self, vmin=None, vmax=None, midpoint=None, clip=False): super(MidpointNormalize, self).__init__(vmin, vmax, clip) self.midpoint = midpoint def __call__(self, value, clip=None): x, y = [self.vmin, self.midpoint, self.vmax], [0,0.5,1] return np.ma.masked_array(np.interp(value, x, y)) class FigBase(): """ """ CREDITS = "Credit : EU, contains modified Copernicus Sentinel data, processed with custom script." def __init__(self, title : str, dim : tuple): self.title = title self.fig = plt.figure(figsize=dim) def _format(self): pass def show(self): pass ############### ## Functions ## ############### def main(): pass if __name__ == '__main__': main() else: print(f"Module {__name__} imported.", flush=True)
python
'use strict'; const gulp = require('gulp'); const browserify = require('browserify'); const source = require('vinyl-source-stream'); module.exports = function (options) { const defaultOptions = { jsSourceFiles: 'js-src/**/*.js', compileFiles: { main: { src: 'js-src/main.js', dest: 'js/main.js' } }, destFileDir: 'app/' }; const mergedOptions = Object.assign({}, defaultOptions, options); const browserifyTasks = []; for (let key in mergedOptions.compileFiles) { const taskName = 'browserify:' + key; browserifyTasks.push(taskName); const item = mergedOptions.compileFiles[key]; gulp.task(taskName, function () { const bundleStream = browserify(item.src).bundle(); const vinylStream = bundleStream.pipe(source(item.dest)); return vinylStream.pipe(gulp.dest(mergedOptions.destFileDir)); }); } // Make one task with all the separate browserify tasks gulp.task('browserify', browserifyTasks); gulp.task('browserify:watch', function () { gulp.watch(mergedOptions.jsSourceFiles, [ 'browserify' ]); }); };
javascript
<filename>virtual/lib/python3.6/site-packages/setuptools/wheel.py '''Wheels support.''' from distutils.util import get_platform import email import itertools import os import re import zipfile from pkg_resources import Distribution, PathMetadata, parse_version from setuptools.extern.six import PY3 from setuptools import Distribution as SetuptoolsDistribution from setuptools import pep425tags from setuptools.command.egg_info import write_requirements WHEEL_NAME = re.compile( r"""^(?P<project_name>.+?)-(?P<version>\d.*?) ((-(?P<build>\d.*?))?-(?P<py_version>.+?)-(?P<abi>.+?)-(?P<platform>.+?) )\.whl$""", re.VERBOSE).match NAMESPACE_PACKAGE_INIT = '''\ try: __import__('pkg_resources').declare_namespace(__name__) except ImportError: __path__ = __import__('pkgutil').extend_path(__path__, __name__) ''' def unpack(src_dir, dst_dir): '''Move everything under `src_dir` to `dst_dir`, and delete the former.''' for dirpath, dirnames, filenames in os.walk(src_dir): subdir = os.path.relpath(dirpath, src_dir) for f in filenames: src = os.path.join(dirpath, f) dst = os.path.join(dst_dir, subdir, f) os.renames(src, dst) for n, d in reversed(list(enumerate(dirnames))): src = os.path.join(dirpath, d) dst = os.path.join(dst_dir, subdir, d) if not os.path.exists(dst): # Directory does not exist in destination, # rename it and prune it from os.walk list. os.renames(src, dst) del dirnames[n] # Cleanup. for dirpath, dirnames, filenames in os.walk(src_dir, topdown=True): assert not filenames os.rmdir(dirpath) class Wheel(object): def __init__(self, filename): match = WHEEL_NAME(os.path.basename(filename)) if match is None: raise ValueError('invalid wheel name: %r' % filename) self.filename = filename for k, v in match.groupdict().items(): setattr(self, k, v) def tags(self): '''List tags (py_version, abi, platform) supported by this wheel.''' return itertools.product(self.py_version.split('.'), self.abi.split('.'), self.platform.split('.')) def is_compatible(self): '''Is the wheel is compatible with the current platform?''' supported_tags = pep425tags.get_supported() return next((True for t in self.tags() if t in supported_tags), False) def egg_name(self): return Distribution( project_name=self.project_name, version=self.version, platform=(None if self.platform == 'any' else get_platform()), ).egg_name() + '.egg' def install_as_egg(self, destination_eggdir): '''Install wheel as an egg directory.''' with zipfile.ZipFile(self.filename) as zf: dist_basename = '%s-%s' % (self.project_name, self.version) dist_info = '%s.dist-info' % dist_basename dist_data = '%s.data' % dist_basename def get_metadata(name): with zf.open('%s/%s' % (dist_info, name)) as fp: value = fp.read().decode('utf-8') if PY3 else fp.read() return email.parser.Parser().parsestr(value) wheel_metadata = get_metadata('WHEEL') dist_metadata = get_metadata('METADATA') # Check wheel format version is supported. wheel_version = parse_version(wheel_metadata.get('Wheel-Version')) if not parse_version('1.0') <= wheel_version < parse_version('2.0dev0'): raise ValueError('unsupported wheel format version: %s' % wheel_version) # Extract to target directory. os.mkdir(destination_eggdir) zf.extractall(destination_eggdir) # Convert metadata. dist_info = os.path.join(destination_eggdir, dist_info) dist = Distribution.from_location( destination_eggdir, dist_info, metadata=PathMetadata(destination_eggdir, dist_info) ) # Note: we need to evaluate and strip markers now, # as we can't easily convert back from the syntax: # foobar; "linux" in sys_platform and extra == 'test' def raw_req(req): req.marker = None return str(req) install_requires = list(sorted(map(raw_req, dist.requires()))) extras_require = { extra: list(sorted( req for req in map(raw_req, dist.requires((extra,))) if req not in install_requires )) for extra in dist.extras } egg_info = os.path.join(destination_eggdir, 'EGG-INFO') os.rename(dist_info, egg_info) os.rename(os.path.join(egg_info, 'METADATA'), os.path.join(egg_info, 'PKG-INFO')) setup_dist = SetuptoolsDistribution(attrs=dict( install_requires=install_requires, extras_require=extras_require, )) write_requirements(setup_dist.get_command_obj('egg_info'), None, os.path.join(egg_info, 'requires.txt')) # Move data entries to their correct location. dist_data = os.path.join(destination_eggdir, dist_data) dist_data_scripts = os.path.join(dist_data, 'scripts') if os.path.exists(dist_data_scripts): egg_info_scripts = os.path.join(destination_eggdir, 'EGG-INFO', 'scripts') os.mkdir(egg_info_scripts) for entry in os.listdir(dist_data_scripts): # Remove bytecode, as it's not properly handled # during easy_install scripts install phase. if entry.endswith('.pyc'): os.unlink(os.path.join(dist_data_scripts, entry)) else: os.rename(os.path.join(dist_data_scripts, entry), os.path.join(egg_info_scripts, entry)) os.rmdir(dist_data_scripts) for subdir in filter(os.path.exists, ( os.path.join(dist_data, d) for d in ('data', 'headers', 'purelib', 'platlib') )): unpack(subdir, destination_eggdir) if os.path.exists(dist_data): os.rmdir(dist_data) # Fix namespace packages. namespace_packages = os.path.join(egg_info, 'namespace_packages.txt') if os.path.exists(namespace_packages): with open(namespace_packages) as fp: namespace_packages = fp.read().split() for mod in namespace_packages: mod_dir = os.path.join(destination_eggdir, *mod.split('.')) mod_init = os.path.join(mod_dir, '__init__.py') if os.path.exists(mod_dir) and not os.path.exists(mod_init): with open(mod_init, 'w') as fp: fp.write(NAMESPACE_PACKAGE_INIT)
python
package tech.quantit.northstar.common; import java.util.Collection; public interface IMessageHandlerManager { void addHandler(MessageHandler handler); Collection<MessageHandler> getHandlers(); }
java
import { createAction } from 'redux-actions'; export const GET_NEW_QUIZ = 'api/newQuiz/GET_NEW_QUIZ'; export const GET_NEW_QUIZ_SUCCESS = 'api/newQuiz/GET_NEW_QUIZ_SUCCESS'; export const GET_NEW_QUIZ_FAILURE = 'api/newQuiz/GET_NEW_QUIZ_FAILURE'; export const getNewQuiz = createAction(GET_NEW_QUIZ); export const getNewQuizSuccess = createAction(GET_NEW_QUIZ_SUCCESS); export const getNewQuizFailure = createAction(GET_NEW_QUIZ_FAILURE);
javascript
{ "extension_name": { "description": "Extension name", "message": "Saladict, o Caracteristică-Bogat Inline Traducător. Chrome / Firefox Extension." }, "extension_short_name": { "description": "Extension short name", "message": "Saladict" }, "extension_description": { "description": "Description of extension", "message": "Saladict este un profesionist cuvânt-traducere extensie, creat pentru cross-lectură. E mare număr de autoritate dicționare acoperi engleză, franceză, Japoneză, și spaniolă, și sprijin complex de procesare de text, pagini web traducere, cuvânt carti si PDF, de navigare." }, "command_toggle_active": { "message": "Comutare linie traducator" }, "command_toggle_instant": { "message": "Comuta instant de captare" }, "command_open_quick_search": { "message": "A deschide sau a evidenția independent dict panou" }, "command_open_google": { "message": "Deschide Google Translate" }, "command_open_youdao": { "message": "Deschide Youdao Traduce" }, "command_open_pdf": { "message": "Deschide PDF-ul curent în Saladict" }, "command_search_clipboard": { "message": "Căutare conținutul clipboard-ului în Independent Panou" } }
json
use serde::{Deserialize, Serialize}; mod room_member_count_is; pub use room_member_count_is::{ComparisonOperator, RoomMemberCountIs}; /// A condition that must apply for an associated push rule's action to be taken. #[derive(Clone, Debug, Deserialize, Serialize)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[serde(tag = "kind", rename_all = "snake_case")] pub enum PushCondition { /// This is a glob pattern match on a field of the event. EventMatch { /// The dot-separated field of the event to match. key: String, /// The glob-style pattern to match against. /// /// Patterns with no special glob characters should be treated as having asterisks /// prepended and appended when testing the condition. pattern: String, }, /// This matches unencrypted messages where `content.body` contains the owner's display name in /// that room. ContainsDisplayName, /// This matches the current number of members in the room. RoomMemberCount { /// The condition on the current number of members in the room. is: RoomMemberCountIs, }, /// This takes into account the current power levels in the room, ensuring the sender of the /// event has high enough power to trigger the notification. SenderNotificationPermission { /// The field in the power level event the user needs a minimum power level for. /// /// Fields must be specified under the `notifications` property in the power level event's /// `content`. key: String, }, } #[cfg(test)] mod tests { use js_int::uint; use matches::assert_matches; use serde_json::{from_value as from_json_value, json, to_value as to_json_value}; use super::{PushCondition, RoomMemberCountIs}; #[test] fn serialize_event_match_condition() { let json_data = json!({ "key": "content.msgtype", "kind": "event_match", "pattern": "m.notice" }); assert_eq!( to_json_value(&PushCondition::EventMatch { key: "content.msgtype".into(), pattern: "m.notice".into(), }) .unwrap(), json_data ); } #[test] fn serialize_contains_display_name_condition() { assert_eq!( to_json_value(&PushCondition::ContainsDisplayName).unwrap(), json!({ "kind": "contains_display_name" }) ); } #[test] fn serialize_room_member_count_condition() { let json_data = json!({ "is": "2", "kind": "room_member_count" }); assert_eq!( to_json_value(&PushCondition::RoomMemberCount { is: RoomMemberCountIs::from(uint!(2)) }) .unwrap(), json_data ); } #[test] fn serialize_sender_notification_permission_condition() { let json_data = json!({ "key": "room", "kind": "sender_notification_permission" }); assert_eq!( json_data, to_json_value(&PushCondition::SenderNotificationPermission { key: "room".into() }) .unwrap() ); } #[test] fn deserialize_event_match_condition() { let json_data = json!({ "key": "content.msgtype", "kind": "event_match", "pattern": "m.notice" }); assert_matches!( from_json_value::<PushCondition>(json_data).unwrap(), PushCondition::EventMatch { key, pattern } if key == "content.msgtype" && pattern == "m.notice" ); } #[test] fn deserialize_contains_display_name_condition() { assert_matches!( from_json_value::<PushCondition>(json!({ "kind": "contains_display_name" })).unwrap(), PushCondition::ContainsDisplayName ); } #[test] fn deserialize_room_member_count_condition() { let json_data = json!({ "is": "2", "kind": "room_member_count" }); assert_matches!( from_json_value::<PushCondition>(json_data).unwrap(), PushCondition::RoomMemberCount { is } if is == RoomMemberCountIs::from(uint!(2)) ); } #[test] fn deserialize_sender_notification_permission_condition() { let json_data = json!({ "key": "room", "kind": "sender_notification_permission" }); assert_matches!( from_json_value::<PushCondition>(json_data).unwrap(), PushCondition::SenderNotificationPermission { key } if key == "room" ); } }
rust
<filename>sdks/js/http_client/v1/src/model/V1Hook.js<gh_stars>0 // Copyright 2018-2021 Polyaxon, Inc. // // 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. /** * Polyaxon SDKs and REST API specification. * Polyaxon SDKs and REST API specification. * * The version of the OpenAPI document: 1.5.2 * Contact: <EMAIL> * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import ApiClient from '../ApiClient'; import V1Param from './V1Param'; import V1Statuses from './V1Statuses'; /** * The V1Hook model module. * @module model/V1Hook * @version 1.5.2 */ class V1Hook { /** * Constructs a new <code>V1Hook</code>. * @alias module:model/V1Hook */ constructor() { V1Hook.initialize(this); } /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj) { } /** * Constructs a <code>V1Hook</code> from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/V1Hook} obj Optional instance to populate. * @return {module:model/V1Hook} The populated <code>V1Hook</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new V1Hook(); if (data.hasOwnProperty('connection')) { obj['connection'] = ApiClient.convertToType(data['connection'], 'String'); } if (data.hasOwnProperty('trigger')) { obj['trigger'] = V1Statuses.constructFromObject(data['trigger']); } if (data.hasOwnProperty('hub_ref')) { obj['hub_ref'] = ApiClient.convertToType(data['hub_ref'], 'String'); } if (data.hasOwnProperty('conditions')) { obj['conditions'] = ApiClient.convertToType(data['conditions'], 'String'); } if (data.hasOwnProperty('params')) { obj['params'] = ApiClient.convertToType(data['params'], {'String': V1Param}); } if (data.hasOwnProperty('presets')) { obj['presets'] = ApiClient.convertToType(data['presets'], ['String']); } if (data.hasOwnProperty('disableDefaults')) { obj['disableDefaults'] = ApiClient.convertToType(data['disableDefaults'], 'Boolean'); } } return obj; } } /** * @member {String} connection */ V1Hook.prototype['connection'] = undefined; /** * @member {module:model/V1Statuses} trigger */ V1Hook.prototype['trigger'] = undefined; /** * @member {String} hub_ref */ V1Hook.prototype['hub_ref'] = undefined; /** * @member {String} conditions */ V1Hook.prototype['conditions'] = undefined; /** * @member {Object.<String, module:model/V1Param>} params */ V1Hook.prototype['params'] = undefined; /** * @member {Array.<String>} presets */ V1Hook.prototype['presets'] = undefined; /** * @member {Boolean} disableDefaults */ V1Hook.prototype['disableDefaults'] = undefined; export default V1Hook;
javascript
import React, { Component, PropTypes } from 'react'; export default class Popups extends Component { componentWillReceiveProps(nextProps){ if(nextProps.popupsQue.length && nextProps.popupsQue.length !== this.props.popupsQue.length){ this.props.showPopup(nextProps.popupsQue[0]) } } render(){ return <div className="popups-container" style={{display: this.props.popupsQue.length ? "block" : "none"}}> {this.props.popups.showPopap1 && <div className="popups" style={{ backgroundColor:"red" }}> Popup 1 <button onClick={this.props.closePopup}>Close Popup</button> </div>} {this.props.popups.showPopap2 && <div className="popups" style={{ backgroundColor:"blue" }}> Popup 2 <button onClick={this.props.closePopup}>Close Popup</button> </div>} {this.props.popups.showPopap3 && <div className="popups" style={{ backgroundColor:"green" }}> Popup 3 <button onClick={this.props.closePopup}>Close Popup</button> </div> } </div> } }
javascript
<filename>sdk/devtestlabs/mgmt-v2018_09_15/src/main/java/com/microsoft/azure/management/devtestlabs/v2018_09_15/implementation/RdpConnectionImpl.java /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.devtestlabs.v2018_09_15.implementation; import com.microsoft.azure.management.devtestlabs.v2018_09_15.RdpConnection; import com.microsoft.azure.arm.model.implementation.WrapperImpl; class RdpConnectionImpl extends WrapperImpl<RdpConnectionInner> implements RdpConnection { private final DevTestLabsManager manager; RdpConnectionImpl(RdpConnectionInner inner, DevTestLabsManager manager) { super(inner); this.manager = manager; } @Override public DevTestLabsManager manager() { return this.manager; } @Override public String contents() { return this.inner().contents(); } }
java
// Export everything for centralized imports. export * from './Entity' export * from './EntityManager'
typescript
<filename>src/app/login/auth-guard.service.ts import {Injectable} from '@angular/core'; import {Http} from '@angular/http'; import {CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot} from '@angular/router'; import {AuthService} from './auth.service'; import Util from '../common/util' @Injectable() export class AuthGuard implements CanActivate { constructor(private http: Http, private authService: AuthService, private router: Router) { } canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean> { let url: string = state.url; return this.checkLogin(url); } canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean> { return this.canActivate(route, state); } checkLogin(url: string): Promise<boolean> { let checkLogUrl = Util.PROD_CTX + '/checkLogin'; return this.http.get(checkLogUrl) .toPromise().then(response => { let result = response.json(); let isLogin = false; if (result.isLogin) { this.authService.isLoggedIn = true; isLogin = true; this.authService.userInfo = result.user; } else { this.authService.isLoggedIn = false; this.authService.userInfo = {}; this.authService.redirectUrl = url; // Navigate to the login page with extras this.router.navigate(['/login']); } return isLogin; }) .catch(()=>{ Util.showMessage('当前用户登录状态已失效,请重新登录','info'); this.router.navigate(['/login']); }); } }
typescript
{"name":"pad-stdio","version":"1.0.0","description":"Pad stdout and stderr","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/pad-stdio.git"},"author":{"name":"<NAME>","email":"<EMAIL>","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["pad","indent","cli","format","string","stdio","stdout","stderr"],"dependencies":{"lpad":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"553688a2db7bfea362850fda4cedda9e53b5836e","bugs":{"url":"https://github.com/sindresorhus/pad-stdio/issues"},"homepage":"https://github.com/sindresorhus/pad-stdio","_id":"pad-stdio@1.0.0","_shasum":"79b282ae258e587f695dbd0381914362c0c98fcb","_from":"pad-stdio@>=1.0.0 <2.0.0","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"<EMAIL>"},"maintainers":[{"name":"sindresorhus","email":"<EMAIL>"}],"dist":{"shasum":"79b282ae258e587f695dbd0381914362c0c98fcb","tarball":"http://registry.npmjs.org/pad-stdio/-/pad-stdio-1.0.0.tgz"},"directories":{},"_resolved":"https://registry.npmjs.org/pad-stdio/-/pad-stdio-1.0.0.tgz","readme":"ERROR: No README data found!"}
json
<filename>app/src/main/java/github/yaa110/piclice/fragment/SliceDialog.java package github.yaa110.piclice.fragment; import android.app.DialogFragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.widget.EditText; import android.widget.SeekBar; import android.widget.TextView; import github.yaa110.piclice.R; @SuppressWarnings("UnusedDeclaration") public class SliceDialog extends DialogFragment { private SelectListener listener; private int scale_it = 100; public SliceDialog() {} public static SliceDialog newInstance(SelectListener listener) { SliceDialog instance = new SliceDialog(); instance.setOnSelectListener(listener); return instance; } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Nullable @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { getDialog().getWindow().requestFeature(Window.FEATURE_NO_TITLE); getDialog().setCanceledOnTouchOutside(true); View view = inflater.inflate(R.layout.dialog_slice, container); SeekBar seekBar = (SeekBar) view.findViewById(R.id.resize); final TextView resize_txt = (TextView) view.findViewById(R.id.resize_txt); view.findViewById(R.id.two).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { dismiss(); listener.onSelect(2, scale_it); } }); view.findViewById(R.id.three).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { dismiss(); listener.onSelect(3, scale_it); } }); final EditText more_number = (EditText) view.findViewById(R.id.more_number); final View invalid = view.findViewById(R.id.invalid); view.findViewById(R.id.five).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { getDialog().findViewById(R.id.counters).setVisibility(View.GONE); getDialog().findViewById(R.id.more).setVisibility(View.VISIBLE); } }); view.findViewById(R.id.done).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { try { int count = Integer.parseInt(more_number.getText().toString()); if (count > 0) { dismiss(); listener.onSelect(count, scale_it); } else { invalid.setVisibility(View.VISIBLE); } } catch (Exception ignored) { invalid.setVisibility(View.VISIBLE); } } }); seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { @Override public void onProgressChanged(SeekBar seekBar, int i, boolean b) { resize_txt.setText("Size: " + (i + 10) + "%"); scale_it = i + 10; } @Override public void onStartTrackingTouch(SeekBar seekBar) { } @Override public void onStopTrackingTouch(SeekBar seekBar) { } }); return view; } public void setOnSelectListener(SelectListener listener) { this.listener = listener; } public interface SelectListener { public void onSelect(int total, int scale); } }
java
<gh_stars>1-10 {"packages":{"wpackagist-plugin\/poker-rakeback-calculator-widget":{"0.1":{"name":"wpackagist-plugin\/poker-rakeback-calculator-widget","version":"0.1","version_normalized":"0.1.0.0","uid":260623,"dist":{"type":"zip","url":"https:\/\/downloads.wordpress.org\/plugin\/poker-rakeback-calculator-widget.zip?timestamp=1295536318"},"source":{"type":"svn","url":"https:\/\/plugins.svn.wordpress.org\/poker-rakeback-calculator-widget\/","reference":"trunk"},"homepage":"https:\/\/wordpress.org\/plugins\/poker-rakeback-calculator-widget\/","require":{"composer\/installers":"~1.0"},"type":"wordpress-plugin"},"dev-trunk":{"name":"wpackagist-plugin\/poker-rakeback-calculator-widget","version":"dev-trunk","version_normalized":"9999999-dev","uid":260624,"time":"2011-01-20 15:11:58","dist":{"type":"zip","url":"https:\/\/downloads.wordpress.org\/plugin\/poker-rakeback-calculator-widget.zip?timestamp=1295536318"},"source":{"type":"svn","url":"https:\/\/plugins.svn.wordpress.org\/poker-rakeback-calculator-widget\/","reference":"trunk"},"homepage":"https:\/\/wordpress.org\/plugins\/poker-rakeback-calculator-widget\/","require":{"composer\/installers":"~1.0"},"type":"wordpress-plugin"}}}}
json
{"h":[{"d":[{"s":["`milingod~"],"e":["`Ma~`lingod~ `no~ `pa~`adada~`ay~ `a~ `kawas~ `koya~ `adada~`ay~.The gods of sickness are gathered around that sick person.病魔們覬覦圍繞着病人"],"f":"to gather to look at something interesting圍觀,觀看,觀望"}]}],"t":"lingod"}
json
{ "id": "nu6rcz", "title": "What application can I build with rust.", "selftext": "I have been learning the rust language for a while now using the Rust book. I understand that rust is so perfomant in building application backends, servers, embedded systems. How can I go about building web application backend using rust? Are there any framework for web apps in rust or I'll have to write everything from scratch?" }
json
Most of the time, volcanoes are quiet. When they do become restless, the people living around them are, understandably, interested in what that unrest might mean. Sometimes that unrest leads to an eruption that can impact people, property and economies on a local to global scale. Most of the time, the unrest will lead to nothing beyond a period where the volcano shows signs that something is happening deep beneath our feet. However, trying to tell people how severe the restlessness is and what level of concern you should have can be very difficult. Many volcano monitoring agencies try using volcanic alert statuses that get at how likely an eruption might be and in what timescales (months? days? hours?) Those alert statuses tend to be defined by volcanologists and seismologists for the monitoring agency who try to look at the data in hand of the unrest and project what they think the future might hold. There is a problem with that model: it is mostly a qualitative assessment. We see signs of unrest like earthquakes, increasing gas emissions, deformation of the volcano's surface, increased temperature at hot springs – all signs that things are heating up under the volcano. That heat likely means that new magma is making its way closer to the surface, but that magma may or may not erupt. Volcano monitoring scientists will look at past activity at the volcano (or volcano's like it) and try to place a level of concern. Yet, no fixed international model exists to say that one country's Level 2 (or yellow or moderate) alert means the same as another country's (or another country's). Enter the idea of a Volcanic Unrest Index (VUI). In a recent paper in Bulletin of Volcanology by Sally Potter and other geologists for New Zealand's GNS Science, they have attempted to develop a streamlined worksheet that using semi-quantitative data of various forms of unrest (see above) to calculate a level of unrest on the VUI, from 0 (no unrest) to 4 (heightened unrest). New Zealand is filled with volcanoes that show various signs of unrest on a regular basis and many of these volcanoes are in the middle of populated area or are popular tourist destination. Being able to clearly articulate to the public what is the level of unrest based on a fixed set of simple parameters would be very useful to better communicate volcanic risk. It doesn't imply that volcanologists know exactly what will happened, but rather gives people a sense of just how restless things are. The VUI using a whole suite of different parameters that fall into three broad categories: local earthquakes (near the volcano), local deformation and geothermal systems/degassing. These cover the main ways that new magma rising under a volcano might manifest at the surface. Increasing earthquakes and a change to the types of earthquakes that suggest magma movement, but in the VUI, the number and longevity of these events can be used to rank how much unrest there is. Same can be said for changing in the elevation of the volcano's surface as magma causes it to inflate or increases in carbon dioxide emissions. Trying to create a matrix that matches different parameters all for a VUI for the volcano. Now, you need to think about the time scales of unrest, because some volcanoes are likely almost always at a low level of unrest, so where do you start counting new unrest? This allows you to try to determine if there is new unrest going on or merely small changes in the background. As with all scales, determining what is expected versus what is unexpected – and over what range of time and space is important. However, the end result is the same: a numerical value for how much unrest is occurring. Think about it like know the category of a hurricane – people need to know if the hurricane is category 1 or category 4 as to better prepare for the potential impact. If you're living near a volcano, a VUI of 1 would mean a different level of preparedness than VUI 3. Specific values of unrest would be valuable for mitigation and hazard planning for communities, so that everyone knows and understands the scale at which unrest is discussed. Hopefully, the VUI catches on with volcano monitoring agencies worldwide so that we can discuss what is going on at these volcanoes with the same language and understanding of what is happening. Volcano monitoring and hazard planning has come a long way in the past 30 years, but clear communication of volcanic hazards and unrest might be the next big step needed to keep more people safe from volcanic danger.
english
{ "aliases": [ "/integrations/splunkhealth" ], "categories": [ "data store", "log collection" ], "creates_events": false, "display_name": "Splunk Health", "guid": "f539ffb1-7c92-4bc1-b92b-11a14dcf5048", "is_public": true, "maintainer": "<EMAIL>", "manifest_version": "1.0.0", "metric_prefix": "splunk_health.", "metric_to_check": "splunk_health.connections", "name": "splunk_health", "process_signatures": [], "public_title": "StackState-Splunk Health Integration", "short_description": "StackState check for converting splunk searches into StackState health.", "support": "core", "supported_os": [ "linux", "mac_os", "windows" ], "type": "check" }
json
use criterion::{black_box, criterion_group, criterion_main, Criterion}; use html::tokenizer::Tokenizer; use html::tree_builder::TreeBuilder; fn html_parsing_benchmark(c: &mut Criterion) { let html = include_str!("./purecss_gaze.html"); c.bench_function("parse_purecss_gaze", |b| { b.iter(|| { let tokenizer = Tokenizer::new(black_box(html.chars())); let tree_builder = TreeBuilder::new(tokenizer); tree_builder.run(); }) }); } criterion_group!(benches, html_parsing_benchmark); criterion_main!(benches);
rust
# /usr/bin/env python3.5 # -*- mode: python -*- # ============================================================================= # @@-COPYRIGHT-START-@@ # # Copyright (c) 2017-2018, Qualcomm Innovation Center, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # 3. Neither the name of the copyright holder nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # # SPDX-License-Identifier: BSD-3-Clause # # @@-COPYRIGHT-END-@@ # ============================================================================= """ code examples for visualization APIs """ import copy from decimal import Decimal import torch from torchvision import models import aimet_common.defs import aimet_torch.defs import aimet_torch.utils from aimet_common.utils import start_bokeh_server_session from aimet_torch.compress import ModelCompressor from aimet_torch.visualize_serialized_data import VisualizeCompression from aimet_torch.cross_layer_equalization import equalize_model from aimet_torch.examples.imagenet_dataloader import ImageNetDataLoader from aimet_torch.examples.supervised_classification_pipeline import \ create_stand_alone_supervised_classification_evaluator from aimet_torch.utils import IterFirstX from aimet_torch import batch_norm_fold from aimet_torch import visualize_model image_dir = './data/tiny-imagenet-200' image_size = 224 batch_size = 5 num_workers = 1 def evaluate(model, early_stopping_iterations, use_cuda): """ :param model: model to be evaluated :param early_stopping_iterations: if None, data loader will iterate over entire validation data :return: top_1_accuracy on validation data """ data_loader = ImageNetDataLoader(image_dir, image_size, batch_size, num_workers) if early_stopping_iterations is not None: # wrapper around validation data loader to run only 'X' iterations to save time val_loader = IterFirstX(data_loader.val_loader, early_stopping_iterations) else: # iterate over entire validation data set val_loader = data_loader.val_loader criterion = torch.nn.CrossEntropyLoss().cuda() evaluator = create_stand_alone_supervised_classification_evaluator(model, criterion, use_cuda=use_cuda) evaluator.run(val_loader) return evaluator.state.metrics['top_1_accuracy'] def visualize_changes_in_model_after_and_before_cle(): """ Code example for visualizating model before and after Cross Layer Equalization optimization """ visualization_url, process = start_bokeh_server_session(8002) model = models.resnet18(pretrained=True).to(torch.device('cpu')) model = model.eval() model_copy = copy.deepcopy(model) batch_norm_fold.fold_all_batch_norms(model_copy, (1, 3, 224, 224)) equalize_model(model, (1, 3, 224, 224)) visualize_model.visualize_changes_after_optimization(model_copy, model, visualization_url) def visualize_weight_ranges_model(): """ Code example for model visualization """ visualization_url, process = start_bokeh_server_session(8002) model = models.resnet18(pretrained=True).to(torch.device('cpu')) model = model.eval() batch_norm_fold.fold_all_batch_norms(model, (1, 3, 224, 224)) # Usually it is observed that if we do BatchNorm fold the layer's weight range increases. # This helps in visualizing layer's weight visualize_model.visualize_weight_ranges(model, visualization_url) def visualize_relative_weight_ranges_model(): """ Code example for model visualization """ visualization_url, process = start_bokeh_server_session(8002) model = models.resnet18(pretrained=True).to(torch.device('cpu')) model = model.eval() batch_norm_fold.fold_all_batch_norms(model, (1, 3, 224, 224)) # Usually it is observed that if we do BatchNorm fold the layer's weight range increases. # This helps in finding layers which can be equalized to get better performance on hardware visualize_model.visualize_relative_weight_ranges_to_identify_problematic_layers(model, visualization_url) def model_compression_with_visualization(): """ Code example for compressing a model with a visualization url provided. """ visualization_url, process = start_bokeh_server_session(8002) ImageNetDataLoader(image_dir, image_size, batch_size, num_workers) input_shape = (1, 3, 224, 224) model = models.resnet18(pretrained=True).to(torch.device('cuda')) modules_to_ignore = [model.conv1] greedy_params = aimet_common.defs.GreedySelectionParameters(target_comp_ratio=Decimal(0.65), num_comp_ratio_candidates=10, saved_eval_scores_dict= '../data/resnet18_eval_scores.pkl') auto_params = aimet_torch.defs.SpatialSvdParameters.AutoModeParams(greedy_params, modules_to_ignore=modules_to_ignore) params = aimet_torch.defs.SpatialSvdParameters(aimet_torch.defs.SpatialSvdParameters.Mode.auto, auto_params, multiplicity=8) # If no visualization URL is provided, during model compression execution no visualizations will be published. ModelCompressor.compress_model(model=model, eval_callback=evaluate, eval_iterations=5, input_shape=input_shape, compress_scheme=aimet_common.defs.CompressionScheme.spatial_svd, cost_metric=aimet_common.defs.CostMetric.mac, parameters=params, visualization_url=None) comp_ratios_file_path = './data/greedy_selection_comp_ratios_list.pkl' eval_scores_path = '../data/resnet18_eval_scores.pkl' # A user can visualize the eval scores dictionary and optimal compression ratios by executing the following code. compression_visualizations = VisualizeCompression(visualization_url) compression_visualizations.display_eval_scores(eval_scores_path) compression_visualizations.display_comp_ratio_plot(comp_ratios_file_path)
python
use serde::{Deserialize, Serialize}; use std::collections::HashMap; #[derive(Serialize, Deserialize)] pub struct Config { pub local_src_dir: String, hosts: HashMap<String, BaseUrlConfig>, } #[derive(Serialize, Deserialize)] struct BaseUrlConfig { #[serde(default)] fork_resolution: ForkResolutionMethod, } #[derive(Serialize, Deserialize)] #[serde(tag = "type")] enum ForkResolutionMethod { Github { api_token: String }, None, } impl Default for ForkResolutionMethod { fn default() -> Self { Self::None } } impl Config { pub fn get_github_api_token(&self, host: &str) -> Result<String, &str> { match self.hosts.get(host) { Some(base_url_config) => match &base_url_config.fork_resolution { ForkResolutionMethod::Github { api_token } => Ok(api_token.to_string()), _ => Err("not github url"), }, None => Err("not github url"), } } }
rust
Bipasha Basu are an eternal optimist, and events of the year will further strengthen Bipasha Basu's optimistic instincts. Bipasha Basu can do reasonably well if Bipasha Basu time Bipasha Basu's investments intelligently based on the best periods hinted for Bipasha Basu's sign. All round cooperation and happiness can be the reward from Bipasha Basu's loved ones and associates, victory over opponents and pleasant functions such as marriage or romantic situations parties are also the likely outcomes. Family atmosphere will be quite satisfactory. A visit to a holy place of Bipasha Basu's interest is on the charts. Bipasha Basu will, however, have a romantic and charismatic attitude, and this will help Bipasha Basu maintain cordial relations with the ones Bipasha Basu know and establish contacts with the ones Bipasha Basu don't. There is certain amount of wish fulfillment which generally means gains in dealings or promotions in the hierarchy of the organization Bipasha Basu work for. Acqusition of a new vehicle or buying new land is on the cards. Overall, the period is very good. The great energy Bipasha Basu radiate will definitely attract lots of supportive people in Bipasha Basu's life. Bipasha Basu's rivals will not dare to face Bipasha Basu. Financially' it is a wonderful period for Bipasha Basu. Bipasha Basu are learning new ways of maintaining harmony in Bipasha Basu's individuality at work and around friends and family. Bipasha Basu will reap great rewards as Bipasha Basu learn to expand Bipasha Basu's communication skills and be true to Bipasha Basu's inner self and Bipasha Basu's own personal needs. Bipasha Basu's service/job conditions will definitely improve. Bipasha Basu will get all kind of support from Bipasha Basu's coworkers and subordinates. Bipasha Basu may purchase some land or machinery in this period. Little care regarding Bipasha Basu's health is required. There will be good chances of entering into profitable deals. If Bipasha Basu have applied for loans, then Bipasha Basu might get finances. Minor health ailment could also be possible. Bipasha Basu will be able to balance professional and domestic commitments intelligently and give Bipasha Basu's best to both these vital aspects of life. Bipasha Basu's cherished desires will be fulfilled with difficulty but will ultimately bring Bipasha Basu prosperity fame and good income or profits. Bipasha Basu will emerge as winner in competition and successful in interviews.
english
package frame import ( "strconv" "github.com/lestrrat-go/xslate/internal/stack" "github.com/pkg/errors" ) // Frame represents a single stack frame. It has a reference to the main // stack where the actual data resides. Frame is just a convenient // wrapper to remember when the Frame started type Frame struct { stack stack.Stack mark int } // New creates a new Frame instance. func New(s stack.Stack) *Frame { return &Frame{ mark: 0, stack: s, } } func (f Frame) Stack() stack.Stack { return f.stack } // SetMark sets the offset from which this frame's variables may be stored func (f *Frame) SetMark(v int) { f.mark = v } // Mark returns the current mark index func (f *Frame) Mark() int { return f.mark } // DeclareVar puts a new variable in the stack, and returns the // index where it now resides func (f *Frame) DeclareVar(v interface{}) int { f.stack.Push(v) return f.stack.Size() - 1 } // GetLvar gets the frame local variable at position i func (f *Frame) GetLvar(i int) (interface{}, error) { v, err := f.stack.Get(i) if err != nil { return nil, errors.Wrap(err, "failed to get local variable at "+strconv.Itoa(i+f.mark)) } return v, nil } // SetLvar sets the frame local variable at position i func (f *Frame) SetLvar(i int, v interface{}) { f.stack.Set(i, v) } // LastLvarIndex returns the index of the last element in our stack. func (f *Frame) LastLvarIndex() int { return f.stack.Size() }
go
Radiation therapy, also called X-ray therapy, uses high levels of radiation to kill prostate cancer cells or keep them from growing and dividing while minimizing damage to healthy cells. Radiation can be given from a machine outside the body and directed at the prostate (external radiation). Or a surgeon can place radioactive materials into the tumor (internal radiation or brachytherapy). These radioactive materials can be temporary (removed after the proper dose is reached) or permanent. Who Might Benefit From Radiation Therapy? Your doctor might recommend radiation therapy in several situations. It can be the first treatment for cancer that hasn’t spread outside your prostate gland and is “low grade.” The grade is a number that tells you how abnormal your cancer cells look under a microscope. The lower the grade, the more normal-looking your cancer cells are – and, in general, the more likely your cancer is slow-growing. Radiation, along with hormone therapy, might also be part of your first cancer treatment if the disease has spread beyond your prostate into nearby tissues. If you get surgery for prostate cancer, your doctor might recommend you get radiation therapy afterward, too. It can be helpful if the surgeon couldn’t remove all of the cancer or if the cancer comes back in the area of your prostate. If you have advanced prostate cancer, radiation could help keep the disease under control for as long as possible. It can also help prevent or ease symptoms that the cancer might cause. What Happens on Treatment Days? If you get external radiation therapy, you’ll need to get regular sessions (generally 5 days per week) during a period of about 5 to 8 weeks. For each treatment, the radiation therapist will help you onto the treatment table and into the correct position. Once the therapist is sure you’re positioned well, they’ll leave the room and start the radiation treatment. They’ll watch you closely during the treatment. Cameras and an intercom are in the treatment room, so the therapist can always see and hear you. Try to stay still and relaxed during treatment. Let the therapist know if you have any problems or you feel uncomfortable. They’ll be in and out of the room to reposition the machine and change your position. The treatment machine won’t touch you, and you’ll feel nothing during the treatment. Once the treatment is done, the therapist will help you off the treatment table. The radiation therapist will take a port film, also known as an X-ray, on the first day of treatment and about every week thereafter. Port films verify that you’re being positioned accurately during your treatments. Port films don’t provide diagnostic information, so radiation therapists can’t learn about your progress from them. But these films do help the therapists make sure they’re delivering radiation to the precise area that needs treatment. Why Are There Marks on My Skin? Your radiation therapist will make small marks resembling freckles on your skin along the treatment area. These marks provide targets for the treatment and are a semi-permanent outline of your treatment area. Don’t try to wash these marks off or retouch them if they fade. The therapist will re-mark the treatment area when necessary. Will My Diet Affect My Treatment? Yes. Good nutrition is an important part of recovering from the side effects of radiation therapy. When you eat well, you have the energy to do the activities you want to do, and your body is able to heal and fight infection. Most importantly, good nutrition can give you a sense of well-being. Since eating when you don't feel well can be hard, let your treatment team know if you’re having trouble. You could also consider working with a dietitian. They can help make sure that you’re getting enough nutrition during your radiation therapy. These tips might help while you’re going through treatment: Try new foods. Things that you haven’t liked in the past may taste better to you during treatment. Power up with plant-based foods. They can be healthy and tasty substitutes for meat. So for instance, swap out a burger or chicken for beans and peas at a few meals each week. Eat a rainbow of fruit and vegetables. Get your fill of these healthy powerhouses every day. Good options include spinach, raspberries, yellow peppers, carrots, and cauliflower. Limit or avoid unhealthy choices. That includes red or processed meats, sugary foods and drinks, and processed foods. Aim to stay at a healthy weight during treatment. You can ask your doctor what your ideal range on the scale should be. It’s normal to have small weight changes while you go through treatment. Try to stay physically active. If you’re not active now, you can ask your doctor how to move more and exercise safely. What Side Effects Will I Have? During your treatment, radiation must pass through your skin. You may notice some skin changes in the area exposed to radiation. Your skin may become red, swollen, warm, and sensitive, as if you have a sunburn. It may peel or become moist and tender. Depending on the dose of radiation you receive, you may notice hair loss or less sweat within the treated area. These skin reactions are common and temporary. They’ll fade gradually within 4 to 6 weeks after you finish your treatment. If you notice any skin changes outside the treated area, tell your doctor or nurse. Long-term side effects, which can last up to a year or longer after treatment, may include: Other possible side effects of external beam radiation therapy are: Tiredness. Your fatigue might not lift until a few weeks or months after you finish getting radiation therapy. Lymphedema. If radiation therapy damages the lymph nodes around your prostate gland, the fluid can build up in your legs or genital area. That can bring on swelling and pain. Physical therapy can usually treat lymphedema, but it might not go away completely. Bowel problems. Radiation can irritate your rectum and bring on a condition called radiation proctitis. You might get diarrhea, bloody stool, or have trouble controlling when you poop. Most of these side effects fade eventually. Your doctor may tell you to follow a special diet during treatment to minimize bowel trouble. Urinary problems. Radiation can irritate your bladder, and that could lead to a condition called radiation cystitis. You might: Problems like these usually get better over time, but for some people they don’t go away. There’s also a chance you’ll have trouble controlling your urine, or it may leak or dribble. That’s part of a condition called urinary incontinence. It’s a side effect that happens less often with radiation than after surgery, though. One rare side effect of radiation therapy for the prostate is that the tube that carries urine from your bladder out of your body, called the urethra, could become too narrow or close off. If that happens, you’ll need more treatment to open it back up. Erection problems. These can include impotence, or trouble getting or maintaining an erection. If you get erection problems after radiation therapy, they usually develop slowly over time rather than right away. The older you are, the higher your chances for trouble getting erections. Your doctor has treatments, including medicines, that can often help. Keep these side effects in mind when you think about your treatment options. If you have any concerns, don't hesitate to speak up. And while you’re going through treatment, talk to your doctor about any side effects you have. Ask for ways to get relief. How Can I Reduce Skin Reactions? - Gently cleanse the treated area using lukewarm water and a mild soap such as Ivory, Dove, Neutrogena, Basis, Castile, or Aveeno Oatmeal Soap. Don’t rub. Pat your skin dry with a soft towel or use a hair dryer on a cool setting. - Try not to scratch or rub the treated area. - Don’t put any ointment, cream, lotion, or powder on the treated area unless your radiation oncologist or nurse has prescribed it. - Don’t wear tight-fitting clothing or clothes made from harsh fabrics like wool or corduroy. These fabrics can irritate the skin. Instead, choose clothes made from natural fibers like cotton. - Don’t apply medical tape or bandages to the treated area. - Don’t expose the treated area to extreme heat or cold. Avoid using an electric heating pad, hot water bottle, or ice pack. - Don’t expose the treated area to direct sunlight. That could intensify your skin reaction and lead to a severe sunburn. Choose a sunscreen of SPF 30 or higher. Protect the treated area from direct sunlight even after your course of treatment is over. Will Radiation Therapy Make Me Tired? Everyone has their own energy level, so radiation treatment will affect each person differently. People often feel fatigue (tiredness) after several weeks of treatment. For most, this fatigue is mild. But some people lose a lot of energy and need to change their daily routine. If your doctor thinks you should limit how active you are, they’ll discuss it with you. To minimize fatigue while you’re receiving radiation treatment: - Get enough rest. - Eat well-balanced, nutritious meals. - Pace yourself, and plan rest breaks throughout your day. What Is Conventional Radiation Therapy? This older type of radiation therapy uses 2-D “flat” X-ray images to guide and position radiation beams. Newer techniques that use 3-D images can help doctors deliver radiation more precisely to cancer cells while helping protect healthy cells. What Is 3D Conformal Radiation Therapy? It’s a procedure that uses a computer to make a three-dimensional picture of your tumor. It helps your treatment team deliver the highest possible dose of radiation to the tumor while minimizing the damage to normal tissue. 3D conformal radiation therapy uses CT-based treatment combined with three-dimensional images of a prostate tumor. CT is short for computed tomography, which uses X-rays to produce detailed pictures inside the body. So far, this technique has worked well for localized tumors such as prostate cancer limited to the prostate gland. - All patients have a CT scan specifically for radiation therapy treatment and planning. - The CT data is electronically transferred to the 3D treatment planning computer. - The doctor defines the area to be treated along with surrounding areas, like the bladder, rectum, bowel, and bones. - An optimal radiation beam and dose are analyzed using a 3D computer-generated model. - When the exact dose of radiation to the prostate is determined, the patient returns for a treatment simulation. - The simulation process transposes or maps the computer-generated plan to the patient. The doctor will review the treatment course and side effects with the patient. - You may have hair loss in the area of your body getting radiation. - Nausea and vomiting aren’t common unless you get radiation therapy on your upper belly area. - If you have mild fatigue, you might be able to stick to your normal routine during treatment, including working full time. - You may need to pee often, have a weak urine stream, or feel mild burning when you pee. - It’s possible to have diarrhea, though uncontrolled diarrhea is rare. Because the radiation beam passes through normal tissues -- like the rectum, bladder, and intestines -- on its way to the prostate, it kills some healthy cells. You may get diarrhea as a result. - Some possible long-term problems are proctitis (inflammation of the rectum) with bleeding, incontinence, and impotence. What Is Intensity-Modulated Radiotherapy (IMRT)? It’s an advanced approach to 3D conformal radiation therapy. The IMRT technique is very precise. It uses computer-generated images to plan and then deliver tightly focused radiation beams to prostate cancer tumors. It lets your treatment team vary the beam intensity to "paint" a precise radiation dose to the shape and depth of the tumor. It also reduces the harmful effects of doses on healthy tissue. Studies show that higher-dose rates delivered with IMRT techniques improve the rate of local tumor control. Other techniques that are being used or studied include: - Image-guided radiation therapy (IGRT). This uses radiation machines with built-in scanners that allow for minor adjustments before radiation is given. - Volumetric modulated arc therapy (VMAT). This delivers radiation quickly while beams rotate around the body. - Stereotactic body radiation therapy (SBRT). This uses advanced image-guided ways to deliver a large dose of radiation to a very specific place in the prostate. The entire treatment is usually done in just a few days. What Is Brachytherapy? This is a type of internal radiation. For this treatment, a surgeon places radioactive pellets (also called “seeds”) about the size of a grain of rice directly into your prostate. They use imaging tests to help them place the pellets correctly, and computer programs to figure out the exact dose of radiation you need. In general, getting brachytherapy alone is only an option for some people with early-stage prostate cancer that’s growing relatively slow. Brachytherapy plus external radiation might be an option if your cancer is more likely to grow outside your prostate gland. You get brachytherapy in a hospital operating room. Before the procedure, you’ll get anesthesia to either numb your body or help you sleep. You may need to stay in the hospital overnight. The two types of brachytherapy for prostate cancer are: Permanent brachytherapy. Your doctor may also call this “low dose rate” brachytherapy. The pellets give off low doses of radiation for weeks or months. They’re very small and rarely cause pain, so doctors usually leave them in your prostate after they stop giving off radiation. Temporary brachytherapy. Your doctor may also call this “high dose rate” brachytherapy. Doctors don’t use it as often as the permanent type. Temporary brachytherapy gives off higher doses of radiation for a short time. In general, you need up to four quick treatments over 2 days, and your treatment team removes the radioactive material each time. Some possible side effects of brachytherapy are: What Is Proton Beam Radiation Therapy? This type of therapy treats tumors with protons instead of X-ray radiation. It may be able to deliver more radiation specifically to a prostate cancer tumor with less damage to normal tissue. Proton beam therapy might be a safe treatment option when a doctor decides that using X-rays could be risky for a patient. But so far, research hasn’t shown that it works better than traditional radiation therapy against solid cancers in adults. The side effects of proton beam therapy are similar to the ones that other types of radiation treatment bring on. But since proton therapy may be less damaging to normal tissue, the side effects might be milder. After treatment, you may gradually have ones like: One of the disadvantages of proton therapy is that it might not be covered by all insurance companies. You’d need to check with your health plan to find out. Proton therapy also isn’t widely available. You can get it only at certain centers in the U.S. What Are Radiopharmaceutical Treatments? Radiopharmaceuticals, or medicinal radiocompounds, are a group of pharmaceutical drugs containing radioactive isotopes. They are used to treat patients diagnosed with castration-resistant metastatic prostate cancer as a method to help control the cancer and keep it from spreading further. Who can I contact if I have concerns about my treatment? Many hospitals and clinics have a staff social worker who can help you during your treatment. Check with your doctor to see if this is available to you. The social worker can discuss any emotional issues or other concerns about your treatment or your personal situation, and they can give you information about resources. They can also discuss housing or transportation needs if you need. People dealing with certain medical issues find it helpful to share experiences with others in the same situation. Your doctor can give you a list of support groups if you’re interested. Your social worker can offer more information about finding support, and you can look online for support group resources. What about follow-up care? After your radiation therapy sessions are complete, you’ll visit your doctor for regular follow-up exams and tests. Your doctor will tell you how often to schedule your follow-up appointments. You can also ask your doctor for a survivorship care plan. This outlines things like:
english
<gh_stars>1-10 # -*- coding: utf-8 -*- """ Wherever smart people work, doors are unlocked. -- <NAME> """ __title__ = 'social_tracker_library' __author__ = '<NAME>' from .collection import collection from .extractor import extractor from .query_expansion import query_expansion
python
<filename>src/main/java/com/github/chen0040/leetcode/day06/easy/RemoveDuplicatesFromSortedList.java package com.github.chen0040.leetcode.day06.easy; /** * Created by xschen on 1/8/2017. * * summary: * Given a sorted linked list, delete all duplicates such that each element appear only once. * * link: https://leetcode.com/problems/remove-duplicates-from-sorted-list/description/ */ public class RemoveDuplicatesFromSortedList { public class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public class Solution { public ListNode deleteDuplicates(ListNode head) { ListNode x = head; while(x != null) { ListNode x_next = x.next; while(x_next != null && x.val == x_next.val) { x_next = x_next.next; } x.next = x_next; x = x_next; } return head; } } }
java
Globally-acclaimed sand artist Sudarsan Pattnaik claims to have created the 'world's biggest' sand Santa face with message "World Peace" on Odisha's famous Puri beach. Pattnaik claimed he has created the 25 feet high and 50 ft wide sand Santa face with an aim to give the creation a place in the Limca book of World record. created in front of the Santa face on the beach, he said adding about 600 tonne of sand including coloured sand had been used for creating the huge structure. The master sculptor was assisted by 40 of his disciples at the Sudarsan Sand Art Institute of Puri and they took 35 hours to erect the mammoth structure. The sculpture will be on display till January 1, said Pattnaik.
english
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Tue Oct 19 17:29:55 KST 2010 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> C-Index </TITLE> <META NAME="date" CONTENT="2010-10-19"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="C-Index"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-2.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-4.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-3.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-3.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">K</A> <A HREF="index-11.html">L</A> <A HREF="index-12.html">M</A> <A HREF="index-13.html">N</A> <A HREF="index-14.html">O</A> <A HREF="index-15.html">P</A> <A HREF="index-16.html">R</A> <A HREF="index-17.html">S</A> <A HREF="index-18.html">T</A> <A HREF="index-19.html">V</A> <A HREF="index-20.html">W</A> <HR> <A NAME="_C_"><!-- --></A><H2> <B>C</B></H2> <DL> <DT><A HREF="../org/cloudata/core/tablet/TableSchema.html#CACHE_TYPE"><B>CACHE_TYPE</B></A> - Static variable in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/TableSchema.html" title="class in org.cloudata.core.tablet">TableSchema</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/AsyncCall.html#call(java.lang.String, org.cloudata.core.common.AsyncCallProtocol, int)"><B>call(String, AsyncCallProtocol, int)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/AsyncCall.html" title="class in org.cloudata.core.client">AsyncCall</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.html" title="class in org.cloudata.core.client"><B>Cell</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>Cloudata stores multiple values in a point of Row-Column.<DT><A HREF="../org/cloudata/core/client/Cell.html#Cell()"><B>Cell()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.html" title="class in org.cloudata.core.client">Cell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.html#Cell(org.cloudata.core.client.Cell.Key)"><B>Cell(Cell.Key)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.html" title="class in org.cloudata.core.client">Cell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.html#Cell(org.cloudata.core.client.Cell.Key, byte[])"><B>Cell(Cell.Key, byte[])</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.html" title="class in org.cloudata.core.client">Cell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.html#Cell(org.cloudata.core.client.Cell.Key, byte[], long)"><B>Cell(Cell.Key, byte[], long)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.html" title="class in org.cloudata.core.client">Cell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Key.html" title="class in org.cloudata.core.client"><B>Cell.Key</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>Cell.Key class<DT><A HREF="../org/cloudata/core/client/Cell.Key.html#Cell.Key()"><B>Cell.Key()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Key.html" title="class in org.cloudata.core.client">Cell.Key</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Key.html#Cell.Key(byte[])"><B>Cell.Key(byte[])</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Key.html" title="class in org.cloudata.core.client">Cell.Key</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Key.html#Cell.Key(java.lang.String)"><B>Cell.Key(String)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Key.html" title="class in org.cloudata.core.client">Cell.Key</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client"><B>Cell.Value</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>Cell value<DT><A HREF="../org/cloudata/core/client/Cell.Value.html#Cell.Value()"><B>Cell.Value()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client">Cell.Value</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Value.html#Cell.Value(byte[])"><B>Cell.Value(byte[])</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client">Cell.Value</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Value.html#Cell.Value(byte[], long)"><B>Cell.Value(byte[], long)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client">Cell.Value</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Value.html#Cell.Value(byte[], long, boolean)"><B>Cell.Value(byte[], long, boolean)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client">Cell.Value</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.html" title="class in org.cloudata.core.client"><B>CellFilter</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>RowFilter and CellFilter are normally used to get or scan for complex search condition<BR> Can't set CellValueMatcher with numOfVersions or timestamp<DT><A HREF="../org/cloudata/core/client/CellFilter.html#CellFilter()"><B>CellFilter()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.html" title="class in org.cloudata.core.client">CellFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.html#CellFilter(java.lang.String)"><B>CellFilter(String)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.html" title="class in org.cloudata.core.client">CellFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.html#CellFilter(java.lang.String, org.cloudata.core.client.Cell.Key)"><B>CellFilter(String, Cell.Key)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.html" title="class in org.cloudata.core.client">CellFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.html#CellFilter(java.lang.String, org.cloudata.core.client.Cell.Key, org.cloudata.core.client.Cell.Key)"><B>CellFilter(String, Cell.Key, Cell.Key)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.html" title="class in org.cloudata.core.client">CellFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.CellPage.html" title="class in org.cloudata.core.client"><B>CellFilter.CellPage</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>&nbsp;<DT><A HREF="../org/cloudata/core/client/CellFilter.CellPage.html#CellFilter.CellPage()"><B>CellFilter.CellPage()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.CellPage.html" title="class in org.cloudata.core.client">CellFilter.CellPage</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.CellPage.html#CellFilter.CellPage(int)"><B>CellFilter.CellPage(int)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.CellPage.html" title="class in org.cloudata.core.client">CellFilter.CellPage</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.CellPage.html#CellFilter.CellPage(int, org.cloudata.core.client.Cell.Key)"><B>CellFilter.CellPage(int, Cell.Key)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.CellPage.html" title="class in org.cloudata.core.client">CellFilter.CellPage</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.CellPage.html#CellFilter.CellPage(int, org.cloudata.core.client.Cell.Key, long)"><B>CellFilter.CellPage(int, Cell.Key, long)</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.CellPage.html" title="class in org.cloudata.core.client">CellFilter.CellPage</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellValueMatcher.html" title="interface in org.cloudata.core.client"><B>CellValueMatcher</B></A> - Interface in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>&nbsp;<DT><A HREF="../org/cloudata/core/client/CellValueMatcherInfo.html" title="class in org.cloudata.core.client"><B>CellValueMatcherInfo</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>&nbsp;<DT><A HREF="../org/cloudata/core/client/CellValueMatcherInfo.html#CellValueMatcherInfo()"><B>CellValueMatcherInfo()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellValueMatcherInfo.html" title="class in org.cloudata.core.client">CellValueMatcherInfo</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CellFilter.html#checkFilterParam()"><B>checkFilterParam()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CellFilter.html" title="class in org.cloudata.core.client">CellFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/RowFilter.html#checkFilterParam()"><B>checkFilterParam()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/RowFilter.html" title="class in org.cloudata.core.client">RowFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/TableSchemaMap.html#clear()"><B>clear()</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/TableSchemaMap.html" title="class in org.cloudata.core.tablet">TableSchemaMap</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/TabletLocationCache.html#clearAllCache()"><B>clearAllCache()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/TabletLocationCache.html" title="class in org.cloudata.core.client">TabletLocationCache</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/RowFilter.html#clearCellFilter()"><B>clearCellFilter()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/RowFilter.html" title="class in org.cloudata.core.client">RowFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/CloudataMapReduceUtil.html#clearMapReduce(java.lang.String)"><B>clearMapReduce(String)</B></A> - Static method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/CloudataMapReduceUtil.html" title="class in org.cloudata.core.parallel.hadoop">CloudataMapReduceUtil</A> <DD>Clear temporary library directory. <DT><A HREF="../org/cloudata/core/client/TabletLocationCache.html#clearTabletCache(java.lang.String, org.cloudata.core.tablet.TabletInfo)"><B>clearTabletCache(String, TabletInfo)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/TabletLocationCache.html" title="class in org.cloudata.core.client">TabletLocationCache</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/TabletLocationCache.html#clearTabletCache(java.lang.String, org.cloudata.core.client.Row.Key, org.cloudata.core.tablet.TabletInfo)"><B>clearTabletCache(String, Row.Key, TabletInfo)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/TabletLocationCache.html" title="class in org.cloudata.core.client">TabletLocationCache</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/DefaultDirectUploader.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/DefaultDirectUploader.html" title="class in org.cloudata.core.client">DefaultDirectUploader</A> <DD>Send data to DFS, and add data file to TabletServer. <DT><A HREF="../org/cloudata/core/client/DirectUploader.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/DirectUploader.html" title="class in org.cloudata.core.client">DirectUploader</A> <DD>Send data to DFS, and add data file to TabletServer. <DT><A HREF="../org/cloudata/core/client/scanner/MergeScanner.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.client.scanner.<A HREF="../org/cloudata/core/client/scanner/MergeScanner.html" title="class in org.cloudata.core.client.scanner">MergeScanner</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/scanner/TableScanner.html#close()"><B>close()</B></A> - Method in interface org.cloudata.core.client.scanner.<A HREF="../org/cloudata/core/client/scanner/TableScanner.html" title="interface in org.cloudata.core.client.scanner">TableScanner</A> <DD>Close scanner. <DT><A HREF="../org/cloudata/core/client/SortDirectUploader.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/SortDirectUploader.html" title="class in org.cloudata.core.client">SortDirectUploader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableJoinRecordReader.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableJoinRecordReader.html" title="class in org.cloudata.core.parallel.hadoop">TableJoinRecordReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableRowRecordReader.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableRowRecordReader.html" title="class in org.cloudata.core.parallel.hadoop">TableRowRecordReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableScanCellReader.html#close()"><B>close()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableScanCellReader.html" title="class in org.cloudata.core.parallel.hadoop">TableScanCellReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/CloudataDataVerifier.html" title="class in org.cloudata.core.tablet"><B>CloudataDataVerifier</B></A> - Class in <A HREF="../org/cloudata/core/tablet/package-summary.html">org.cloudata.core.tablet</A><DD>Cloudata에서 관리하는 데이터 파일 및 인덱스 파일을 점검한다.<DT><A HREF="../org/cloudata/core/tablet/CloudataDataVerifier.html#CloudataDataVerifier(java.lang.String[])"><B>CloudataDataVerifier(String[])</B></A> - Constructor for class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/CloudataDataVerifier.html" title="class in org.cloudata.core.tablet">CloudataDataVerifier</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/CloudataMapReduceUtil.html" title="class in org.cloudata.core.parallel.hadoop"><B>CloudataMapReduceUtil</B></A> - Class in <A HREF="../org/cloudata/core/parallel/hadoop/package-summary.html">org.cloudata.core.parallel.hadoop</A><DD>Add cloudata's library to classpath for MapReduce job.<DT><A HREF="../org/cloudata/core/parallel/hadoop/CloudataMapReduceUtil.html#CloudataMapReduceUtil()"><B>CloudataMapReduceUtil()</B></A> - Constructor for class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/CloudataMapReduceUtil.html" title="class in org.cloudata.core.parallel.hadoop">CloudataMapReduceUtil</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet"><B>ColumnValue</B></A> - Class in <A HREF="../org/cloudata/core/tablet/package-summary.html">org.cloudata.core.tablet</A><DD>컬럼의 Cell에 저장되는 데이터(ValueObject)<br> 클라이언트 API와 Tablet Server 간에 데이터 전송을 위해 사용된다.<DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#ColumnValue()"><B>ColumnValue()</B></A> - Constructor for class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#ColumnValue(org.cloudata.core.client.Row.Key, org.cloudata.core.client.Cell.Key, byte[])"><B>ColumnValue(Row.Key, Cell.Key, byte[])</B></A> - Constructor for class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#ColumnValue(org.cloudata.core.client.Row.Key, org.cloudata.core.client.Cell.Key, byte[], boolean)"><B>ColumnValue(Row.Key, Cell.Key, byte[], boolean)</B></A> - Constructor for class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#ColumnValue(org.cloudata.core.client.Row.Key, org.cloudata.core.client.Cell.Key, byte[], long)"><B>ColumnValue(Row.Key, Cell.Key, byte[], long)</B></A> - Constructor for class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#ColumnValue(org.cloudata.core.client.Row.Key, org.cloudata.core.client.Cell.Key, byte[], boolean, long)"><B>ColumnValue(Row.Key, Cell.Key, byte[], boolean, long)</B></A> - Constructor for class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.html#compareTo(org.cloudata.core.client.Cell)"><B>compareTo(Cell)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.html" title="class in org.cloudata.core.client">Cell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Value.html#compareTo(org.cloudata.core.client.Cell.Value)"><B>compareTo(Cell.Value)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client">Cell.Value</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Row.html#compareTo(org.cloudata.core.client.Row)"><B>compareTo(Row)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Row.html" title="class in org.cloudata.core.client">Row</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/ScanCell.html#compareTo(org.cloudata.core.client.ScanCell)"><B>compareTo(ScanCell)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/ScanCell.html" title="class in org.cloudata.core.client">ScanCell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/scanner/MergeScanner.RowArray.html#compareTo(org.cloudata.core.client.scanner.MergeScanner.RowArray)"><B>compareTo(MergeScanner.RowArray)</B></A> - Method in class org.cloudata.core.client.scanner.<A HREF="../org/cloudata/core/client/scanner/MergeScanner.RowArray.html" title="class in org.cloudata.core.client.scanner">MergeScanner.RowArray</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#compareTo(org.cloudata.core.tablet.ColumnValue)"><B>compareTo(ColumnValue)</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>주의사항: 동일한 columnKey내에서는 time으로 desc으로 정렬되도록 한다. <DT><A HREF="../org/cloudata/core/tablet/RowColumnValues.html#compareTo(org.cloudata.core.tablet.RowColumnValues)"><B>compareTo(RowColumnValues)</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/RowColumnValues.html" title="class in org.cloudata.core.tablet">RowColumnValues</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/TableSchema.html#compareTo(org.cloudata.core.tablet.TableSchema)"><B>compareTo(TableSchema)</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/TableSchema.html" title="class in org.cloudata.core.tablet">TableSchema</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/TabletInfo.html#compareTo(java.lang.Object)"><B>compareTo(Object)</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/TabletInfo.html" title="class in org.cloudata.core.tablet">TabletInfo</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Shell.html#conf"><B>conf</B></A> - Static variable in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Shell.html" title="class in org.cloudata.core.client">Shell</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/AbstractTabletInputFormat.html#configure(org.apache.hadoop.mapred.JobConf)"><B>configure(JobConf)</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/AbstractTabletInputFormat.html" title="class in org.cloudata.core.parallel.hadoop">AbstractTabletInputFormat</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/KeyRangePartitioner.html#configure(org.apache.hadoop.mapred.JobConf)"><B>configure(JobConf)</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/KeyRangePartitioner.html" title="class in org.cloudata.core.parallel.hadoop">KeyRangePartitioner</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CTableManager.html#connectTabletServer(org.cloudata.core.tablet.TabletInfo, org.cloudata.core.common.conf.CloudataConf)"><B>connectTabletServer(TabletInfo, CloudataConf)</B></A> - Static method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CTableManager.html" title="class in org.cloudata.core.client">CTableManager</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CTableManager.html#connectTabletServer(java.lang.String, org.cloudata.core.common.conf.CloudataConf)"><B>connectTabletServer(String, CloudataConf)</B></A> - Static method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CTableManager.html" title="class in org.cloudata.core.client">CTableManager</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/TableSchemaMap.html#contains(java.lang.String)"><B>contains(String)</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/TableSchemaMap.html" title="class in org.cloudata.core.tablet">TableSchemaMap</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/TableSchema.html#containsColumn(java.lang.String[])"><B>containsColumn(String[])</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/TableSchema.html" title="class in org.cloudata.core.tablet">TableSchema</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#copyColumnValue()"><B>copyColumnValue()</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/RowFilter.html#copyRowFilter()"><B>copyRowFilter()</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/RowFilter.html" title="class in org.cloudata.core.client">RowFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/RowFilter.html#copyRowFilter(java.lang.String)"><B>copyRowFilter(String)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/RowFilter.html" title="class in org.cloudata.core.client">RowFilter</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#copyToCellValue()"><B>copyToCellValue()</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/Cell.Value.html#copyToColumnValue(org.cloudata.core.tablet.ColumnValue)"><B>copyToColumnValue(ColumnValue)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/Cell.Value.html" title="class in org.cloudata.core.client">Cell.Value</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/tablet/ColumnValue.html#copyToScanCell(java.lang.String)"><B>copyToScanCell(String)</B></A> - Method in class org.cloudata.core.tablet.<A HREF="../org/cloudata/core/tablet/ColumnValue.html" title="class in org.cloudata.core.tablet">ColumnValue</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CTable.html#createBlob(org.cloudata.core.client.Row.Key, java.lang.String, org.cloudata.core.client.Cell.Key)"><B>createBlob(Row.Key, String, Cell.Key)</B></A> - Method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CTable.html" title="class in org.cloudata.core.client">CTable</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableJoinRecordReader.html#createKey()"><B>createKey()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableJoinRecordReader.html" title="class in org.cloudata.core.parallel.hadoop">TableJoinRecordReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableRowRecordReader.html#createKey()"><B>createKey()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableRowRecordReader.html" title="class in org.cloudata.core.parallel.hadoop">TableRowRecordReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableScanCellReader.html#createKey()"><B>createKey()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableScanCellReader.html" title="class in org.cloudata.core.parallel.hadoop">TableScanCellReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CTable.html#createTable(org.cloudata.core.common.conf.CloudataConf, org.cloudata.core.tablet.TableSchema)"><B>createTable(CloudataConf, TableSchema)</B></A> - Static method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CTable.html" title="class in org.cloudata.core.client">CTable</A> <DD>Create a new table according to the table schema information <DT><A HREF="../org/cloudata/core/client/CTable.html#createTable(org.cloudata.core.common.conf.CloudataConf, org.cloudata.core.tablet.TableSchema, org.cloudata.core.client.Row.Key[])"><B>createTable(CloudataConf, TableSchema, Row.Key[])</B></A> - Static method in class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CTable.html" title="class in org.cloudata.core.client">CTable</A> <DD>Create a new table according to the table schma information, then split the newly created table into multiple tablets by the number of row keys specified in the parameter. <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableJoinRecordReader.html#createValue()"><B>createValue()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableJoinRecordReader.html" title="class in org.cloudata.core.parallel.hadoop">TableJoinRecordReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableRowRecordReader.html#createValue()"><B>createValue()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableRowRecordReader.html" title="class in org.cloudata.core.parallel.hadoop">TableRowRecordReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/parallel/hadoop/TableScanCellReader.html#createValue()"><B>createValue()</B></A> - Method in class org.cloudata.core.parallel.hadoop.<A HREF="../org/cloudata/core/parallel/hadoop/TableScanCellReader.html" title="class in org.cloudata.core.parallel.hadoop">TableScanCellReader</A> <DD>&nbsp; <DT><A HREF="../org/cloudata/core/client/CTable.html" title="class in org.cloudata.core.client"><B>CTable</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>CTable represents a table in Cloudata and each table contains data of applications with distributed and persistent manner.<DT><A HREF="../org/cloudata/core/client/CTableManager.html" title="class in org.cloudata.core.client"><B>CTableManager</B></A> - Class in <A HREF="../org/cloudata/core/client/package-summary.html">org.cloudata.core.client</A><DD>테이블을 생성하거나 스키마의 변경, drop 등과 같은 DDL(data definit ion language)과 관련된 작업을 수행한다.<DT><A HREF="../org/cloudata/core/client/CTableManager.html#CTableManager()"><B>CTableManager()</B></A> - Constructor for class org.cloudata.core.client.<A HREF="../org/cloudata/core/client/CTableManager.html" title="class in org.cloudata.core.client">CTableManager</A> <DD>&nbsp; </DL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-2.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-4.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-3.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-3.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">K</A> <A HREF="index-11.html">L</A> <A HREF="index-12.html">M</A> <A HREF="index-13.html">N</A> <A HREF="index-14.html">O</A> <A HREF="index-15.html">P</A> <A HREF="index-16.html">R</A> <A HREF="index-17.html">S</A> <A HREF="index-18.html">T</A> <A HREF="index-19.html">V</A> <A HREF="index-20.html">W</A> <HR> </BODY> </HTML>
html
#include "AudioSwitch_F32.h" void AudioSwitch4_F32::update(void) { audio_block_f32_t *out=NULL; out = receiveReadOnly_f32(0); if (!out) return; AudioStream_F32::transmit(out,outputChannel); //just output to the one channel AudioStream_F32::release(out); }
cpp
""" Python implementation of the LiNGAM algorithms. The LiNGAM Project: https://sites.google.com/site/sshimizu06/lingam """ import itertools import numbers import warnings import numpy as np from sklearn.utils import check_array, resample from .bootstrap import BootstrapResult from .direct_lingam import DirectLiNGAM from .hsic import hsic_test_gamma from .utils import predict_adaptive_lasso class MultiGroupDirectLiNGAM(DirectLiNGAM): """Implementation of DirectLiNGAM Algorithm with multiple groups [1]_ References ---------- .. [1] <NAME>. Joint estimation of linear non-Gaussian acyclic models. Neurocomputing, 81: 104-107, 2012. """ def __init__(self, random_state=None, prior_knowledge=None, apply_prior_knowledge_softly=False): """Construct a model. Parameters ---------- random_state : int, optional (default=None) ``random_state`` is the seed used by the random number generator. prior_knowledge : array-like, shape (n_features, n_features), optional (default=None) Prior background_knowledge used for causal discovery, where ``n_features`` is the number of features. The elements of prior background_knowledge matrix are defined as follows [1]_: * ``0`` : :math:`x_i` does not have a directed path to :math:`x_j` * ``1`` : :math:`x_i` has a directed path to :math:`x_j` * ``-1`` : No prior background_knowledge is available to know if either of the two cases above (0 or 1) is true. apply_prior_knowledge_softly : boolean, optional (default=False) If True, apply prior background_knowledge softly. """ super().__init__(random_state, prior_knowledge, apply_prior_knowledge_softly) def fit(self, X_list): """Fit the model to multiple datasets. Parameters ---------- X_list : list, shape [X, ...] Multiple datasets for training, where ``X`` is an dataset. The shape of ''X'' is (n_samples, n_features), where ``n_samples`` is the number of samples and ``n_features`` is the number of features. Returns ------- self : object Returns the instance itself. """ # Check parameters X_list = self._check_X_list(X_list) if self._Aknw is not None: if (self._n_features, self._n_features) != self._Aknw.shape: raise ValueError( 'The shape of prior background_knowledge must be (n_features, n_features)') # Causal discovery U = np.arange(self._n_features) K = [] X_list_ = [np.copy(X) for X in X_list] for _ in range(self._n_features): m = self._search_causal_order(X_list_, U) for i in U: if i != m: for d in range(len(X_list_)): X_list_[d][:, i] = self._residual( X_list_[d][:, i], X_list_[d][:, m]) K.append(m) U = U[U != m] if (self._Aknw is not None) and (not self._apply_prior_knowledge_softly): self._partial_orders = self._partial_orders[self._partial_orders[:, 0] != m] self._causal_order = K self._adjacency_matrices = [] for X in X_list: self._estimate_adjacency_matrix(X, prior_knowledge=self._Aknw) self._adjacency_matrices.append(self._adjacency_matrix) return self def bootstrap(self, X_list, n_sampling): """Evaluate the statistical reliability of DAG based on the bootstrapping. Parameters ---------- X_list : array-like, shape (X, ...) Multiple datasets for training, where ``X`` is an dataset. The shape of ''X'' is (n_samples, n_features), where ``n_samples`` is the number of samples and ``n_features`` is the number of features. n_sampling : int Number of bootstrapping samples. Returns ------- results : array-like, shape (BootstrapResult, ...) Returns the results of bootstrapping for multiple datasets. """ # Check parameters X_list = self._check_X_list(X_list) if isinstance(n_sampling, (numbers.Integral, np.integer)): if not 0 < n_sampling: raise ValueError( 'n_sampling must be an integer greater than 0.') else: raise ValueError('n_sampling must be an integer greater than 0.') # Bootstrapping adjacency_matrices_list = np.zeros( [len(X_list), n_sampling, self._n_features, self._n_features]) total_effects_list = np.zeros( [len(X_list), n_sampling, self._n_features, self._n_features]) for n in range(n_sampling): resampled_X_list = [resample(X) for X in X_list] self.fit(resampled_X_list) for i, am in enumerate(self._adjacency_matrices): adjacency_matrices_list[i][n] = am # Calculate total effects for c, from_ in enumerate(self._causal_order): for to in self._causal_order[c + 1:]: effects = self.estimate_total_effect( resampled_X_list, from_, to) for i, effect in enumerate(effects): total_effects_list[i, n, to, from_] = effect result_list = [] for am, te in zip(adjacency_matrices_list, total_effects_list): result_list.append(BootstrapResult(am, te)) return result_list def estimate_total_effect(self, X_list, from_index, to_index): """Estimate total effect using causal model. Parameters ---------- X_list : array-like, shape (X, ...) Multiple datasets for training, where ``X`` is an dataset. The shape of ''X'' is (n_samples, n_features), where ``n_samples`` is the number of samples and ``n_features`` is the number of features. from_index : Index of source variable to estimate total effect. to_index : Index of destination variable to estimate total effect. Returns ------- total_effect : float Estimated total effect. """ # Check parameters X_list = self._check_X_list(X_list) # Check from/to causal order from_order = self._causal_order.index(from_index) to_order = self._causal_order.index(to_index) if from_order > to_order: warnings.warn(f'The estimated causal effect may be incorrect because ' f'the causal order of the destination variable (to_index={to_index}) ' f'is earlier than the source variable (from_index={from_index}).') effects = [] for X, am in zip(X_list, self._adjacency_matrices): # from_index + parents indices parents = np.where(np.abs(am[from_index]) > 0)[0] predictors = [from_index] predictors.extend(parents) # Estimate total effect coefs = predict_adaptive_lasso(X, predictors, to_index) effects.append(coefs[0]) return effects def get_error_independence_p_values(self, X_list): """Calculate the p-value matrix of independence between error variables. Parameters ---------- X_list : array-like, shape (X, ...) Multiple datasets for training, where ``X`` is an dataset. The shape of ''X'' is (n_samples, n_features), where ``n_samples`` is the number of samples and ``n_features`` is the number of features. Returns ------- independence_p_values : array-like, shape (n_datasets, n_features, n_features) p-value matrix of independence between error variables. """ # Check parameters X_list = self._check_X_list(X_list) p_values = np.zeros([len(X_list), self._n_features, self._n_features]) for d, (X, am) in enumerate(zip(X_list, self._adjacency_matrices)): n_samples = X.shape[0] E = X - np.dot(am, X.T).T for i, j in itertools.combinations(range(self._n_features), 2): _, p_value = hsic_test_gamma(np.reshape(E[:, i], [n_samples, 1]), np.reshape(E[:, j], [n_samples, 1])) p_values[d, i, j] = p_value p_values[d, j, i] = p_value return p_values def _check_X_list(self, X_list): """Check input X list.""" if not isinstance(X_list, list): raise ValueError('X_list must be a list.') if len(X_list) < 2: raise ValueError( 'X_list must be a list containing at least two items') self._n_features = check_array(X_list[0]).shape[1] X_list_ = [] for X in X_list: X_ = check_array(X) if X_.shape[1] != self._n_features: raise ValueError( 'X_list must be a list with the same number of features') X_list_.append(X_) return np.array(X_list_) def _search_causal_order(self, X_list, U): """Search the causal ordering.""" Uc, Vj = self._search_candidate(U) if len(Uc) == 1: return Uc[0] total_size = 0 for X in X_list: total_size += len(X) MG_list = [] for i in Uc: MG = 0 for X in X_list: M = 0 for j in U: if i != j: xi_std = (X[:, i] - np.mean(X[:, i])) / np.std(X[:, i]) xj_std = (X[:, j] - np.mean(X[:, j])) / np.std(X[:, j]) ri_j = xi_std if i in Vj and j in Uc else self._residual( xi_std, xj_std) rj_i = xj_std if j in Vj and i in Uc else self._residual( xj_std, xi_std) M += np.min([0, self._diff_mutual_info(xi_std, xj_std, ri_j, rj_i)]) ** 2 MG += M * (len(X) / total_size) MG_list.append(-1.0 * MG) return Uc[np.argmax(MG_list)] @property def adjacency_matrices_(self): """Estimated adjacency matrices. Returns ------- adjacency_matrices_ : array-like, shape (B, ...) The list of adjacency matrix B for multiple datasets. The shape of B is (n_features, n_features), where n_features is the number of features. """ return self._adjacency_matrices
python
As the budget is around the corner, various economists and experts have stated that given the unprecedented impact of the Covid pandemic, the government should loosen purse strings and opt-in for higher government borrowing and go easy on the fiscal deficit. Top brokerages like CLSA, Jefferies, JP Morgan expect India FY22 Fiscal deficit to rise to 5. 5% of GDP. Sanjay Mookim of JP Morgan expects FY21 fiscal deficit at 7% and at 5. 5% of GDP for FY22. Sonal Varma of Nomura pencils in the centre’s fiscal deficit to narrow to 5. 3% of GDP in FY22 and expects net market borrowing of Rs 8. 3 lakh crore in FY22. India Economic survey highlights that the government be more relaxed about fiscal spending during downturns while being fiscally responsible and calls for more active counter-cyclical fiscal policy. Survey states in India growth lead to debt sustainability and not vice-versa. Higher GDP growth leads to lower public debt through the increase in the denominator ie GDP. Evidence over the last two-and-a-half decades demonstrates clearly that in India, higher GDP growth causes the ratio of debt-to-GDP to decline but not vice-versa. Economic Survey 2021 - highlights: - Simulations undertaken till 2030 highlight that given India’s growth potential, debt sustainability is unlikely to be a problem even in the worst scenarios. Indian kings used to build palaces during famines and droughts to provide employment and improve the economic fortunes of the private sector. Economic theory, in effect, makes the same recommendation: in a recessionary year, the government must spend more than during expansionary times. Such counter-cyclical fiscal policy stabilizes the business cycle by being contractionary (reduce spending/increase taxes) in good times and expansionary (increase spending/reduce taxes) in bad times. On the other hand, a pro-cyclical fiscal policy is the one wherein fiscal policy reinforces the business cycle by being expansionary during good times and contractionary during recessions. The following are some of the excerpts from the Economic survey 2021: If the interest rate paid by the government is less than the growth rate, then the intertemporal budget constraint facing the government no longer binds. ”This phenomenon highlights that debt sustainability depends on the “interest rate growth rate differential” (IRGD), i. e. the difference between the interest rate and the growth rate in an economy. As the IRGD is expected to be negative in the foreseeable future, a fiscal policy that provides an impetus to growth will lead to lower, not higher, debt-to-GDP ratios. In fact, simulations undertaken till 2030 highlight that given India’s growth potential, debt sustainability is unlikely to be a problem even in the worst scenarios. Thus it is desirable to use countercyclical fiscal policy to enable growth during economic downturns. On analyzing the averages of real interest rate, real growth rates and IRGD for the period 1990-2018 across selected emerging and advanced economies, it can be seen that India – as one of the high growth economies – is amongst the countries having negative average IRGD, along with other countries such as China, Russia and Singapore. Since 2003, India’s IRGD has been negative and the lowest for the major OECD economies.
english
{ "listing_id": 347802, "id": 11393647, "date": "2014-04-01", "reviewer_id": 11136944, "reviewer_name": "Jason", "text": "We had a wonderful time staying at this Hyde Park Bungalow during our time in Austin and would totally recommend this place to anyone visiting. Hyde Park is a nice and quiet part of town, but very close to all the sights Austin has to offer. Ananda and Dunstan were great and very nice!", "title": "Hyde Park Bungalow close to UT & DT", "host_id": 1594787, "listing_latitude": 30.30229498844927, "listing_longitude": -97.7281497793535, "host_name": "Ananda & Dunstan" }
json
# iw-watcher Robot for processing CS:GO statistics
markdown
A free app for Android, by Shortcut Android. A full version program for Android, by Reliance Jio Infocomm. A free app for Android, by Dewmobile Inc..
english
package rs.raf.storage.spec.search; import rs.raf.storage.spec.core.File; /** * Search criteria that check if file name contains search query. Case insensitive operation. */ public final class CriteriaNameContains implements CriteriaVisitor { @Override public boolean matches(Criteria criteria, File file) { return criteria.getQuery().toLowerCase() .contains(file.getName().toLowerCase()); } }
java
<filename>metadata/2020.05.03.074567.json { "title": "Large scale genomic analysis of 3067 SARS-CoV-2 genomes reveals a clonal geo-distribution and a rich genetic variations of hotspots mutations", "keywords": [ "SARS-CoV-2", "Hotspots mutations", "Dissemination", "Genomic analysis" ], "date": 2020, "author": "<NAME>,\u00b6, <NAME>,\u00b6, <NAME>, <NAME>, ELFIHRI, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>6and <NAME>,* 10", "affiliations": [ "Medical Biotechnology Laboratory (MedBiotech), Bioinova Research Center, Rabat", "Medical & Pharmacy School, Mohammed Vth University in Rabat, Morocco", "Laboratory of Human Pathologies Biology, Department of Biology, Faculty of Sciences, 16 and Genomic Center of Human Pathologies, Faculty of Medicine and Pharmacy", "Mohammed V University in Rabat, Morocco", "Anoual Laboratory of Radio-Immuno Analysis, Casablanca, Morocco" ], "identifiers": { "arxiv": null, "doi": "10.1101/2020.05.03.074567", "isbn": null, "doc_id": null, "url": "http://biorxiv.org/cgi/content/short/2020.05.03.074567.pdf" }, "abstract": "In late December 2019, an emerging viral infection COVID-19 was identified in Wuhan, China, and became a global pandemic. Characterization of the genetic variants of SARS36 CoV-2 is crucial in following and evaluating it spread across countries. In this study, we 37 collected and analyzed 3,067 SARS-CoV-2 genomes isolated from 55 countries during the first three months after the onset of this virus. Using comparative genomics analysis, we traced the profiles of the whole-genome mutations and compared the frequency of each mutation in the studied population. The accumulation of mutations during the epidemic period with their geographic locations was also monitored. The results showed 782 variant 42 sites, of which 512 (65.47%) had a non-synonymous effect. Frequencies of mutated alleles 43 revealed the presence of 38 recurrent non-synonymous mutations, including ten hotspot mutations with a prevalence higher than 0.10 in this population and distributed in six SARS-CoV-2 genes. The distribution of these recurrent mutations on the world map revealed certain genotypes specific to the geographic location. We also found co-occurring mutations resulting in the presence of several haplotypes. Moreover, evolution over time has shown a mechanism of mutation co-accumulation which might affect the severity and spread of the SARS-CoV-2. On the other hand, analysis of the selective pressure revealed the presence of negatively selected residues that could be taken into considerations as therapeutic targets We have also created an inclusive unified database (http://genoma.ma/covid-19/) that lists all of the genetic variants of the SARS-CoV-2 genomes found in this study with phylogeographic analysis around the world. 56 Keywords: SARS-CoV-2, Hotspots mutations, Dissemination, Genomic analysis. 59 60 61 62 63", "offensive": [ "PAKIS TAN" ], "funding": [ { "award-group": [ { "funding-source": "AI from Institute of Cancer Research" }, { "funding-source": "Lalla Salma" } ], "funding-statement": "This work was also supported, by a grant to AI from Institute of Cancer Research of the foundation Lalla Salma" } ] }
json
<reponame>JoshRosenstein/futils<gh_stars>0 import mergeAllDeepRight from './mergeAllDeepRight'; describe('mergeAllDeepRight', () => { it('Array', () => { const a = mergeAllDeepRight([{ a: { a: 1 } }, { a: { b: 1 } }]); const eA = { a: { a: 1, b: 1 } }; expect(a).toEqual(eA); }); it('Array', () => { const a = mergeAllDeepRight([{ a: { a: 1 } }, { a: { a: 2 } }]); const eA = { a: { a: 2 } }; expect(a).toEqual(eA); }); });
typescript
Details of the Report: My latest Limited to 50 buyers PLR is called 12 Ways to Better Yourself in 2022 and this is a Report that can be used in many different niches because it’s designed to both empower individuals and help them eliminate stress, while at the same time, helping them become go getters who can achieve their goals. These twelve tips can be applied to any age group, both genders, those with any career, with or without children, and more – and it’s perfect for everyone beginning to map out their New Year’s Resolutions. It can also be used year after year – just retitle it with a new cover. This 9-page 4,006-word report starts with an introduction and then covers the following: I’ve included the JPG, and PNG files for a flat cover as well as a hardback version (shown above) in PNG. How Can You Use This Content? and more!
english
For Mukesh Chhabra and Sushant Singh Rajput, ‘Dil Bechara’ is not just a film, it’s a testimony of loyalty and friendship. Mukesh gave him his first break in Kai Po Che and Sushant launched Mukesh’s career as a director when he agreed to do Dil Bechara. “He used to always help me improve the scene. He used to read with me and if at any point he felt that creatively the scene could be improved he used to always let me know. We used to sit together and discuss at length,” he adds. Dil Bechara starring late Sushant Singh Rajput and Sanjana Sanghi will release on Disney+Hotstar on 24th July 2020. Music is by Oscar winner AR Rahman.
english
<reponame>ferrymen/ferrymen { "name": "@ferrymen/fm-ioc", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "doc": "typedoc --module commonjs --mode file --name \"IOC Document\" --out doc/api src" }, "keywords": [], "author": "", "license": "ISC" }
json
# On Strict (in)equality ## Background <pre> Strict equality is impossible in ES5. You **can** do it on a global level with a polyfill, with a customized Object method (defineProperty). But in a local scope it can't be done. In ES6 this code would print 'TRUE': </pre> ``` let number = 5; let numberStr = '5'; number === numberStr? console.log('TRUE') : console.log('FALSE'); ``` <pre> But if you would replace `===` with `==` it would print 'FALSE'. Because JavaScript is a dynamically typed it's possible, if the variable declaration did not use `const`, to re-define the data type: </pre> ``` numberStr = 5; console.log(typeof numberStr) ``` ### Problem <pre> The main difficulty here is that the application using strict equality only can use in a development environment. Or rather, it can only truly benefit from it. If type checking is relevant later on, it must be done in another fashion. I guess this doesn't have to be a problem at all (especially not since the transpilation takes places afterward), but I also presume it can be a problem depending on how the code base is transfigured. I, therefore, see no way to guarantee that a transpilation would fully respect this feature. Even though strict equality is possible (with polyfills) on a global level, it's not - as I said earlier - possible in the local scope. I presume it would possible to solve this, but the strategy would have to more complicated than you might think at first. My 'solution' is no real solution, I've merely replaced each occurrence of strict equality with its unstrict counterpart. </pre>
markdown
Rapids Tickets On Sale For Vitality Blast - And Offer Great Value Worcestershire Rapids tickets for this season's Vitality Blast are now on sale - and will offer even greater value for money in 2018 when there is a strong accent on weekend matches. A Vitality Blast Season Pass again costs just £99 for all seven group T20 Blast home games at Blackfinch New Road. The Season Pass also includes an EXTRA match as part of the package in the form of Worcestershire's 50 over home match against West Indies 'A' on June 19. But in addition advance prices for SIX of Worcestershire's home Vitality Blast matches have been REDUCED. It includes an offer of just £10 for the home game with Derbyshire Falcons - as the County look to attract even more families to the club. Worcestershire CCC Managing Director, Jon Graham,said:"The Vitality Blast pass will remain at £99 and include an additional game of Worcestershire v West Indies 'A'. It is adding another piece of value to the pass so it is eight games instead of seven. "There is also a major opportunity to engage with more families and try and get more families down to the Blast because we've got a lot of weekend games this year which is great. "The first game of the T20 season is the big one against Birmingham Bears at Blackfinch New Road which will get the series off to a flyer. Tickets will be scarce and with the advance price for that game at £25 it represents excellent value for the hottest ticket in town. “For five of the other games, it will be £20 in advance which is a REDUCTION on last year and the Derbyshire game on Thursday 9th August, will be just £10 in advance our cheapest ever T20 ticket price”. "By trying to do things differently with the pricing structure, we feel it will appeal to a broad spectrum of supporters, retaining the interest of our fabulous existing fans and hopefully engaging with some ones along the way.” To purchase tickets please click here or to purchase a Vitality Blast Season Pass click here.
english
The LA Lakers are reportedly considering working out former four-time NBA All-Star point guard Kemba Walker. In other news, Lakers combo guard D’Angelo Russell is expected to return in the near future. On that note, here are the latest rumors surrounding the LA Lakers as of March 7, 2023. The LA Lakers have been riddled with injuries this season. Lakers star forward LeBron James is expected to miss at least another couple of weeks with a right foot injury. Meanwhile, D’Angelo Russell has missed five straight games with a right ankle injury. This reportedly has the Lakers scouring the free-agent market for an additional playmaker to fortify their roster. According to Lakers Daily, Kemba Walker is one player LA is considering bringing in for a workout: “Sources tell Lakers Daily that the Lakers are considering bringing in Kemba Walker for a workout. The team is looking for another ball handler, with LeBron James expected to miss extended time due to a foot injury. " Kemba Walker, 32, only appeared in nine games for the Dallas Mavericks this season before being waived on January 6. He finished with averages of 8. 0 points, 1. 8 rebounds, 2. 1 assists and 0. 8 3-pointers per game on 42. 1% shooting. LA (31-34, 11th in the West) is on the brink of entering the play-in picture in the West. The Lakers are now in a four-way tie with Utah, Portland and New Orleans for the final two play-in spots. However, they do not own the tiebreaker with the Jazz and Trail Blazers. So every game will be of increased importance for LA moving forward. D’Angelo Russell has missed the last five games due to a right ankle sprain. However, according to The Athletic’s Shams Charania, there is hope that Russell will be able to return soon: “D’Angelo Russell is clearly closer than LeBron James, I think they thought he would be back by now. . . It was a day-to-day injury, it was an ankle sprain, but the hope is that he’s back sooner than later. " Russell is officially listed as questionable to return on Tuesday versus Memphis (38-25, second in the West). If he is not ready by then, his next opportunity to suit up will be on Friday against Toronto (32-34, ninth in the East). Russell has averaged 13. 5 ppg, 3. 5 rpg, 5. 0 apg and 1. 5 3pg while shooting 44. 2% and 35. 3% from three through four games with LA. The Lakers have gone 3-1 with Russell in the lineup. It was initially reported that LeBron James would miss at least three weeks due to his right foot tendon injury. This had LA Lakers fans hopeful that James would be ready to return at the early end of his timeline. However, according to The Athletic’s Shams Charania, there is concern that James will be out beyond his three-week re-evaluation timeline: “Yes, they need LeBron James back in the lineup. We don’t know when that will be. Three-week re-evaluation for him, and even after that, I don’t know if the Lakers think he’s gonna be back in three weeks. I don’t think it’ll be just the three weeks — likely beyond that. " Charania added that this could put James in line to return shortly before the start of the play-in tournament: “And so, you put yourself in a position where you hope that he’s back right before the playoffs or he gets back for the play-in. " James is averaging 29. 5 ppg, 8. 4 rpg, 6. 9 apg, 0. 9 spg, 0. 6 bpg and 2. 1 3pg on 50. 1% shooting through 47 games. The Lakers are 24-23 with James and 7-11 without him this season. Also read: Kevin Garnett believes there is a clear rift between LeBron James and Anthony Davis: "No one wants to say this s**t out loud! " Top 5 players BANNED from the NBA for drug use! Shocking names ahead!
english
{"word":"carinaria","definition":"A genus of oceanic heteropod Mollusca, having a thin, glassy, bonnet-shaped shell, which covers only the nucleus and gills."}
json
{ "recommendations": [ "DavidAnson.vscode-markdownlint", "dbaeumer.vscode-eslint", "eg2.vscode-npm-script", "esbenp.prettier-vscode", "redhat.vscode-yaml", "VisualStudioExptTeam.vscodeintellicode", "wayou.vscode-todo-highlight" ] }
json
Bharathwaj is a Tamil film composer. He has since scored music in languages including Tamil,Telugu and Malayalam. trained in Hindustani, Western and Carnatic music.He is a recipient ofKalaimamani Award for the year 2008 from Tamil Nadu Government. He had composed music for programmes on AIR and DD at the age of 17.
english
import { IMessage } from '@interfaces/interface' import Button from '@material-ui/core/Button' import CircularProgress from '@material-ui/core/CircularProgress' import Grid from '@material-ui/core/Grid' import Typography from '@material-ui/core/Typography' import { observable } from 'mobx' import { observer } from 'mobx-react' import React, { Component } from 'react' import ReactInfinite from 'react-infinite' import { RouteComponentProps } from 'react-router' import DefaultPage from '../common/DefaultPage' import { inject } from '../stores/inject-stores' import { Stores } from '../stores/inject-stores.interface' import Message from './Message' type IProps = RouteComponentProps<{ id: string }> interface IState { appId: number } @observer class Messages extends Component<IProps & Stores<'messagesStore' | 'appStore'>, IState> { @observable private heights: Record<string, number> = {} private static appId (props: IProps) { if (props === undefined) { return -1 } const { match } = props return match.params.id !== undefined ? parseInt(match.params.id, 10) : -1 } public state = { appId: -1 } private isLoadingMore = false public componentWillReceiveProps (nextProps: IProps & Stores<'messagesStore' | 'appStore'>) { this.updateAllWithProps(nextProps) } public componentWillMount () { window.onscroll = () => { if (window.innerHeight + window.pageYOffset >= document.body.offsetHeight - window.innerHeight * 2) { this.checkIfLoadMore() } } this.updateAll() } public render () { const { appId } = this.state const { messagesStore, appStore } = this.props const messages = messagesStore.get(appId) const hasMore = messagesStore.canLoadMore(appId) const name = appStore.getName(appId) const hasMessages = messages.length !== 0 return ( <DefaultPage title={name} rightControl={ <div> <Button id="refresh-all" variant="contained" disabled={!hasMessages} color="primary" onClick={() => messagesStore.refreshByApp(appId)} style={{ marginRight: 5 }}> Refresh </Button> <Button id="delete-all" variant="contained" disabled={!hasMessages} color="primary" onClick={() => messagesStore.removeByApp(appId)}> Delete All </Button> </div> } > {hasMessages ? ( <div style={{ width: '100%' }} id="messages"> <ReactInfinite key={appId} useWindowAsScrollContainer preloadBatchSize={window.innerHeight * 3} elementHeight={messages.map((m) => this.heights[m.id] || 1)}> {messages.map(this.renderMessage)} </ReactInfinite> {hasMore ? ( <Grid item xs={12} style={{ textAlign: 'center' }}> <CircularProgress size={100} /> </Grid> ) : ( this.label('You\'ve reached the end') )} </div> ) : ( this.label('No messages') )} </DefaultPage> ) } private updateAllWithProps = (props: IProps & Stores<'messagesStore'>) => { const appId = Messages.appId(props) this.setState({ appId }) if (!props.messagesStore.exists(appId)) { props.messagesStore.loadMore(appId) } } private updateAll = () => this.updateAllWithProps(this.props) private deleteMessage = (message: IMessage) => () => this.props.messagesStore.removeSingle(message) private renderMessage = (message: IMessage) => { return ( <Message key={message.id} height={(height: number) => { if (!this.heights[message.id]) { this.heights[message.id] = height } }} fDelete={this.deleteMessage(message)} title={message.title} date={message.date} content={message.message} image={message.image} extras={message.extras} /> ) } private checkIfLoadMore () { const { appId } = this.state if (!this.isLoadingMore && this.props.messagesStore.canLoadMore(appId)) { this.isLoadingMore = true this.props.messagesStore.loadMore(appId).then(() => (this.isLoadingMore = false)) } } private label = (text: string) => ( <Grid item xs={12}> <Typography variant="caption" component="div" gutterBottom align="center"> {text} </Typography> </Grid> ) } export default inject('messagesStore', 'appStore')(Messages)
typescript
1 Musaning qéynatisi, yeni Midiyanning kahini Yetro Xudaning Musa üchün hemde Öz xelqi Israil üchün barliq qilghanliri toghruluq anglidi, yeni Perwerdigarning Israilni Misirdin chiqarghanliqidin xewer tapti. ■ Mis. 2:16; 3:1 2-3 Shuning bilen Musaning qéynatisi Yetro Musaning eslide öz yénigha ewetiwetken ayali Zipporah we uning ikki oghlini élip yolgha chiqti (birinchi oghlining ismi Gershom dep qoyulghanidi; chünki Musa: «men yaqa yurtta musapir bolup turuwatimen» dégenidi. □ «Gershom» — «yaqa yurtluq» dégen söz bilen ahangdash. ■ Mis. 2:22 4 Yene birining ismi Eliézer dep qoyulghanidi; chünki Musa: «Atamning Xudasi manga yardemde bolup, méni Pirewnning qilichidin qutquzdi», dégenidi). □ «Eliézer» — «Xudayim yardemdur» dégen menide. 5 Shundaq qilip Musaning qéynatisi Yetro Musaning oghulliri bilen ayalini élip, Musaning chölde, Xudaning téghining yénida chédir tikgen yérige yétip keldi. 6 U eslide Musagha: — «Mana, menki qéynatang Yetro séning ayalingni we uning ikki oghlini élip yéninggha kétiwatimen» dep xewer ewetkenidi. 7 Shuning bilen Musa öz qéynatisining aldigha chiqip, tezim qilip, uni söydi. Ular bir-biridin hal-ehwal soriship chédirgha kirdi; 8 Andin Musa qiynatisigha Israilning wejidin Perwerdigarning Pirewn we misirliqlargha qilghan hemme emellirini sözlep, ularning yol boyi béshigha chüshken jebir-japalarni bayan qilip, Perwerdigarning qandaq qilip ularni qutquzghinini éytip berdi. 12 Andin Musaning qéynatisi Yetro Xudagha atap bir köydürme qurbanliq we birnechche teshekkur qurbanliqlirini élip keldi; Harun bilen Israilning herbir aqsaqili Musaning qéynatisi bilen bille Xudaning huzurida taam yéyishke keldi.□ «teshekkur qurbanliqliri» — ibraniy tilida «zebaq» déyilidu. Harun we aqsaqallarning Yetro bilen bille shu qurbanliqlardin yégenliki ularning teshekkur qurbanliqi ikenlikini ispatlaydu. Chünki «teshekkur qurbanliqliri»din sun’ghuchi kishimu yése bolatti. 13 Etisi Musa xelqning ish-dewaliri üstidin höküm chiqirishqa olturdi; xelq etigendin tartip kechkiche Musaning chöriside turushti. 14 Musaning qéynatisi uning xelqi üchün qilghan ishlirini körgende uningdin: — Séning xelqqe qiliwatqan bu ishing zadi néme ish? Némishqa sen bu ishta yalghuz olturisen, barliq xelq néme üchün etigendin kechkiche séning chörengde turidu? — dédi. 15 Musa qéynatisigha jawab bérip: — Xelq Xudadin yol izdeshke méning qéshimgha kélidu. 16 Qachanki ularning bir ish-dewasi chiqsa ular yénimgha kélidu; shuning bilen men ularning otturisida höküm chiqirimen we shundaqla Xudaning qanun-belgilimilirini ulargha bildürimen, — dédi. 17 Musaning qéynatisi uninggha: — Bu qilghining yaxshi bolmaptu. 18 Sen jezmen özüngni hemde chörengde turghan xelqnimu charchitip qoyisen; chünki bu ish sanga bek éghir kélidu. Sen uni yalghuz qilip yétishelmeysen. 19 Emdi méning sözümge qulaq salghin, men sanga bir meslihet bérey we shundaq qilsang, Xuda séning bilen bille bolidu: — Sen özüng Xudaning aldida xelqning wekili bolup, ularning ishlirini Xudagha melum qilghin; 20 sen xelqqe qanun-belgilimilerni ögitip, mangidighan yolni körsitip, ularning qandaq burchi barliqini uqturghin. 21 Shuning bilen bir waqitta sen pütkül xelqning arisidin Xudadin qorqidighan, nepsaniyetchilikni yaman köridighan hem qabiliyetlik hem diyanetlik ademlerni tépip, ularni xelqning üstige bash qilip, bezisini mingbéshi, bezisini yüzbéshi, bezisini ellikbéshi, bezisini onbéshi qilip teyinligin. □ «diyanetlik ademler» — ibraniy tilida «heqiqetke tewe ademler». 22 Shuning bilen bular herqandaq waqitta xelqning ish-dewalirini soraydu. Eger chong bir ish-dewa chiqip qalsa, buni sanga tapshursun; lékin hemme kichik ish-dewalarni ular özliri béjirisun. Shundaq qilip, ular séning wezipengni yéniklitip, yüküngni kötürüshüp béridu. 23 Eger shundaq qilsang we Xuda sanga shundaq buyrusa, özüng wezipengde put tirep turalaysen we xelqingmu xatirjemlik bilen öz jayigha qaytip kétidu, dédi. 24 Musa qéynatisining sözige qulaq sélip déginining hemmisini qildi. ■ Qan. 1:9 25 Musa pütkül Israil arisidin qabiliyetlik ademlerni tallap, ularni xelqning üstige bash qilip, bezisini mingbéshi, bezisini yüzbéshi, bezisini ellikbéshi, bezisini onbéshi qilip qoydi. 26 Bular herqandaq waqitta xelqning ish-dewalirini sorap turdi; tesrek ish-dewalarni bolsa, Musagha yollaytti, kichik ish-dewalarni bolsa özliri soraytti. 27 Andin Musa qéynatisini yolgha sélip qoydi, u öz yurtigha qaytip ketti. □18:2-3 «Gershom» — «yaqa yurtluq» dégen söz bilen ahangdash. □18:4 «Eliézer» — «Xudayim yardemdur» dégen menide. □18:11 «ular yoghanchiliq qilghan ishta» — mushu yerde «ular» saxta ilahlar, butlarni körsitidu (12:12, 15:11ni körüng). Bezi alimlar bu söz misirliqlarni körsitidu, dep qaraydu. □18:12 «teshekkur qurbanliqliri» — ibraniy tilida «zebaq» déyilidu. Harun we aqsaqallarning Yetro bilen bille shu qurbanliqlardin yégenliki ularning teshekkur qurbanliqi ikenlikini ispatlaydu. Chünki «teshekkur qurbanliqliri»din sun’ghuchi kishimu yése bolatti. □18:21 «diyanetlik ademler» — ibraniy tilida «heqiqetke tewe ademler».
english
In their final game of the season, the Colorado Buffaloes fell to the Utah Utes with a final score of 28-13. The scoreboard didn’t quite reflect how lopsided the game was, however, with the Buffs managing only 148 yards of offense to Utah’s 444. With this Week 12 loss now in the books, the Buffs’ record this year will rest at 4-8. Most of Colorado’s highlights came on defense or special teams, including an interception by sophomore safety Mark Perry that halted Utah’s first drive of the game at the 15-yard line and resulted in a 33-yard field goal for Colorado. Freshman kicker Cole Becker also drilled a 56-yard field goal to close out the first half, the longest ever by a freshman in Colorado history. He now sits alongside Mason Crosby as the only Buffs to kick for three or more 50-plus yard field goals in a single season. But the most exciting highlight of the game came from freshman cornerback Nikko Reed on the opening kickoff of the second half. Reed lined up to receive the kick in the absence of Brenden Rice and ended up taking it 100 yards home for a dazzling touchdown. The end-to-end run was the only touchdown Colorado scored. Regardless of the game’s outcome, the touchdown was just the eighth 100-yard kickoff return in Colorado history. The standout play of the game coming from a freshman is a testament to the youth of this Colorado team. While a 4-8 finish is certainly not what most Buffs fans were hoping for this year, there is a lot of young talent and room to grow for this group.
english
West Indies wicketkeeper Joshua Da Silva’s mother has become the talk of the town ever since he revealed that she is a huge fan of Indian superstar Virat Kohli. The wicketkeeper-batsman made the revelation while Virat Kohli was batting on day one of the ongoing second Test between India and West Indies in Trinidad. Joshua Da Silva was constantly speaking from behind the stumps as Virat was batting. At first, it looked like he was trying to get under the skin of the former India skipper to unsettle him. However, the stump mic made things very clear as the wicketkeeper was instead expressing his and his mother’s admiration for Virat. He was heard telling the India batsman to complete his century. And later, he was also heard saying at the stump mic that his mother told him that she would be coming to the Queen’s Park Oval to watch Virat Kohli bat. “My mom told me on the phone that she’s coming to see Virat and not me. That’s literally what my mom said. I couldn’t believe it. I don’t blame her to be honest. She’s right up there watching,” Joshua said. Joshua Da Silva’s mother meets Virat Kohli: Well, Joshua’s mother not only came to see Virat Kohli bat but also got to meet him and the moment was just beautiful. Virat made sure to warmly greet her during their encounter. As the India star walked up towards her, she hugged him and kissed him on his cheek before excitedly asking someone to click a photo of the moment. She hugged Virat one more time before the India batter boarded the team bus. And the moment made her really emotional as she was seen shedding a few tears while giving an interview. The moment Joshua Da Silva’s mother met Virat Kohli. She hugged and kissed Virat and got emotional. (Vimal Kumar YT). Talking about the game, West Indies have finally shown some fight with the bat. After being all out for 150 and 130 in the first Test in Dominica, the hosts started their first innings in the second innings on a good note. Captain Kraigg Brathwaite and Tagenarine Chanderpaul shared a 71-run stand for the first wicket before the latter was dismissed by Ravindra Jadeja for 33. At stumps, West Indies were on 86 for 1, trailing India by 352 runs. Earlier in the game, a century from Virat Kohli and fifties from Yashasvi Jaiswal, Rohit Sharma, Ravindra Jadeja, and Ravichandran Ashwin helped India pile up a big total of 438 runs.
english
<reponame>kierans/crocks-ext<filename>src/Tuple/index.js "use strict"; const Tuple = require("crocks/Tuple"); const converge = require("crocks/combinators/converge"); const identity = require("crocks/combinators/identity"); const { length } = require("../helpers"); // arrayToTuple :: [ a ] -> n-Tuple const arrayToTuple = converge((n, args) => Tuple(n)(...args), length, identity) module.exports = { arrayToTuple }
javascript
Cricket Australia has barred Australian women’s team from talking on the matter of ball tampering which came up yesterday. There is a clear indication that Cricket Australia does not want its players to discuss the matter in public as the captain has accepted that he planned to temper the ball. On the third day of the third Test match, Australian opener Cameron Bancroft was found rubbing sandpaper on one side of the ball. He did not know that he had been caught. Umpires soon came into play and took away the sandpaper. Questions regarding ball tampering were obvious during the post day presser. Steven Smith accepted that it was the plan of the team to change the condition of the ball to get undue advantage. Bancroft was given the job to tamper the ball. The after effects have come out as the team has received criticism from all around the world. Former players have criticised the Australian team too. In fact, Michael Clarke has even suggested to come out retirement to lead the team again. Australian PM, Malcolm Turnbull, also commented on the matter and called it a disappointment. Until the end of the third Test, Cricket Australia has withdrawn Smith and David Warner as captain and vice-captain. Tim Paine has been named stand-in captain for the remaining two days of the Test match. Meanwhile, Australia women’s team faces India tomorrow. A win in tomorrow’s game will put Australia in the final along with England. While if India wins the game, the race will still be open for all the three teams.
english
<gh_stars>0 //===- NpcompModule.cpp - MLIR Python bindings ----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include <cstddef> #include <unordered_map> #include "./NpcompModule.h" #include "./NpcompPybindUtils.h" #include "mlir-c/BuiltinAttributes.h" #include "mlir-c/BuiltinTypes.h" #include "mlir-c/Diagnostics.h" #include "npcomp-c/BasicpyTypes.h" #include "npcomp-c/InitLLVM.h" #include "npcomp-c/NumpyTypes.h" #include "npcomp-c/Registration.h" namespace { MlirType shapedToNdArrayArrayType(MlirType shaped_type) { if (!mlirTypeIsAShaped(shaped_type)) { throw py::raiseValueError("type is not a shaped type"); } return npcompNumpyNdArrayTypeGetFromShaped(shaped_type); } MlirType ndarrayToTensorType(MlirType ndarray_type) { if (!npcompTypeIsANumpyNdArray(ndarray_type)) { throw py::raiseValueError("type is not an ndarray type"); } return npcompNumpyNdArrayTypeToTensor(ndarray_type); } MlirType slotObjectType(MlirContext context, const std::string &className, const std::vector<MlirType> &slotTypes) { MlirStringRef classNameSr{className.data(), className.size()}; return ::npcompBasicPySlotObjectTypeGet(context, classNameSr, slotTypes.size(), slotTypes.data()); } // TODO: Move this upstream. void emitError(MlirLocation loc, std::string message) { ::mlirEmitError(loc, message.c_str()); } } // namespace PYBIND11_MODULE(_npcomp, m) { m.doc() = "Npcomp native python bindings"; ::npcompRegisterAllPasses(); ::npcompInitializeLLVMCodegen(); m.def("register_all_dialects", ::npcompRegisterAllDialects); m.def("shaped_to_ndarray_type", shapedToNdArrayArrayType); m.def("ndarray_to_tensor_type", ndarrayToTensorType); m.def("slot_object_type", slotObjectType); m.def("emit_error", emitError); // Optional backend modules. auto backend_m = m.def_submodule("backend", "Backend support"); (void)backend_m; #ifdef NPCOMP_ENABLE_REFJIT auto refjit_m = backend_m.def_submodule("refjit", "Reference CPU Jit Backend"); ::npcomp::python::defineBackendRefJitModule(refjit_m); #endif }
cpp
Sri Lankan legendary spinner Muttiah Muralitharan, who is a part of the Royal Challengers Bangalore in the Indian Premier League 2013 was given a surprise by his teammates and support staff on his birthday. While entering the team hotel, Muralitharan's teammates surprised him with a cake and sang along to wish the 41-year-old. He was then held by Virat Kohli and a cake was smashed on his face and hair as they sang the birthday song. Muralitharan has represented three IPL teams — Chennai Super Kings, Kochi Tuskers and the current side, Royal Challengers Bangalore.
english
{% extends "site_base.html" %} {% import "bootstrap/forms.html" as bootstrap %} {% block head_title %}{{ gettext("Sign Up") }}{% endblock %} {% block body %} <header class="jumbotron subhead" id="overview"> <h1>{{ gettext("Sign Up") }}</h1> <p class="lead">{{ gettext("To sign up with a new account, use the form below.") }}</p> </header> <div class="row"> <div class="span8"> <form id="signup_form" method="post" action="{{ url("account_signup") }}" autocapitalize="off" class="form-horizontal"{% if form.is_multipart() %} enctype="multipart/form-data"{% endif %}> <legend>{{ gettext("Sign up with a new account") }}</legend> {{ csrf() }} {% if redirect_field_value %} <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /> {% endif %} <fieldset> {{ bootstrap.render_form(form) }} {% include "account/_terms.html" %} <div class="form-actions"> <button type="submit" class="btn btn-primary">{{ gettext("Sign up") }}</button> </div> </fieldset> </form> <form action="{{ url("socialauth_begin", "openid") }}" method="POST" autocapitalize="off" class="form-horizontal"> <legend>{{ gettext("Or sign in with your OpenID") }}</legend> {{ csrf() }} <div class="control-group"> <label class="control-label" for="openid_url">{{ gettext("OpenID Identifier") }}</label> <div class="controls"> <input class="openid" type="text" name="openid_identifier" /> </div> </div> <div class="form-actions"> <input type="submit" value="{{ gettext("Sign in with OpenID") }}" class="btn btn-primary" /> </div> </form> </div> <div class="span4"> {% include "account/_signup_sidebar.html" %} </div> </div> {% endblock %}
html
<reponame>GoZOo/Drupaloscopy<gh_stars>1-10 8.0-alpha13:65bf3458d2c2c46b042f180062672d045e197ed4f4a33dc72c0808e1967bcb86 8.0.0-alpha14:ddc50578baaeeb13dfefa951e58a87992b4317e4e73947ffb00fd1201a78c86f 8.0.0-alpha15:808467eb94075d831d2467de4ff303cc7a30f0064246baa4e3a15fe3b286c102 8.0.0-beta1:808467eb94075d831d2467de4ff303cc7a30f0064246baa4e3a15fe3b286c102 8.0.0-beta2:d6f1ebe059ecab9a21147aaee7741ea213c67521810f36f5290ec291372c4ad7 8.0.0-beta3:d6f1ebe059ecab9a21147aaee7741ea213c67521810f36f5290ec291372c4ad7 8.0.0-beta4:d6f1ebe059ecab9a21147aaee7741ea213c67521810f36f5290ec291372c4ad7 8.0.0-beta6:8ce0db55fd62c641000cf16dc7bf92160441acf279efb16db1905cd5fcad3fdb 8.0.0-beta7:8057c31c38a5a0fa849676b1fec679cd56c1343b12f0b80bcd21260228ad11bf 8.0.0-beta9:dfcca1bc6a55790c0aa5f9b2714dce4f61348e7bec4534e8bb0982f1d72f49a0 8.0.0-beta10:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-beta11:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-beta12:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-beta13:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-beta14:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-beta15:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-beta16:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-rc1:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-rc2:88368a46c667fd6bfcafa05aa661d99c4a6157401e37c9ed99ea937b53d1e2ed 8.0.0-rc3:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.0-rc4:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.3:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.4:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.5:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.6:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.0-beta1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.0-beta2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.0-rc1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.3:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.4:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.5:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.6:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.7:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.8:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.9:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.10:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.0-beta1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.0-beta2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.0-beta3:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.0-rc1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.0-rc2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.3:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.4:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.5:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.6:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.3.0-alpha1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.3.0-beta1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.3.0-rc1:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.7:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.3.0-rc2:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.0.0:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.1.0:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.2.0:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840 8.3.0:0020884b39e3525a875ac570362f6242b89313a6af7253310506069084e73840
css
{"id":"ebf844c1-1bd2-4a17-b3bf-09b19a11b8db","playerTags":[],"teamTags":["8d87c468-699a-47a8-b40d-cfb73a5660ad"],"gameTags":[],"metadata":null,"created":"2021-03-19T03:28:46.587Z","season":13,"tournament":-1,"type":157,"day":82,"phase":6,"category":3,"description":"The Black Hole swallowed a Win from the Crabs!","nuts":1}
json
<gh_stars>1-10 {"web":[{"value":["普遍的","广为流传","分布广的"],"key":"widespread"},{"value":["大面积阵雨"],"key":"widespread shower"},{"value":["广泛应用","广泛应用","推广应用"],"key":"Widespread Application"}],"query":"widespread","translation":["广泛的"],"errorCode":"0","dict":{"url":"yddict://m.youdao.com/dict?le=eng&q=widespread"},"webdict":{"url":"http://m.youdao.com/dict?le=eng&q=widespread"},"basic":{"us-phonetic":"ˈwʌɪdsprɛd","phonetic":"ˈwʌɪdsprɛd","uk-phonetic":"ˈwʌɪdsprɛd","explains":["adj. 普遍的,广泛的;分布广的"]},"l":"EN2zh-CHS"}
json
import {map, mapArray} from '../common/Mapper'; import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; import AnalyticsAttribute from './AnalyticsAttribute'; import AnalyticsQueryOperator from './AnalyticsQueryOperator'; /** * @export * @class AnalyticsGreaterThanOrEqualFilter */ export class AnalyticsGreaterThanOrEqualFilter extends AnalyticsAbstractFilter { /** * Discriminator property for AnalyticsAbstractFilter * @type {string} * @memberof AnalyticsGreaterThanOrEqualFilter */ public operator: AnalyticsQueryOperator.GTE = AnalyticsQueryOperator.GTE; /** * @type {any} * @memberof AnalyticsGreaterThanOrEqualFilter */ public value?: any; constructor(obj?: Partial<AnalyticsGreaterThanOrEqualFilter>) { super(obj); if(!obj) { return; } this.value = map(obj.value); } } export default AnalyticsGreaterThanOrEqualFilter;
typescript
["bins","drivelist-scanner","files-and-folders-server","medimage","megamon-monitoring-server-report","microlattice","mircolattice","nexl-client","removedrive","resin-cli-visuals","resin-device-toolbox","resin-plugin-multiburn","xcf-server"]
json
TIOTI, a startup based in London and Seattle that launched today, stands for Tape It Off The Internet, though that's somewhat misleading. You can't tape anything off its site, nor can you download anything. The site is actually meant to be a clearinghouse for information on TV programs on both sides of the pond. TIOTI promises to point members to sites online where they can watch their shows and buy the DVDs of past seasons while simultaneously creating a social network of people who want to contribute show info and discuss which Lost character should next be drowned in a hatch. I'm a bit of a TV junkie, and so I really wanted to like TIOTI, even if it's acronym is a bit unfortunate. My early impression, though, is that for a content site, there's remarkably little content. I would indeed like to know where I can watch my favorite shows online, for free or otherwise, but the big US networks have been so protective of their content that it's pretty much on the network site or iTunes. And many shows simply say, "Know where to find it online? Tell us." If TIOTI can indeed point me to sources I'm unaware of, that would be interesting, but they want me to tell them? And wait—I can buy DVDs on Amazon, eh? You don't say. The forums are largely empty as well. There may be 1543 people who've pegged Heroes as a favorite show, but not a single one of them is talking about it on the forums. Television Without Pity already has robust discussion forums, as do most networks themselves and numerous fan sites. The interface is decent, so I don't want to be too harsh on TIOTI's first day. Techcrunch UK does note the site had 18,000 beta testers. Hopefully some of that content will be carried over to the launched site.
english
/* Put anything you reference with "url()" in ../assets/ This way, you can minify your application, and just remove the "source" folder for production */ .nice-padding { padding: 15px; } .foreplot-panels { color: white; background: #555; } .foreplot-panels > * { width: 320px; box-shadow: -4px 0px 4px rgba(0,0,0,0.3); -moz-box-shadow: -4px 0px 4px rgba(0,0,0,0.3); -webkit-box-shadow: -4px 0px 4px rgba(0,0,0,0.3); } .foreplot-item { position: relative; border-top: 1px solid #444; border-bottom: 1px solid #222; padding: 12px 16px; background-color: #333333; } .foreplot-item.onyx-selected { background-color: MidnightBlue; } .foreplot-item-title { position: absolute; top: 6px; right: 0; left: 50px; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .foreplot-item-description { position: absolute; top: 28px; right: 0; left: 50px; font-size: 11px; color: #ccc; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .foreplot-item-thumbnail { width: 30px; height: 30px; } .foreplot-more-button { color: white; margin: 10px; } .foreplot-more-spinner { vertical-align: middle; margin: -4px 0 0 4px; } .foreplot-center { margin: auto; } .foreplot-main { background-color: #333; } .foreplot-image { box-sizing: border-box; max-height: 90%; max-width: 90%; border: solid 5px #CCC; box-shadow: 1px 1px 5px #999; width: auto; height: auto; } .foreplot-image.wide { width: 100%; } @media all and (max-width: 800px) { .foreplot-image.wide { width: auto; } } .foreplot-image.tall { height: 100%; }
css
<reponame>adv0r/botcoin<gh_stars>1-10 <HTML> <HEAD> Thu Dec 05 11:00:52 CET 2013 </HEAD> <BODY> <PRE> <table width="100%" border> <tr><th>Log Message</th><th>Time</th></tr> <tr><td>Initial Rule added:sell 1.337 BTC on mtgox if price goes below 74.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>Initial Rule added:buy 1.9 LTC on btce if price goes below 2.3 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>Initial Rule added:sell 0.4 BTC on bitstamp if price goes above 150.4 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>Initial Rule added:buy 0.001 BTC on mtgox if price goes above 1.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>Initial Rule added:buy 0.12 BTC on mtgox if price goes above 10.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>Initial Rule added:sell 0.1 LTC on btce if price goes above 30.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 950.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 716.0 EUR</td><td>Dec 05,2013 11:00</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>[btce] Last price of 1 LTC: 29.9 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 895.0 USD</td><td>Dec 05,2013 11:00</td></tr> <tr><td><p style='color:red'>Post Data: nonce=1386237659928000</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>Query to :https://data.mtgox.com/api/2/MONEY/INFO , HTTP response : </p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>�-�1�0 ѫX��t�t{�(J>+���� �ZQM��dG�[��p7��ہ�</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'></p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>���Srl�8*�Q.���r����qa �q�~��I�GnR���uiNn</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>Unexpected character () at position 0.</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Balance updated :Balance : </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 950.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 716.0 EUR</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 BTC: 875.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 LTC: 29.5 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 895.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 950.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 730.0 EUR</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 LTC: 29.89 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 895.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>Post Data: nonce=1386237689726000</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>Query to :https://data.mtgox.com/api/2/MONEY/INFO , HTTP response : </p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>�-�1�0 ѫX��t�t{�(J>+���� �ZQM��dG�[��p7��ہ�</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'></p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>���Srl�8*�Q.���r����qa �q�~��I�GnR���uiNn</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td><p style='color:red'>Unexpected character () at position 0.</p></td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Balance updated :Balance : </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 950.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 730.0 EUR</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 LTC: 29.89 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 895.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 990.0 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 719.0 EUR</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 BTC: 888.54 USD</td><td>Dec 05,2013 11:01</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.5 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 879.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 990.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 719.0 EUR</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 BTC: 890.68 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.5 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 879.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 964.16 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 710.2 EUR</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 LTC: 29.95 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 879.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>Post Data: nonce=1386237749807000</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>Query to :https://data.mtgox.com/api/2/MONEY/INFO , HTTP response : </p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>�-�1�0 ѫX��t�t{�(J>+���� �ZQM��dG�[��p7��ہ�</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'></p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>���Srl�8*�Q.���r����qa �q�~��I�GnR���uiNn</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>Unexpected character () at position 0.</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Balance updated :Balance : </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 964.16 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 710.2 EUR</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 BTC: 881.64 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 LTC: 29.878 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 879.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 935.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 705.0 EUR</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 BTC: 871.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>Post Data: nonce=1386237779324000</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>Query to :https://data.mtgox.com/api/2/MONEY/INFO , HTTP response : </p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>�-�1�0 ѫX��t�t{�(J>+���� �ZQM��dG�[��p7��ہ�</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'></p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>���Srl�8*�Q.���r����qa �q�~��I�GnR���uiNn</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td><p style='color:red'>Unexpected character () at position 0.</p></td><td>Dec 05,2013 11:02</td></tr> <tr><td>[mtgox] Balance updated :Balance : </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:02</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 935.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 705.0 EUR</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.31 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 940.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 708.87 EUR</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 BTC: 871.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.006 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 851.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'>Post Data: nonce=1386237810316000</p></td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'>Query to :https://data.mtgox.com/api/2/MONEY/INFO , HTTP response : </p></td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'>�-�1�0 ѫX��t�t{�(J>+���� �ZQM��dG�[��p7��ہ�</p></td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'></p></td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'>���Srl�8*�Q.���r����qa �q�~��I�GnR���uiNn</p></td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'>Unexpected character () at position 0.</p></td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Balance updated :Balance : </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 940.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 708.87 EUR</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 BTC: 871.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.006 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 851.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 940.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 708.87 EUR</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.006 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 864.98 USD</td><td>Dec 05,2013 11:03</td></tr> <tr><td><p style='color:red'>Post Data: nonce=1386237839549000</p></td><td>Dec 05,2013 11:04</td></tr> <tr><td><p style='color:red'>Query to :https://data.mtgox.com/api/2/MONEY/INFO , HTTP response : </p></td><td>Dec 05,2013 11:04</td></tr> <tr><td><p style='color:red'>�-�1�0 ѫX��t�t{�(J>+���� �ZQM��dG�[��p7��ہ�</p></td><td>Dec 05,2013 11:04</td></tr> <tr><td><p style='color:red'></p></td><td>Dec 05,2013 11:04</td></tr> <tr><td><p style='color:red'>���Srl�8*�Q.���r����qa �q�~��I�GnR���uiNn</p></td><td>Dec 05,2013 11:04</td></tr> <tr><td><p style='color:red'>Unexpected character () at position 0.</p></td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Balance updated :Balance : </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 940.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 708.87 EUR</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.46 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 864.98 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 940.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 708.87 EUR</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Last price of 1 BTC: 865.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.5 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 940.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Last price of 1 BTC: 708.87 EUR</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Last price of 1 BTC: 865.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Last price of 1 LTC: 30.851 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Last price of 1 BTC: 870.0 USD</td><td>Dec 05,2013 11:04</td></tr> <tr><td>[mtgox] Balance updated :Balance : 0.00700262 BTC; 1.89642 USD; 1.89642 EUR </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[btce] Balance updated :Balance : 5.889E-5 BTC; 5.889E-5 LTC; 0.99755187 USD; </td><td>Dec 05,2013 11:04</td></tr> <tr><td>[bitstamp] Balance updated :Balance : 3.878 BTC; 7072.95 USD; </td><td>Dec 05,2013 11:04</td></tr> </table> </PRE></BODY> </HTML>
html
<filename>token-metadata/0xe75899A17995a7Df29B15f1e4E486B2C86287c51/metadata.json { "name": "dasniodnaio", "symbol": "grneiogng3", "address": "0xe75899A17995a7Df29B15f1e4E486B2C86287c51", "decimals": 18, "dharmaVerificationStatus": "UNVERIFIED" }
json
<reponame>rodelrebucas/dev-overload-starterpack """ Time complexity O(n) """ # Search for maximum number l = [2, 4, 5, 1, 80, 5, 99] maximum = l[0] for item in l: if item > maximum: maximum = item print(maximum)
python
{ "stdout": [ { "line": "test cases/failing/48 pkgconfig variables zero length value/meson.build:8:5: ERROR: Invalid variable \"key=\". Variables must be in 'name=value' format" } ] }
json
- 2 hrs ago 5 Best Microwave Ovens For Your Kitchen: Deals To Consider As Amazon Sale 2023 Is Nearing! - Technology Samsung Galaxy Z Fold 5, Galaxy Z Flip 5 Price Leaks Ahead Of Launch: Premium Foldable Smartphones Start At? - Travel Have you been to Vishveshwaraya Falls in Mandya yet? If not, this is the best time! Why Krishna Got Arjuna To Kill Karna? According to Puranas, Mahabharatha war is the greatest war ever fought for saving dharma and destroying adharma. During the course of the war, many things happened that made the story more multifaceted and complex. Many a times, during the war, Krishna forced Arjuna to break conventional rules to save the ultimate Dharma. Killing of Karna is also one part associated with this in the Puranas. Karna was the son of Surya, king of Anga and a great warrior who had the protection of kavach and kundal for protecting his life. His name is always associated to sacrifice, courage, charity and selflessness. Unfortunately, Karna had to face the effect of three curses that he got previously from his Guru, a Brahmin and Bhoomi devi. Krishna utilised this opportunity and asked Arjuna to kill Karna, when he was trying to bring up his chariot wheel, when staying armless and when he forgot to use his Brahmasthra. While going through the story, it is natural that we all feel the same doubt in our mind. Why Krishna got Karna killed? You will get an answer once you are clear about the ultimate aim of the Mahabharatha war. Here, we shall discuss on what made Krishna get Karna killed. In the Bhagavat Geeta, it is clearly mentioned that Lord Krishna believes and advises us that goal is more important than the means that you adopt to reach there. The ultimate aim of lord Krishna was to save Dharma and defeat Adharma. If you wonder why Krishna got Karna killed, know that this is the ultimate reason. When it is all about fighting for saving dharma, Krishna always followed a common policy of breaking conventional rules. Killing of Karna, even when he was armless, is one of the major and critical decisions that Krishna took during the course of the war. Hence, this decision resulted in the victory of the Pandavas. Unlike other wars that were fought between two entirely different origin of people, Mahabharatha war was between the members of the same family. Since the war is a type of kill or be killed one, the death of anyone of the opponents was very important. This made Krishna utilise the best opportunity that he got to defeat Karna. This may be one of the reasons why Krishna got Karna killed during the war, even when he was armless. Karna was considered as the only powerful person who could fight and kill Arjuna, hence he had to be defeated by any means. Also, moving forward in the war to attain victory without defeating Karna was almost impossible for the Pandavas. With the death of Karna, the greatest hurdle to the victory of the Pandavas was cleared. While thinking about what made Krishna get Karna killed, nothing will give you a clear answer than the ultimate aim of the war. To recover Dharma, all and everything that comes in the way of Adharma should be destroyed. No matter who it is, setting people to be free, who are in the way of Adharma, would have spoiled the ultimate aim of the war. Hence, Karna is still glorified as one of the best characters in the Mahabharatha and his name will remain as long as the world exists. - faith mysticismHow Did Lord Krishna Save Draupadi From Vastraharan In Mahabharata? - faith mysticismWhy Do People Wear Black Thread Around Their Ankle? - faith mysticismIs There A Common Story Behind Onam & Raksha Bandhan?
english
### [CVE-2010-1895](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1895) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The Windows kernel-mode drivers in win32k.sys in Microsoft Windows XP SP2 and SP3, and Windows Server 2003 SP2, do not properly perform memory allocation before copying user-mode data to kernel mode, which allows local users to gain privileges via a crafted application, aka "Win32k Pool Overflow Vulnerability." ### POC #### Reference - https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-048 #### Github No PoCs found on GitHub currently.
markdown
<filename>main.py import random from PIL import Image, ImageDraw import json from wordfreq import word_frequency import tweepy import time import os #basically makes a list of RGB values that are kinda different enough to not have jus identical flags def get_colors(): #these colors are ones that are already absolutely anarchy flags bad_colors = [[0, 0, 0], [255, 255, 255], [255, 0, 0], [0, 153, 0], [140, 0, 148], [255, 102, 0], [254, 68, 255]] rgb = [] i = 0 #jus keep on addin until finiding a new RGB value is too hard while i != len(bad_colors): i = len(bad_colors) for p in range(10): listo = [random.randint(0, 255), random.randint(0, 255), random.randint(0, 255)] found = False for q in bad_colors: if (abs(listo[0] - q[0]) < 25) and (abs(listo[1] - q[1]) < 25) and (abs(listo[2] - q[2]) < 25): found = True if found == False: rgb.append(listo) bad_colors.append(listo) #now we got our json with open('colors.json', 'w') as f: json.dump(rgb, f) #the actual function called def make_flags(words, colors): pairs = [] while len(words) > 0 and len(colors) > 0: color = colors[random.randint(0, len(colors)-1)] word = random.choice(words) pairs.append([word, color]) #so the actual looping works, remove from the lists and wait for a hot min (4 hours to be exact) words.remove(word) colors.remove(color) #and fin. with open('pairs.json', 'w') as f: json.dump(pairs, f) print("all done!") #just so i can upload this code publically lmao def get_keys(filename): keys = [] with open(filename) as f: for line in f: keys.append(line.rstrip()) return keys #take the random list of words i got online and assign it a popularity score def filter_raw(): with open("words_raw.json", "r") as f: words = json.load(f) freq = {} for i in words: freq[i] = word_frequency(i, 'en') with open('words_filtered.json', 'w') as f: json.dump(freq, f) #get only the words people actual have kinda heard of #think i used something in the range of 5e-8? i forgot tbh def get_popular(freq): with open("words_filtered.json", "r") as f: words = json.load(f) popular = [] #just so we don't accidentally get something that actually exists lmao bad_words = ["communism", "capitalism", "socialism", "feminism", "pacifism", "primitivism", "mutualism", "egoism", "leftism", "fascism"] for i in words.keys(): if words[i] > freq and i not in bad_words: popular.append(i) print(len(popular)) with open('words.json', 'w') as f: json.dump(popular, f) #this is so i can just write main.py in the console (for now!). def main(): #get all the needed colors/words ready with open("anarchyflagbot/pairs.json", "r") as f: content = json.load(f) if len(newFlag) == 0: print("No pairs remain :(") return newFlag = content.pop() anarcho = "the flag for anarcho-" + newFlag[0] + "." print(newFlag) #make a flag image flag = Image.new("RGB", (1875, 1250)) draw = ImageDraw.Draw(flag) rect = draw.rectangle([0, 0, 1875, 1250],fill=(newFlag[1][0], newFlag[1][1], newFlag[1][2])) tri = draw.polygon([0, 1250, 1875, 0, 1875, 1250], fill=(0, 0, 0)) flag.save("flag.png") #set-up into the twitter bot keys = get_keys("anarchy_keys.txt") auth = tweepy.OAuthHandler(keys[0], keys[1]) auth.set_access_token(keys[2], keys[3]) api = tweepy.API(auth) #and then, at last, we tweet. api.update_with_media("flag.png", status=anarcho) #afterwards, rewrite the pairs without the used color/word with open("anarchyflagbot/pairs.json", 'w') as f: json.dump(content, f) if __name__ == "__main__": main()
python
Wednesday November 22, 2017, On Tuesday, Indian mobile payments major, Paytm, acquired a majority stake in CreditMate, a Mumbai-based startup in the lending space which focuses on enabling its dealer partners to distribute two-wheeler loans to customers with no formal credit history. As a part of this investment, Paytm will leverage CreditMate’s proprietary credit and asset valuation technology to create a loan management system in collaboration with its lending partner for its customers. This news comes just a week after Paytm announced its lending product, Paytm Postpaid, to enable access to instant credit for its customers for everyday commerce use-cases, ranging from movies to bill payments, flights to physical goods. Speaking on the occasion, Madhur Deora, Senior Vice-President and Chief Financial Officer of Paytm, said, Madhur states that CreditMate will be a valuable and long-term partner towards Paytm’s effort to cater to the unorganised sector and bring inclusive financial services for the masses. Further, about 65 percent of Creditmate customers are already Paytm users, according to the company which speaks of the ubiquity of Paytm usage and the unique opportunities to expand availability of credit in the country. Madhur adds, “Over time, we will use Creditmate's platforms to make credit available both offline and online to our users. " Co-founded in April 2016, by Ashish Doshi, Jonathan Bill and Aditya Singh, the company is in Mumbai and focuses on financing the used two-wheeler market. In October 2016, the company had secured a seed funding of $500,000 from early stage investment firm, India Quotient. Jonathan Bill, Co-Founder and CEO of CreditMate, was quoted as saying, Through their product Postpaid, Paytm plans to offer its users an instant credit based on their transaction history on the platform. On the platform, a customer can get credit limit ranging from Rs 3,000 to Rs 10,000, which can be extended to Rs 20,000 based on their usage. Further, launched in association with ICICI Bank, Paytm Postpaid offers up to 45 days of interest-free credit to customers who want instant cash for everyday use-cases. Earlier this month, Paytm also launched their messaging feature, Inbox, and claimed to garner close to 3 million users within two days of launch.
english
If Sharat Katariya’s previous movie was about the heavy lifting required to make a marriage work, his new film is about the warp and weft of a small-town man’s life. Both Dum Laga Ke Haisha (2015) and Sui Dhaaga: Made in India are set in dysfunctional middle-class families and explore the hopes and aspirations of Indians who live beyond the metropolises. Both films propose feel-good solutions to seemingly intractable problems. What eventually endures isn’t the inevitable heart-warming finale but the honesty of the writing and the performances and the subversions, minor and major. In Sui Dhaaga, Katariya puts the screen persona of Hindi cinema’s most hard-working young star to good use. Varun Dhawan has an eagerness to please and a rare willingness to expand the boundaries of his still-evolving acting range, and these qualities hugely help his character Mauji become believable and likable. Mauji has descended from a family of handloom weavers, but circumstances have forced him into the employment of the odious Bansals. He swallows their insults because he needs the job and because his father (Raghuvir Yadav) has told him to be obedient at all times. Mauji’s wife Mamta (Anushka Sharma) might seem to be the docile roti maker of the household, but she is made of sterner stuff. Aghast after she sees Mauji debase himself before the Bansals at a public function, Mamta persuades him to reclaim his self-worth. The only way to do so is to be one’s own boss, Mamta gently tells Mauji, but that is easier said than done. There are numerous obstacles to cross, some reflective of the challenges faced by lakhs of Indians who seek self-employment and some the result of a filmmaker’s need to ratchet up the tension. Will Mauji gets his hands on a prized sewing machine to set him off on his difficult path? The sequence is milked for all its possibilities, but it produces some moving visuals of the desperate state of employment. As Mauji and Mamta fill out a form that will give them the sewing machine, the camera pulls back to reveals the hundreds of other applicants squatting in the open, waiting for their “Made in India” moment. Katariya, who has also written the 122-minute film, spares no effort in his attempt to create a complex tapestry of struggle and success. Sui Dhaaga creates a very real sense of its small-town location and has been beautifully lensed by Anil Mehta and designed by Meenal Agarwal. Some themes in Katariya’s overly busy screenplay work better than others. The filmmaker nails the lack of dignity of labour accorded to people like Mauji and the manner in which this class of Indian society is taken for granted. Even though the relationship between the married couple assumes too much importance, Katariya makes it clear that Mauji could not have done it alone. Anushka Sharma turns out a surprisingly low-key and dignified performance, backing Varun Dhawan in his exertions all the way. The movie is on less sure ground when it comes to unknotting Mauji’s problems. At times, Sui Dhaaga feels like a 101 on entrepreneurship, a How To Embrace Your Inner Sabyasachi Mukherjee tutorial. The film has a clear mandate to deliver a rousing climax that makes it seem that anything is possible. The fashion world, which often relies on the creativity and sweat of anonymous artisans to sell high-priced goods, becomes a reliable villain. Yet, it is the haute couture industry that puts the final stamp of approval on Mauji, suggesting that for the handloom tradition to survive, it cannot but embrace the same marketplace that sucks it dry. Could this also be said about Sui Dhaaga? The narrative is caught between the compulsions of delivering a celebratory saga and the knowledge that achievement and lucre hardly come easy. Sui Dhaaga works best when it moves into unexpected directions and subverts its own insistent optimism. Absurdist humour and caustic observations on human foibles lighten the domestic scenes, and like in Dum Laga Ke Haisha, Katariya creates a beautiful portrait of a typical Indian family with all its flaws and limitations. Mauji’s defeatist father, wonderfully played by Raghuvir Yadav, gets his share of deserved whacks for participating in his son’s humiliation. Mauji’s mother (Yamini Dass) is supportive but also complicates matters by developing an ailment that sucks the family dry. The things we have to do to keep our mother happy, Mauji observes. It’s the small moments and minor motifs that ultimately win the day in Sui Dhaaga. For those who are watching closely, it is irrelevant whether Mauji impresses the fashion pundits. What matters is Mauji’s resistance to the pessimism of the previous generation, his egalitarian approach to marriage and labour, and his rediscovery of a spine that has been bent out of shape. Varun Dhawan matches Mauji’s journey, leaping over obstacles with confidence and a can-do spirit that is hard to resist.
english
{"resourceType":"DataElement","id":"TestScript.setup.action","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/TestScript.setup.action","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"TestScript.setup.action","short":"A setup operation or assert to perform","definition":"Action would contain either an operation or an assertion.","comments":"An action should contain either an operation or an assertion but not both. It can contain any number of variables.","min":1,"max":"*","type":[{"code":"BackboneElement"}],"constraint":[{"key":"inv-1","severity":"error","human":"Setup action SHALL contain either an operation or assert but not both.","xpath":"(f:operation or f:assert) and not(f:operation and f:assert)"}]}]}
json
Ibudhou Thangjing temple is located in Moirang, one of the prominent cities of Bishnupur district in Manipur. The temple is dedicated to Ibudhou Thangjing, one of the most important traditional deities of the Manipuris. It is believed that Lord Thangjing protects Moirang from evil. The Ibudhou Thangjing temple adorns itself with lights and glitters every year during the Lai Haroba festival. The Lai Haroba festival is celebrated during the month of May. It is a traditional festival paying respect to the pre-Hindu times deity Ibudhou Thangjing. Dancing, singing and feasting mark the festivities that go on for about a month. The men and women dress in their traditional attires and proceed towards the temple praying to the Lord. The dance form called Khamba Thoibi is performed during the Lai Haroba festival. It is the best time to visit Moirang and participate in the festive spirit.
english
{ "title": "GoodHabitsApp", "identifier": "com.trola.GoodHabitsApp", "orientation": "portrait", "versioncode": 1, "versionname": "1.0.0", "stage": "test" }
json
Since the release of her movie ‘Kumari 21F’, Hebah Patel has had a few ups and downs in her career. Her films have not made big impressions but she still manages to engage her fans via social media with her stunning looks. She has dropped some stunning pics on gram today in a black ensemble, featuring a dramatic neckline and a high-slit skirt. Her jewellery added a special sparkle to the look, creating an out-of-this-world effect. Undoubtedly, her gorgeous appearance has taken the internet by storm!
english