text
stringlengths
1
1.04M
language
stringclasses
25 values
Vijay Deverakonda Gets Rs. 48 Cr Offer From YRF? 'Adithya Varma' is more of 'Arjun Reddy' Shalini Irks South Producers, Complaint Lodged! Sandeep Vanga Not Interested in Mahesh's Film? Sandeep Reddy Vanga A Blockbuster in Bollywood! Indian 2: Set for April 2024 Release?
english
from __future__ import print_function import argparse import os import time, platform import cv2 import torch import torch.optim as optim from torch.utils.data import DataLoader from datasets import DATASET_NAMES, BipedDataset, TestDataset, dataset_info from losses import * from model import DexiNed # from model0C import DexiNed from utils import (image_normalization, save_image_batch_to_disk, visualize_result) IS_LINUX = True if platform.system()=="Linux" else False def train_one_epoch(epoch, dataloader, model, criterion, optimizer, device, log_interval_vis, tb_writer, args=None): imgs_res_folder = os.path.join(args.output_dir, 'current_res') os.makedirs(imgs_res_folder,exist_ok=True) # Put model in training mode model.train() # l_weight = [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 1.1] # for bdcn ori loss # before [0.6,0.6,1.1,1.1,0.4,0.4,1.3] [0.4,0.4,1.1,1.1,0.6,0.6,1.3],[0.4,0.4,1.1,1.1,0.8,0.8,1.3] l_weight = [0.7,0.7,1.1,1.1,0.3,0.3,1.3] # for bdcn loss theory 3 before the last 1.3 0.6-0..5 # l_weight = [[0.05, 2.], [0.05, 2.], [0.05, 2.], # [0.1, 1.], [0.1, 1.], [0.1, 1.], # [0.01, 4.]] # for cats loss for batch_id, sample_batched in enumerate(dataloader): images = sample_batched['images'].to(device) # BxCxHxW labels = sample_batched['labels'].to(device) # BxHxW preds_list = model(images) # loss = sum([criterion(preds, labels, l_w, device) for preds, l_w in zip(preds_list, l_weight)]) # cats_loss loss = sum([criterion(preds, labels,l_w)/args.batch_size for preds, l_w in zip(preds_list,l_weight)]) # bdcn_loss # loss = sum([criterion(preds, labels) for preds in preds_list]) #HED loss, rcf_loss optimizer.zero_grad() loss.backward() optimizer.step() if tb_writer is not None: tb_writer.add_scalar('loss', loss.detach(), (len(dataloader) * epoch + batch_id)) if batch_id % 5 == 0: print(time.ctime(), 'Epoch: {0} Sample {1}/{2} Loss: {3}' .format(epoch, batch_id, len(dataloader), loss.item())) if batch_id % log_interval_vis == 0: res_data = [] img = images.cpu().numpy() res_data.append(img[2]) ed_gt = labels.cpu().numpy() res_data.append(ed_gt[2]) # tmp_pred = tmp_preds[2,...] for i in range(len(preds_list)): tmp = preds_list[i] tmp = tmp[2] # print(tmp.shape) tmp = torch.sigmoid(tmp).unsqueeze(dim=0) tmp = tmp.cpu().detach().numpy() res_data.append(tmp) vis_imgs = visualize_result(res_data, arg=args) del tmp, res_data vis_imgs = cv2.resize(vis_imgs, (int(vis_imgs.shape[1]*0.8), int(vis_imgs.shape[0]*0.8))) img_test = 'Epoch: {0} Sample {1}/{2} Loss: {3}' \ .format(epoch, batch_id, len(dataloader), loss.item()) BLACK = (0, 0, 255) font = cv2.FONT_HERSHEY_SIMPLEX font_size = 1.1 font_color = BLACK font_thickness = 2 x, y = 30, 30 vis_imgs = cv2.putText(vis_imgs, img_test, (x, y), font, font_size, font_color, font_thickness, cv2.LINE_AA) cv2.imwrite(os.path.join(imgs_res_folder, 'results.png'), vis_imgs) def validate_one_epoch(epoch, dataloader, model, device, output_dir, arg=None): # XXX This is not really validation, but testing # Put model in eval mode model.eval() with torch.no_grad(): for _, sample_batched in enumerate(dataloader): images = sample_batched['images'].to(device) # labels = sample_batched['labels'].to(device) file_names = sample_batched['file_names'] image_shape = sample_batched['image_shape'] preds = model(images) # print('pred shape', preds[0].shape) save_image_batch_to_disk(preds[-1], output_dir, file_names,img_shape=image_shape, arg=arg) def test(checkpoint_path, dataloader, model, device, output_dir, args): if not os.path.isfile(checkpoint_path): raise FileNotFoundError( f"Checkpoint filte note found: {checkpoint_path}") print(f"Restoring weights from: {checkpoint_path}") model.load_state_dict(torch.load(checkpoint_path, map_location=device)) # Put model in evaluation mode model.eval() with torch.no_grad(): total_duration = [] for batch_id, sample_batched in enumerate(dataloader): images = sample_batched['images'].to(device) if not args.test_data == "CLASSIC": labels = sample_batched['labels'].to(device) file_names = sample_batched['file_names'] image_shape = sample_batched['image_shape'] print(f"input tensor shape: {images.shape}") # images = images[:, [2, 1, 0], :, :] start_time = time.time() preds = model(images) tmp_duration = time.time() - start_time total_duration.append(tmp_duration) save_image_batch_to_disk(preds, output_dir, file_names, image_shape, arg=args) torch.cuda.empty_cache() total_duration = np.array(total_duration) print("******** Testing finished in", args.test_data, "dataset. *****") print("Average time per image: %f.4" % total_duration.mean(), "seconds") print("Time spend in the Dataset: %f.4" % total_duration.sum(), "seconds") def testPich(checkpoint_path, dataloader, model, device, output_dir, args): # a test model plus the interganged channels if not os.path.isfile(checkpoint_path): raise FileNotFoundError( f"Checkpoint filte note found: {checkpoint_path}") print(f"Restoring weights from: {checkpoint_path}") model.load_state_dict(torch.load(checkpoint_path, map_location=device)) # Put model in evaluation mode model.eval() with torch.no_grad(): total_duration = [] for batch_id, sample_batched in enumerate(dataloader): images = sample_batched['images'].to(device) if not args.test_data == "CLASSIC": labels = sample_batched['labels'].to(device) file_names = sample_batched['file_names'] image_shape = sample_batched['image_shape'] print(f"input tensor shape: {images.shape}") start_time = time.time() # images2 = images[:, [1, 0, 2], :, :] #GBR images2 = images[:, [2, 1, 0], :, :] # RGB preds = model(images) preds2 = model(images2) tmp_duration = time.time() - start_time total_duration.append(tmp_duration) save_image_batch_to_disk([preds,preds2], output_dir, file_names, image_shape, arg=args, is_inchannel=True) torch.cuda.empty_cache() total_duration = np.array(total_duration) print("******** Testing finished in", args.test_data, "dataset. *****") print("Average time per image: %f.4" % total_duration.mean(), "seconds") print("Time spend in the Dataset: %f.4" % total_duration.sum(), "seconds") def parse_args(): """Parse command line arguments.""" parser = argparse.ArgumentParser(description='DexiNed trainer.') parser.add_argument('--choose_test_data', type=int, default=3, help='Already set the dataset for testing choice: 0 - 8') # ----------- test -------0-- TEST_DATA = DATASET_NAMES[parser.parse_args().choose_test_data] # max 8 test_inf = dataset_info(TEST_DATA, is_linux=IS_LINUX) test_dir = test_inf['data_dir'] is_testing = True # current test _bdcnlossNew256-sd7-1.10.4p5 # Training settings TRAIN_DATA = DATASET_NAMES[0] # BIPED=0 train_inf = dataset_info(TRAIN_DATA, is_linux=IS_LINUX) train_dir = train_inf['data_dir'] # Data parameters parser.add_argument('--input_dir', type=str, default=train_dir, help='the path to the directory with the input data.') parser.add_argument('--input_val_dir', type=str, default=test_inf['data_dir'], help='the path to the directory with the input data for validation.') parser.add_argument('--output_dir', type=str, default='checkpoints', help='the path to output the results.') parser.add_argument('--train_data', type=str, choices=DATASET_NAMES, default=TRAIN_DATA, help='Name of the dataset.') parser.add_argument('--test_data', type=str, choices=DATASET_NAMES, default=TEST_DATA, help='Name of the dataset.') parser.add_argument('--test_list', type=str, default=test_inf['test_list'], help='Dataset sample indices list.') parser.add_argument('--train_list', type=str, default=train_inf['train_list'], help='Dataset sample indices list.') parser.add_argument('--is_testing',type=bool, default=is_testing, help='Script in testing mode.') parser.add_argument('--double_img', type=bool, default=True, help='True: use same 2 imgs changing channels') # Just for test parser.add_argument('--resume', type=bool, default=False, help='use previous trained data') # Just for test parser.add_argument('--checkpoint_data', type=str, default='14/14_model.pth', help='Checkpoint path from which to restore model weights from.') parser.add_argument('--test_img_width', type=int, default=test_inf['img_width'], help='Image width for testing.') parser.add_argument('--test_img_height', type=int, default=test_inf['img_height'], help='Image height for testing.') parser.add_argument('--res_dir', type=str, default='result', help='Result directory') parser.add_argument('--log_interval_vis', type=int, default=50, help='The number of batches to wait before printing test predictions.') parser.add_argument('--epochs', type=int, default=22, metavar='N', help='Number of training epochs (default: 25).') parser.add_argument('--lr', default=1e-4, type=float, help='Initial learning rate.') parser.add_argument('--wd', type=float, default=1e-4, metavar='WD', help='weight decay (default: 1e-4)') # parser.add_argument('--lr_stepsize', # default=1e4, # type=int, # help='Learning rate step size.') parser.add_argument('--batch_size', type=int, default=8, metavar='B', help='the mini-batch size (default: 8)') parser.add_argument('--workers', default=8, type=int, help='The number of workers for the dataloaders.') parser.add_argument('--tensorboard',type=bool, default=True, help='Use Tensorboard for logging.'), parser.add_argument('--img_width', type=int, default=480, help='Image width for training.') # BIPED 400 BSDS 352 MDBD 480 parser.add_argument('--img_height', type=int, default=480, help='Image height for training.') # BIPED 400 BSDS 352 parser.add_argument('--channel_swap', default=[2, 1, 0], type=int) parser.add_argument('--crop_img', default=True, type=bool, help='If true crop training images, else resize images to match image width and height.') parser.add_argument('--mean_pixel_values', default=[103.939,116.779,123.68, 137.86], type=float) # [103.939,116.779,123.68] [104.00699, 116.66877, 122.67892] args = parser.parse_args() return args def main(args): """Main function.""" print(f"Number of GPU's available: {torch.cuda.device_count()}") print(f"Pytorch version: {torch.__version__}") # Tensorboard summary writer tb_writer = None training_dir = os.path.join(args.output_dir,args.train_data) os.makedirs(training_dir,exist_ok=True) checkpoint_path = os.path.join(args.output_dir, args.train_data, args.checkpoint_data) if args.tensorboard and not args.is_testing: # from tensorboardX import SummaryWriter # previous torch version from torch.utils.tensorboard import SummaryWriter # for torch 1.4 or greather tb_writer = SummaryWriter(log_dir=training_dir) # Get computing device device = torch.device('cpu' if torch.cuda.device_count() == 0 else 'cuda') # Instantiate model and move it to the computing device model = DexiNed().to(device) # model = nn.DataParallel(model) ini_epoch =0 if not args.is_testing: if args.resume: ini_epoch=17 model.load_state_dict(torch.load(checkpoint_path, map_location=device)) dataset_train = BipedDataset(args.input_dir, img_width=args.img_width, img_height=args.img_height, mean_bgr=args.mean_pixel_values[0:3] if len( args.mean_pixel_values) == 4 else args.mean_pixel_values, train_mode='train', arg=args ) dataloader_train = DataLoader(dataset_train, batch_size=args.batch_size, shuffle=True, num_workers=args.workers) dataset_val = TestDataset(args.input_val_dir, test_data=args.test_data, img_width=args.test_img_width, img_height=args.test_img_height, mean_bgr=args.mean_pixel_values[0:3] if len( args.mean_pixel_values) == 4 else args.mean_pixel_values, test_list=args.test_list, arg=args ) dataloader_val = DataLoader(dataset_val, batch_size=1, shuffle=False, num_workers=args.workers) # Testing if args.is_testing: output_dir = os.path.join(args.res_dir, args.train_data+"2"+ args.test_data) print(f"output_dir: {output_dir}") if args.double_img: # predict twice an image changing channels, then mix those results testPich(checkpoint_path, dataloader_val, model, device, output_dir, args) else: test(checkpoint_path, dataloader_val, model, device, output_dir, args) return criterion = bdcn_loss2 optimizer = optim.Adam(model.parameters(), lr=args.lr, weight_decay=args.wd) # lr_schd = lr_scheduler.StepLR(optimizer, step_size=args.lr_stepsize, # gamma=args.lr_gamma) # Main training loop seed=1021 for epoch in range(ini_epoch,args.epochs): if epoch%7==0: seed = seed+1000 np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed(seed) print("------ Random seed applied-------------") # Create output directories output_dir_epoch = os.path.join(args.output_dir,args.train_data, str(epoch)) img_test_dir = os.path.join(output_dir_epoch, args.test_data + '_res') os.makedirs(output_dir_epoch,exist_ok=True) os.makedirs(img_test_dir,exist_ok=True) train_one_epoch(epoch, dataloader_train, model, criterion, optimizer, device, args.log_interval_vis, tb_writer, args=args) validate_one_epoch(epoch, dataloader_val, model, device, img_test_dir, arg=args) # Save model after end of every epoch torch.save(model.module.state_dict() if hasattr(model, "module") else model.state_dict(), os.path.join(output_dir_epoch, '{0}_model.pth'.format(epoch))) if __name__ == '__main__': args = parse_args() main(args)
python
* { margin: 0; padding: 0; } html, body, #map { height: 100%; } .controllers-wrapper { position: fixed; z-index: 999; bottom: 0; width: 100%; padding: 1.5rem 0; display: flex; justify-content: center; } .btn { background: #fff; border: 1px solid #aaa; border-radius: 0.25rem; box-shadow: 0 0 0.25rem #aaa; color: #333; cursor: pointer; font-weight: bold; line-height: normal; padding: 0.25rem 0.75rem; text-decoration: none; } .btn:active { background: #f5f5f5; } .controllers-wrapper #months { border: 1px solid #aaa; border-radius: 0.25rem; color: #333; margin: 0 0.25rem; padding: 0.35rem 0.25rem; box-shadow: 0 0 0.25rem #aaa; width: 10rem; }
css
Live Breaking News: Lionel Messi Misses UNFP Awards Ceremony to Attend Coldplay Concert in Barcelona Amid Reports of PSG Exit (Watch Video) Carlos Alcaraz vs Flavio Cobolli, French Open 2023 Live Streaming Online: How To Watch Live TV Telecast of Roland Garros Men’s Singles First Round Tennis Match? Lionel Messi Misses UNFP Awards Ceremony to Attend Coldplay Concert in Barcelona Amid Reports of PSG Exit (Watch Video) Woman Cremates Husband’s Body at Her Home in Kurnool (Watch Video) Carlos Alcaraz vs Flavio Cobolli, French Open 2023 Live Streaming Online: How To Watch Live TV Telecast of Roland Garros Men’s Singles First Round Tennis Match? Cryptocurrency prices in India today (29 May 2023) Cryptocurrency prices in India on (28 May 2023) Cryptocurrency prices in India on (27 May 2023) Cryptocurrency prices in India on (26 May 2023) Andhra Pradesh Shocker: Woman Cremates Husband’s Body at Her Home in Kurnool (Watch Video) Carlos Alcaraz vs Flavio Cobolli, French Open 2023 Live Streaming Online: How To Watch Live TV Telecast of Roland Garros Men’s Singles First Round Tennis Match? Lionel Messi Misses UNFP Awards Ceremony to Attend Coldplay Concert in Barcelona Amid Reports of PSG Exit (Watch Video) BLACKPINK's Jennie in Cannes 2023: K-Pop Idol Redefines Chic in LBD at The Cannes Film Festival (View Pics) Malaika Arora-Arjun Kapoor, Janhvi Kapoor, Sara Ali Khan and Other Stars Arrive at Varun Dhawan-Natasha Dalal's Anniversary Bash in Style (Watch Videos) Kuttey Full Movie in HD Leaked on Torrent Sites & Telegram Channels for Free Download and Watch Online; Arjun Kapoor and Tabu's Film Is the Latest Victim of Piracy? Kuttey Movie Review: Arjun Kapoor, Tabu and Radhika Madan's Film Is Deliciously Dark Minus The Much-Needed Bite! (LatestLY Exclusive! ) Kuttey Song Tere Saath: Radhika Madan's Hot Chemistry With Shardul Bhardwaj Is the Highlight of This Romantic Number (Watch Video) Kuttey: Trolls Vandalise Film's Wiki Page to Mock Arjun Kapoor, Writes 'Someone With No Acting Skills' Next to Him (View Pic) Phir Dhan Te Nan Song: Arjun Kapoor, Tabu, Konkona Sen Sharma, Radhika Madan’s Track Has Similar Kaminey Vibes but New Faces (Watch Video) Phir Dhan Te Nan: Shahid Kapoor's Kaminey Song Gets a Twist in Arjun Kapoor's Kuttey, Track to Be Out on Jan 5 (Watch Promo) Varun Dhawan and Arjun Kapoor are All Smiles as They Enjoy Wilderness of Ranthambore (View Pic) Carlos Alcaraz vs Flavio Cobolli, French Open 2023 Live Streaming Online: How To Watch Live TV Telecast of Roland Garros Men’s Singles First Round Tennis Match? Lionel Messi Misses UNFP Awards Ceremony to Attend Coldplay Concert in Barcelona Amid Reports of PSG Exit (Watch Video) Grand Canal Turns Green: Italian Authorities Launch Probe After Grand Canal Water in Venice Turns Fluorescent Green (See Pics and Videos) Shanaya Kapoor Exudes Barbie Vibes in Body-Hugging Pink Dress (View Pics) IIFA 2023: Vicky Kaushal Almost Trips While Dancing With Rakhi Sawant on ‘Sheila Ki Jawani’ (Watch Viral Video) Bitcoin(BTC) Ethereum(ETH) Tether(USDT) BNB(BNB)
english
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" /> <title>URL State Documentation</title> <script src="/js/greyspots.js" type="text/javascript"></script> <link href="/css/greyspots.css" type="text/css" rel="stylesheet" /> <script src="/js/ace/ace.js" data-ace-base="/js/ace/" type="text/javascript" charset="utf-8"></script> <script src="/js/ace/ext-language_tools.js" type="text/javascript"></script> <script src="/js/ace/ext-searchbox.js" type="text/javascript"></script> <script src="doc-library/doc.js" type="text/javascript"></script> <link href="doc-library/doc.css" type="text/css" rel="stylesheet" /> </head> <body> <gs-jumbo> <h1 class="text-center">URL State Functions</h1> </gs-jumbo> <gs-container min-width="sml;med;lrg"> <h3 class="doc-header">Functions:</h3> <div class="doc-section doc-mono"> <p>GS.pushState(&lt;STATE-OBJ&gt;, &lt;TITLE&gt;, &lt;URL&gt;);<br /> GS.replaceState(&lt;STATE-OBJ&gt;, &lt;TITLE&gt;, &lt;URL&gt;);<br /> GS.pushQueryString(&lt;OVERRIDING-QUERYSTRING&gt;);</p> GS.removeFromQueryString(&lt;REMOVE-KEYS&gt;);</p> </div> <h3 class="doc-header">Description:</h3> <div class="doc-section"> <p>These functions are for modifiying the URL and query string without reloading the page. See also: <a href="doc-jslib-safe-uri-decode.html">Safe URI Decoding</a> and <a href="doc-jslib-query-string.html">Query String</a>.</p> </div> <h1 class="doc-header">Examples:</h1> <div class="doc-section"> <div class="doc-example-description"> <span class="h3">GS.pushState Example:</span><br /> <p>This function's parameters are the same parameters as "history.pushState(...)". Documentation on "history.pushState": <a target="_blank" href="https://developer.mozilla.org/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#The_pushState()_method">MDN</a>. What this function adds to "history.pushState" is an event gets triggered when this function is called so that elements and the javascript on the page can respond to the push.<br /><br /></p> <p>In this example when you click the "Test 1", "Test 2" or "Test 3" buttons it changes the path in the URL without refreshing the page. The new URL is put into the "result" div.</p> </div> <gs-doc-example> <template for="html" height="12"> <gs-button onclick="GS.pushState({}, '', 'test1.html')">Test 1</gs-button> <gs-button onclick="GS.pushState({}, '', 'test2.html')">Test 2</gs-button> <gs-button onclick="GS.pushState({}, '', 'test3.html')">Test 3</gs-button> <br /> <div id="result"></div> </template> <template for="js" height="6"> window.addEventListener('pushstate', function () { document.getElementById('result').textContent = window.location.pathname; }); </template> </gs-doc-example> <div class="doc-example-description"> <span class="h3">GS.replaceState Example:</span><br /> <p>This function's parameters are the same parameters as "history.replaceState(...)". Documentation on "history.replaceState": <a target="_blank" href="https://developer.mozilla.org/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#The_replaceState()_method">MDN</a>. What this function adds to "history.replaceState" is an event gets triggered when this function is called so that elements and the javascript on the page can respond to the change.<br /><br /> In this example when you click the "Test 1", "Test 2" or "Test 3" buttons it changes the path in the URL without refreshing the page. The new URL is put into the "result" div.</p> </div> <gs-doc-example> <template for="html" height="12"> <gs-button onclick="GS.replaceState({}, '', 'test1.html')">Test 1</gs-button> <gs-button onclick="GS.replaceState({}, '', 'test2.html')">Test 2</gs-button> <gs-button onclick="GS.replaceState({}, '', 'test3.html')">Test 3</gs-button> <br /> <div id="result"></div> </template> <template for="js" height="6"> window.addEventListener('replacestate', function () { document.getElementById('result').textContent = window.location.pathname; }); </template> </gs-doc-example> <div class="doc-example-description"> <span class="h3">GS.pushQueryString Example:</span><br /> <p>In this example when you click one of the "Test 1", "Test 2", "Test 3" or "Test 4" buttons the querystring in the URL is updated using the querystring passed to the GS.pushQueryString function. When the GS.pushQueryString function changes the querystring the user can use the back button to go back to a previous querystring (or no querystring for that matter) without reloading the page. Notice: when you set a column to empty in the querystring it is actually set to empty, it is not ignored.</p> </div> <gs-doc-example query-string="test=asdf"> <template for="html" height="6"> <gs-button onclick="testPushQS1()">Test 1</gs-button> <gs-button onclick="testPushQS2()">Test 2</gs-button> <gs-button onclick="testPushQS3()">Test 3</gs-button> <gs-button onclick="testPushQS4()">Test 4</gs-button> </template> <template for="js" height="22"> function testPushQS1(strNewQueryString) { GS.pushQueryString('test=newtest'); } function testPushQS2(strNewQueryString) { GS.pushQueryString('test=test&asdf=asdf'); } function testPushQS3(strNewQueryString) { GS.pushQueryString('test=&asdf='); } function testPushQS4(strNewQueryString) { GS.pushQueryString('test=&asdf=asdf'); } </template> </gs-doc-example> <div class="doc-example-description"> <span class="h3">GS.removeFromQueryString Example:</span><br /> <p>In this example when you click the "Reset QS" button, the querystring in the URL is reset. When you click the RemoveKeys button, it removes the test, test1, and test2 keys using the GS.removeFromQueryString function. When the GS.removeFromQueryString function changes the querystring the user can use the back button to go back to a previous querystring (or no querystring for that matter) without reloading the page.</p> </div> <gs-doc-example query-string="test=test&test1=test1&test2=test2&test3=test3"> <template for="html" height="6"> <gs-button onclick="resetQS()">Reset QS</gs-button> <gs-button onclick="testRemoveQS()">Remove Keys</gs-button> </template> <template for="js" height="22"> function resetQS(strNewQueryString) { GS.pushQueryString('test=test&test1=test1&test2=test2&test3=test3'); } function testRemoveQS() { GS.removeFromQueryString('test'); GS.removeFromQueryString('test1,test2'); } </template> </gs-doc-example> </div> </gs-container> </body> </html>
html
Fyllo's IoT devices are designed to gather real-time data on various critical aspects of farming, including soil moisture levels, weather conditions, and crop health. It works with more than 5,000 farmers. With this, Fyllo becomes the first Indian agritech to expand globally and enhance farming practices using IoT (Internet of Things) devices. The collaboration between Fyllo and Spain-based Terraview will introduce intelligent agriculture to European vineyards, starting with Spain, France, and Italy and soon in the US and Mexico. In 2023 — three years of a global pandemic and waves upon waves of a deadly virus later — tier 2 and tier 3 cities are taking back the spotlight. According to an Economic Times survey, 30% of people surveyed in metropolitan areas want to move out of these cities. Fresh fruit importer IG International on December 5 announced that it has entered into a collaboration with agri-tech startup Fyllo to increase the productivity of fruit crops and reduce the cost of cultivation. Startups are moving into rural India by creating completely unique business models that are not applicable to urban India at all. And these business models are not simply a copy-paste from urban to rural India. They are unique.
english
“Legend did not believe in endings. For most of his immortal life, he believed his world would come crashing down if he fell in love and became human. Instead, his world had become more precious, particularly the pieces involving her. He stifled a laugh as he read her letter again. Tella wouldn’t like it if she knew he was laughing, but she was one of the rare things he found funny. Stephanie Garber,
english
SHILLONG: Over 1,800 employees, including members of the Jaintia Hills Autonomous District Council (JHADC), have not got salaries for the past six months. Deputy Chief Executive Member Lasky Rymbai said that the executive committee has from time to time requested the State Government to release the council’s share on mineral in order to clear the pending dues of the employees. “However, the State Government is yet to release the share for reasons best known to it,” Rymbai said. According to him, the members and the employees are at the receiving end as they are yet to get salary since April. Opposition Congress leader and former JHADC CEM Andrew Shullai questioned the failure of the State Government to immediately release the council’s share. “Unlike the GHADC, we only demand our own share which is pending to be released by the State Government,” he said. The JHADC would require over Rs 42 crore to clear the pending salary of the employees. The salary expenditure is Rs 7 crore per month.
english
var randomInt = require('random-int'); module.exports = function (line, column, min, max) { var arr = []; for (var i = 0; i < line; i++) { let sub_arr = []; for (let j = 0; j < column; j++) { sub_arr.push(randomInt(min, max)) } arr.push(sub_arr); } return arr; };
javascript
@ConnectionToUse(connectionSupplier = ConnectionDataSupplierForTestBase2.class) package ru.tinkoff.qa.neptune.data.base.test.persistable.object.tables.db.two.tables; import ru.tinkoff.qa.neptune.data.base.api.ConnectionToUse; import ru.tinkoff.qa.neptune.data.base.test.persistable.object.operations.ConnectionDataSupplierForTestBase2;
java
<filename>pkg/v1/tkg/client/validate_upgrade.go<gh_stars>10-100 // Copyright 2021 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package client import ( "fmt" "github.com/vmware-tanzu/tanzu-framework/pkg/v1/tkg/constants" ) var ( azureVarsToBeValidated = []string{constants.ConfigVariableAzureClientSecret} ) // ValidateEnvVariables validates the presence of required environment variables for a given IaaS func (c *TkgClient) ValidateEnvVariables(iaas string) error { // This function only contains a validator for Azure environment variables for now // This function can be used to add validators for environment variables pertaining to other IaaSes in the future // as and when required if iaas == AzureProviderName { return c.validateAzureEnvVariables(azureVarsToBeValidated) } return nil } func (c *TkgClient) validateAzureEnvVariables(azureEnvVars []string) error { for _, envVar := range azureEnvVars { _, err := c.TKGConfigReaderWriter().Get(envVar) if err != nil { return fmt.Errorf("config Variable %s not set", envVar) } } return nil }
go
The Kolkata Knight Riders vs Rajasthan Royals, 47th Match of the Indian Premier League (IPL) 2022 will be played at the Wankhede Stadium, Mumbai in India. Mumbai Indians gave a perfect birthday gift to their captain Rohit Sharma on Saturday as they finally won a game in IPL 2022 by beating Rajasthan Royals. Rajasthan Royals will commemorate the sparkling career of "first Royal" Shane Warne who led the team to the title in the inaugural edition of the IPL. The Rajasthan Royals vs Mumbai Indians, 44th Match of the Indian Premier League (IPL) 2022 will be played at the Dr DY Patil Sports Academy, Mumbai in India. Jos Buttler is in the form of his life and has already reached close to 500 runs from just 7 innings in IPL 2022. The Royal Challengers Bangalore vs Rajasthan Royals, 39th Match of the Indian Premier League (IPL) 2022 will be played at the Maharashtra Cricket Association Stadium, Pune in India. Rajasthan Royals beat Delhi Capitals by 15 runs in the 34th Match of the TATA Indian Premier League (IPL), 2022 at the Wankhede Stadium, Mumbai. Rajasthan Royals went to the top of the points table after they beat Delhi Capitals by 15 runs in the 2022 edition of the Indian Premier League (IPL) on Friday night at the Wankhede Stadium in Mumbai. Rajasthan Royals' leg spinner Yuzvendra Chahal currently sits at the top of the IPL 2022 wicket-taking charts with 17 scalps. Rajasthan Royals rode high on a fine century by Jos Buttler and a hat-trick by Yuzvendra Chahal to beat Kolkata Knight Riders on Monday night at the Brabourne Stadium in Mumbai. Gujarat Titans registered a comfortable 37 run win over Rajasthan Royals to continue their impressive run in IPL 2022. The Rajasthan Royals vs Gujarat Titans, 24th Match of the Indian Premier League (IPL) 2022 will be played at the Dr DY Patil Sports Academy, Mumbai in India.
english
<gh_stars>0 {"data":{"site":{"siteMetadata":{"defaultTitle":"鹿児島オーダースーツ","titleTemplate":"%s | #IL:MALE","defaultDescription":"鹿児島県鹿児島市の出張訪問をメインにした安いオーダースーツ専門店#IL:MALE","siteUrl":"https://il-male.netlify.app","defaultImage":"/yellow-metal-design-decoration.jpg","instagramUsername":"@il_mare1021"}}}}
json
<filename>outputs/lide.json [ "https://www.unob.cz/fvl/struktura/k101/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k102/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k104/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k105/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k107/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k108/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k109/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k110/Stranky/lide.aspx", "https://www.unob.cz/fvl/struktura/k111/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k201/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k202/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k203/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k205/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k206/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k207/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k208/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k209/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k210/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k211/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k215/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k216/Stranky/lide.aspx", "https://www.unob.cz/fvt/struktura/k217/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k301/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k302/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k303/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k304/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k305/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k306/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k307/Stranky/lide.aspx", "https://www.unob.cz/fvz/struktura/k308/Stranky/lide.aspx" ]
json
<reponame>nikitashaban/rtfight { "data": { "wordpressPost": { "title": "Топ действующих менеджеров в профи-боксе", "content": "\n<p>Никакой боксёр не смог бы\nдобиться больших высот без опытного и профессионального менеджера, который\nобеспечивает своего подопечного всем необходимым для того, чтобы он мог\nполноценно подготовиться к бою и организовывает ему поединки на различных\nфайткардах. Представляем вашему вниманию топовых действующих менеджеров в мире\nпрофессионального бокса.&nbsp;<br>\n<br>\n<strong>Эгис\nКлимас</strong>&nbsp;<br>\n<br>\nЭтот литовский специалист обрёл свою известность\nпосле того, как один его подопечных &#8211; <NAME>, стал чемпионом мира в\nполутяжёлом весе, а затем и вовсе стал владельцем трёх основных поясов (WBA,\nIBF и WBO), кроме того россиянин занимал №2 рейтинга Р-4-Р, что является\nрекордной позицией от РФ.&nbsp;<br>\n<br>\nНа сегодняшний день под его контролем находятся такие\nзвёздные боксёры, как: Василий Ломаченко, Александр Усик, Александр Гвоздик и\nдругие проспекты постсоветского пространства.&nbsp;<br>\n<br>\n<strong>Вадим\nКорнилов</strong>&nbsp;<br>\n<br>\nОдин из самых топовых менеджеров постсоветского\nпространства. В раннее детстве его семья перебралась из Нижнего Тагила в\nЛос-Анджелес (США), где он обрёл свой второй дом.&nbsp;<br>\n<br>\nЭкс-чемпион мира в 1-м полусреднем весе\nроссиянин Руслан Проводников стал тем самым бойцом, который помог Корнилову\nприобрести популярность по всему Миру. Затем последовали такие именитые боксёры,\nкак: <NAME>, <NAME>, <NAME>, а также ряд других\nталантливейших боксёров из России, Украины, Литвы, Латвии и Узбекистана.&nbsp;<br>\n<br>\n<strong><NAME></strong>&nbsp;<br>\n<br>\nОчень влиятельный человек в мире\nпрофессионального бокса, который долгое время находился в тени. Никто не знал\nкак он выглядит, хотя за его плечами уже собралась целая монополия чемпионов.\nОн признавался лучшим менеджером года в 2005, 2012 и 2013 годах.&nbsp;<br>\n<br>\nПод эгидой Хэймона выступают около 300 известных\nбоксёров. В 2015 году он создал компанию &#8220;PremierBoxingChampions&#8221;\n(PBC) и заключил контракт с телеканалов ESPN.&nbsp;<br>\n<br>\nНа сегодняшний день Хэймона нельзя назвать\nмонополистом мирового профессионального бокса, но он по-прежнему одна из\nключевых фигур этого вида спорта.&nbsp;<br>\n<strong><br>\nТом Леффлёр</strong>&nbsp;<br>\n<br>\nИзвестный американский менеджер, который в\nпоследнее время больше занимается промоутерской деятельностью. В прошлом году\nТом создал свою компанию «360 Promotions» и активно продвигает её по сей день.\nГлавной подопечной звездой Леффлёра являлся бывший чемпион WBC, WBA и WBO в\nсреднем весе казах Геннадий Головкин, который отныне сам себе промоутер. Сейчас\nже Леффлёр занимается делами многих других известных боксёров, постоянно\nпополняя свою команду новыми проспектами.&nbsp;</p>\n\n\n\n<p><br>\n<strong>Алекс\nВайсфельд&nbsp;<br>\n<br>\n</strong></p>\n\n\n\n<p>Менеджер экс-чемпиона мира в\n1-м полусреднем весе россиянина Сергея Липинца, который по сегодняшний день\nявляется его клиентом и в скором времени намерен вновь завоевать чемпионский\nтитул. В одном из своих недавних интервью Вайсфельд заявлял о том, что Липинец\nснова получит титульную возможность в конце 2019 года и скорее всего в поединке\nпротив известного экс-чемпиона мира в лёгком дивизионе Хорхе Линареса.&nbsp;<br>\n<strong><br>\nФрэнк Уоррен</strong>&nbsp;<br>\n<br>\nЭтот британский промоутер занимается делами\nнебезызвестного скандального супертяжеловеса Тайсона Фьюри, который является его\nглавным клиентом. Уоррен имеет огромный опыт в менеджерском деле и в лиге\nнынешних менеджеров находится на самых первых позициях.&nbsp;<br>\nУоррен дорожит каждым из своих боксёров и\nсчитает, что его состав спортсменов самый сильный в мире, хотя в одном из своих\nинтервью отмечал, что самым сильным боксёров на планете считает украинца\nВасили<NAME>.</p>\n" } }, "pageContext": { "isCreatedByStatefulCreatePages": false, "id": "d9313358-36b9-5acf-bdfd-5b8c50e85ebe" } }
json
<filename>L/Living_noun.json<gh_stars>100-1000 { "word": "Living", "definitions": [ "An income sufficient to live on or the means of earning it.", "(in church use) a position as a vicar or rector with an income or property.", "The pursuit of a lifestyle of the specified type." ], "parts-of-speech": "Noun" }
json
Santiago, Chile, May 23 – Fourteen priests involved in a sex abuse scandal in Chile — which has rocked Pope Francis’s papacy — were defrocked on Tuesday. “Fourteen priests no longer are allowed to carry out their duties… These priests have taken part in actions that may be civilian crimes as well as within the church,” the bishop’s office in the city of Rancagua said. Nicknamed “the Family,” the group of priestly offenders commited sex abuses with young people including minors, churchgoer Elisa Fernandez told Channel 13 last week. A priest said in that report aired last week that the group formed a sex abuse ring a decade ago, and engaged in sex acts with no regard for whether were minors or of age. In addition, offenders used social media to control their interactions with victims and used church money for trips abroad ans well as expensive car services with young friends, the report added. Just Friday, 34 Chilean bishops announced their resignation over the child sex abuse scandal. The striking announcement came after the pontiff summoned the bishops over the scandal. Several members of the Chilean church hierarchy are accused by victims of ignoring and covering up child abuse by Chilean pedophile priest Fernando Karadima during the 1980s and 1990s. On Thursday evening, Francis promised “changes” to the Chilean church to “restore justice” in a short declaration to the bishops, which was made public. But in a confidential 10-page document leaked Friday by Chilean TV channel T13, the Argentine pope goes much further in his indictment of the Chilean Church. It qualifies the removal of certain prelates from their roles as necessary but “insufficient,” calling for “the roots” that allowed such abuse within an “elitist and authoritarian” Chilean Church to be examined. Some analysts note that Chile’s long tradition of having the church not subject to civilian law lent itself to impunity and cover-ups. The damning letter also outlines findings of an investigation, ordered by Pope Francis, into the abuse allegations. It says the probe found senior church officials had destroyed proof in cases of sex abuse and that certain members of the clergy who had displayed immoral behavior had been transferred to other dioceses after attempts to “minimize” the gravity of their actions. In April 2002, Pope John Paul II summoned 13 American cardinals and bishops to Rome after a huge pedophilia scandal within the clergy. Following another abuse scandal in Ireland in 2009, Pope Benedict XVI also organized a meeting of Irish prelates at the Vatican in February 2010. Argentine-born Francis said it must not happen again on his watch. Francis himself has gotten caught up in the tragedies when he defended Chilean bishop Juan Barros — accused of covering up Fernando Karadima’s abuses. Francis has apologized to the victims, three of whom he recently received at the Vatican, and admitted he had made “grave mistakes” after reading the 2,300-page report on the abuse in Chile. Since 2000, about 80 Roman Catholic priests have been reported to authorities in Chile for alleged sexual abuse.
english
It's still unclear how a financial organisation chooses how much credit to extend to you. Although you need Rs. 2 lakh, you only receive Rs. 1 lakh. Another person might want an Insta Personal Loan of Rs. 3 lakh but receive an offer of Rs. 5 lakh offer. We have made an effort to demystify this world for you. Your loan eligibility and amount are determined based on a variety of demographic factors. - Age: Most financial institutions lend to people between the ages of 20 and 70. For us, the age ranges from 21 to 80 years*. - Monthly income: In reality, the more money you make each month, the more money you'll be approved for in an Insta Personal Loan. However, there is a catch to this. Your offered loan amount may be low if you already have several loans running. You might not even be given a loan unless you pay off one of the previous loans in particular circumstances. - City of residence: The size of your Insta Personal Loan offer may differ depending on where you live. This is because incomes in major cities are often higher than those in smaller communities. - Monthly costs and loan repayments: The financial institution considers the whole monthly outlay when determining your loan eligibility (monthly expenses, bills, ongoing loan EMIs, and other fixed recurring expenses). This illustrates the amount of money that has already been committed and cannot be utilised to pay back a subsequent instalment. The debt-to-income ratio is the name given to this ratio. The offered Insta Personal Loan amount increases with a lower percentage and vice versa. - Credit score: The lender will give the most weight to your credit score. Numerous organisations known as credit bureaus (TransUnion, CIBIL, Experian, etc.) keep track of all of your loans and credit cards as well as your history of repayment to determine your credit score. A better credit score increases both your likelihood of being approved for a loan and the amount of that loan. For loan applicants, we require a CIBIL score of 685 or higher or better. To ensure that we offer larger loan amounts, we have kept this relatively higher. - Repayment history: Making on-time payments on your ongoing EMIs is a good habit and a sign of financial discipline. Your credit score improves each time you make an EMI payment on time. Your credit score is reduced by a particular number of points each time you miss an EMI. Har time EMI on time because of this. - Pre-approved offers: Our existing customers don’t need to complete an application to know how much loan you are going to get. This information is available to you by entering your mobile number and OTP. - Pre-assigned limits: New customers can also check for an insta loan offer. These offers come with pre-assigned limits. However, we may need additional documents to complete the loan process. In the above cases, if you do not see an offer or need a higher loan amount than the pre-assigned limit, you have the option to go through our regular online application process that takes less than 5 minutes. You can use a variety of helpful tools on our website to determine your loan eligibility, check your credit score, learn the minimum wage requirement in your city, or use our calculator to compare different loan amounts and EMIs. The links to these tools are as follows:
english
New Delhi: Shares of NIIT Ltd rose as much as 12 per cent to hit fresh 52-week high of Rs 94 after the company earlier in the day posted a 70 per cent jump in consolidated net profit at Rs 30. 2 crore for the fourth quarter ended March, riding on the back of new contracts. Net revenue of the training and skills development company rose 51 per cent to Rs 361. 5 crore in January-March of 2016-17 compared to the year-ago period. For the full year, net profit slid 3 per cent to Rs 65. 1 crore due to forex losses amounting to Rs 7. 5 crore. Revenue grew 18 per cent year-on-year to Rs 1,187. 7 crore in 2016-17. NIIT Ltd CEO Rahul Patwardhan said that during the year, the company invested in renewal and growth phase of its transformation strategy. "We delivered a strong operational performance for Q4 and FY17 in spite of significant turbulence due to demonetisation and forex loss," he said. The company's revenue from corporate learning group grew 90 per cent to Rs 257. 8 crore and saw an addition of two new managed training services or MTS customers. "We added two new MTS clients this quarter, renewed one existing contract and received letter of intent for three more global clients," NIIT CEO-designate Sapnesh Lalla said in a statement. As of 2:34 pm, shares of NIIT Ltd traded 7 per cent higher at Rs 90. 50, outperforming the Nifty which was up 0. 12 per cent. (With PTI inputs)
english
{ "name": "jblond/php-built-in-webserver-router-script", "type": "library", "description": "router script for PHP built in web server with directory listing ", "license": "WTFPL", "authors": [ { "name": "JBlond", "email": "<EMAIL>" } ], "require": { "php" : ">= 5.6" } }
json
<filename>allianz-example.js import puppeteer from 'puppeteer'; import { login, logout, getSummary, } from './allianz.js'; const { ALLIANZ_USERNAME, ALLIANZ_PASSWORD, ALLIANZ_SECURITY_IMAGE_SUBSTR, PUPPETEER_HEADLESS = 'true', } = process.env; async function main() { if (!ALLIANZ_USERNAME) { console.error(`ALLIANZ_USERNAME was not set!`); process.exit(1); } if (!ALLIANZ_PASSWORD) { console.error(`ALLIANZ_PASSWORD was not set!`); process.exit(1); } if (!ALLIANZ_SECURITY_IMAGE_SUBSTR) { console.error(`ALLIANZ_SECURITY_IMAGE_SUBSTR was not set!`); process.exit(1); } const browser = await puppeteer.launch({ headless: PUPPETEER_HEADLESS === 'true', }); const page = await browser.newPage(); await login(page, ALLIANZ_USERNAME, ALLIANZ_PASSWORD, ALLIANZ_SECURITY_IMAGE_SUBSTR); const summary = await getSummary(page); console.log('Allianz summary:', summary); await logout(page); await browser.close(); } (async () => { await main(); })();
javascript
<reponame>joo-yongjae/frontend16 {"ast":null,"code":"'use strict';\n\nvar once = require('once');\n\nvar helpers = require('./helpers');\n\nfunction mapSeries(values, iterator, extensions, done) {\n // Allow for extensions to not be specified\n if (typeof extensions === 'function') {\n done = extensions;\n extensions = {};\n } // Handle no callback case\n\n\n if (typeof done !== 'function') {\n done = helpers.noop;\n }\n\n done = once(done); // Will throw if non-object\n\n var keys = Object.keys(values);\n var length = keys.length;\n var idx = 0; // Return the same type as passed in\n\n var results = helpers.initializeResults(values);\n var exts = helpers.defaultExtensions(extensions);\n\n if (length === 0) {\n return done(null, results);\n }\n\n var key = keys[idx];\n next(key);\n\n function next(key) {\n var value = values[key];\n var storage = exts.create(value, key) || {};\n exts.before(storage);\n iterator(value, key, once(handler));\n\n function handler(err, result) {\n if (err) {\n exts.error(err, storage);\n return done(err, results);\n }\n\n exts.after(result, storage);\n results[key] = result;\n\n if (++idx >= length) {\n done(err, results);\n } else {\n next(keys[idx]);\n }\n }\n }\n}\n\nmodule.exports = mapSeries;","map":{"version":3,"sources":["C:/frontend/node_modules/now-and-later/lib/mapSeries.js"],"names":["once","require","helpers","mapSeries","values","iterator","extensions","done","noop","keys","Object","length","idx","results","initializeResults","exts","defaultExtensions","key","next","value","storage","create","before","handler","err","result","error","after","module","exports"],"mappings":"AAAA;;AAEA,IAAIA,IAAI,GAAGC,OAAO,CAAC,MAAD,CAAlB;;AAEA,IAAIC,OAAO,GAAGD,OAAO,CAAC,WAAD,CAArB;;AAEA,SAASE,SAAT,CAAmBC,MAAnB,EAA2BC,QAA3B,EAAqCC,UAArC,EAAiDC,IAAjD,EAAuD;AACrD;AACA,MAAI,OAAOD,UAAP,KAAsB,UAA1B,EAAsC;AACpCC,IAAAA,IAAI,GAAGD,UAAP;AACAA,IAAAA,UAAU,GAAG,EAAb;AACD,GALoD,CAOrD;;;AACA,MAAI,OAAOC,IAAP,KAAgB,UAApB,EAAgC;AAC9BA,IAAAA,IAAI,GAAGL,OAAO,CAACM,IAAf;AACD;;AAEDD,EAAAA,IAAI,GAAGP,IAAI,CAACO,IAAD,CAAX,CAZqD,CAcrD;;AACA,MAAIE,IAAI,GAAGC,MAAM,CAACD,IAAP,CAAYL,MAAZ,CAAX;AACA,MAAIO,MAAM,GAAGF,IAAI,CAACE,MAAlB;AACA,MAAIC,GAAG,GAAG,CAAV,CAjBqD,CAkBrD;;AACA,MAAIC,OAAO,GAAGX,OAAO,CAACY,iBAAR,CAA0BV,MAA1B,CAAd;AAEA,MAAIW,IAAI,GAAGb,OAAO,CAACc,iBAAR,CAA0BV,UAA1B,CAAX;;AAEA,MAAIK,MAAM,KAAK,CAAf,EAAkB;AAChB,WAAOJ,IAAI,CAAC,IAAD,EAAOM,OAAP,CAAX;AACD;;AAED,MAAII,GAAG,GAAGR,IAAI,CAACG,GAAD,CAAd;AACAM,EAAAA,IAAI,CAACD,GAAD,CAAJ;;AAEA,WAASC,IAAT,CAAcD,GAAd,EAAmB;AACjB,QAAIE,KAAK,GAAGf,MAAM,CAACa,GAAD,CAAlB;AAEA,QAAIG,OAAO,GAAGL,IAAI,CAACM,MAAL,CAAYF,KAAZ,EAAmBF,GAAnB,KAA2B,EAAzC;AAEAF,IAAAA,IAAI,CAACO,MAAL,CAAYF,OAAZ;AACAf,IAAAA,QAAQ,CAACc,KAAD,EAAQF,GAAR,EAAajB,IAAI,CAACuB,OAAD,CAAjB,CAAR;;AAEA,aAASA,OAAT,CAAiBC,GAAjB,EAAsBC,MAAtB,EAA8B;AAC5B,UAAID,GAAJ,EAAS;AACPT,QAAAA,IAAI,CAACW,KAAL,CAAWF,GAAX,EAAgBJ,OAAhB;AACA,eAAOb,IAAI,CAACiB,GAAD,EAAMX,OAAN,CAAX;AACD;;AAEDE,MAAAA,IAAI,CAACY,KAAL,CAAWF,MAAX,EAAmBL,OAAnB;AACAP,MAAAA,OAAO,CAACI,GAAD,CAAP,GAAeQ,MAAf;;AAEA,UAAI,EAAEb,GAAF,IAASD,MAAb,EAAqB;AACnBJ,QAAAA,IAAI,CAACiB,GAAD,EAAMX,OAAN,CAAJ;AACD,OAFD,MAEO;AACLK,QAAAA,IAAI,CAACT,IAAI,CAACG,GAAD,CAAL,CAAJ;AACD;AACF;AACF;AACF;;AAEDgB,MAAM,CAACC,OAAP,GAAiB1B,SAAjB","sourcesContent":["'use strict';\r\n\r\nvar once = require('once');\r\n\r\nvar helpers = require('./helpers');\r\n\r\nfunction mapSeries(values, iterator, extensions, done) {\r\n // Allow for extensions to not be specified\r\n if (typeof extensions === 'function') {\r\n done = extensions;\r\n extensions = {};\r\n }\r\n\r\n // Handle no callback case\r\n if (typeof done !== 'function') {\r\n done = helpers.noop;\r\n }\r\n\r\n done = once(done);\r\n\r\n // Will throw if non-object\r\n var keys = Object.keys(values);\r\n var length = keys.length;\r\n var idx = 0;\r\n // Return the same type as passed in\r\n var results = helpers.initializeResults(values);\r\n\r\n var exts = helpers.defaultExtensions(extensions);\r\n\r\n if (length === 0) {\r\n return done(null, results);\r\n }\r\n\r\n var key = keys[idx];\r\n next(key);\r\n\r\n function next(key) {\r\n var value = values[key];\r\n\r\n var storage = exts.create(value, key) || {};\r\n\r\n exts.before(storage);\r\n iterator(value, key, once(handler));\r\n\r\n function handler(err, result) {\r\n if (err) {\r\n exts.error(err, storage);\r\n return done(err, results);\r\n }\r\n\r\n exts.after(result, storage);\r\n results[key] = result;\r\n\r\n if (++idx >= length) {\r\n done(err, results);\r\n } else {\r\n next(keys[idx]);\r\n }\r\n }\r\n }\r\n}\r\n\r\nmodule.exports = mapSeries;\r\n"]},"metadata":{},"sourceType":"script"}
json
Hyderabad: All is not well on the sets of Katamrayudu. There seems to be serious issues with the leading lady of the film Shruti Haasan. Unit sources say that Shruti has been giving them a lot of trouble by not turning up for the shooting on time. Apparently, Pawan Kalyan quit the shooting on several ocassions because of this resulting in the day's shoot being cancelled. Now, the lady is reportedly turning up late for every day of the shoot. Clearly, there are issues which she is not comfortable with. And let's hope these issues do not affect her on-screen chemistry with the power star. But then, Shruti has always done things her own way. Because, she is the daughter of Kamal Haasan!
english
<reponame>jackeichen/Gaozh /* * Copyright (c) 2011, Intel Corporation. * * 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. */ #include "grpGeneralCmds.h" #include "createResources_r10b.h" #include "illegalNVMCmds_r10b.h" #include "illegalNVMCmds_r11.h" #include "illegalAdminCmds_r10b.h" #include "illegalAdminCmds_r12.h" #include "cidAcceptedASQ_r10b.h" #include "cidAcceptedIOSQ_r10b.h" namespace GrpGeneralCmds { GrpGeneralCmds::GrpGeneralCmds(size_t grpNum) : Group(grpNum, "GrpGeneralCmds", "General command tests.") { // For complete details about the APPEND_TEST_AT_?LEVEL() macros: // "https://github.com/nvmecompliance/tnvme/wiki/Test-Numbering" and // "https://github.com/nvmecompliance/tnvme/wiki/Test-Strategy switch (gCmdLine.rev) { case SPECREV_10b: APPEND_TEST_AT_XLEVEL(CreateResources_r10b, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(IllegalNVMCmds_r10b, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(IllegalAdminCmds_r10b, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(CIDAcceptedASQ_r10b, GrpGeneralCmds) APPEND_TEST_AT_XLEVEL(CIDAcceptedIOSQ_r10b, GrpGeneralCmds) break; case SPECREV_11: APPEND_TEST_AT_XLEVEL(CreateResources_r10b, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(IllegalNVMCmds_r11, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(IllegalAdminCmds_r10b, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(CIDAcceptedASQ_r10b, GrpGeneralCmds) APPEND_TEST_AT_XLEVEL(CIDAcceptedIOSQ_r10b, GrpGeneralCmds) break; case SPECREV_12: APPEND_TEST_AT_XLEVEL(CreateResources_r10b, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(IllegalNVMCmds_r11, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(IllegalAdminCmds_r12, GrpGeneralCmds) APPEND_TEST_AT_YLEVEL(CIDAcceptedASQ_r10b, GrpGeneralCmds) APPEND_TEST_AT_XLEVEL(CIDAcceptedIOSQ_r10b, GrpGeneralCmds) break; default: case SPECREVTYPE_FENCE: throw FrmwkEx(HERE, "Object created with an unknown SpecRev=%d", gCmdLine.rev); } } GrpGeneralCmds::~GrpGeneralCmds() { // mTests deallocated in parent } } // namespace
cpp
# Cross compilation environment | | | |--------------------------:|:--------------------------------------------------| | **Compiler:** | 9.2.0 | | **Target architecture:** | PowerPC | | **Target OS:** | MorphOS | | **AS:** | `/opt/ppc-morphos/bin/ppc-morphos-as` | | **LD:** | `/opt/ppc-morphos/bin/ppc-morphos-ld` | | **AR:** | `/opt/ppc-morphos/bin/ppc-morphos-ar` | | **CC:** | `/opt/ppc-morphos/bin/ppc-morphos-gcc` | | **CXX:** | `/opt/ppc-morphos/bin/ppc-morphos-g++` | | **RANLIB:** | `/opt/ppc-morphos/bin/ppc-morphos-ranlib` | | **CMake toolchain file:** | `/opt/ppc-morphos/lib/ppc-morphos.cmake` | | **SSH daemon:** | *Yes* | | **Username:** | `user` | | **Password:** | `password` | Installed using [Marlon Beijer's Docker image](https://hub.docker.com/layers/amigadev/crosstools/ppc-morphos).
markdown
{"Version":2,"SourceFileDate":132440520711029639,"Flags":["FL_BITMAP_COMPRESSION","FL_BITMAP_MIPMAP"]}
json
<filename>run_api.py from flask import Flask from werkzeug.middleware.dispatcher import DispatcherMiddleware from backend.api_sep import app as back # from frontend.app import app as front back if __name__=='__main__': back.run(host='0.0.0.0', port=5000, use_evalex=True, use_reloader=True, use_debugger=True)
python
<filename>src/backend/opencl/kernel/laswp.hpp /******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause ********************************************************/ #pragma once #include <kernel_headers/laswp.hpp> #include <program.hpp> #include <traits.hpp> #include <string> #include <mutex> #include <map> #include <dispatch.hpp> #include <Param.hpp> #include <debug_opencl.hpp> #include <types.hpp> using cl::Buffer; using cl::Program; using cl::Kernel; using cl::make_kernel; using cl::EnqueueArgs; using cl::NDRange; using std::string; namespace opencl { namespace kernel { static const int NTHREADS = 256; static const int MAX_PIVOTS = 32; typedef struct { int npivots; int ipiv[MAX_PIVOTS]; } zlaswp_params_t; template<typename T> void laswp(int n, cl_mem in, size_t offset, int ldda, int k1, int k2, const int *ipiv, int inci) { static std::once_flag compileFlags[DeviceManager::MAX_DEVICES]; static std::map<int, Program*> swpProgs; static std::map<int, Kernel*> swpKernels; int device = getActiveDeviceId(); std::call_once(compileFlags[device], [device] () { std::ostringstream options; options << " -D T=" << dtype_traits<T>::getName() << " -D MAX_PIVOTS=" << MAX_PIVOTS; if (std::is_same<T, double>::value || std::is_same<T, cdouble>::value) { options << " -D USE_DOUBLE"; } cl::Program prog; buildProgram(prog, laswp_cl, laswp_cl_len, options.str()); swpProgs[device] = new Program(prog); swpKernels[device] = new Kernel(*swpProgs[device], "laswp"); }); int groups = divup(n, NTHREADS); NDRange local(NTHREADS); NDRange global(groups * local[0]); zlaswp_params_t params; auto laswpOp = make_kernel<int, cl_mem, unsigned long long, int, zlaswp_params_t>(*swpKernels[device]); for( int k = k1-1; k < k2; k += MAX_PIVOTS ) { int pivots_left = k2-k; params.npivots = pivots_left > MAX_PIVOTS ? MAX_PIVOTS : pivots_left; for( int j = 0; j < params.npivots; ++j ) { params.ipiv[j] = ipiv[(k+j)*inci] - k - 1; } unsigned long long k_offset = offset + k*ldda; laswpOp(EnqueueArgs(getQueue(), global, local), n, in, k_offset, ldda, params); } } } }
cpp
Cleveland Browns quarterback Deshaun Watson as well as the rest of the National Football League are still waiting for the outcome of an appeal on his case. Last week, it was decided that Watson would be suspended for six games this season due to allegations against him made by former massage therapists. This decision was made by NFL disciplinary officer Sue L. Robinson. After the four game suspension was made public, NFL Commissioner Roger Goodell, announced that the league would be appealing the suspension. Goodell has said in the days since that the National Football League would prefer a one-year suspension for Watson. While the six game suspension would allow for Deshaun Watson to take the field for the first time since the 2019 season, and the first time for the Browns, that all could change. If Peter Harvey, who is in charge of the appeal decision, agrees with the NFL on a one-year suspension, Watson would not be allowed to take the field during preseason games either. This revelation and update on the situation was first reported by Pro Football Talk. It also noted that the NFLPA would not be too surprised if the decision of the appeal came within the next few days. The Cleveland Browns will travel to Jacksonville for their first preseason game of the season this Friday against the Jaguars. Just about 48 hours before the game, the Browns are still not clear as to who would take the field at quarterback. Why does Roger Goodell want a year-long suspension for QB Deshaun Watson ? Roger Goodell made it clear when the NFL announced its appeal that the league feels that Deshaun Watson should be suspended for the entire 2022-23 season. Goodell said recently that he feels, after reviewing the evidence, that the quarterback's actions, while he was a member of the Houston Texans, were serious enough to require a full-season suspension. When she announced the six-game suspension, Robinson made it clear that the quarterback violated the league's personal conduct policies. But, she still decided on a six-game suspension. Watson has not taken the field in an NFL game since the end of the 2019-20 NFL season. Due to the investigation and his desire to be traded last season, he sat out the entirety of the 2021-22 NFL season. Now, after being traded to the Cleveland Browns, there are questions as to whether he will go another full season without seeing any playing time. Veteran backup quarterback Jacoby Brissett is likely the starter for the start of the season, regardless of the appeal decision. Brissett is currently ranked second on the first depth chart of the season, followed by Josh Dobbs and Josh Rosen. As the hours tick down until the Cleveland Browns' first preseason game this Friday, all eyes and ears will be ready and waiting for a decision on this high profile case.
english
import {Rule} from "../model/rule"; export class WidgetConfig<T> { value: T; // default value. key: string; type: string; label: string; labelKey?:string; // if null, default it to label. useful for when the label is really long // or you need a unique identifier for the same label. // layout... labelWidth:number; width:number; offset:number; // .... required: boolean; order: number; css: string; rememberAs:string; rules: Rule[]; constructor(options: { key: string, type: string, value?: T, label?: string, required?: boolean, labelKey?: string, labelWidth?: number, rules?:Rule[], width?: number, offset?: number, rememberAs?:string, order?: number, css?: string, }) { this.key = options.key; this.type = options.type; this.value = options.value; this.label = options.label || ''; this.required = !!options.required; this.order = options.order ? options.order : 1; this.css = options.css || ''; this.width = options.width || 6; this.offset = options.offset || 0; this.labelWidth = options.labelWidth || 6; this.labelKey = options.labelKey || this.label; this.rules = options.rules || []; this.rememberAs = options.rememberAs; // add change listener. set rememory[key]=value. // if async validators added, handle them myself? i.e. after 400MS, call any queued up validators // when data is dirty. } }
typescript
<gh_stars>1-10 --- title: Guide to scroll anchoring slug: Web/CSS/overflow-anchor/Guide_to_scroll_anchoring tags: - CSS - Guide - overflow-anchor - scroll anchoring --- <div>{{CSSRef}}</div> <p> As a user of the web, you are probably familiar with the problem that scroll anchoring solves. You browse to a long page on a slow connection and begin to scroll to read the content; while you are busy reading, the part of the page you are looking at suddenly jumps. This has happened because large images or some other elements have just loaded further up in the content. </p> <p> Scroll anchoring is a browser feature that aims to solve this problem of content jumping, which happens if content loads in after the user has already scrolled to a new part of the document. </p> <h2 id="How_does_it_work">How does it work?</h2> <p> Scroll anchoring adjusts the scroll position to compensate for the changes outside of the viewport. This means that the point in the document the user is looking at remains in the viewport, which may mean their scroll position actually changes in terms of how <em>far</em> they have moved through the document. </p> <h2 id="How_do_I_turn_on_scroll_anchoring"> How do I turn on scroll anchoring? </h2> <p> You don't! The feature is enabled by default in supporting browsers. In most cases anchored scrolling is exactly what you want — content jumping is a poor experience for anyone. </p> <h2 id="What_if_I_need_to_debug_it">What if I need to debug it?</h2> <p> If your page is not behaving well with scroll anchoring enabled, it is probably because some <code>scroll</code> event listener is not handling well the extra scrolling to compensate for the anchor node movement. </p> <p> You can check whether disabling scroll anchoring fixes the issue in Firefox by changing <code>layout.css.scroll-anchoring.enabled</code> to <code>false</code> in <code>about:config</code>. </p> <p> If it does, you can check what node is Firefox using as the anchor using the <code>layout.css.scroll-anchoring.highlight</code> switch. That will show a purple overlay on top of the anchor node. </p> <p> If one node doesn't seem appropriate to be an anchor, you can exclude it using {{cssxref("overflow-anchor")}}, as described below. </p> <h2 id="What_if_I_need_to_disable_it">What if I need to disable it?</h2> <p> The specification provides a new property, {{cssxref("overflow-anchor")}}, which can be used to disable scroll anchoring on all or part of the document. It's essentially a way to opt out of the new behavior. </p> <p>The only possible values are <code>auto</code> or <code>none</code>:</p> <ul> <li> <code>auto</code> is the initial value; as long as the user has a supported browser the scroll anchoring behavior will happen, and they should see fewer content jumps. </li> <li> <code>none</code> means that you have explicitly opted the document, or part of the document, out of scroll anchoring. </li> </ul> <p> To opt out the entire document, you can set it on the {{htmlelement("body")}} element: </p> <pre class="brush: css"> body { overflow-anchor: none; }</pre > <p> To opt out a certain part of the document use <code>overflow-anchor: none</code> on its container element: </p> <pre class="brush: css"> .container { overflow-anchor: none; }</pre > <div class="notecard note"> <p> <strong>Note:</strong> The specification details that once scroll anchoring has been opted out of, you cannot opt back into it from a child element. For example, if you opt out for the entire document, you will not be able to set <code>overflow-anchor: auto</code> elsewhere in the document to turn it back on for a subsection. </p> </div> <h3 id="Suppression_triggers">Suppression triggers</h3> <p> The specification also details some <em>suppression triggers</em>, which will disable scroll anchoring in places where it might be problematic. If any of the triggers happen on the anchor node, or an ancestor of it, anchoring is suppressed. </p> <p> These suppression triggers are changes to the computed value of any of the following properties: </p> <ul> <li> {{cssxref("top")}}, {{cssxref("left")}}, {{cssxref("right")}}, or {{cssxref("bottom")}} </li> <li>{{cssxref("margin")}} or {{cssxref("padding")}}</li> <li>Any {{cssxref("width")}} or {{cssxref("height")}}-related properties</li> <li>{{cssxref("transform")}}</li> </ul> <p> Additionally, {{cssxref("position")}} changes anywhere inside the scrolling box also disable scroll anchoring. </p> <div class="notecard note"> <p> <strong>Note:</strong> In {{bug(1584285)}} the <code>layout.css.scroll-anchoring.suppressions.enabled</code> flag was added to Firefox Nightly in order to allow the disabling of these triggers. </p> </div> <h2 id="Further_reading">Further reading</h2> <ul> <li> <a href="https://github.com/WICG/ScrollAnchoring/blob/master/explainer.md" >Explainer document on the WICG site</a > </li> <li> <a href="https://blog.chromium.org/2017/04/scroll-anchoring-for-web-developers.html" >Scroll anchoring for web developers on the Chromium blog</a > </li> <li> <a href="https://blog.eqrion.net/pin-to-bottom/" >Implement a pin-to-bottom scrolling element using scroll anchoring</a > </li> </ul> <h2 id="Browser_compatibility">Browser compatibility</h2> <p> If you need to test whether scroll anchoring is available in a browser, use <a href="/en-US/docs/Web/CSS/@supports">Feature Queries</a> to test support for the <code>overflow-anchor</code> property. </p> <p>{{Compat("css.properties.overflow-anchor")}}</p>
html
Recently-returned WWE star Elias was irate with Seth 'Freakin' Rollins after the main event of RAW this week. The 34-year-old returned to the red brand on the show's latest episode. While he was about to perform for the fans, Matt Riddle interrupted and declared that he was a huge fan of the returning star. Soon after, United States Champion Seth Rollins made his way to the ring for the scheduled US Title match against Riddle. Throughout the match, The Visionary provoked the returning star to hit him and even planted him with a Stomp after the encounter with Riddle. Later, Elias spoke with Cathy Kelly on RAW Talk to express his disappointment at how his return panned out. "No, it didn't go according to plan. That seems to happen more often than not around here, and I gotta tell you, I had the highest hopes. I was so excited to make my return, to make my brother proud and just have a good time out there in front of the audience performing, playing music, doing my thing, like only Elias can. And let me tell you it went downhill so quick. I mean, Riddle came out, he interrupted. I mean, he's a good kid. His heart was in the right place but wrong time. " The returning superstar was unhappy with Rollins for ruining his comeback and upstaging him during the show. You can watch the full interview here: During his segment on RAW, Elias mentioned that he was glad to be back on the red brand. He disclosed that his younger brother Ezekiel's career was tragically cut short. This happened a few weeks ago when Zeke suffered numerous injuries during an ambush at the hands of Kevin Owens. Elias mentioned that he was there because he felt the need to continue the legacy of his family. He sat down and was about to play the keyboard when Riddle emerged. The Drifter was also away from the squared circle for a while. He returned a few months ago to participate in a segment with Ezekiel. However, it seems that he is now in WWE for the long haul. Do you think a feud between Seth Rollins and Elias is brewing? Let us know in the comments section below. While using quotes from this article, please credit WWE and give a H/T to Sportskeeda.
english
<reponame>grialion/Modern-Utility package net.minecraft.util.datafix.fixes; import com.mojang.datafixers.DSL; import com.mojang.datafixers.Typed; import com.mojang.datafixers.schemas.Schema; import net.minecraft.util.datafix.TypeReferences; public class ShulkerBoxTileColor extends NamedEntityFix { public ShulkerBoxTileColor(Schema outputSchema, boolean changesType) { super(outputSchema, changesType, "BlockEntityShulkerBoxColorFix", TypeReferences.BLOCK_ENTITY, "minecraft:shulker_box"); } protected Typed<?> fix(Typed<?> p_207419_1_) { return p_207419_1_.update(DSL.remainderFinder(), (p_207420_0_) -> { return p_207420_0_.remove("Color"); }); } }
java
<reponame>pkerpedjiev/tibanna { "parameters": { "ncores": 8 }, "_tibanna": { "run_type": "hic-partc", "run_id": "partC_rao7", "env": "fourfront-webprod", "run_name": "hic-partc_partC_rao7" }, "output_bucket": "elasticbeanstalk-fourfront-webprod-wfoutput", "input_files": [ { "workflow_argument_name": "input_hic", "bucket_name": "elasticbeanstalk-fourfront-webprod-wfoutput", "uuid": "694c29c9-cbcd-4581-88d8-44304b9d4d6e", "object_key": "<KEY>" }, { "workflow_argument_name": "input_cool", "bucket_name": "elasticbeanstalk-fourfront-webprod-wfoutput", "uuid": "2051ec0b-fbb3-4eb1-a1f7-2484ae908fea", "object_key": "4DNFILYFQZ3S.cool" } ], "workflow_uuid": "c6480905-49e5-4c33-afab-9ec90d65faf3", "app_name": "hi-c-processing-partc/8" }
json
# @ianwremmel/exception [![license](https://img.shields.io/github/license/ianwremmel/exception.svg)](https://github.com/ianwremmel/exception/blob/master/LICENSE) [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) [![Dependabot badge](https://img.shields.io/badge/Dependabot-active-brightgreen.svg)](https://dependabot.com/) [![dependencies Status](https://david-dm.org/ianwremmel/exception/status.svg)](https://david-dm.org/ianwremmel/exception) [![devDependencies Status](https://david-dm.org/ianwremmel/exception/dev-status.svg)](https://david-dm.org/ianwremmel/exception?type=dev) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![CircleCI](https://circleci.com/gh/ianwremmel/exception.svg?style=svg)](https://circleci.com/gh/ianwremmel/exception) [![Coverage Status](https://coveralls.io/repos/github/ianwremmel/exception/badge.svg?branch=master)](https://coveralls.io/github/ianwremmel/exception?branch=master) > Base-class for browser and nodejs Exceptions ## Install ```bash npm install @ianwremmel/exception ``` ## Usage ```js class MyError extends Exception {} throw new MyError(`Something bad happened`); ``` ## Maintainers [<NAME>](https://github.com/ianwremmel) ## Contribute See [CONTRIBUTE](CONTRIBUTE.md) ## License &copy; [License Type](LICENSE)
markdown
<reponame>bundestag/dip21-daten { "vorgangId": "78586", "VORGANG": { "WAHLPERIODE": "18", "VORGANGSTYP": "Mündliche Frage", "TITEL": "Bericht der Bundesregierung zur Situation unbegleiteter ausländischer Minderjähriger", "AKTUELLER_STAND": "Beantwortet", "SIGNATUR": "", "GESTA_ORDNUNGSNUMMER": "", "PLENUM": { "PLPR_KLARTEXT": "Mündliche Frage/Schriftliche Antwort", "PLPR_HERAUSGEBER": "BT", "PLPR_NUMMER": "18/208", "PLPR_SEITEN": "20812B", "PLPR_LINK": "http://dipbt.bundestag.de:80/dip21/btp/18/18208.pdf#P.20812" }, "EU_DOK_NR": "", "SCHLAGWORT": [ "Bericht der Bundesregierung", { "_fundstelle": "true", "__cdata": "Flüchtling" }, "Minderjähriger" ], "ABSTRAKT": "Originaltext der Frage(n): \r\n \r\nWie und wann wird die Bundesregierung ihrer jährlichen Berichtspflicht gegenüber dem Deutschen Bundestag nach § 42e des Achten Buches Sozialgesetzbuch zur Situation unbegleiteter ausländischer Minderjähriger angesichts des nahenden Jahresendes nachkommen?" }, "VORGANGSABLAUF": { "VORGANGSPOSITION": [ { "ZUORDNUNG": "BT", "URHEBER": "Mündliche Frage ", "FUNDSTELLE": "09.12.2016 - BT-Drucksache 18/10595, Nr. 31", "FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/18/105/1810595.pdf" }, { "ZUORDNUNG": "BT", "URHEBER": "Mündliche Frage/Schriftliche Antwort", "FUNDSTELLE": "14.12.2016 - BT-Plenarprotokoll 18/208, S. 20812B", "FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btp/18/18208.pdf#P.20812", "PERSOENLICHER_URHEBER": [ { "VORNAME": "Beate", "NACHNAME": "Walter-Rosenheimer", "FUNKTION": "MdB", "FRAKTION": "BÜNDNIS 90/DIE GRÜNEN", "AKTIVITAETSART": "Frage", "SEITE": "20812B" }, { "VORNAME": "Elke", "NACHNAME": "Ferner", "FUNKTION": "Parl. Staatssekr.", "RESSORT": "Bundesministerium für Familie, Senioren, Frauen und Jugend", "AKTIVITAETSART": "Antwort", "SEITE": "20812B" } ] } ] } }
json
<reponame>rsteube/carapace-completers<filename>pkg/actions/tools/tmux/feature.go package tmux import "github.com/rsteube/carapace" // ActionFeatures completes features // `256 (Supports 256 colours with the SGR escape sequences.) // `RGB (Supports RGB colour with the SGR escape sequences.) func ActionFeatures() carapace.Action { return carapace.ActionValuesDescribed( "256", "Supports 256 colours with the SGR escape sequences.", "clipboard", "Allows setting the system clipboard.", "ccolour", "Allows setting the cursor colour.", "cstyle", "Allows setting the cursor style.", "extkeys", "Supports extended keys.", "focus", "Supports focus reporting.", "margins", "Supports DECSLRM margins.", "mouse", "Supports xterm(1) mouse sequences.", "overline", "Supports the overline SGR attribute.", "rectfill", "Supports the DECFRA rectangle fill escape sequence.", "RGB", "Supports RGB colour with the SGR escape sequences.", "strikethrough", "Supports the strikethrough SGR escape sequence.", "sync", "Supports synchronized updates.", "title", "Supports xterm(1) title setting.", "usstyle", "Allows underscore style and colour to be set.", ) }
go
Andrew Tye to Billings, out Bowled! Oh these slower ball deceptions are a sight to behold! A knuckle ball that was pitched short, but held up a little too much for Billings to adjust. Tries to get on top of it, but the ball hoodwinks him and refuses to bounce that high. Takes the bottom-edge of the attempted dab, bounces on the turf and crashes into the stumps. The batsman looks astonished. Billings b Andrew Tye 11(18)
english
<filename>src/app/components/monitoring/monitoring/monitoring.component.ts<gh_stars>1-10 import { Component, OnInit, ChangeDetectorRef } from '@angular/core'; import { CommonEventsService } from '../../../services/commons/events/events.service'; import { StreamEventsService } from '../../../services/stream/events/stream.events.service'; import { StreamDataService } from '../../../services/stream/data/stream.data.service'; @Component({ selector: 'app-monitoring', templateUrl: './monitoring.component.html', styleUrls: ['./monitoring.component.css'] }) export class MonitoringComponent implements OnInit { constructor(public _es: StreamEventsService, public _ces: CommonEventsService, public _ds: StreamDataService) { let that = this; that._ds.streamSettings = true; this._ces._tssr.subscribe((data) => { if (data.toggle) { that._ds.streamSearch = !that._ds.streamSearch; } }); } ngOnInit() { } toggleStreamSettings(data) { this._ds.streamSearch = true; this._ds.streamSettings = false; this._ds.streamShowAuthFile = 'Auth'; return false; } }
typescript
<filename>db/locales/en/templates/57372ac324597767001bc261.json<gh_stars>1-10 { "Name": "30 pcs. 5.45x39 BP gs ammo pack", "ShortName": "BP gs", "Description": "A paper package of 5.45x39 BP gs cartridges, 30 pieces." }
json
President Donald Trump’s shakeup of his national security team adds to the burden on one man at the center of any decision about war and peace: Defense Secretary Jim Mattis. Long a champion of alliances and diplomacy, Mattis increasingly finds himself surrounded by policy hawks on issues from Iran to North Korea. Yet his command of the nation’s 1. 2 million active duty personnel makes him uniquely placed to steer Trump away from any rash decision to unleash the U. S. military. Trump stunned his own aides this month by reshaping his foreign policy team in a more hawkish bent ahead of a key decision on the Iran nuclear deal and a historic summit with North Korea’s leader. With a tweet, he said he’d replace Secretary of State Rex Tillerson with CIA Director Mike Pompeo. Then Thursday he tapped former United Nations ambassador John Bolton to be his third national security adviser in 14 months, dismissing H. R. McMaster. TO READ THE FULL STORY, SUBSCRIBE NOW NOW AT JUST RS 249 A MONTH. What you get on Business Standard Premium? - Unlock 30+ premium stories daily hand-picked by our editors, across devices on browser and app. - Pick your 5 favourite companies, get a daily email with all news updates on them. - Full access to our intuitive epaper - clip, save, share articles from any device; newspaper archives from 2006. - Preferential invites to Business Standard events. - Curated newsletters on markets, personal finance, policy & politics, start-ups, technology, and more.
english
Arsh Bansal, a Bengaluru-based architect and entrepreneur launched Tenpy, a slow travel startup that builds tiny homes on the outskirts of the city, using sustainable materials. A series of tiny homes on the outskirts of the city amidst the lush green cover might sound like a description from one of your favourite fables but it is in fact made real by Arsh Bansal, a Bengaluru-based architect and entrepreneur. Growing up in the hills of Mussoorie, when Arsh moved to the city, he missed the greenery and the sight of the hills. He also noticed how people who live in the city crave for staying amidst nature. This observation made him come up with the idea of Tenpy, a travel startup that builds tiny homes in Karnataka. He made the first two glass-roof cabins out of shipping containers to let the guests experience nature up close. These eco-friendly tiny homes are an effort to combine wanderlust with sustainability offering a soulful experience right in the middle of the forest. These tiny homes have all the basic amenities like living space, toilets, bed space and a kitchenette. Interestingly, he named the houses after renowned authors or books. His first project ‘Rusty’ is named after Ruskin Bond’s book Rusty Runs Away. Besides, tiny homes encourage digital detoxification by providing spaces without WiFi or TVs. After building tiny houses out of shipping containers, they also experimented with certain other locally available, sustainable as well as prefabricated structures and materials to build the houses. These sustainable homestays are almost 70 per cent moveable except for the remaining 30 per cent where brick and cement were used. Currently, they have six homes, and they are expanding their venture to Maharashtra. Watch what goes into making these eco-friendly homes: We bring stories straight from the heart of India, to inspire millions and create a wave of impact. Our positive movement is growing bigger everyday, and we would love for you to join it. Please contribute whatever you can, every little penny helps our team in bringing you more stories that support dreams and spread hope.
english
<gh_stars>0 class Node(): def __init__(self, id: int, value = None, right: 'Node' = None, left: 'Node' = None): self.id = id self.value = value self.right = right self.left = left self.parent: 'Node' = None def add(self, node: 'Node'): if not node: raise ValueError('node value invalid') if node.id == self.id: raise ValueError('The id sent is alredy on the tree') if node.id > self.id: if not self.right: node.parent = self self.right = node else: self.right.add(node) if node.id < self.id: if not self.left: node.parent = self self.left = node else: self.left.add(node) def get_size(self): size_l = self.left.get_size() if self.left else 0 size_r = self.right.get_size() if self.right else 0 return 1 + size_l + size_r def get_height(self): h_l = self.left.get_height() if self.left else 0 h_r = self.right.get_height() if self.right else 0 if h_r > h_l: return 1 + h_r return 1 + h_l def get_node(self, id: int): if self.id == id: return self if id > self.id: if self.right: return self.right.get_node(id) if id < self.id: if self.left: return self.left.get_node(id) return None def get_min_node(self): if not self.left: return self return self.left.get_min_node() def get_max_node(self): if not self.right: return self return self.right.get_max_node() def get_sorted_list(self, max_size: int=None, ascending: bool=True): if max_size == None: return self.__get_list(ascending) return self.__get_list_by_size(max_size, ascending) def __get_list(self, ascending: bool): list_e = self.left.__get_list(ascending) if self.left else [] list_d = self.right.__get_list(ascending) if self.right else [] if ascending: return list_e + [self.id] + list_d return list_d + [self.id] + list_e def __get_list_by_size(self, max_size: int, ascending: bool): if ascending: st = 'left' fi = 'right' else: st = 'right' fi = 'left' list_st = self[st].__get_list_by_size(max_size=max_size, ascending=ascending) if self[st] else [] if max_size <= len(list_st): return list_st elif max_size <= len(list_st) + 1: return list_st + [self.id] else: curr_size = len(list_st) + 1 list_fi = self[fi].__get_list_by_size(max_size=max_size-curr_size, ascending=ascending) if self[fi] else [] return list_st + [self.id] + list_fi def __getitem__(self, name): return getattr(self, name) def __setitem__(self, name, value): return setattr(self, name, value) def __str__(self): str_e = self.left.__str__() if self.left else None str_d = self.right.__str__() if self.right else None if not (str_e or str_d): return f'[({self.id})]' return f'[({self.id}) {str_e}, {str_d}]'
python
{ "files": { "main.css": "/static/css/main.aa09bd35.chunk.css", "main.js": "/static/js/main.4d9b1c73.chunk.js", "main.js.map": "/static/js/main.4d9b1c73.chunk.js.map", "runtime-main.js": "/static/js/runtime-main.3e91ef79.js", "runtime-main.js.map": "/static/js/runtime-main.3e91ef79.js.map", "static/js/2.19dbb344.chunk.js": "/static/js/2.19dbb344.chunk.js", "static/js/2.19dbb344.chunk.js.map": "/static/js/2.19dbb344.chunk.js.map", "static/js/3.5fcb7643.chunk.js": "/static/js/3.5fcb7643.chunk.js", "static/js/3.5fcb7643.chunk.js.map": "/static/js/3.5fcb7643.chunk.js.map", "index.html": "/index.html", "static/css/main.aa09bd35.chunk.css.map": "/static/css/main.aa09bd35.chunk.css.map", "static/js/2.19dbb344.chunk.js.LICENSE.txt": "/static/js/2.19dbb344.chunk.js.LICENSE.txt", "static/media/avatar.82e747ce.jpg": "/static/media/avatar.82e747ce.jpg", "static/media/meanstack.39fb94b6.jpg": "/static/media/meanstack.39fb94b6.jpg", "static/media/mernstack.bd6d1065.jpg": "/static/media/mernstack.bd6d1065.jpg", "static/media/pyjango.6d819f64.png": "/static/media/pyjango.6d819f64.png" }, "entrypoints": [ "static/js/runtime-main.3e91ef79.js", "static/js/2.19dbb344.chunk.js", "static/css/main.aa09bd35.chunk.css", "static/js/main.4d9b1c73.chunk.js" ] }
json
<gh_stars>0 import { Component, EventEmitter, Input, Output } from '@angular/core'; import { SelectableItem } from '../models/selectable-item'; import { SelectService } from '../services/select.service'; @Component({ selector: 'tree-select-item', templateUrl: './tree-select-item.component.html', styleUrls: ['./tree-select-item.component.scss'] }) export class TreeSelectItemComponent { public get isOpen() { return this.item.isOpen; } @Input() public onTouchedCallBack: () => void; @Input() public item: SelectableItem; @Output() public onExpand = new EventEmitter(); public constructor( private svc: SelectService ) { } public toggleOpen($event: any) { $event.stopPropagation(); if (this.haveChildren) { this.item.isOpen = !this.item.isOpen; if (this.item.isOpen) { this.itemExpanded(this.item); } } else { this.select($event); } } public itemExpanded(event) { this.onExpand.emit(event); } get allowParentSelection(): boolean { return this.svc.Configuration.allowParentSelection; } get needCheckBox(): boolean { return this.svc.Configuration.isHierarchy() && this.svc.Configuration.allowMultiple; } public get haveChildren(): boolean { return this.item && this.item.children && this.item.children.length > 0; } public select($event: any): void { $event.stopPropagation(); if (this.svc.Configuration.allowMultiple || !this.haveChildren || this.svc.Configuration.allowParentSelection) { this.svc.toggleItemSelection(this.item); } this.onTouchedCallBack(); } public get filter(): string { return this.svc.Configuration.filter; } }
typescript
Sweet Jesus, this looks good. Disney Plus treated Super Bowl viewers to a big new trailer for The Falcon and The Winter Soldier on Sunday, and March 19 can't come soon enough. Take a look below at Sebastian Stan and Anthony Mackie as the next best Marvel Cinematic Universe team-up, featuring friendly banter, competition and even a staring contest. The Falcon and the Winter Soldier will debut on Disney Plus with a six-episode run as part of the MCU 's Phase 4, picking up after the events of Avengers: Endgame when Anthony Mackie's Sam Wilson, aka The Falcon, takes over the Captain America shield. Sebastian Stan returns as Bucky Barnes, aka The Winter Soldier, and the pair team up on a globe-trotting mission to take down an anarchist group called the Flag-Smashers. Daniel Brühl will return as Baron Zemo, wearing his traditional purple mask from the comics, which we didn't see on the Sokovian terrorist in Captain America: Civil War. The new trailer sees Emily VanCamp in action as Sharon Carter, aka Peggy's niece, catching up with the former agent of S.H.I.E.L.D. since we last saw her in Civil War. Wyatt Russell is also set to appear as John F. Walker/US Agent, the US government's militaristic successor to Captain America. Ahead of the Super Bowl, we also learned that Don Cheadle will make an appearance as James Rhodes, aka War Machine, who will have his own series in the coming years, too. The Falcon and Winter Soldier comes on the heels of WandaVision, which recently passed the halfway mark with a stunning cliff-hanger and still has three new episodes to come. This year is chock full of MCU properties on the small screen after the coronavirus-related drought of 2020, including these confirmed series so far: Loki in May, the animated What If...? coming this summer, and both Ms. Marvel and Hawkeye confirmed for "late 2021." For more on upcoming series and movies , check out all of Disney's Investor Day announcements from December. Here's the longer, first look we got during that presentation to hold you over till the series launch.
english
Stylish Star Allu Arjun’s latest film Ala Vaikunthapuramulo is going from strength to strength at the box office. The film is in no mood to slow down even Sankranthi festival season is finished. Even trade pundits are surprised by the collections this film is generating. Especially in US, the film is enjoying some phenomenal run and beating all time top grossers there. The film has yesterday crossed 2. 5 million dollars and by collecting approximately $300K on Sunday, the film has beat SyeRaa life time collections in just 8 days. The film by now will beat Srimanthudu’s life time collections as well which stands at 2. 89 Million dollars. Next stop for the film is at 3 million dollar mark and it will be the first ever for Allu Arjun and Trivikram Srinivas. The film is at 7th place currently and will breach 6th place today. We have to wait and see where this film end up at. Have a look at all time top grossers of Telugu Cinema in US:
english
New Delhi, May 15 (IANS ) The Delhi High Court has asked the Medical Superintendent of Tihar Jail to provide a status report on the health, including details of treatments, if any, of all convicts and those who are awaiting trial aged over 75 years. A division bench of Justice Siddharth Mridul and Justice Mini Pushkarna was dealing with a suo motu case registered in 2005, as per a news report published in the Delhi Age titled "92 -year-old is Tihar undertrial". Seeking that the status report has to be submitted on or before May 29, the bench said: "The concerned Medical Superintendent is directed to furnish a fresh status report regarding the current medical condition of all the convicts and under-trial prisoners, who are above the age of 75 years (currently lodged in jail), including complete details of the treatments, if any, being provided to them, on or before the next date of hearing. " The case stems from elderly lady Maya Devi's case, who was involved in a case registered under different Sections of the Indian Penal Code. In 2005, she was granted bail by the court on grounds of her old age and on the basis of a report by Tihar Jail's Medical Officer stating that she was suffering from various diseases. Since then, the court has been looking into the status of health of the elderly prisoners in Tihar jail. Disclaimer: This story has not been edited by the Sakshi Post team and is auto-generated from syndicated feed.
english
<filename>sabot/kernel/src/test/java/com/dremio/sabot/exec/fragment/TestFragmentWorkQueue.java<gh_stars>0 /* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.dremio.sabot.exec.fragment; import static com.google.common.util.concurrent.Runnables.doNothing; import static org.junit.Assert.assertEquals; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.apache.arrow.memory.ArrowBuf; import org.apache.arrow.memory.BufferAllocator; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import com.dremio.sabot.threads.sharedres.SharedResourceGroup; import com.dremio.sabot.threads.sharedres.SharedResourceManager; import com.dremio.test.AllocatorRule; /** * Tests for {@link FragmentWorkQueue} */ public class TestFragmentWorkQueue { private BufferAllocator testAllocator; @Rule public final AllocatorRule allocatorRule = AllocatorRule.defaultAllocator(); @Before public void setupBeforeTest() { testAllocator = allocatorRule.newAllocator("test-fragmentworkqueue", 0, Long.MAX_VALUE); } @After public void cleanupAfterTest() { testAllocator.close(); } @Test public void testNoAcceptanceAfterRetire() throws InterruptedException { ExecutorService ex = Executors.newFixedThreadPool(10); CountDownLatch latch = new CountDownLatch(100); try(ArrowBuf buf = testAllocator.buffer(64)) { FragmentWorkQueue workQueue = new FragmentWorkQueue(getSharedResourceGrp()); for (int i = 0; i < 100; i++) { ex.execute(() -> { buf.getReferenceManager().retain(); workQueue.put(doNothing(), buf::close); latch.countDown(); }); if (i==50) { workQueue.retire(); // current messages are cleared and subsequent messages are closed on arrival. } } latch.await(5, TimeUnit.MINUTES); ex.shutdownNow(); // not calling retire again, but expecting any outstanding refs on the buf. assertEquals(1, buf.refCnt()); } } private SharedResourceGroup getSharedResourceGrp() { SharedResourceManager resourceManager = SharedResourceManager.newBuilder() .addGroup("test") .build(); return resourceManager.getGroup("test"); } }
java
{ "name": "steffenbrand/html-compress-middleware", "description": "HTML Compress Middleware", "homepage": "https://github.com/steffenbrand/html-compress-middleware", "type": "library", "authors": [ { "name": "<NAME>", "email": "<EMAIL>" } ], "minimum-stability": "stable", "require": { "php": ">=7.1", "psr/container": "^1.0", "psr/http-message": "^1.0.1", "psr/http-server-middleware": "^1.0", "wyrihaximus/html-compress": "^1.4", "zendframework/zend-diactoros": "^1.7" }, "require-dev": { "phpunit/phpunit": "^7.0" }, "autoload": { "psr-4": { "SteffenBrand\\HtmlCompressMiddleware\\": "src/" } }, "autoload-dev": { "psr-4": { "SteffenBrand\\HtmlCompressMiddleware\\Test\\": "test/" } }, "config": { "bin-dir": "bin" } }
json
Charles Leclerc felt that the 2022 Ferrari challenger was a brilliant car during qualifying on low fuel and fresh tires but as soon as the tires got older or the fuel load increased, the car became more difficult to understand. The Ferrari driver finished the season second in the championship behind Max Verstappen. While the car was competitive during Saturdays, Charles Leclerc tended to lose out more than the Red Bull driver on Sundays and cede whatever advantage he had. During the year-end FIA Gala, Charles Leclerc was questioned about his views on the Ferrari challenger this season. He said: Charles Leclerc had a few moments this season that were hard to process. The DNF in Spain was no fault of his own, or the one in Baku where the PU failed on him again. Leclerc, however, revealed that during the season, it's very hard to process these disappointments because of the busy nature of the calendar and they hurt more when you look back at them in the off-season. He said: When asked to pick his favorite win of the season, Leclerc chose the Austrian GP. The driver beat Max Verstappen in Red Bull's home race in the Red Bull ring and did so by showing impressive tire management. Leclerc said: Leclerc will be eagerly waiting for the 2023 F1 season to start and will hope to put together a much better title challenge this time around.
english
<reponame>symphony-mariacristina/messageml-utils package org.symphonyoss.symphony.messageml.elements; import static org.junit.Assert.assertEquals; import com.fasterxml.jackson.databind.node.JsonNodeFactory; import com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.Test; import org.symphonyoss.symphony.messageml.bi.BiContext; import org.symphonyoss.symphony.messageml.bi.BiFields; import org.symphonyoss.symphony.messageml.bi.BiItem; import org.symphonyoss.symphony.messageml.exceptions.InvalidInputException; import java.util.Collections; public class ParagraphTest extends ElementTest { @Test public void testParagraph() throws Exception { String input = "<messageML>Hello<p>world</p>!</messageML>"; context.parseMessageML(input, null, MessageML.MESSAGEML_VERSION); Element messageML = context.getMessageML(); assertEquals("Element children", 3, messageML.getChildren().size()); Element p = messageML.getChildren().get(1); assertEquals("Element class", Paragraph.class, p.getClass()); assertEquals("Element tag name", "p", p.getMessageMLTag()); assertEquals("Element attributes", Collections.emptyMap(), p.getAttributes()); assertEquals("Element children", 1, p.getChildren().size()); assertEquals("Child element", TextNode.class, p.getChildren().get(0).getClass()); assertEquals("Child element text", "world", p.getChildren().get(0).asText()); assertEquals("PresentationML", "<div data-format=\"PresentationML\" data-version=\"2.0\">Hello<p>world</p>!</div>", context.getPresentationML()); assertEquals("Markdown", "Hello\n\nworld\n\n!", context.getMarkdown()); assertEquals("EntityJSON", new ObjectNode(JsonNodeFactory.instance), context.getEntityJson()); assertEquals("Legacy entities", new ObjectNode(JsonNodeFactory.instance), context.getEntities()); String withAttr = "<messageML>Hello<p class=\"label\">world</p>!</messageML>"; context.parseMessageML(withAttr, null, MessageML.MESSAGEML_VERSION); p = context.getMessageML().getChildren().get(1); assertEquals("Attribute count", 1, p.getAttributes().size()); assertEquals("Attribute", "label", p.getAttribute("class")); String styleAttr = "<messageML>Hello<p style=\"opacity:0.5\">world</p>!</messageML>"; context.parseMessageML(styleAttr, null, MessageML.MESSAGEML_VERSION); p = context.getMessageML().getChildren().get(1); assertEquals("Attribute count", 1, p.getAttributes().size()); assertEquals("Attribute", "opacity:0.5", p.getAttribute("style")); } @Test public void testParagraphInvalidAttr() throws Exception { String invalidAttr = "<messageML>Hello<p title=\"label\">world</p>!</messageML>"; expectedException.expect(InvalidInputException.class); expectedException.expectMessage("Attribute \"title\" is not allowed in \"p\""); context.parseMessageML(invalidAttr, null, MessageML.MESSAGEML_VERSION); } @Test public void testParagraphBi() throws Exception { String input = "<messageML><p>Hello</p><p>world</p>!</messageML>"; context.parseMessageML(input, null, MessageML.MESSAGEML_VERSION); BiContext biContext = context.getBiContext(); assertEquals(2, biContext.getItems().size()); BiItem item = biContext.getItems().get(0); assertEquals(BiFields.PARAGRAPH.getValue(), item.getName()); assertEquals(2, item.getAttributes().get(BiFields.COUNT.getValue())); } }
java
Actor-turned-Jana Sena Party president Pawan Kalyan seems to have overcome his initial inhibitions in politics and tentativeness in his political moves. He is now looking like a true politician, expressing his ambitions of coming to power, seeking people’s blessings to become the next chief minister of Andhra Pradesh and castigating the ruling Telugu Desam Party and opposition parties including the YSR Congress party and the Bharatiya Janata Party. His “Jana Portata Yatra” which entered the second day in Srikakualm on Monday has been evoking tremendous response. And, Pawan is speaking with more clarity now than he was in the past. He declared that he was not acting at the behest of any political party either in Delhi or in the state. “I am not a puppet of anybody. I have my own philosophy and vision and I entered politics only after making an extensive study of the political situation,” he said. He extended apology to the people for supporting the TDP-BJP combine in 2014 elections and said he would not repeat the mistake in 2019. While attacking the BJP for denying special category status to Andhra, Pawan also threw challenge to the TDP for an open debate on the issue. “It was only the Jana Sena that had been sincerely fighting for the cause whereas Chief Minister N Chandrababu Naidu had done countless flip-flops,” he said. He alleged that Naidu was afraid of demanding the rightful share of the state from the BJP in the last four years, because he was scared of the saffron party. “He is now blaming the Centre for everything only to cover up his failures,” he said. Pawan was also critical of the YSR Congress saying it failed to be an effective opposition. “By abstaining from the assembly, it had run away its responsibility of highlighting the people’s issues and its leader is on the roads only with an ambition of becoming the chief minister,” he criticised.
english
package org.assertj.core.api; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; import java.util.List; import org.assertj.core.util.Lists; import org.junit.Test; import org.junit.runners.model.MultipleFailureException; public class JUnitSoftAssertionsFailureTest { //we cannot make it a rule here, because we need to test the failure without this test failing! //@Rule public final JUnitSoftAssertions softly = new JUnitSoftAssertions(); @Test public void should_report_all_errors() throws Throwable { try { softly.assertThat(1).isEqualTo(1); softly.assertThat(1).isEqualTo(2); softly.assertThat(Lists.newArrayList(1, 2)).containsOnly(1, 3); MultipleFailureException.assertEmpty(softly.getCollector().errors()); fail("Should not reach here"); } catch (MultipleFailureException e) { List<Throwable> failures = e.getFailures(); assertThat(failures).hasSize(2).extracting("message").contains("expected:<[2]> but was:<[1]>", "\n" + "Expecting:\n" + " <[1, 2]>\n" + "to contain only:\n" + " <[1, 3]>\n" + "elements not found:\n" + " <[3]>\n" + "and elements not expected:\n" + " <[2]>\n"); } } }
java
Japan’s IT Exodus: A Personal Perspective (Part 1) 37-year-old software architect Ryo Asai writes at his blog “Becoming a Master Programmer” about his reasons for leaving his previous job, a Japanese system integration company, to work at Amazon Japan. In explaining his reasons for the move, Asai provides a unique perspective on the underlying roots of Japan's failure to keep up in the new digital economy. The Tofugu blog looks at school and work uniforms in Japan to explain why they're important, in Japan, Steve Jobs, and the Infamous Black Turtleneck. Coworking is a growing worldwide movement, and Japan is no exception. Surprising to see in a culture where the idea of physically being in the office at all hours is ingrained in the psyche of the salaried worker? Perhaps not. Blogger Isseki Nagae considers the sorry state of the Japanese personal electronics industry in light of the recent success of Apple in Japan. Through the words of Steve Jobs, Nagae argues that Japanese manufacturers pay too much attention to the views of the average user rather than developing new ideas. Jake Adelstein comments on the Australian Broadcasting Corporation's 2010 documentary, “Yakuza”. The video is now available for viewing on YouTube. In response to the ministry of tourism's plan to invite 10,000 foreigners to Japan, Danny Choo asks what your travel plans would be. The campaign's aim is to create buzz by leveraging social media to attract tourists to Japan. Do you know how to properly wash your hands? Through songs and dances, people from different parts of the world teach others the right way to wash their hands to promote health. October 15 is Global Handwashing Day. China's launch of an unmanned space station last week, says the editor of a Tokyo-based newspaper for Chinese expats, has given Japan reason to step up its contribution to the universal endeavor of space exploration - if it can afford it.
english
A Google regulatory filing appears to have confirmed rumors in recent months that the European Union’s competition division is looking into how it operates its smartphone app store, the Play Store. However TechCrunch understands that no formal EU investigation into the Play Store has been opened at this stage. The SEC Form 10-Q, filed by Google’s parent Alphabet (and spotted earlier by Reuters), does make mention of “formal” investigations being opened into Google Play’s “business practices” back in May 2022 — by both the European Commission and the U.K.’s Competition and Markets Authority (CMA). Thing is, the Commission’s procedure on opening a formal competition investigation is to make a public announcement — so the lack of that standard piece of regulatory disclosure suggests any EU investigation is at a more preliminary stage than Google’s citation might imply. The U.K. antitrust regulator’s probe of Google Play is undoubtedly a formal investigation — having been publicly communicated by the CMA back in June — when it said it would probe Google’s rules governing apps’ access to listing on its Play Store, looking at conditions it sets for how users can make in-app payments for certain digital products. While, back in August, Politico reported that the Commission had sent questionnaires probing Play Store billing terms and developer fees — citing two people close to the matter. And potentially suggesting an investigation was underway. Although the EU’s executive declined to comment on its report. A Commission spokeswoman also declined to comment when we asked about the “formal investigation” mentioned in Google’s filing (at the time of writing Google had also not responded to requests about it). But we understand there is no “formal” EU probe into Play as yet — at least not how the EU itself understands the word. This may be because the EU’s competition division is still evaluating responses to enquiries made so far — and/or assessing whether there are grounds for concern. Alternatively, it might have decided it does not have concerns about how Google operates the Play Store. Although developer complaints about app store commissions levied by Google (and Apple) — via the 30% cut that’s typically applied to in-app purchases (a 15% lower rate can initially apply) — haven’t diminished. If anything, complaints have been getting louder — including as a result of moves by the tech giants to expand the types of sales that incur their tax. So lack of competition concern here seems unlikely. Last year, the Commission also charged Apple with an antitrust breach related to the mandatory use of its in-app purchase mechanism imposed on music streaming app developers (specifically) and restrictions on developers preventing them from informing users of alternative, cheaper payment options. So app store T&Cs are certainly on the EU’s radar. More than that: The EU has recently passed legislation that aims, among various proactive provisions, to regulate the fairness of app store conditions. So the existence of that incoming ex ante competition regime seems the most likely explanation for why there’s no formal EU investigation of Google Play today. Where Google is concerned, the Commission has already chalked up several major antitrust enforcements against its business over the last five+ years — with decisions against Google Shopping, Android and AdSense; as well as an ongoing investigation into Google’s adtech stack (plus another looking at an ad arrangement between Google and Facebook). That incoming regime is requiring the Commission to rapidly spin up new divisions to oversee DMA compliance and enforcement — so the EU may be feeling a little stretched on the resources front. But — more importantly — it may also be trying to keep its powder dry. Essentially, the Commission may want to see if the DMA itself can do the job of sorting out app developer gripes — since the regulation has a number of provisions geared toward app stores specifically, including a prohibition on gatekeepers imposing “general conditions, including pricing conditions, that would be unfair or lead to unjustified differentiation [on business users],” for example. The regulation is due to start applying from Spring 2023 so a fresh competition investigation into Google’s app store at this stage could risk duplicating or complicating the enforcement of conditions already baked into EU law. (Although the process of designating gatekeepers and core platform services will need to come before any enforcement — so the real DMA action may not happen before 2024). For its part, Google denies any antitrust wrongdoing anywhere in the world its business practices are being investigated. Its filing also reveals that it intends to seek to appeal to the EU’s highest court after its attempt to overturn the EU’s Android decision was rejected last month. (The CJEU will only hear appeals on a matter of law so it remains to be seen what Google will try to argue.) Also today, the U.K.’s CMA has released its second report on ongoing monitoring of commitments made by Google as it develops a new adtech stack to replace tracking cookies (aka Privacy Sandbox). The regulator said it had found Google to be complying with commitments given so far — and listed its current priorities as: Ensuring Google designs a robust testing framework for its proposed new tools and APIs; continuing to engage with market participants to understand concerns raised by them, challenging Google over its proposed approaches and exploring alternative designs for the Privacy Sandbox tools which might address these issues; and embedding a recently appointed independent technical expert (a company called S-RM) into the monitoring regime. The CMA’s report also reveals that — along with the U.K.’s privacy watchdog, the ICO — it’s in discussions with Google about the design of user controls for when Privacy Sandbox reaches general availability in 2023. So it will be interesting to see if the U.K. regulators are switched on enough to stop the usual manipulative design tricks from being cynically baked into these future ad consent interfaces. “Google has presented its current proposed user interfaces for controls relating to Topics, FLEDGE and ad measurement. Together with the ICO, we are continuing the dialogue with Google about this and what underlies current design decisions on the consent flow for opting in or out,” the CMA notes on that.
english
{ "name": "chip", "version": "0.0.1", "description": "Some test of C.H.I.P.", "main": "./src/index.js", "files": [ "src" ], "scripts": { "eslint": "eslint src test", "eslint-fix": "npm run eslint -- --fix", "test": "npm run test-mocha && npm run eslint", "test-mocha": "mocha --require should --reporter mocha-better-spec-reporter", "build": "cheminfo build" }, "repository": { "type": "git", "url": "https://github.com/cheminfo-js/chip.git" }, "keywords": [ "machine", "learning", "data", "mining", "datamining" ], "author": "lpatiny <<EMAIL>>", "license": "MIT", "bugs": { "url": "https://github.com/cheminfo-js/chip/issues" }, "homepage": "https://github.com/cheminfo-js/chip#readme", "devDependencies": { "cheminfo-tools": "^1.5.0", "eslint": "^3.4.0", "eslint-config-cheminfo": "^1.2.0", "eslint-plugin-no-only-tests": "^1.1.0", "mocha": "^3.1.2", "mocha-better-spec-reporter": "^3.0.2", "should": "^11.1.0" } }
json
'ZDNET Recommends': What exactly does it mean? ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing. When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers. ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form. CES 2024 is here, and while the focus has mainly been on AI integration for existing devices, a few brands have also unveiled new devices, including some truly innovative TVs. LG showed off their Signature OLED T, which is built with a stunning transparent OLED panel that changes to opaque at the push of a button. Hisense and TCL unveiled some of the largest TVs ever made, and Samsung talked about updates to their OLED flagship line, the S95D. With so few TVs discussed at the event, it was easy to find what truly stood out. I chose the LG Signature OLED T as my best overall TV from CES 2024 for its innovative transparent OLED panel, modular design, and excellent picture and sound quality. At the time of writing, only the TCL S5 is available for sale or pre-order, but I and other ZDNET experts will work to include retail links as they become available. LG certainly caught everyone's attention at CES 2024 with the dramatic unveiling of their Signature OLED T model. It aims to revolutionize televisions with a transparent (yes, it's actually transparent) OLED panel that allows you to seamlessly meld the TV with your decor or the actual construction of your space. The panel goes opaque with the touch of a button, so you can place the TV in front of a window in transparent mode to take in the scenery and then watch your favorite shows and movies in opaque mode at any time. The TV also utilizes an entirely wireless setup with the Zero Connect Box which beams video and audio signals directly to the OLED T regardless of where it's plugged in, giving you almost endless placement possibilities. And with a modular display design, you can completely customize a wall-mount shelving system or TV stand display tailored exactly to your space and entertainment needs. And while the Signature OLED T isn't up for pre-order just yet, you can read more on LG's official site and stay up-to-date on release information. TCL updated their mid-range S-Series with the S5, finally bringing the brand's AiPQ processing engine to the model. The S5 uses the AiPQ engine to analyze movies and shows scene-by-scene and run each image through an AI-assisted algorithm for enhanced contrast and detailing. It also supports Dolby Vision IQ HDR for better color and more lifelike images. With a 120Hz refresh rate, you'll get buttery-smooth motion in fast-paced or action-filled scenes in sports broadcasts, movies, and shows. And DTS Virtual: X audio support gives you clean, clear sound. The S5 uses the Google TV platform to give you access to thousands of streaming apps like Netflix, Hulu, and Disney+ as well as built-in Hey Google voice commands; though you can connect the TV to your Alexa account if you prefer. At the time of writing, the TCL S5 is only available in the extra-large 98-inch version, though more options are on the way in 2024. TCL took the phrase "go big, or go home" literally, unveiling their largest-ever flagship model, the 115-inch QM8. I reviewed the 65-inch version in 2023 and was impressed with the price-to-feature ratio as well as the picture and audio quality. With the new screen size also comes an all-new QD-Mini LED panel for even better color, contrast, and detailing. The dedicated gaming mode returns with support for AMD FreeSync VRR technology to prevent screen tearing and stuttering, but you'll also get 144Hz refresh rates for even smoother motion during fast-paced and action-packed gameplay and cutscenes. The Hisense 110UX is set to be the brightest TV you can get for your living room, offering up to an impressive 10,000 nits of brightness. This means that you'll have almost zero visibility issues in harsh overhead lighting or direct sunlight. It also boasts a 110-inch screen, one of the largest revealed at CES 2024, offering 4K resolution and a 120Hz refresh rate as well as Dolby Vision support for superior picture quality. You'll also get great audio with Dolby Atmos support, which creates virtual surround sound for a more immersive experience while streaming music, movies, and TV shows. And with built-in support for both Alexa and Hey Google virtual assistants, you'll get hands-free controls over the TV for launching apps, searching for something new to watch, and even things like checking the weather or setting a timer. My choice for the best TV unveiled at CES 2024 is far and away the LG Signature OLED T. It features a truly innovative transparent OLED panel that can go opaque at the touch of a button. It also utilizes an entirely wireless connectivity scheme, bundling with the Zero Connect box which beams video and audio signals directly to the TV no matter where it's plugged in. This means you can put the TV just about anywhere and have it blend seamlessly with your décor or be incorporated into the design of your home as a room divider or window. It also features a modular display design which can be tailored to your exact needs for your space whether you decide to wall-mount or use a more traditional stand display. One of the most popular themes of CES 2024 is "bigger is better." Both Hisense and TCL unveiled 110- and 115-inch models (respectively) for true big-screen entertainment. LG also wowed the crowd with their Signature OLED T, which features a transparent-to-opaque panel and modular display design. And just about every new TV that was introduced will use some sort of AI-assisted processor chip for better upscaling of non-4K content and more consistent picture and audio quality. An innovative, transparent-to-opaque OLED TV for seamless integration with your decor or home construction. It also features a modular display design to fit your exact needs. A decent, mid-range TV with plenty of screen size options, Dolby Vision IQ support, and a 120Hz refresh rate. A truly big-screen TV. The TCL QM8 will be available in screen sizes up to 115 inches. It will also feature an all-new QD-Mini LED panel for enhanced color, contrast, and detailing. A big-screen TV for bright rooms. The Hisense 110UX is capable of up to 10,000 nits of brightness, which means you won't have any issues with visibility, even in harsh overhead lighting or direct sunlight. This year, CES 2024 is being held from January 9 through the 12th. CES is the Consumer Electronics Show, and it was started in New York City in 1967 as a way for companies to show off new an innovative consumer technology. It used to be held twice a year, once in Las Vegas and once in Chicago. But in 1998, CES found a permanent home in Las Vegas for a once-yearly technology and electronics expo.
english
<gh_stars>10-100 // This file is part of Substrate. // Copyright (C) 2017-2020 Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // 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. //! `decl_storage` input definition and expansion. mod storage_struct; mod parse; mod store_trait; mod getters; mod metadata; mod instance_trait; mod genesis_config; use quote::quote; use frame_support_procedural_tools::{ generate_crate_access, generate_hidden_includes, syn_ext as ext }; /// All information contained in input of decl_storage pub struct DeclStorageDef { /// Name of the module used to import hidden imports. hidden_crate: Option<syn::Ident>, /// Visibility of store trait. visibility: syn::Visibility, /// Name of store trait: usually `Store`. store_trait: syn::Ident, /// Module name used by construct_runtime: usually `Module`. module_name: syn::Ident, /// Usually `T`. module_runtime_generic: syn::Ident, /// Usually `Trait` module_runtime_trait: syn::Path, /// For instantiable module: usually `I: Instance=DefaultInstance`. module_instance: Option<ModuleInstanceDef>, /// Where claused used to constrain T and I even more. where_clause: Option<syn::WhereClause>, /// The extra build function used to build storage at genesis. extra_genesis_build: Option<syn::Expr>, /// The extra genesis config fields. extra_genesis_config_lines: Vec<ExtraGenesisLineDef>, /// Definition of storages. storage_lines: Vec<StorageLineDef>, /// Name of the crate, used for storage prefixes. crate_name: syn::Ident, } impl syn::parse::Parse for DeclStorageDef { fn parse(input: syn::parse::ParseStream) -> syn::Result<Self> { parse::parse(input) } } /// Extended version of `DeclStorageDef` with useful precomputed value. pub struct DeclStorageDefExt { /// Name of the module used to import hidden imports. hidden_crate: Option<syn::Ident>, /// Visibility of store trait. visibility: syn::Visibility, /// Name of store trait: usually `Store`. store_trait: syn::Ident, /// Module name used by construct_runtime: usually `Module`. #[allow(unused)] module_name: syn::Ident, /// Usually `T`. module_runtime_generic: syn::Ident, /// Usually `Trait`. module_runtime_trait: syn::Path, /// For instantiable module: usually `I: Instance=DefaultInstance`. module_instance: Option<ModuleInstanceDef>, /// Where claused used to constrain T and I even more. where_clause: Option<syn::WhereClause>, /// The extra build function used to build storage at genesis. extra_genesis_build: Option<syn::Expr>, /// The extra genesis config fields. extra_genesis_config_lines: Vec<ExtraGenesisLineDef>, /// Definition of storages. storage_lines: Vec<StorageLineDefExt>, /// Name of the crate, used for storage prefixes. crate_name: syn::Ident, /// Full struct expansion: `Module<T, I>`. module_struct: proc_macro2::TokenStream, /// Impl block for module: `<T: Trait, I: Instance>`. module_impl: proc_macro2::TokenStream, /// For instantiable: `I`. optional_instance: Option<proc_macro2::TokenStream>, /// For instantiable: `I: Instance`. optional_instance_bound: Option<proc_macro2::TokenStream>, /// For instantiable: `I: Instance = DefaultInstance`. optional_instance_bound_optional_default: Option<proc_macro2::TokenStream>, } impl From<DeclStorageDef> for DeclStorageDefExt { fn from(mut def: DeclStorageDef) -> Self { let storage_lines = def.storage_lines.drain(..).collect::<Vec<_>>(); let storage_lines = storage_lines.into_iter() .map(|line| StorageLineDefExt::from_def(line, &def)) .collect(); let ( optional_instance, optional_instance_bound, optional_instance_bound_optional_default, ) = if let Some(instance) = def.module_instance.as_ref() { let instance_generic = &instance.instance_generic; let instance_trait= &instance.instance_trait; let optional_equal_instance_default = instance.instance_default.as_ref() .map(|d| quote!( = #d )); ( Some(quote!(#instance_generic)), Some(quote!(#instance_generic: #instance_trait)), Some(quote!(#instance_generic: #instance_trait #optional_equal_instance_default)), ) } else { (None, None, None) }; let module_runtime_generic = &def.module_runtime_generic; let module_runtime_trait = &def.module_runtime_trait; let module_name = &def.module_name; let module_struct = quote!( #module_name<#module_runtime_generic, #optional_instance> ); let module_impl = quote!( <#module_runtime_generic: #module_runtime_trait + 'static, #optional_instance_bound> ); Self { hidden_crate: def.hidden_crate, visibility: def.visibility, store_trait: def.store_trait, module_name: def.module_name, module_runtime_generic: def.module_runtime_generic, module_runtime_trait: def.module_runtime_trait, module_instance: def.module_instance, where_clause: def.where_clause, extra_genesis_build: def.extra_genesis_build, extra_genesis_config_lines: def.extra_genesis_config_lines, crate_name: def.crate_name, storage_lines, module_struct, module_impl, optional_instance, optional_instance_bound, optional_instance_bound_optional_default, } } } /// Usually `I: Instance=DefaultInstance`. pub struct ModuleInstanceDef { /// Usually: `I`. instance_generic: syn::Ident, /// Usually: `Instance`. instance_trait: syn::Ident, /// Usually: `DefaultInstance`. instance_default: Option<syn::Ident>, } pub struct StorageLineDef { attrs: Vec<syn::Attribute>, /// Visibility of the storage struct. visibility: syn::Visibility, name: syn::Ident, /// The name of getter function to be implemented on Module struct. getter: Option<syn::Ident>, /// The name of the field to be used in genesis config if any. config: Option<syn::Ident>, /// The build function of the storage if any. build: Option<syn::Expr>, /// Default value of genesis config field and also for storage when no value available. default_value: Option<syn::Expr>, storage_type: StorageLineTypeDef, } pub struct StorageLineDefExt { #[allow(unused)] attrs: Vec<syn::Attribute>, /// Visibility of the storage struct. visibility: syn::Visibility, name: syn::Ident, /// The name of getter function to be implemented on Module struct. getter: Option<syn::Ident>, /// The name of the field to be used in genesis config if any. config: Option<syn::Ident>, /// The build function of the storage if any. build: Option<syn::Expr>, /// Default value of genesis config field and also for storage when no value available. default_value: Option<syn::Expr>, storage_type: StorageLineTypeDef, doc_attrs: Vec<syn::Meta>, /// Either the type stored in storage or wrapped in an Option. query_type: syn::Type, /// The type stored in storage. value_type: syn::Type, /// Full struct, for example: `StorageName<T, I>`. storage_struct: proc_macro2::TokenStream, /// If storage is generic over runtime then `T`. optional_storage_runtime_comma: Option<proc_macro2::TokenStream>, /// If storage is generic over runtime then `T: Trait`. optional_storage_runtime_bound_comma: Option<proc_macro2::TokenStream>, /// The where clause to use to constrain generics if storage is generic over runtime. optional_storage_where_clause: Option<proc_macro2::TokenStream>, /// Full trait, for example: `storage::StorageMap<u32, u32>`. storage_trait: proc_macro2::TokenStream, /// Full trait, for example: `storage::generator::StorageMap<u32, u32>`. storage_generator_trait: proc_macro2::TokenStream, /// Whether the storage is generic. is_generic: bool, /// Whether the storage value is an option. is_option: bool, } impl StorageLineDefExt { fn from_def(storage_def: StorageLineDef, def: &DeclStorageDef) -> Self { let is_generic = match &storage_def.storage_type { StorageLineTypeDef::Simple(value) => { ext::type_contains_ident(&value, &def.module_runtime_generic) }, StorageLineTypeDef::Map(map) => { ext::type_contains_ident(&map.key, &def.module_runtime_generic) || ext::type_contains_ident(&map.value, &def.module_runtime_generic) } StorageLineTypeDef::DoubleMap(map) => { ext::type_contains_ident(&map.key1, &def.module_runtime_generic) || ext::type_contains_ident(&map.key2, &def.module_runtime_generic) || ext::type_contains_ident(&map.value, &def.module_runtime_generic) } }; let query_type = match &storage_def.storage_type { StorageLineTypeDef::Simple(value) => value.clone(), StorageLineTypeDef::Map(map) => map.value.clone(), StorageLineTypeDef::DoubleMap(map) => map.value.clone(), }; let is_option = ext::extract_type_option(&query_type).is_some(); let value_type = ext::extract_type_option(&query_type).unwrap_or(query_type.clone()); let module_runtime_generic = &def.module_runtime_generic; let module_runtime_trait = &def.module_runtime_trait; let optional_storage_runtime_comma = if is_generic { Some(quote!( #module_runtime_generic, )) } else { None }; let optional_storage_runtime_bound_comma = if is_generic { Some(quote!( #module_runtime_generic: #module_runtime_trait, )) } else { None }; let storage_name = &storage_def.name; let optional_instance_generic = def.module_instance.as_ref().map(|i| { let instance_generic = &i.instance_generic; quote!( #instance_generic ) }); let storage_struct = quote!( #storage_name<#optional_storage_runtime_comma #optional_instance_generic> ); let optional_storage_where_clause = if is_generic { def.where_clause.as_ref().map(|w| quote!( #w )) } else { None }; let storage_trait_truncated = match &storage_def.storage_type { StorageLineTypeDef::Simple(_) => { quote!( StorageValue<#value_type> ) }, StorageLineTypeDef::Map(map) => { let key = &map.key; quote!( StorageMap<#key, #value_type> ) }, StorageLineTypeDef::DoubleMap(map) => { let key1 = &map.key1; let key2 = &map.key2; quote!( StorageDoubleMap<#key1, #key2, #value_type> ) }, }; let storage_trait = quote!( storage::#storage_trait_truncated ); let storage_generator_trait = quote!( storage::generator::#storage_trait_truncated ); let doc_attrs = storage_def.attrs.iter() .filter_map(|a| a.parse_meta().ok()) .filter(|m| m.path().is_ident("doc")) .collect(); Self { attrs: storage_def.attrs, visibility: storage_def.visibility, name: storage_def.name, getter: storage_def.getter, config: storage_def.config, build: storage_def.build, default_value: storage_def.default_value, storage_type: storage_def.storage_type, doc_attrs, query_type, value_type, storage_struct, optional_storage_runtime_comma, optional_storage_runtime_bound_comma, optional_storage_where_clause, storage_trait, storage_generator_trait, is_generic, is_option, } } } pub enum StorageLineTypeDef { Map(MapDef), DoubleMap(DoubleMapDef), Simple(syn::Type), } pub struct MapDef { pub hasher: HasherKind, pub key: syn::Type, /// This is the query value not the inner value used in storage trait implementation. pub value: syn::Type, } pub struct DoubleMapDef { pub hasher1: HasherKind, pub hasher2: HasherKind, pub key1: syn::Type, pub key2: syn::Type, /// This is the query value not the inner value used in storage trait implementation. pub value: syn::Type, } pub struct ExtraGenesisLineDef { attrs: Vec<syn::Attribute>, name: syn::Ident, typ: syn::Type, default: Option<syn::Expr>, } #[derive(Debug, Clone)] pub enum HasherKind { Blake2_256, Blake2_128, Blake2_128Concat, Twox256, Twox128, Twox64Concat, Identity, } impl HasherKind { fn to_storage_hasher_struct(&self) -> proc_macro2::TokenStream { match self { HasherKind::Blake2_256 => quote!( Blake2_256 ), HasherKind::Blake2_128 => quote!( Blake2_128 ), HasherKind::Blake2_128Concat => quote!( Blake2_128Concat ), HasherKind::Twox256 => quote!( Twox256 ), HasherKind::Twox128 => quote!( Twox128 ), HasherKind::Twox64Concat => quote!( Twox64Concat ), HasherKind::Identity => quote!( Identity ), } } fn into_metadata(&self) -> proc_macro2::TokenStream { match self { HasherKind::Blake2_256 => quote!( StorageHasher::Blake2_256 ), HasherKind::Blake2_128 => quote!( StorageHasher::Blake2_128 ), HasherKind::Blake2_128Concat => quote!( StorageHasher::Blake2_128Concat ), HasherKind::Twox256 => quote!( StorageHasher::Twox256 ), HasherKind::Twox128 => quote!( StorageHasher::Twox128 ), HasherKind::Twox64Concat => quote!( StorageHasher::Twox64Concat ), HasherKind::Identity => quote!( StorageHasher::Identity ), } } } /// Full implementation of decl_storage. pub fn decl_storage_impl(input: proc_macro::TokenStream) -> proc_macro::TokenStream { let def = syn::parse_macro_input!(input as DeclStorageDef); let def_ext = DeclStorageDefExt::from(def); let hidden_crate_name = def_ext.hidden_crate.as_ref().map(|i| i.to_string()) .unwrap_or_else(|| "decl_storage".to_string()); let scrate = generate_crate_access(&hidden_crate_name, "frame-support"); let scrate_decl = generate_hidden_includes(&hidden_crate_name, "frame-support"); let store_trait = store_trait::decl_and_impl(&def_ext); let getters = getters::impl_getters(&scrate, &def_ext); let metadata = metadata::impl_metadata(&scrate, &def_ext); let instance_trait = instance_trait::decl_and_impl(&scrate, &def_ext); let genesis_config = genesis_config::genesis_config_and_build_storage(&scrate, &def_ext); let storage_struct = storage_struct::decl_and_impl(&scrate, &def_ext); quote!( use #scrate::{ StorageValue as _, StorageMap as _, StorageDoubleMap as _, StoragePrefixedMap as _, }; #scrate_decl #store_trait #getters #metadata #instance_trait #genesis_config #storage_struct ).into() }
rust
<reponame>marouane60/palette 'use strict'; angular.module('nuBoard') .factory('Logger', [function () { var OFF = 0; var LOG = 1; var DEBUG = 2; var level = OFF; return { log: function () { if (level > 0) console.log.apply(console, [].slice.apply(arguments)); }, debug: function () { if (level > 1) console.debug.apply(console, [].slice.apply(arguments)); }, setLevel: function (lvl) { level = lvl; }, OFF: OFF, LOG: LOG, DEBUG: DEBUG }; }]);
javascript
Poonam Kaur needs no introduction. She started her career as a heroine with Srikanth’s movie Mayajalam. But it disappointed the movie lovers. Later she started to play the second female lead in the movie and it also didn’t work. Later she became a character artist but she did not like it. Everyone says that she must be a good heroine for her face value. Needless to say, Trivikram Srinivas and Power Star Pawan Kalyan are the main reasons why people still remember Poonam Kaur Lal. No one knows what happened among them. But they are in the news from time to time by indirectly making controversial comments. If ongoing buzz in the media and the film Industry are to be believed, she got married secretly. Few are also saying that she is going to get married soon. Recently Poonam Kaur celebrated Karva Chauth festival and also shared the pic of her on Twitter that grabbed the attention of many. Karva Chauth is a festival celebrated mostly by women in North India. What is the specialty of this festival? Married women fast on this day and worship Goddess Parvati. At night they look at the moon. Unmarried women celebrate this festival for their future husband. As Poonam Kaur posted a pic of her holding a sieve and smiling, Is she married or ready for marriage?
english
<reponame>jonasweigt42/WordConnection<filename>src/main/java/com/associations/app/entity/user/User.java<gh_stars>0 package com.associations.app.entity.user; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; @Entity @Table(name = "USER") @NamedQuery(query = "SELECT u FROM User u WHERE u.id = ?1", name = "User.findbyId") @NamedQuery(query = "SELECT u FROM User u WHERE u.mailAddress = ?1", name = "User.findbymailAddress") public class User implements Serializable { private static final long serialVersionUID = 2517077877917932578L; @Id @Column @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column private String firstName; @Column private String lastName; @Column private String mailAddress; @Column private String password; @Column private String language; @Column private boolean enabled; public boolean isEnabled() { return enabled; } public void setEnabled(boolean enabled) { this.enabled = enabled; } public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } public int getId() { return id; } public String getMailAddress() { return mailAddress; } public void setMailAddress(String mailAddress) { this.mailAddress = mailAddress; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } }
java
19 August 2022, UK: Vegetable grower and fresh produce industry specialist, Annice Firth, has joined the Syngenta Vegetable Seeds UK Technical Sales team. Based near Boston in south Lincolnshire, where she grows commercial courgettes, squash and pumpkins on the family farm, Firth Produce, Annice will initially focus on delivering results from Syngenta trials of exciting new brassica and cucurbit varieties. She will also provide additional cover for Syngenta salad and leafy brassica crops, during the maternity leave of crop specialist, Rosie Frost. Along with her practical experience of commercial vegetable crop production, Annice has been working with supermarket and wholesale specialty crop fresh produce suppliers, DGM Growers, a part of the Fresca Group. Annice holds a degree in Agriculture and Environmental Management from Lincoln University. She will also be involved in the organisation of the Syngenta Vegetable Seeds UK Open Field Demo days, held near Surfleet in October.
english
{ "name": "webpack-rails", "version": "1.2.2", "description": "Webpack configuration that just works for Rails apps.", "main": "index.js", "repository": "https://github.com/fnando/webpack-rails.git", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "bin": { "webpack-rails-install": "./bin/install", "webpack-rails-js-dist": "./bin/js-dist", "webpack-rails-js-lint": "./bin/js-lint", "webpack-rails-js-storybook": "./bin/js-storybook", "webpack-rails-js-test": "./bin/js-test", "webpack-rails-js-watch": "./bin/js-watch" }, "author": "<NAME>", "license": "MIT", "dependencies": { "@babel/core": "7.x", "@babel/plugin-proposal-class-properties": "7.x", "@babel/plugin-proposal-export-default-from": "7.x", "@babel/plugin-proposal-function-bind": "7.x", "@babel/plugin-proposal-object-rest-spread": "7.x", "@babel/plugin-transform-runtime": "7.x", "@babel/preset-env": "7.x", "@babel/preset-react": "7.x", "@babel/runtime": "7.x", "@storybook/addon-actions": "x", "@storybook/addon-links": "x", "@storybook/addon-storyshots": "x", "@storybook/cli": "x", "@storybook/react": "x", "autoprefixer": "9.x", "babel-core": "7.0.0-bridge.0", "babel-eslint": "9.x", "babel-jest": "23.x", "babel-loader": "8.x", "babel-plugin-require-context-hook": "1.x", "clean-webpack-plugin": "0.x", "css-loader": "1.x", "eslint": "5.x", "eslint-loader": "2.x", "eslint-plugin-babel": "5.x", "eslint-plugin-react": "7.x", "file-loader": "2.x", "glob": "7.x", "handlebars": "4.x", "handlebars-loader": "1.x", "jest": "23.x", "mini-css-extract-plugin": "0.x", "node-sass": "4.x", "null-loader": "0.x", "postcss-loader": "3.x", "react": "x", "react-dom": "x", "react-test-renderer": "x", "resolve-url-loader": "3.x", "sass-loader": "7.x", "uglifyjs-webpack-plugin": "2.x", "webpack": "4.x", "webpack-assets-manifest": "3.x", "webpack-cli": "3.x", "webpack-merge": "4.x" } }
json
In response to British Prime Minister Theresa May’s boastful remarks about the UK’s role in creating Zionist regime, Palestine is planning to file a complaint against the UK for being behind the displacement of Palestinian people, a senior Palestinian official says. Nabil Shaath, an aide to President Mahmoud Abbas, said during an interview with Lebanon’s al-Mayadeen network on Thursday Palestinians are planning to take legal action against the UK in British and international courts for displacing Palestinian people. A day earlier, May defended the Balfour Declaration, a public statement issued by the UK government during World War I, announcing London’s support for Israel’s establishment. Signed by Arthur James Balfour, 1st Earl of Balfour, the 1917 declaration is considered a prelude to the Israeli occupation of Palestinians’ homeland in 1948. Palestinians have repeatedly called in vain on the UK government to apologize for supporting the establishment of Zionist regime. “We are proud of the role that we played in the creation” of Israel, the British premier said, pledging to mark the document’s centenary “with pride” on November 2. Warning that May’s statements could strain ties between the UK and Palestine, Shaath called on London to recognize the Palestinian state based on the 1967 borders. President Abbas had earlier threatened the UK with a lawsuit in case it refused to call off celebratory events linked with the Balfour Declaration. Shaath said in his interview that a series of protests were scheduled outside UK embassies across the world to call attention to London’s role in Israel’s creation. Besides a major protest in London during the first week of November, protesters are planning to gather outside the UK’s embassy in Tel Aviv on November 7. Similar events are also planned across the West Bank as well as Gaza Strip.
english
package com.taotao.cloud.promotion.biz.controller.manager; import com.baomidou.mybatisplus.core.metadata.IPage; import com.taotao.cloud.promotion.api.vo.FullDiscountSearchParams; import com.taotao.cloud.promotion.biz.entity.FullDiscount; import com.taotao.cloud.promotion.biz.service.FullDiscountService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.Collections; /** * 管理端,满额活动接口 * * * @since 2021/1/12 **/ @RestController @Api(tags = "管理端,满额活动接口") @RequestMapping("/manager/promotion/fullDiscount") public class FullDiscountManagerController { @Autowired private FullDiscountService fullDiscountService; @ApiOperation(value = "获取满优惠列表") @GetMapping public ResultMessage<IPage<FullDiscount>> getCouponList(FullDiscountSearchParams searchParams, PageVO page) { page.setNotConvert(true); return ResultUtil.data(fullDiscountService.pageFindAll(searchParams, page)); } @ApiOperation(value = "获取满优惠详情") @GetMapping("/{id}") public ResultMessage<FullDiscountVO> getCouponDetail(@PathVariable String id) { return ResultUtil.data(fullDiscountService.getFullDiscount(id)); } @ApiOperation(value = "修改满额活动状态") @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "满额活动ID", required = true, paramType = "path"), @ApiImplicitParam(name = "promotionStatus", value = "满额活动状态", required = true, paramType = "path") }) @PutMapping("/status/{id}") public ResultMessage<Object> updateCouponStatus(@PathVariable String id, Long startTime, Long endTime) { if (fullDiscountService.updateStatus(Collections.singletonList(id), startTime, endTime)) { return ResultUtil.success(ResultCode.SUCCESS); } return ResultUtil.error(ResultCode.ERROR); } }
java
Zydus Cadila said that it got Emergency Use Authorisation (EUA) from the Drug Controller General of India (DCGI) for its ZyCoV-D coronavirus vaccine on Friday. ZyCoV-D is the world’s first and India’s indigenously developed DNA-based vaccine for COVID-19 that can be administered for children above 12 years of age and adults. The Drugs Controller General of India’s (DCGI’s) gave its green signal for the second indigenously developed vaccine and it will also help India speed up its immunization effort to stop the spread of dangerous coronavirus. An expert panel recommended that Zydus Cadila's three-dose covid-19 vaccine has got approval for emergency use, clearing the way for formal approval by the DCGI. "This three-dose vaccine which when injected produces the spike protein of the SARS-CoV-2 virus and elicits an immune response, which plays a vital role in protection from disease as well as viral clearance. The plug-and-play technology on which the plasmid DNA platform is based can be easily adapted to deal with mutations in the virus, such as those already occurring," said a release from the Ministry of Science and Technology. "In previous adaptive Phase I/II clinical trials, this vaccine has demonstrated a strong immunogenicity, tolerance, and safety profile. An independent Data Safety Monitoring Board (DSMB) oversaw both the Phase I/II and Phase III clinical trials " the press release said. The vaccine was developed in collaboration with the Department of Biotechnology and implemented by BIRAC as part of the "Mission COVID Suraksha". ZyCoV-D has received funding from the COVID-19 Research Consortia, the National Biopharma Mission, and the COVID Suraksha Mission for preclinical studies, Phase I and Phase II clinical trials, as well as the COVID Suraksha Mission for Phase III clinical trials. "It is a matter of great pride that today we have the EUA for the world’s first DNA COVID-19 vaccine ZyCoV-D by Zydus, developed in partnership with the Department of Biotechnology and supported through Mission COVID Suraksha. The Indian Vaccine Mission COVID Suraksha was launched under the Atma Nirbhar Bharat package 3. 0 being implemented by BIRAC, and is aimed at the development of safe and efficacious COVID-19 vaccines for public health. We are confident that this will be an important vaccine for both India and the world. This is an important milestone in our Indigenous Vaccine Development Mission and positions India on the Global Map for Novel Vaccine Development," Renu Swarup, Secretary, DBT and Chairperson, BIRAC, said.
english
AP Health, Medical and Family Welfare Department, Zone II, Rajamahendravaram invites applications for Community Health Officer/ Mid Level Health Provider Posts to be filled on contract basis initially for period of one year in the Dr.YSR Village Health Clinics. Post details: Qualification: Must possess B.Sc.(Nursing)/ B.Sc(Nursing with integral CPCH course). Age limit: 18 to 35 years and five years relaxation in case of BC, SCs, STs, EWS, PwD, Ex-service man. Remuneration: Rs.25,000 per month. Selection Criteria: Based on B.Sc.(N)/ B.Sc (nursing with integral CPC-1 course) marks, passing year, Rule of Reservation. Application fee: Rs.300 for OC candidates and Rs.100 for SC, ST, EWS and BCs candidates. How to apply: Filled in applications should be send to Regional Director of Medical and Health Services, GGH Campus, Rajamahendravaram. Last Date for receipt of applications: 12.01.2024. Date of publication of provisional merit list: 27.01.2024. Last date for receipt of objections on provisional merit list: 31.01.2024. Date of publication of Final merit list & Provisional Selection List: 07.02.2024. Last date for receipt of objections on provisional selection list: 09.02.2024. Date of publication of final selection list: 12.02.2024. Date of counselling: 14.02.2024. For more information.. Bank Exams Quantitative aptitude: Geometry- "Shapes Speak Louder Than Words!" SSC CGL, CHSL: Geometry- "Shapes Speak Louder Than Words!" Bank Exams Quantitative aptitude: "Algebra: Solve for 'X,' Find the Treasure!" SSC CGL, CHSL: "Algebra: Solve for 'X,' Find the Treasure!" ‣ Follow us on Facebook, Twitter, Koo, Share chat, Google News Subscribe our Youtube Channel.
english
Two days after Bihar Chief Minister Nitish Kumar declared a 10-day lockdown over Covid, but a leader of his ally BJP has put out an "I-Told-You-So" post on Facebook. In the post that has enraged Nitish Kumar's Janata Dal United, Bihar BJP Chief Sanjay Jaiswal implies that the Bihar government ignored his advice to impose a lockdown when Covid cases in the state were less than 40,000. With over one lakh active cases now, he writes, there is no other option. "Bihar government has imposed 11 days lockdown from today. Please follow this and save your and your family's life," says Mr Jaiswal's Facebook post. "Governments have to take some difficult decisions for the interest of the citizens. Even today, there is lockdown in different states of half the countries of the world. In the meeting of Governor, when I talked about the 62-hour lockdown from Friday evening to Monday morning, the cases in Bihar were less than 40,000 but today due to more than one lakh active cases, Bihar government there is no other option for public welfare. All the representatives of the Bharatiya Janata Party are requested to stay in their area and worry about hospitals. Wake the public up to mask and 2 yards distance. I hope even the leaders who make political rhetoric by taking my name understand the ground reality," the Lok Sabha MP writes in the long post. This is his second post within a week and Nitish Kumar's party is seething. Janata Dal United leaders point out that the BJP has the health portfolio in the coalition government and allege Mr Jaiswal's posts are meant to divert attention from the failure of the party's minister. "Mr Jaiswal should come clean on how many ventilators he organised or whether he intervened to ensure oxygen allotments and other health needs for Bihar on the preferential basis from the central government," a JDU leader said. Nitish Kumar announced on Tuesday that Bihar would go into lockdown till May 15. The announcement hours after the Patna High Court ordered the government to declare a lockdown, warning that otherwise, the court may step in. Yesterday, the Chief Minister urged people to postpone weddings and other social functions, with the state reporting over 10,000 daily cases for several days. In a previous Facebook post on May 1, Mr Jaiswal, who is a doctor, had made an alarming reference to a "close friend in Patna who is a doctor and not picking up calls" because he was helpless in a growing health crisis. "The situation reached at the stage that even my close friend in Patna who is a doctor is not picking up my calls as he is unable to help. I have lost many known persons in the second wave," the BJP leader said in the Facebook post in Hindi. His repeated posts have not helped ease the strained ties between Nitish Kumar and the BJP in their second straight term in power. The dynamics shifted this time round with Mr Kumar's party ending up with fewer seats and becoming the junior partner in the coalition. India today reported another global record of 4. 12 lakh cases and 3,980 deaths in a day.
english
<reponame>Storm-Cloud/Cyclic { "parent": "block/cube_all", "textures": { "all": "cyclic:blocks/unbreakable_block" } }
json
<filename>utils/docs.ts import { exec } from 'child_process'; import fs from 'fs-extra'; import path from 'path'; import rimraf from 'rimraf'; const promiseExec = (command: string): Promise<{ stdout: string, stderr: string }> => { console.info(`Executing: ${command}`); return new Promise((resolve, reject) => { exec(command, (error, stdout, stderr) => { if (error) { reject(error); } else { console.log(stdout); console.error(stderr); resolve({ stdout, stderr }); } }); }); }; async function main (): Promise<void> { const docsPath = path.join(__dirname, '..', 'docs'); rimraf.sync(docsPath); fs.mkdirSync(docsPath); const packagesPath = path.join(__dirname, '..', 'packages'); const dirs = fs.readdirSync(packagesPath, { withFileTypes: true }).filter(dirent => dirent.isDirectory()); for (const dir of dirs) { rimraf.sync(path.join(packagesPath, dir.name, 'docs')); await promiseExec(`yarn workspace @cisl/${dir.name} docs`); fs.moveSync(path.join(packagesPath, dir.name, 'docs'), path.join(docsPath, dir.name)); } fs.copyFileSync(path.join(__dirname, 'index.html'), path.join(docsPath, 'index.html')); fs.copyFileSync(path.join(__dirname, '.nojekyll'), path.join(docsPath, '.nojekyll')); fs.copySync(path.join(__dirname, '..', 'img'), path.join(docsPath, 'img')); fs.copySync(path.join(docsPath, 'io', 'assets'), path.join(docsPath, 'assets')); } main().then(() => { console.info('Done'); process.exit(0); }).catch((err) => { console.error(err); process.exit(1); });
typescript
<gh_stars>0 { "id": 4214, "api_model": "exhibitions", "api_link": "https://api.artic.edu/api/v1/exhibitions/4214", "title": "American Painting and Sculpture 66th Annual", "is_featured": false, "description": "This exhibit sought to present recent trends in contemporary American art. Most of the artists included developed their careers after World War II. Among those featured are well known artists such as <NAME>, <NAME>, <NAME>, and <NAME>, all of whom were awarded prizes for their works displayed in the show. The show was judged by <NAME>, Vice President for the arts administration at the Solomon R. Guggenheim Museum, <NAME>, a New York painter, and <NAME>, an assistant curator of American painting and sculpture at the Metropolitan Museum of Art.", "short_description": null, "web_url": null, "image_url": null, "type": "AIC Only", "status": "Closed", "aic_start_at": "1963-01-11T00:00:00-06:00", "aic_end_at": "1963-02-10T00:00:00-06:00", "date_display": null, "department_display": "American Art", "gallery_id": null, "gallery_title": null, "artwork_ids": [], "artwork_titles": [], "artist_ids": [], "site_ids": [], "image_id": "0a8999fd-25d9-72be-c764-1cdd79c3810a", "alt_image_ids": [ "abb3aefa-2a81-6868-57c4-47e94c9b74a3", "1c8b0194-730e-9a1d-f38d-c955269565ae", "3eaac873-f367-533e-8aaf-62afa3a13826", "4166a2dd-e2a9-4bff-1bb8-cf7a179560f3", "2fee8661-f039-fe81-78bd-04a67249d70f", "e4d5e74c-5fc0-efc9-e3b0-536facdf5326", "04600f25-1a1e-fd09-ca84-2c1337ae9c9e", "9d312a47-25d3-2eb0-8d2e-29d386f41a02" ], "document_ids": [ "8d5b2c6b-9a81-bf24-6986-9b9d70d7d54e" ], "suggest_autocomplete_all": { "input": [ "American Painting and Sculpture 66th Annual" ], "contexts": { "groupings": [ "title" ] } }, "last_updated_source": "2019-10-14T14:07:32-05:00", "last_updated": "2019-10-14T14:11:23-05:00", "timestamp": "2021-01-14T17:14:16-06:00" }
json
Savant Wealth Management acquires Raymond F. Book & Associates and associated fee-based RIA. Post-acquisition, Savant, a fee firm with approximately $20.3 billion in assets under management and advice, will have an accounting and tax team of nearly 100 professionals (Raymond F. Book’s RIA has approximately $376 million in assets under management). “Our partnership with these two sister firms further solidifies Savant’s commitment to be the leading integrated wealth management, tax and accounting firm,” he said. The acquisition comes about a year after Savant took its first steps forward on a five-year “growth plan”.,” The company’s goal is to quintuple its growth during this period. Buoyed by a minority stake from Kelso & Company, Brodeski said four to six deals “per year” is the company’s expected sweet spot. “Now we are increasing our growth engine by significantly expanding our M&A team, accelerating the size and volume of our M&A activity, and developing cutting-edge technology that will differentiate our client experience and contribute to organic growth,” he said. The dual acquisition of Raymond F. Book’s tax and RIA businesses marks Savant’s sixth and seventh deals of the year. As of early 2023, the company opened offices in Georgia, Massachusetts, Pennsylvania and South Carolina with a total of 35 locations in 13 states. A total of 26 employees will join Savant as a result of the acquisition, with seven employees becoming “member-owners,” bringing the total number of employee-owners at Savant to 136 out of a total of 439 employees. Raymond F. Book provides tax and accounting services, business founder and manager advisory, probate and trust services. The company formed its subsidiary RIA in 2001. Ronald Vascik, managing partner of Raymond F. Book, said companies were attracted to Savant because the company was interested in both its tax and advisory services. “Savant recognizes the importance of integrating tax, financial and investment services to provide clients with a holistic experience,” he said.
english
package roth.lib.java.api.digitalocean.model; import java.util.LinkedList; import roth.lib.java.annotation.Entity; import roth.lib.java.annotation.Property; import roth.lib.java.api.digitalocean.DigitalOceanConstants; import roth.lib.java.time.Time; @Entity @SuppressWarnings("serial") public class Droplet implements DigitalOceanConstants { @Property(name = "id") protected Integer id; @Property(name = "name") protected String name; @Property(name = "region") protected Region region; @Property(name = "image") protected Image image; @Property(name = "kernel") protected Kernel kernel; @Property(name = "size") protected Size size; @Property(name = "locked") protected Boolean locked; @Property(name = "created_at", timeFormat = TIME_FORMAT) protected Time createdAt; @Property(name = "status") protected String status; @Property(name = "networks") protected Networks networks; @Property(name = "backup_ids") protected LinkedList<Integer> backupIds; @Property(name = "snapshot_ids") protected LinkedList<Integer> snapshotIds; @Property(name = "action_ids") protected LinkedList<Integer> actionIds; public Droplet() { } public Integer getId() { return id; } public String getName() { return name; } public Region getRegion() { return region; } public Image getImage() { return image; } public Kernel getKernel() { return kernel; } public Size getSize() { return size; } public Boolean getLocked() { return locked; } public Time getCreatedAt() { return createdAt; } public String getStatus() { return status; } public Networks getNetworks() { return networks; } public LinkedList<Integer> getBackupIds() { return backupIds; } public LinkedList<Integer> getSnapshotIds() { return snapshotIds; } public LinkedList<Integer> getActionIds() { return actionIds; } public Droplet setId(Integer id) { this.id = id; return this; } public Droplet setName(String name) { this.name = name; return this; } public Droplet setRegion(Region region) { this.region = region; return this; } public Droplet setImage(Image image) { this.image = image; return this; } public Droplet setKernel(Kernel kernel) { this.kernel = kernel; return this; } public Droplet setSize(Size size) { this.size = size; return this; } public Droplet setLocked(Boolean locked) { this.locked = locked; return this; } public Droplet setCreatedAt(Time createdAt) { this.createdAt = createdAt; return this; } public Droplet setStatus(String status) { this.status = status; return this; } public Droplet setNetworks(Networks networks) { this.networks = networks; return this; } public Droplet setBackupIds(LinkedList<Integer> backupIds) { this.backupIds = backupIds; return this; } public Droplet setSnapshotIds(LinkedList<Integer> snapshotIds) { this.snapshotIds = snapshotIds; return this; } public Droplet setActionIds(LinkedList<Integer> actionIds) { this.actionIds = actionIds; return this; } }
java
During three-quarters of an hour on May 25, 1935, Jesse Owens broke five world records and equalled a sixth. In the following year he won four gold medals in the space of six days at the Berlin Olympics. Owens had emerged from desperate poverty and returned to the United States after the Games to find sporting fame guaranteed nothing for the son of a black sharecropper. The Nazis had mocked the United States for picking "black auxiliaries". They were silenced by Owens who won the 100, 200, long jump and anchored the 4x100 metres relay team to victory. The long jump competition afforded an enduring image of individuals surmounting ideologies. Blond-haired, blue-eyed German Luz Long helped Owens qualify by suggesting he jump well behind the take-off board to avoid a no-jump. Beaten into second place in the final Long embraced Owens in sight of glowering Nazi leader Adolf Hitler. The pair of athletes struck up a friendship which ended only when Long was killed in battle in 1943. As a small boy, one of 13 children, three who died at birth, Owens worked long days picking cotton in Alabama. Named James Cleveland he was known as Jesse after a teacher misheard him when he gave his initials J.C. on enrolment at Bolton Elementary School when the family had moved to Cleveland. Starting at 3.15 p.m. at Ferry Field in Ann Arbor, Michigan and running for the Ohio State team, Owens equalled the world record for the 100 yards with 9.4 seconds. He gathered three more world records (8.13 metres in the long jump, 20.3 seconds in the 220 yards and 22.6 in the 220 yards hurdles). He was also credited with world marks for the 200 metres and 200 metres hurdles, broken en route to his imperial marks. After his Berlin triumphs, Owens found the American establishment did not want to know. Despite ticker tape parades in New York and Cleveland, President Franklin Delano Roosevelt declined to invite him to the White House. He turned professional and made early money from an unexpected source -- Roosevelt's Republican opponent Alf Landon who ended up winning only two states in the 1936 presidential election. In December of the same year, Owens earned $2,000 for defeating a horse in a footrace in Havana, toured with a circus basketball team called the Indianpolis Clowns and sang (badly by all accounts) for a dance band. Owens eventually prospered as a speechmaker for corporate sponsors, preaching predictably optimistic messages. He died of lung cancer in 1980.
english
We're kind of "hands on" around here, with an added bonus of DIY! Well, the day came for Papa Turkey to join us for dinner. Actually, he joined quite a few people for dinner and we all enjoyed his company. This was the first turkey we had ever dispatched and processed, but our experience with other poultry helped. This was a beast of a bird, and we got a lot of meat off of him. We've even got some other turkeys ordered for later this year, and we plan on raising them up to "food status" as well. Enjoy the photos!
english
Berlin, Jan 27 (IANS) Schalke’s comfortable 3-0 win shoved Hamburg into relegation battle while Bremen were held to a goalless draw at Braunschweig to close the 18th round of the German Bundesliga football. Schalke reaped their ninth win of the season to jump from seventh to fifth place owing to their 3-0 away victory at Hamburg Sunday, reports Xinhua. The “Hanseaten” hoped for a better start into 2014 but all their hopes were destroyed as they slumped on 16th position, a relegation playoff spot, suffering their 10th loss of the season. Dutch international Klaas Jan Huntelaar smoothed the triumph for the “Royal Blues” when he opened the scoring at the 34th minute. The Dutchmen headed home his first goal after a five-month injury break following a cross by Jefferson Farfan into the box. The “Rothosen” started with more confidence into the second half but it was again Schalke that added the second goal to their lead. Peruvian international Jefferson Farfan made use of a total blackout by Hamburg’s defence to slot the ball into the open goal at the 53rd minute. The second goal took the wind out of Hamburg’s sails as Schalke’s youngster Max Meyer finished a turnover to beat custodian Jaroslav Drobny with a deflected effort to make it 3-0 on the scoreboards, only three minutes later. The hosts nearly scored their consolation but the right post denied Milan Badelj’s hammer from 18 meters. It is the fourth straight loss for Hamburg whereas Schalke is back in the international business. “We have to be clear in our minds that we are only fighting against relegation,” Hamburg coach Bert van Marwijk said. Elsewhere, Bremen were held to a goalless draw at Braunschweig. Bremen sit on 11th place with 20 points while Braunschweig vegetate in the Bundesliga basement with just 12 points out of 18 games. “That was not enough today. We started quite good into the game but from the 60th minute on we became weaker,” Bremen coach Robin Dutt said.
english
<ng-container *ngIf="type === 'github'"> <mat-card class="example-card" [@routerTranAni]> <mat-card-header> <div mat-card-avatar class="example-header-image" [ngStyle]="{'background-image': 'url('+searchResultItem.avatarUrl+')'}"></div> <mat-card-title>{{ searchResultItem.userName }}</mat-card-title> <mat-card-subtitle>{{ searchResultItem.fullName }}</mat-card-subtitle> </mat-card-header> <mat-card-content> <p>{{ searchResultItem.description }}</p> </mat-card-content> <mat-card-actions class="repo-actions"> <em class="repo-language">{{ searchResultItem.language }}</em> <button mat-button> <mat-icon class="md-14">remove_red_eye</mat-icon>{{ searchResultItem.watchersCount }} </button> <button mat-button> <mat-icon class="md-14">call_split</mat-icon>{{ searchResultItem.forksCount }} </button> <button mat-button> <mat-icon class="md-14">star</mat-icon>{{ searchResultItem.stargazersCount }} </button> <button mat-button> <mat-icon class="md-14">file_copy</mat-icon>{{ (searchResultItem.repoSize / 1024) | round:1 }}M</button> </mat-card-actions> </mat-card> </ng-container> <ng-container *ngIf="type === 'cloudmusic'"> <mat-card class="example-card" [@routerTranAni]> <mat-card-header> <div mat-card-avatar class="example-header-image" [ngStyle]="{'background-image': 'url('+searchResultItem.picUrl+')'}"></div> <mat-card-title>{{ searchResultItem.songName }}</mat-card-title> <mat-card-subtitle>Dog Breed</mat-card-subtitle> </mat-card-header> <div mat-card-image class="card-image"> <img [src]="searchResultItem.picUrl" width="100%" alt="Photo of a Shiba Inu"> <app-player (playHandle)="play()"></app-player> </div> </mat-card> </ng-container>
html
{ "ConnectionStrings": { "DefaultConnection": "Server=WEBTEST\\SQLE2012;Database=IFPSSalesDb;Trusted_Connection=True;", "HangfireConnection": "Server=WEBTEST\\SQLE2012;Database=HangfireDb;Trusted_Connection=True;" }, "Site": { "BaseUrl": "http://ifpssalesapi.webtest.encosoft.internal", "Port": "80" }, "APIURLs": { "FactoryURL": "http://ifpsfactoryapi.webtest.encosoft.internal", "SalesURL": "http://ifpssalesapi.webtest.encosoft.internal" }, }
json
facility_name,index,odhf_facility_type,street_no,street_name,postal_code,city,province Country Meadows Retirement Residence,3291,Nursing and residential care facilities,6124,ana street,N0K 1C0,brunner,on Hillside Manor,3867,Nursing and residential care facilities,5066,perth east line 34,N5A 6S6,stratford,on Knollcrest Lodge,4097,Nursing and residential care facilities,50,william street,N0K 1M0,milverton,on
json
The Supreme Court on Tuesday stayed the broadcast of Bindas Bol aired by Sudarshan news channel till further orders, prima facie observing that the object of the programme is to vilify the Muslim community and accuse it of surreptitiously trying to infiltrate the civil services. “Episodes broadcast till now show the nature and objective of the programme. Pending further orders of the court, Sudarshan News stands injuncted from making any more broadcasts on this subject on any other name too”, a three-judge Bench led by Justice D. Y. Chandrachud ordered. The court said it was “insidious” to use the freedom of press to make “rabid” allegations and mount an attack on a religious minority community. The court was hearing a plea alleging that the show makes communal remarks about the entry of members of the Muslim community into the UPSC (Union Public Service Commission). At one point, it said, the anchor used phrase “UPSC jihad”. The court said, “The edifice of a stable democratic society and observance of constitutional rights and duties is based on the co-existence of communities. . . India is a melting pot of civilisations, cultures and values. . . Any attempt to vilify a community must be viewed with disfavour”. The court noted that it was duty-bound to ensure adherence to the Programme Code framed under the Cable Television Networks (Regulation) Act 1995. Justice Chandrachud said “as the Supreme Court of the nation, we cannot allow you to say that Muslims are infiltrating civil services”. Referring to the content of the programme, the court said it would not tolerate if the channel tried to portray that students of Jamia Millia were a part of a group trying to infiltrate the civil services. “How rabid can it get? Targeting a community for appearing in the civil services exam? Such insidious charges put a question mark on the UPSC exams itself. Can such programmes be allowed in a free society? ” the court asked. Senior advocate Anoop Chaudhari, for petitioner Firoz Iqbal Khan, said the show was “blatantly communal” and had become a “focal point” of hate speech. It was a nine-part show and only the first few parts were over. Senior advocate Shyam Divan, for the channel, said he was instructed it was an investigative story done keeping in mind public interest and national security. The show wanted to highlight that funds were pouring in from unfriendly sources abroad. The channel had not violated the Programme Code. Showing select visuals in court was not fair. Mr. Divan agreed to file a detailed reply by Thursday (September 17), the next date of hearing. One of the lawyers, advocate Shadan Farasat, highlighted that the show began with some visuals about the IS. Communalisation was being done in the garb of investigative journalism. Justice K. M. Joseph, on the Bench, said specific provisions in the Programme Code banned shows that created communal disharmony. Journalists were bestowed with their power of free speech on behalf of people. “Journalistic freedom is not absolute. Journalists need to be fair in their debates. We have to remember that their freedom is the same as that of any other citizen”, he pointed out. Justice Chandrachud referred to how media tend to cover only one part of an investigation. Media had a duty to comment fairly. “Reputation and image cannot be damaged”, he observed. Justice Joseph suggested public transparency in ownership, shareholding patterns and revenue flow into visual media houses. He referred to whether the government could pump in or hold back advertisements. He pointed to the conduct of TV anchors on air, muting their panellists or grabbing the limelight for themselves and giving others hardly an opportunity to air their point of view. The court observed that it would welcome the best minds in the country to suggest measures. The Bench, however, categorically said it cannot be left to the State to frame guidelines on media conduct. Solicitor General Tushar Mehta agreed that press freedom in a democracy was supreme. It would be nothing short of a disaster to curb the press in a free society. The concerns of the court should be addressed without compromising the freedom of press, he said. Social media ran parallel to and was equally influential as the print and the electronic media. However, there were many web portals whose ownership were different from what was displayed.
english
<gh_stars>1-10 /**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtTest module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see http://www.qt.io/terms-conditions. For further ** information use the contact form at http://www.qt.io/contact-us. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 or version 3 as published by the Free ** Software Foundation and appearing in the file LICENSE.LGPLv21 and ** LICENSE.LGPLv3 included in the packaging of this file. Please review the ** following information to ensure the GNU Lesser General Public License ** requirements will be met: https://www.gnu.org/licenses/lgpl.html and ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** As a special exception, The Qt Company gives you certain additional ** rights. These rights are described in The Qt Company LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** $QT_END_LICENSE$ ** ****************************************************************************/ #include <QtTest/private/qtestxunitstreamer_p.h> #include <QtTest/private/qxunittestlogger_p.h> #include <QtTest/private/qtestelement_p.h> #include <QtTest/private/qtestelementattribute_p.h> #include <QtTest/qtestassert.h> #include <QtTest/private/qtestlog_p.h> #include <QtTest/private/qtestresult_p.h> #include <QtTest/private/qxmltestlogger_p.h> QT_BEGIN_NAMESPACE QTestXunitStreamer::QTestXunitStreamer(QXunitTestLogger *logger) : testLogger(logger) { QTEST_ASSERT(testLogger); } QTestXunitStreamer::~QTestXunitStreamer() {} void QTestXunitStreamer::indentForElement(const QTestElement* element, char* buf, int size) { if (size == 0) return; buf[0] = 0; if (!element) return; char* endbuf = buf + size; element = element->parentElement(); while (element && buf+2 < endbuf) { *(buf++) = ' '; *(buf++) = ' '; *buf = 0; element = element->parentElement(); } } void QTestXunitStreamer::formatStart(const QTestElement *element, QTestCharBuffer *formatted) const { if (!element || !formatted ) return; char indent[20]; indentForElement(element, indent, sizeof(indent)); // Errors are written as CDATA within system-err, comments elsewhere if (element->elementType() == QTest::LET_Error) { if (element->parentElement()->elementType() == QTest::LET_SystemError) { QTest::qt_asprintf(formatted, "<![CDATA["); } else { QTest::qt_asprintf(formatted, "%s<!--", indent); } return; } QTest::qt_asprintf(formatted, "%s<%s", indent, element->elementName()); } void QTestXunitStreamer::formatEnd(const QTestElement *element, QTestCharBuffer *formatted) const { if (!element || !formatted ) return; if (!element->childElements()) { formatted->data()[0] = '\0'; return; } char indent[20]; indentForElement(element, indent, sizeof(indent)); QTest::qt_asprintf(formatted, "%s</%s>\n", indent, element->elementName()); } void QTestXunitStreamer::formatAttributes(const QTestElement* element, const QTestElementAttribute *attribute, QTestCharBuffer *formatted) const { if (!attribute || !formatted ) return; QTest::AttributeIndex attrindex = attribute->index(); // For errors within system-err, we only want to output `message' if (element && element->elementType() == QTest::LET_Error && element->parentElement()->elementType() == QTest::LET_SystemError) { if (attrindex != QTest::AI_Description) return; QXmlTestLogger::xmlCdata(formatted, attribute->value()); return; } char const* key = 0; if (attrindex == QTest::AI_Description) key = "message"; else if (attrindex != QTest::AI_File && attrindex != QTest::AI_Line) key = attribute->name(); if (key) { QTestCharBuffer quotedValue; QXmlTestLogger::xmlQuote(&quotedValue, attribute->value()); QTest::qt_asprintf(formatted, " %s=\"%s\"", key, quotedValue.constData()); } else { formatted->data()[0] = '\0'; } } void QTestXunitStreamer::formatAfterAttributes(const QTestElement *element, QTestCharBuffer *formatted) const { if (!element || !formatted ) return; // Errors are written as CDATA within system-err, comments elsewhere if (element->elementType() == QTest::LET_Error) { if (element->parentElement()->elementType() == QTest::LET_SystemError) { QTest::qt_asprintf(formatted, "]]>\n"); } else { QTest::qt_asprintf(formatted, " -->\n"); } return; } if (!element->childElements()) QTest::qt_asprintf(formatted, "/>\n"); else QTest::qt_asprintf(formatted, ">\n"); } void QTestXunitStreamer::output(QTestElement *element) const { QTEST_ASSERT(element); outputString("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"); outputElements(element); } void QTestXunitStreamer::outputElements(QTestElement *element, bool) const { QTestCharBuffer buf; bool hasChildren; /* Elements are in reverse order of occurrence, so start from the end and work our way backwards. */ while (element && element->nextElement()) { element = element->nextElement(); } while (element) { hasChildren = element->childElements(); if (element->elementType() != QTest::LET_Benchmark) { formatStart(element, &buf); outputString(buf.data()); outputElementAttributes(element, element->attributes()); formatAfterAttributes(element, &buf); outputString(buf.data()); if (hasChildren) outputElements(element->childElements(), true); formatEnd(element, &buf); outputString(buf.data()); } element = element->previousElement(); } } void QTestXunitStreamer::outputElementAttributes(const QTestElement* element, QTestElementAttribute *attribute) const { QTestCharBuffer buf; while (attribute) { formatAttributes(element, attribute, &buf); outputString(buf.data()); attribute = attribute->nextElement(); } } void QTestXunitStreamer::outputString(const char *msg) const { testLogger->outputString(msg); } QT_END_NAMESPACE
cpp
# constants for configuration parameters of our tensorflow models LABEL = "label" IDS = "ids" # LABEL_PAD_ID is used to pad multi-label training examples. # It should be < 0 to avoid index out of bounds errors by tf.one_hot. LABEL_PAD_ID = -1 HIDDEN_LAYERS_SIZES = "hidden_layers_sizes" SHARE_HIDDEN_LAYERS = "share_hidden_layers" TRANSFORMER_SIZE = "transformer_size" NUM_TRANSFORMER_LAYERS = "number_of_transformer_layers" NUM_HEADS = "number_of_attention_heads" UNIDIRECTIONAL_ENCODER = "unidirectional_encoder" KEY_RELATIVE_ATTENTION = "use_key_relative_attention" VALUE_RELATIVE_ATTENTION = "use_value_relative_attention" MAX_RELATIVE_POSITION = "max_relative_position" BATCH_SIZES = "batch_size" BATCH_STRATEGY = "batch_strategy" EPOCHS = "epochs" RANDOM_SEED = "random_seed" LEARNING_RATE = "learning_rate" DENSE_DIMENSION = "dense_dimension" CONCAT_DIMENSION = "concat_dimension" EMBEDDING_DIMENSION = "embedding_dimension" ENCODING_DIMENSION = "encoding_dimension" SIMILARITY_TYPE = "similarity_type" LOSS_TYPE = "loss_type" NUM_NEG = "number_of_negative_examples" MAX_POS_SIM = "maximum_positive_similarity" MAX_NEG_SIM = "maximum_negative_similarity" USE_MAX_NEG_SIM = "use_maximum_negative_similarity" SCALE_LOSS = "scale_loss" REGULARIZATION_CONSTANT = "regularization_constant" NEGATIVE_MARGIN_SCALE = "negative_margin_scale" DROP_RATE = "drop_rate" DROP_RATE_ATTENTION = "drop_rate_attention" DROP_RATE_DIALOGUE = "drop_rate_dialogue" DROP_RATE_LABEL = "drop_rate_label" CONSTRAIN_SIMILARITIES = "constrain_similarities" WEIGHT_SPARSITY = "weight_sparsity" # Deprecated and superseeded by CONNECTION_DENSITY CONNECTION_DENSITY = "connection_density" EVAL_NUM_EPOCHS = "evaluate_every_number_of_epochs" EVAL_NUM_EXAMPLES = "evaluate_on_number_of_examples" INTENT_CLASSIFICATION = "intent_classification" ENTITY_RECOGNITION = "entity_recognition" MASKED_LM = "use_masked_language_model" SPARSE_INPUT_DROPOUT = "use_sparse_input_dropout" DENSE_INPUT_DROPOUT = "use_dense_input_dropout" RANKING_LENGTH = "ranking_length" MODEL_CONFIDENCE = "model_confidence" BILOU_FLAG = "BILOU_flag" RETRIEVAL_INTENT = "retrieval_intent" USE_TEXT_AS_LABEL = "use_text_as_label" SOFTMAX = "softmax" MARGIN = "margin" AUTO = "auto" INNER = "inner" LINEAR_NORM = "linear_norm" COSINE = "cosine" CROSS_ENTROPY = "cross_entropy" BALANCED = "balanced" SEQUENCE = "sequence" SEQUENCE_LENGTH = f"{SEQUENCE}_lengths" SENTENCE = "sentence" POOLING = "pooling" MAX_POOLING = "max" MEAN_POOLING = "mean" TENSORBOARD_LOG_DIR = "tensorboard_log_directory" TENSORBOARD_LOG_LEVEL = "tensorboard_log_level" SEQUENCE_FEATURES = "sequence_features" SENTENCE_FEATURES = "sentence_features" FEATURIZERS = "featurizers" CHECKPOINT_MODEL = "checkpoint_model" MASK = "mask" IGNORE_INTENTS_LIST = "ignore_intents_list" TOLERANCE = "tolerance" POSITIVE_SCORES_KEY = "positive_scores" NEGATIVE_SCORES_KEY = "negative_scores" RANKING_KEY = "label_ranking" QUERY_INTENT_KEY = "query_intent" SCORE_KEY = "score" THRESHOLD_KEY = "threshold" SEVERITY_KEY = "severity" NAME = "name" EPOCH_OVERRIDE = "epoch_override"
python
A boy and a girl after completing MBA started talking about what they want to do in their life now . Girl asked the boy what he want to do further in his life and boy replied by saying "I want to do a job for 1 to 2 years and after that I could join my family business, let's see what does future holds." Then boy asked girl what she want to do in her life and she replied by saying, "I won't be joining any company for a job." Boy felt weird because during the MBA he heard her telling other girls that she would be actively applying for jobs, boy asked her why she won't apply for a job but girl kept dodging this question but boy kept asking asking. After a while girl answered by saying I won't apply for a job because my family doesn't want me to, then boy asked what does your family want, she replied by saying, "My family wants to get me married as soon as possible so that I will be able to start my family quickly." She continued by saying - it is very different for boys and girls, when you will have a choice what to do in life on the other hand I will be forced to get married whether I want to or not, you will have a choice who to marry and I won't have that choice. She said, "You will doing something good in your life earning a name for yourself and I will be at home risking my life to give birth to babies whether I want to or not." She continued by saying, "I will be forced to give birth as many times my in-laws want whether I want to or not and god knows whether I will survive during this or not." After hearing what was on her mind boy started feeling bad for her and all the girls who have to kill their dreams in pressure of their family. Boy asked her what does she want to do in her life and girl replied by saying it doesn't matter what she want. Boy told her that it matters to him, hearing this she told him that she wants to do a job, earn a name for herself and make her parents proud Girl asked him Is it wrong for girls to dream? Are girls good for one thing i.e to give birth to kids ? Boy never thought like this and after hearing this boy asked to himself Is really we evolving as a society? We worship Devi Laxmi , Devi Parvati, Devi Saraswati and they all are women, Is it fair for us to treat all women like this and worship Devi Laxmi, Devi Parvati , Devi Saraswati? Now girls are number one in every field from education to running a corporate enterprise and they manage their home's side by side but still the society doesn't consider them equal to boys. Why they didn't get the respect from the society which they deserve ?
english
Priyanka Chopra just shared an update on her New York restaurant named Sona. The actress, in her tweet, announced that the restaurant's website is now live. She also teased her fans with a picture of Sona's stunning interiors. Sharing the link to the website, Priyanka Chopra tweeted on Friday night: "Sona New York's website is live! Check it out. " Her tweet was flooded with congratulatory messages from her fans and well-wishers. This isn't Priyanka's first project as an entrepreneur. She became a tech investor by launching dating apple Bumble in India. The actress also launched her haircare brand called Anomaly Haircare recently. Take a look at Priyanka Chopra's tweet here: Earlier this month, Priyanka Chopra shared pictures from a prayer ceremony at the restaurant along with her husband Nick Jonas. "Sona is opening later this month, and I can't wait to see you there! This endeavour would not have been possible without the leadership of my friends Maneesh Goyal and David Rabin. Thank you to our designer Melissa Bowers and the rest of the team for realising this vision so clearly. The second and third photos were taken in September 2019 when we performed a small intimate Puja (prayer ceremony) to bless the space that would soon become Sona," she wrote. The actress was last seen in Netflix's adaptation of The White Tiger. She will soon appear on Oprah Winfrey's talk show and will star in Citadel. Priyanka and Nick Jonas announced this year's Oscar nominations.
english
import axios from "axios"; import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import { parseCookies, setCookie } from "nookies"; import React, { useState } from "react"; import CookieConsent from "react-cookie-consent"; import { Button } from "../../components/Button"; import { TextField } from "../../components/Forms/TextField"; import { Heading } from "../../components/Heading"; import Image from "next/image"; export default function Login() { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [emailError, setEmailError] = useState(null); const [passwordError, setPasswordError] = useState(null); const [loading, setLoading] = useState(false); const [success, setSuccess] = useState(false); const router = useRouter(); const handleKeydownEvent = async (e) => { if (!(e.key === "Enter") || email.length == 0 || password.length == 0) return; await submit(); }; const submit = async () => { setLoading(true); setEmailError(null); setPasswordError(null); setSuccess(false); const url = process.env.NEXT_PUBLIC_API_URL + "/auth/login"; const emailRegexValidation = /\S+@\S+\.\S+/; if (!emailRegexValidation.test(email)) { setLoading(false); setEmailError("Email inválido"); return; } try { const response = await axios.post( url, { email: email, password: password, }, { headers: { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Methods": "GET,PUT,POST,DELETE,PATCH,OPTIONS", "Content-Type": "application/json", }, } ); //const cookies = parseCookies(); setCookie(null, "token", response.data?.token, { maxAge: 30 * 24 * 60 * 60, path: "/", }); router.push("/"); setSuccess(true); } catch (ex) { setEmailError("Email ou password errados"); setLoading(false); return; } }; return ( <> <Head> <title>Tempus | Login</title> </Head> <div className="grid grid-cols-1 md:grid-cols-2 min-h-screen"> <div className="login flex items-center bg-white"> <div className="w-2/3 grid grid-cols-1 gap-6 m-auto"> <div className="flex"> <Image src="/logo.svg" height={75} width={240} /> </div> <Heading size={"h2"} weight={"bold"} className=""> Login </Heading> <TextField name="email" type="email" error={emailError} onChange={setEmail} label="Email" onKeyDown={handleKeydownEvent} /> <TextField name="password" type="password" onChange={setPassword} label="Password" error={passwordError} onKeyDown={handleKeydownEvent} /> <Button onClick={submit} loading={loading} color={success ? "success" : "primary"} disabled={email.length == 0 || password.length == 0} className="md:w-1/4" > Login </Button> <div className="group flex flex-col gap-2"> <Link href="/auth/register"> <p className="cursor-pointer"> Não tem uma conta?{" "} <span className="underline text-primary"> Registe-se aqui! </span> </p> </Link> <Link href="/auth/forgot-password"> <p className="underline text-primary cursor-pointer"> Esqueci-me da password </p> </Link> </div> <CookieConsent style={{ background: "#F5F7FF", color: "#3D3D3D" }} buttonText="Compreendi!" > Este website utiliza cookies para melhorar a experiência de utilização </CookieConsent> </div> </div> <div className="md:items-center md:justify-center hidden md:flex md:flex-col gap-7" style={{ background: "radial-gradient(51.04% 48.52% at 48.96% 51.48%, #17BDBF 0%, rgba(76, 91, 223, 0.54) 100%)", }} > <Image src={"/login_draw_2.png"} width={500} height={500} /> <Heading size="h3" className="text-white"> Torna as tuas ideias realidade </Heading> </div> </div> </> ); }
typescript
{ "name": "unb-libraries/datetime-plus", "description": "Enhancements for working with dates and time in Drupal.", "type": "drupal-module", "require": {}, "license": "MIT", "authors": [ { "name": "UNB Libraries", "email": "<EMAIL>" } ] }
json
{"from":"New York, NY US","name":"<NAME>","num":479,"comps":[{"name":"NY FTC NYC Championship Tournament","place":"New York City, NY","date":"08-Mar-13","highest":70,"QP":4,"RP":95,"matches":4}]}
json
<gh_stars>0 'use strict' import React, { Component } from 'react' import {NativeEventEmitter, NativeModules} from 'react-native' import {Provider} from 'react-redux' import Counter from '../container/counter' import store from '../store/index' const myModuleEvt = new NativeEventEmitter(NativeModules.JSEventEmitter) export default class App extends Component { componentWillMount() { this.subscription = myModuleEvt.addListener( 'uploadProgress', (name) => { console.log(name, 'this name from native') } ) } componentWillUnmount() { this.subscription.remove() } render() { return ( <Provider store={store}> <Counter/> </Provider> ) } }
javascript
Prime Minister Narendra Modi and spiritual Guru, Jaggi Vasudev shared a podium here on World Environment Day to mark 75 days of an ongoing world tour by the latter to increase awareness on rejuvenating soil health. The ‘Save Soil Movement’ promoted by the Isha Foundation founder is a campaign on deteriorating soil health. Mr. Vasudev went about this by embarking on a 100-day motorcycle trip that began in March 2022, and visiting 27 countries. June 5 marks the 75th day of the 100-day journey. He said that the movement was not about allocating large financial resources, and aimed to "raise consciousness" about the precarious soil health. Since Independence, India had worked to improve food security and though successful, caused soil quality to deteriorate. Mr. Modi, while crediting his government with issuing soil health cards, that farmers could use to better plan their agricultural activities, said that to save the soil, focus was necessary on five things: how to make the soil chemical free, how to save the organisms that live in the soil, or soil organic matter, how to maintain soil moisture, how to increase the availability of water to till it, how to remove the damage that is happening to the soil due to less groundwater and finally, how to stop the continuous erosion of soil due to the reduction of forests. Major efforts were being undertaken in the agriculture sector to alleviate the problem of soil issues. "Earlier, the farmers of our country lacked information about the type of soil, deficiency in soil, how much water is there. To overcome this problem, a huge campaign was launched to give soil health cards to the farmers in the country," the Prime Minister said. Mr. Modi said that natural farming contained “a big solution” to some of our biggest problems. In the latest Budget, the government had decided to encourage natural farming in the villages situated on the banks of Ganga which would make it a huge corridor of natural farming. “This will not only make our farms chemical free but the ‘Namami Gange’ campaign will also gain new strength. ” He added that India was working on the goal of restoring 26 million hectare land by 2030.
english
Illinois [United States], April 30 (ANI): People may learn they have a gene mutation linked to some types of cardiovascular disease (CVD) as the usage of genetic testing rises. In order to better inform people and medical professionals on what to do when a variant is found. A new scientific statement was published today in the American Heart Association journal Circulation: Genomic and Precision Medicine. An American Heart Association scientific statement is a professional evaluation of recent findings that could influence future recommendations. The new position statement, “Interpreting Incidentally Identified Variants in Genes Associated with Heritable Cardiovascular Disease,” offers guidance to healthcare professionals on how to interact with patients and their families and suggests appropriate follow-up measures to care for those who have variants that are thought to increase CVD risk. It also suggests next steps to determine whether a variant actually carries a health risk. Variants associated with cardiovascular disease risk are often found “incidentally” when people undergo genetic testing for non-cardiac reasons, including screening or diagnosis of other diseases. These unexpected genetic variants may also be discovered with genetic testing through direct-to-consumer DNA testing kits. Pretest genetic counseling is strongly encouraged to prepare patients for the possibility of incidental findings, how and whether findings will be communicated, and potential implications for themselves and family members. “The scope and use of genetic testing have expanded greatly in the past decade with the increasing ease and reduced cost of DNA sequencing,” said Andrew P. Landstrom, M. D. , Ph. D. , FAHA, chair of the scientific statement writing committee and associate professor of pediatrics and cell biology at Duke University School of Medicine in Durham, North Carolina. “Where we would once look for genetic changes in a handful of genes, we can now sequence every gene and, potentially, the whole genome, allowing us to make genetic diagnoses that would have been impossible in the past. However, with increased genetic testing comes more surprises, including finding unexpected variants in genes that might be associated with cardiovascular disease. This statement is the first to focus on inherited monogenic, or single-gene, diseases for CVD which can be passed on within families, such as hypertrophic cardiomyopathy or long QT syndrome. There are currently 42 clinically treatable, secondary variant genes that increase the risk of sickness or death from sudden cardiac death, heart failure and other types of cardiovascular disease, according to the American College of Medical Genetics and Genomics. Genetic variants that cause long QT syndrome cause the heart to electrically reset slower than normal after each contraction, which may cause electrical instability of the heart and may lead to fainting, arrhythmias or even sudden death. “The list of incidental variants related to cardiovascular disease continues to evolve. This statement provides a foundation of care that may help people with a CVD-related genetic variant and their health care professionals take the next step in determining the individual and familial risk that a variant may or may not carry,” Landstrom said. “It’s also important to consult with genetics specialists to custom-tailor an evaluation and treatment plan to both the individual and the genetic variant in order to ensure the highest level of care possible. ” (ANI) This report is auto-generated from ANI news service. ThePrint holds no responsibility for its content.
english
{ "DESCRIPTION": "Changes the volume of the song", "USAGE": "volume <Number>", "CURRENT": "🔊 The current volume is: **{{NUM}}%**.", "UPDATED": "🔊 Player sound set to **{{NUM}}%**.", "TOO_HIGH": "Please input a number between 0 and 1000." }
json
<reponame>Datenschule/schulscraper-data {"name":"<NAME> der Sekundarstufe I und II i.E.","id":"NRW-193744","address":"In den Elsen 34, 46569 Hünxe","school_type":"Gesamtschule","fax":"02858 909623","phone":"02858 90960","website":"","email":" <EMAIL> ","state":"NRW","programs":{"programs":[]},"full_time_school":true,"lon":6.769611,"lat":51.637748}
json
In the Name of Allah, the All-beneficent, the All-merciful. In the Name of Allah, the All-beneficent, the All-merciful. All praise belongs to Allah, the Lord of the worlds and may Allah’s blessings be upon our Master, Muhammad al-Mustafa and his immaculate Family and his elect Companions. As a symbol of Islamic unity and honour and the emblem of monotheism and spirituality, the Holy Ka’bah, during the Hajj season, is host to the ardent and hopeful hearts, who come hurrying from all over the world to the birthplace of Islam in response to the call of the Glorious Lord. At this time, the Islamic Ummah can have a bird’s eye view of its own great extent and diversity, seen through the eyes of its envoys who gather here from all over the world, and be witness to the profound faith that rules over the hearts of the followers of the True Religion, and appreciate its great and peerless heritage. This self-discovery of the Ummah enables us as Muslims to become aware of the position which is worthy of them in the world, today and tomorrow, and to keep moving towards it. The expanding wave of Islamic awakening in the world today is a reality that heralds a bright future for the Islamic Ummah. This powerful surge started three decades ago with the victory of the Islamic Revolution and establishment of the system of the Islamic Republic. Our great Ummah has continued to march ahead non-stop, removing the obstacles from its way and conquering new fronts. The sophisticated stratagems of the global Arrogance and its costly maneuvers aimed at countering Islam are also a consequence of these victories. The extensive propaganda of the enemy to spread Islamophobia, its offhand efforts to create discord among Muslim sects, to incite sectarian prejudices, to bring about pseudo-confrontations between the Sunnis and the Shi’ah, to create disunity between Islamic states and to aggravate their differences, to change them into hostility and unsolvable conflicts, its employment of intelligence and espionage outfits to propagate corruption and immorality amongst the youth—all these are nervous and bewildered responses to the steady and firm advances of the Islamic Ummah towards awakening, honour and freedom. Today the Zionist regime is no more the undefeatable monster of 30 years ago. The United States and the West are also no more the unquestionable decision-makers of the Middle East that they were two decades ago. Contrary to the situation that existed ten years ago, the nuclear know-how and other complex technologies are no longer considered inaccessible daydreams for Muslim nations of the region. Today the Palestinian nation is an acknowledged paragon of resistance, the Lebanese nation has single-handedly demolished the fake awesomeness of the Zionist regime and emerged as the victor of the 33-day war, and the Iranian nation is at the vanguard of the movement towards the looming peaks. Today the arrogant United States, the self-styled commandant of the Islamic region and the real sponsor of the Zionist regime, is bogged down in the quagmire of its own making in Afghanistan. As a result of all its crimes against the people of Iraq, it is in the course of becoming isolated in that country. It is hated more than ever before in disaster-stricken Pakistan. Today, the influence of the anti-Islamic front which since the past two centuries has acted as a despotic overlord over Islamic nations and states and plundered their resources, is receding before the heroic resistance of the Muslim nations. On the opposite side, the wave of Islamic awakening is steadily advancing and growing in depth day by day. On the one hand, this hopeful and promising situation should inspire us, the Muslim nations, to keep marching ahead towards the desirable future with ever greater confidence. On the other hand, the past lessons and experience should make us more vigilant than ever before. This general imperative undoubtedly calls for greater commitment from religious scholars, political leaders, intellectuals and youth than the others and requires them to be at the vanguard of the struggle. The clear and living message of the Noble Qur’an is addressed to us: You are the best nation ever brought forth for mankind: you bid what is right and forbid what is wrong, and have faith in Allah. (3:110) In this majestic address the Islamic Ummah is declared as one which has been brought forth for the sake of humanity. The aim of its birth is the good of mankind and its deliverance. Its major duty is to urge what is good and to forbid evil while maintaining unshakeable faith in God. There is no ‘right thing’ (ma’ruf) more significant than rescuing nations from the satanic claws of the global Arrogance, and there is no ‘wrong thing’ (munkar) uglier than dependence on the Arrogant and servitude to them. Today the major duties of the elite of the Islamic Ummah is to provide help to the Palestinian nation and the besieged people of Gaza, to sympathize and provide assistance to the nations of Afghanistan, Pakistan, Iraq and Kashmir, to engage in struggle and resistance against the aggressions of the United States and the Zionist regime, to safeguard the solidarity of Muslims and stop tainted hands and mercenary voices that try to damage this unity, to spread awakening and the sense of responsibility and commitment among Muslim youth throughout Islamic communities. The glorious spectacle and stage of Hajj provides us with an opportunity for the fulfillment of these duties and summons us to intensify and redouble our resolution and efforts. Peace and Allah’s mercy be upon you! The following is the full text of the speech delivered on November 21, 2012 by Ayatollah Khamenei the Supreme Leader of the Islamic Revolution in a meeting with Basijis and Salehin activists. Thankfully, an event similar to the great event of Ashura - which has been narrated for us - took place in our own times. During the Sacred Defense Era, many men, women and young people who were trying to achieve their noble goals, laid down their lives and wealth and forgot about the material aspects of their lives. Today we are benefiting from the blessings of this event. The coincidence of this event with the great event of Ashura is a lesson for us. The Islamic Ummah should never forget the event of Ashura which is a lesson and a source of guidance for us. Definitely Islam is alive because of the event of Ashura and the efforts of Hussein ibn Ali (a.s.). \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"And I am from Hussein.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" This narration means that Hussein (a.s.) continued the path of the Holy Prophet (s.w.a.) and he continued to promote Islam after him. If it had not been for the event of Ashura and if these great sacrifices had not been made in the history of Islam, this valuable experience and this practical lesson would not have been bestowed on the Islamic Ummah and Islam would have definitely deviated from its path - as many religions before Islam did - and nothing would have remained from it. The greatness of Ashura is because of this. Of course, the pain and suffering which Imam Hussein (a.s.) and his followers endured on the day of Ashura were too agonizing and the harm which was inflicted was very serious. The life of Hussein ibn Ali (a.s.) is more valuable than everything in the world. The pure and sacred lives of those followers of Imam Hussein (a.s.), the lives of those youth and those members of Imam Hussein\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s (a.s.) household are not comparable to the life of other people. Their bodies were covered in blood and dirt. They made sacrifices and they laid down their lives. The households of the Holy Prophet (s.w.a.) and Imam Ali (a.s.) were imprisoned. Those events are very tragic and very difficult to tolerate. But what was achieved on the day of Ashura was so great and glorious that it made it easy for Imam Hussein (a.s.), his followers and his household to endure the sufferings. This has been narrated by prominent figures. In our own times, we have seen similar examples of these sacrifices. We have seen similar examples of sacrifices which we have read about in history books. One significant and remarkable example of these sacrifices is what Basij did before the start of the imposed war, during the Sacred Defense Era and after it ended. We have enormously benefited from the blessings of Basij and by Allah\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s favor, these blessings should and will continue to benefit us. An important point about Basij is that during the Sacred Defense Era, we could see that Basij enjoyed great purity. We should preserve this purity in Basij. The present situation is more complicated. It is dangerous to go to war, kill, fight and take on responsibilities which may result in martyrdom or disability. It is still dangerous even if nothing happens to you, but being present in a military confrontation is not complicated. The present situation in which you are faced with the enemy\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s plots and attacks has certain complications. The confrontation between you and the enemy has certain complications. The dangers that our soldiers were exposed to may not exist today, but the present situation has more complications. An advantage of the military confrontation we experienced was that whoever entered it showed great purity of intention. Entering the arena of war was a life and death situation. It was not a joke. It needed courage, selfless efforts, faith and reliance on God, but our soldiers went to war and they were martyred. Today we still need that kind of courage and faith in different arenas, but it is possible that certain people call themselves basijis without having these characteristics. You should be vigilant about this. First, we should guard ourselves against this and second, we should guard Basij against this. This is the duty of all members of Basij. You should strengthen the basiji spirit in Basij organizations including Salehin organizations which you manage. We should make sure that Basij has purity in everything it does. This is difficult to some extent. One reason why practicing self-restraint and paying attention to spiritual matters is called \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"greater jihad\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" is the difficulty of this task. In a military confrontation with the enemy, one can easily measure one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s and other people\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s purity. It is easier to do this in the case of a military confrontation, but in the arena of practicing self-restraint this is not very easy. In latter case, you may make a mistake in judging how pure your actions are and others may also misjudge what kind of person you are. Another point is that we should avoid negative qualities such as arrogance, pretension and hypocrisy. These qualities are very destructive. If we make an achievement, we should be thankful to God and we should know that our achievement has been made with the help of God and we should ask God to help us continue making these achievements. It is very important not to be arrogant and not be over-confident. We should not think that we have made achievements on our own and we should rely on God Almighty. It is a fact that there is no power except the power of God Almighty. Everything is done by God. Our achievements, our capabilities, our enthusiasm, our faith and our love all come from God. We should know this and we should be thankful to God. We should ask God Almighty to increase these qualities in our characters. This is an important issue. I noticed an important point in the statements of the dear people who spoke in this meeting. That point is the high quality of organizations which form the basis of Basij. What is damaging is superficiality in our beliefs, our understanding of different matters and our principles. Superficiality is damaging. It is like a precarious stack of things which is easily blown down by a strong wind. We should give depth to our beliefs. Thankfully, you pay attention to these issues. Salehin organizations were created with a view to giving depth to the thoughts and the spirits of young basijis in spiritual and educational matters. Generally, Basij is one of the miracles of the Revolution. Basij reflects the innovation of our magnanimous Imam (r.a.). It shows his understanding, his wisdom and it reflects the connection between his enlightened heart and the source of divine wisdom. Basij provided a solid foundation for the Revolution. See how active Basij is in the area of scientific matters, in the area of practical matters, in the area of technological matters, in the area of spiritual matters, in the area of social services, in the area of formulating theories on different parts of social life, and in different other areas. If one day something happens which makes our people arm themselves against the enemy for the purpose of defending their country, these youth, these basijis, these brave youth of our dear nation will once more prove the courage of the Iranian nation, the resistance of the Iranian nation, the power of the Iranian nation and the invincibility of the Iranian nation to the enemy. Other groups of people and other countries which have tried to tread the enlightened path of Islam will follow our example. We have a valuable experience in this regard. We should perform well because it will make Basij a living and dynamic role model in the world of Islam. Today this has almost happened. Therefore strengthening Basij, making all its members as pure and spiritual as possible, expanding its activities to all areas of life are among the tasks which should be carried out by the people in charge of Basij, member of Basij and everyone connected with Basij. The Islamic view of lifestyle can be a standard for self-evaluation in Basij. I am not saying that organizations which are higher in rank should evaluate our behavior. I am saying that we should be the people who evaluate our own behavior. How is our behavior in our workplace? How is our behavior towards our wife and children? How is our behavior at home and in social environments? How is our behavior towards people who stand below us in rank? How is our behavior towards people who stand above us in rank? How is our behavior towards the enemy? In Islam, there are certain criteria for all of these. We should evaluate ourselves. This is self-evaluation. This can lay a firm foundation for our lives and for the work we should do in all areas - especially the work we should do in Basij, which is the topic of our discussion. Anyway, our country, our nation, our Revolution and our history need Basij and Basij needs to improve itself on a daily basis in terms of quality. What you dear brothers and sisters are doing - in Salehin organizations - is very good and outstanding and it perfectly complements Basij. By Allah\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s favor, we should improve Basij on a daily basis. We should raise quality in Basij. Of course, quality should be given more significance than quantity, but increasing the quantity of work as well as the quality of work is also important. That is to say, we should both increase the volume of our work and add depth to it. Both should be taken into consideration. Today the world of Islam needs this movement by Basij. The savage attack on Gaza over the past week, which is truly shocking, should awaken the world of Islam and it should give fresh impetus to the movement of Muslim peoples. The enemy is not sitting idle. This effort by the Zionist regime has several dimensions. First, it shows the extreme brutality of the Zionist regime. How savage these people are. They have no conscience at all. You become shocked when you see how savagely they attack innocent people and civilians. They have no human qualities. They are against the world of Islam and the Islamic Republic of Iran. These creatures who have no human qualities want to challenge the Islamic Republic of Iran at international meetings. This is one aspect of the issue which is very important. Another shocking aspect of the issue is that the leaders of global arrogance behave so shamelessly in this crisis. They not only do not frown at the brutal Zionist regime and they not only do not prevent it from doing what it is doing, but they rather support and encourage it. America explicitly supported the Zionists. England supported them. France supported them. These are the leaders of global arrogance. Muslim peoples do not have enemies who are as hated and brutal as these people. All these people explicitly supported them. The recent event shows how willing the leaders of global arrogance are to observe morality. They are very far away from human qualities. Now that they give political support to the Zionist regime for the purpose of safeguarding their corrupt political interests, why do they claim that they support human rights? Does America - which not only fails to condemn this violent and savage attack in Gaza, but also supports it - have the right to claim that it supports human rights? Does it have the right to put itself in the position of prosecutors of other nations and governments in the name of defending human rights? This is a shameless claim. The same is true of France and England. Muslim nations have not forgotten their past behavior in the world of Islam, the crimes that they committed, the killings that were carried out and the pressures that they exerted on Muslim peoples in different countries. And today they support the actions of a brutal regime, namely the Zionist regime. This is another aspect of the issue. Another aspect of the issue is the behavior of Arab and Islamic governments regarding the event of Gaza which was not acceptable. Some of them only condemned the Zionists in words and some others did not even condemn the Zionists in words. Those who call Muslim nations to unity and claim to be the leaders of the Islamic Ummah should prove themselves in such situations. They are very outspoken on issues which suit their political agenda, but in this case - because they have to face America and England - they refuse to condemn the Zionists in an outspoken and genuine way or they merely offer verbal support, which is of little value and is not very effective. Today the world of Islam, especially Arab countries, should join hands to defend the people of Gaza and make the enemy lift the siege. They should try to help the innocent people of Gaza. Of course, God Almighty has bestowed on the people of Gaza the blessing to resist and stand up against this violent and savage enemy. The people of Gaza saw the result of their resistance: they managed to preserve their dignity. They proved that by relying on resistance and hard work it is possible - even with a small number of people - to defeat large and heavily armed groups that are supported by the arrogant powers. Today the Zionists, who have occupied Palestine, are looking for a ceasefire more desperately than the people and the officials of Gaza. Although they committed these crimes and brutal actions, they were harmed more. This happened because of the resistance of the small number of Muslim people and youth in Gaza. There is no other way to defeat the enemies. This is a message to the world of Islam. If the world of Islam wants to be invulnerable to the attacks, machinations and plots of the enemy, it should defend itself strongly. It should strengthen itself, both spiritually - strengthening one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s faith and determination - and materially. Material strength includes making scientific and technological progress, gaining experience and making advances in the area of building weapons and in other areas. The world of Islam and Islamic societies should equip themselves with these. If they do this, then every district even as small as Gaza can inflict as much harm on the enemy as the people of Gaza did. As I said before, what the people of Gaza did made the enemy look for a ceasefire more desperately than the people and the officials in Gaza although they went through pain and suffering and a number of them were martyred. This is a lesson for the world of Islam and of course we learned this lesson during the Sacred Defense Era. Thankfully, our people, our youth, our scientists and our experts have made progress in this regard. We have made progress in theoretical and practical areas. We have become fully aware of the fact that we should stand on our own feet which is one of the requirements for resistance. Another point is the issue of unity among the Islamic Ummah and among the people of each country. The unity among the people and the political parties of each country is important. The same is true of our nation. The reason I repeatedly point out that political parties, our dear officials, people who can address the public - including newspapers, websites, executive and other organizations in charge of our media - writers and people\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s representatives should preserve unity among themselves, is that unity is very important in essence. Fortunately our country has managed to preserve its unity and cohesion. Fortunately the recent disagreements between the officials have not shattered the unity of our nation. The fact that there are differences of opinion between the officials creates no problems as long as these differences do not result in major disputes. In the eyes of the enemy, our country has been very powerful since the start of the Revolution and this has happened because of our unity. Today they have the same opinion. Some time ago I advised the officials to preserve unity among themselves. Fortunately the esteemed officials of the three branches of government listened to my advice. This is very valuable. It is necessary to thank these people. The officials and the heads of the three branches of government listened to my advice. They stressed that they will preserve their unity in different areas although they have differences of opinion. We welcome this positive move made by these dear brothers and esteemed officials and we believe that it was a wise move and they should continue to be careful about what they say. What the MPs are doing in the Majlis is one of the things that has certain praiseworthy aspects. You dear brothers and sisters and the honorable people of Iran should know that asking questions of our government officials, whether the President or other executive officials, is a positive move because of two reasons. One reason is that it shows the people\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s representatives in the legislative branch have a sense of responsibility towards issues of the country. This is positive. Another reason is that the executive branch announced with confidence and with praiseworthy courage that it is prepared for answering the questions posed by the MPs. This is positive too. The legislative branch carries out its responsibility and our executive officials show that they have confidence in their decisions and sincerity. What else do we expect? This is the best situation. This decision has been made: the Majlis has announced that it wants to summon the President for questioning which shows their sense of responsibility, and the executive branch has announced that it is prepared to answer the questions with confidence - they said this to me too. This too is praiseworthy. These two moves made by the Majlis and the executive branch are both good. But I believe that the efforts should not be continued. They should end the issue immediately. This was a good test for both the Majlis and the executive branch. The people are also insightful and wise. Continuing this issue is exactly what the enemies want. The enemies want to pitch the two branches against each other. The enemies want to provoke people on each side to give in to their feelings and create uproar through newspapers, websites and other such things. Our country needs tranquility. All the officials, no matter which branch of government they belong to, need tranquility to do their duties and the people also want tranquility. The Majlis did its duty and in response to the decision of the Majlis, the executive branch showed that it has the necessary self-confidence to defend its actions. What these two branches of government did is satisfactory. Now I ask the brothers who made this decision in the Majlis to end this issue and show that government officials in the executive, legislative and judiciary branches of government respect unity and tranquility more than anything else. I thank all the brothers and sisters in Basij. I hope that Allah the Exalted bestows success on all of you. I thank all the brothers and sisters who spoke in this meeting. I hope that God Almighty bestows great rewards on them. I also thank the dear brother who gave me his medal. I have accepted this medal, but I would like to give it back to him as gift. It is better for him to keep the medal because it will evoke the memory of his championship and something to remember me by. I hope that Allah the Exalted bestows success on you. Agha Panahian explains to us that some things can only be understood by the heart. Allah\\\\\\\'s love for us can only be understood by the heart. Even if we are drowned in sin, Allah waits for us to whisper to Him. Video Tags: Ayatollah Khamenei describes the type of fear one should have in relation to Allah. He further explains what delusion about Allah means. Video Tags: KAZschool is an amazing channel for kids where Khanum Amber Zehra shares about Islamic Stories, Prophet PBUH stories for kids, Islamic guideline because mother’s lap is the first school. ►►Watch More Video From Here: ►►Social Media: ►PLEASE NOTE: ►COPYRIGHT NOTICE: channel link) all speakers and artists should also be credited in the description. ►Video Footage: videos without permission. Please contact us for more information. KAZschool is an amazing channel for kids where Khanum Amber Zehra shares about Islamic Stories, Prophet PBUH stories for kids, Islamic guideline because mother’s lap is the first school. ►►Watch More Video From Here: ►►Social Media: ►PLEASE NOTE: ►COPYRIGHT NOTICE: channel link) all speakers and artists should also be credited in the description. ►Video Footage: videos without permission. Please contact us for more information. - Importance of pondering over why Allah(s.w.t) wants us to go all the way to Makkah for hajj. - Importance of pondering over why Allah(s.w.t) wants us to go all the way to Makkah for hajj. - Explanation of Aayat 97 of Surah Aale Imran where Allah(s.w.t) mentions how it is a duty for a Muslim to go for hajj if he has the ability to do so. - Once the Kaaba’s walls were erected, Allah(s.w.t) asked Prophet Ibrahim to call people for hajj so that they could witness the benefits for themselves. - There are many benefits when we go for Hajj. - Getting to network and meet other business traders from around the world. - The most important benefits are the spiritual and social dimensions of Hajj. - Hajj is a powerful way of recognizing who we are. - We shed away all the artificial identities that we have whether it applies to our clothing or political and economic status. - Everyone is dressed in 2 pieces of Ehram (white cloth) which is a dress that does not belong to any other nation. - Realizing that no matter what race, colour, ethnicity background or status in society we come from, we are all just servants of Allah(s.w.t) and nothing else. - Islam does not say that you should not love people of your own tribe, culture or language. Infact, that is part of our innate nature. - Islam is against discrimination and prejudice amongst the believers on the basis of race, colour, culture or language. - According to the 4th Imam we will be accountable in the eyes of Allah (s.w.t) when we start preferring our own kind even if they are evil over the righteous ones from another tribe. - “Asabiya” (discrimanation/bias) is when you support your own people even if they are unjust and wrong. - Mention of the words of Malcom X, on the impact that hajj had on him from a letter that he wrote to his wife. - Islam is a religion that is colour-blind and is our identity as part of a global Ummah (nation). - Inspite of millions of Muslims going for hajj, we don’t see any changes when it comes to unity and equality amongst believers. - Example of the way the rich gulf state treats Muslims from other nations. - This attitude still present amongst those known as the custodians of the “haramayn”. - “Mawali” is the plural of the word “mawla” which means slave or client. - In the pre Islamic era, a foreigner would not have security for himself, his life and his property unless he would be affiliated with a local tribe. He would be a “mawla” of the tribe. - Islam abolished this but it was later revived again. Only the school of the Ahlulbayt opposed this concept. - The “mawalis” were attracted to the Ahlulbayt because they did not differentiate between Arab or non Arab, master or slave and rich or poor. - Narration of a story from the life of Imam Ali Raza (a.s) of when he asked all the workers and slaves to join him and eat dinner together. - Mention of all the Imams whose mothers were from different parts of the world. 4 of them being from the African continent. - Molana Sayyid Saeed Akhtar Rizvi was the pioneer in tabligh among the African people. - Today Bilal Muslim mission is the pride of the community while it was not the case in the early days. Two brothers travel together from London, United Kingdom to Najaf, Iraq to join the walk to Karbala for the Arbaeen of Imam Hussain a.s! Two brothers travel together from London, United Kingdom to Najaf, Iraq to join the walk to Karbala for the Arbaeen of Imam Hussain a.s! Please like, share and subscribe to support our projects! Special thanks to @Imam Hussein TV 3, @The10thDay Media (the10thday.com) and all supporters for this project! KAZschool is an amazing channel for kids where Khanum Amber Zehra shares about Islamic Stories, Prophet PBUH stories for kids, Islamic guideline because mother’s lap is the first school. ►►Watch More Video From Here: ►►Social Media: ►PLEASE NOTE: ►COPYRIGHT NOTICE: channel link) all speakers and artists should also be credited in the description. ►Video Footage: videos without permission. Please contact us for more information. KAZschool is an amazing channel for kids where Khanum Amber Zehra shares about Islamic Stories, Prophet PBUH stories for kids, Islamic guideline because mother’s lap is the first school. ►►Watch More Video From Here: ►►Social Media: ►PLEASE NOTE: ►COPYRIGHT NOTICE: channel link) all speakers and artists should also be credited in the description. ►Video Footage: videos without permission. Please contact us for more information. KAZschool is an amazing channel for kids where Khanum Amber Zehra shares about Islamic Stories, Prophet PBUH stories for kids, Islamic guideline because mother’s lap is the first school. ►►Watch More Video From Here: ►►Social Media: ►PLEASE NOTE: ►COPYRIGHT NOTICE: channel link) all speakers and artists should also be credited in the description. ►Video Footage: videos without permission. Please contact us for more information. FREE COURSES! FREE COURSES! 🡆 Karbala and more…………..! As you may know that this is a non-profit organisation and your help is much needed to continue this project. Become a monthly donor and help us create more content. Sometimes people do not realise that most video editors have to pay for yearly if not monthly subscriptions for their programs. They also have website costs and other related things. What we have to remember is that every cent is a source of Sadaqa Jariya – a reward that continues to benefit you even after we have left this world. And what better reward can it be than passing down knowledge through millions of people and generations to come in shaa Allah. FOLLOW US! Join us for a new episode of the talk show series “They Ask You”, which will discuss: Join us for a new episode of the talk show series “They Ask You”, which will discuss: A tribute to our 5th Imam-e-Masoom. Imam-e-Muhammad Baqir (a.s) Ibn e Imam-e-Sajjad (a.s) Ibn e Imam Hussain (a.s) Ibn e Imam Ali (a.s) Ibn e Abu Talib (a.s). Learn what Imam Baqir (a.s) taught us through his saying included in this presentation. May we all attain the maarifat of Imam (a.s) of our time - Imam Al-Mehdi (a.t.f.s) - May we are not the ones who leave him alone in the battlefield. May we all realize that Imam (a.s) of our time exists even today - His mission is going on even today - His true followers are working on his cause even today - His enemies are working against his mission even today - His enemies are continuously confronted by true followers of Imam (a.s) even today. May Allah grant us strength to be part of the party of Allah. May Allah spare us for any sins and the neglecting attitude we had had towards the teachings of our Aimma in the past. We are ready for you O Imam (a.s). Please come and spread the justice on this earth - implement the system of Allah on this earth. I would like to congratulate you dear brothers and sisters - who have participated in this friendly meeting - and the guests and ambassadors of Islamic countries on Eid ul-Fitr. I hope that this Eid will be blessed and auspicious for you. And I congratulate the great people of Iran, all Muslims throughout the world and all religious and liberated nations in each and every part of the world on the occasion of this Eid. According to the works and statements of great religious personalities, one of the characteristics of Eid ul-Fitr is that it is the Eid of the united Islamic Ummah: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"He is One Who turned this day into an Eid for Muslims\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" [quoting from prayer recited during Eid ul-Fitr]. It is the Eid of all Muslims. This means the outlook of the holy religion of Islam is towards building an Islamic Ummah. The same outlook exists in the teachings of the great Prophet of Islam. When we look at many Islamic teachings, we witness an effort for creating a united ummah. Today, the Islamic Ummah is disintegrated. This disintegration does not mean differences between Islamic denominations. These differences are natural and they are not contradictory to forming a united ummah. Different beliefs and opinions can exist - on major and minor issues - alongside a united ummah. What has separated Muslims from one another today is policies, political motivations and motivations for seizing power. Muslim countries can pass through these motivations. This is the responsibility of political and influential personalities and those who have governmental positions in Islamic countries. If this happens, then a kind of power will emerge that is better than and superior to - in the real sense of the word - all transgressing and arrogant powers in the world. If this happens, no one will be able to bully an Islamic country and no power will be able to blackmail Islamic countries and Muslim governments. If we stay together, if we pay attention to and focus on our common points, if hunger for power, selfishness, dependence and corruption do not separate us from one another, then a power will be formed that can defend and support the rights and interests of one billion and a half Muslims. But unfortunately, such a thing does not exist today. What we can see in front of our eyes today is the events of Gaza and Palestine. Why do Zionist aggressors give themselves the right to attack a Muslim country in a way that the heart of any viewer in the world is filled with sorrow and sympathy? Do they do this just because they have destructive weapons, airplanes, missiles, bombs, explosives and gunpowder? You witnessed the demonstrations in western countries. Of course, people in western countries became aware of these events as much as the hidden censorship apparatuses allowed them. The hidden censorship apparatuses do not allow people to become aware of the truth. The truth is much more bitter and much more tragic than what the western media networks allow to be reflected about the issues of Gaza. Despite this, you can witness that even this level of awareness is shaking the hearts of people in those countries that know nothing about Islam. The event of Gaza is so bitter and heartbreaking. But today, the world of Islam does not have the power to react to and stop this transgression and savagery and the blood-thirsty desire of the Zionists. This is why the people of Gaza are alone. Not only do arrogant powers - who are happy about the presence of Zionism in the heart of the Middle East region in order to pursue imperialist goals in this way - not support the oppressed, but they also support the oppressor with complete shamelessness. It is the responsibility of the world of Islam to do something in this regard. Our message to the world of Islam and Islamic governments is that you should benefit from your power and from public, national and governmental capabilities to support the oppressed. You should make the enemies understand that the world of Islam will not sit idle in the face of savagery and transgression. This is our message to Islamic governments. Although it is true that we may have differences of opinion with certain Islamic governments in different political and non-political areas, all of us should forget about these differences for the sake of the issue of Gaza. A part of the Islamic Ummah - in the form of an oppressed people - is struggling hard in the claws of a blood-thirsty and blood-sucking wolf. Therefore, everyone should help them. This is what we want to say. Two tasks should be carried out: one is helping the oppressed. Helping the oppressed means providing them with basic needs. Today they need food, medicine, hospitals, water, electricity and reconstruction of their houses and cities. The world of Islam is responsible for providing these things. They need weapons as well. The enemy wants to disarm them so that he can attack them whenever he wants - whenever he has an excuse or even when he does not have any excuse. He wants to do something to make them incapable of reacting to him. The enemy wants this. The firm determination of the world of Islam should show itself in the face of this illegitimate claim of the enemies. This is the first task that should be carried out which is helping the oppressed: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Be a helper of the oppressed\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" [Nahjul Balaghah, Letter 47]. You should be a helper of the oppressed. This help is one that falls on the shoulders of the entire world of Islam. We say to Muslim governments - the ambassadors of Muslim governments are present in this meeting - from this podium, let us join hands and work together to help the people of Gaza and to overcome the obstacles that the Zionist regime has created on this path. Let us offer every kind of help to the people of Gaza. The second task that should be carried out is to confront those people who are committing this great historical oppression, who are the perpetrators of this genocide and who are displaying this shamelessness and brazenness in committing crimes and murdering people. One really becomes surprised at their shamelessness in giving reasons for killing civilians. They are so shameless. They try to justify killing little, innocent and oppressed children. They are totally shameless and impudent. Those who are committing these crimes are psychopaths. They are the perpetrators of these crimes, but they are not the only people who play a part in them. Today, anyone who supports the Zionists - including the officials of arrogant countries such as America, England and the like and international organizations such as the United Nations and other such organizations which support the Zionists with their silence, opinions and unreasonable statements - are an accessory to this crime. The entire world of Islam, all Islamic governments and all Muslim nations are responsible for opposing and confronting them. They should condemn them and express their hatred of the Zionists. They should criticize those who adopt this position [of supporting the Zionists]. This is a communal responsibility. Everyone should isolate them and if they can, they should confront them through economic and political means. This is the responsibility of the Islamic Ummah. The people of Iran have thankfully shown that they stand firm in such arenas. We have shown this. The people of Iran do not have any considerations in the face of this malevolence and enmity. They do not have any considerations for such and such a power and such and such a personality. They openly say what they want to say. As you witnessed, on the last Friday of the auspicious month of Ramadan, the people of Iran and men and women throughout the country took to the streets and made the whole world listen to their loud cry. This was while the weather was very hot and they were fasting. This was a necessary task that the people of Iran managed to carry out. And if it is necessary to carry out any other task, these people are a firm and resisting people. Dear God, by the blessedness of Muhammad (s.w.a.) and his household (a.s.), familiarize us with our responsibilities and help us succeed in carrying them out. Inner Revolutions | Muslim Americans and the Legacy of Imam Khomeini (r) Inner Revolutions | Muslim Americans and the Legacy of Imam Khomeini (r) Marilyn Reed was mothering three children on her own in 1977 when she first learned about Islam. The next day on her way to work, Reed exchanged greetings with a man on the sidewalk. She later discovered he was a student at the law school where she worked. He came into her office, the two remembered each other, and he began to tell her about about Islam. Two months later, Reed became a Muslim. She changed her name to Najah Siddiq, and taught herself how to pray. In 1979, Siddiq was practicing Sunni Islam when she learned about the revolution in Iran. After the revolution, Siddiq began to attend programs at the Islamic Education Center in Maryland. Siddiq says she doesn’t know how she got invited to Iran. Others in her group were public speakers. But she felt like Allah invited her there to be a witness. What does it take to receive Allah\\\'s support and to be victorious? In the face of the enemy\\\'s continuous onslaught against Islam and those who resist the global arrogance, what do we need to keep in mind if we want to win? The Leader speaks. Video Tags: Video Tags: Video Tags: There are many obstacles on the road to knowing Allah the Exalted. Sometimes we see that even though we seem to do everything right and everything that is required of us, we don\\\'t seem to be getting closer to Allah. Why is that? Something very specific and very subtle, is holding us back that we might not be aware of. What is that thing? How do we overcome it in order to successfully walk the road to the Divine? Ayatollah Khamenei explains the phenomenon of expectations from Allah and gives a few examples to clarify that we may, at times, get way more than expected from Allah. We should never confine our expectation to material calculations. Why does Allah elevate Imam Husayn (A) through Surah Fajr in the Holy Qur’an? The bottom line – he attempted the uphill struggle, he took up that hard mission, that difficult task of striving in the way of Allah. Will you? Allah has not closed the doors to His mercy for you. Husayn (A) is the limit! Video Tags: When the chips are down, who\\\\\\\'s there to rely on? When disappointment overcomes us, who\\\\\\\'s there to make us hopeful? The sweet taste of reviving the connection with ALLAH is missing in our lives. This beautiful nasheed reminds us of that connection with the Almighty who has the power of changing anything and everything in our lives. Video Tags: Imam Khamenei warns the rulers of the Muslim countries to return to the Wilayat of Islam, Quran, and Allah. Why are they seeking refuge under the Wilayat of America? How in the world can Muslim rulers partner with the enemies of Islam to suppress and oppress Palestinians & Yemenis? Do they think they can win on these two fronts? This is a clear warning by the Leader! Video Tags: Who have you given your heart to? Allah guides some people, and others, He misguides. Why? Why is it that sometimes, logical arguments do not work and some people will insist on denying the truth even if they know it? Why is it that sometimes, we feel it is a difficult and heavy burden to worship Allah? What is this heart and who controls it? Video Tags: Sayyid Shahryar Naqvi reminds us of just how forgiving Allah is. Yes, we may have committed sins and transgressions, but it only takes a minute to reflect, repent and return to the path of compassion and kindness! Video Tags: Are you thinking negatively or positively? If the latter is correct, then you should know that your perception of all existence, life, the universe and everything reflects your inner feelings about Allah. Video Tags:
english
<gh_stars>1-10 package main import ( "context" "encoding/json" "errors" "flag" "fmt" "net/http" "net/http/httputil" "os" "golang.org/x/oauth2" "github.com/Masterminds/semver" ) type Commit struct { SHA string `json:"sha"` } type Config struct { Endpoint string Repo string Token string } type Label struct { Name string `json:"name"` } type PullRequest struct { Number int `json:"number"` Labels []Label `json:"labels"` } const ( PATCH int = 0 MINOR int = 1 MAJOR int = 2 ) func main() { var config Config flag.StringVar(&config.Endpoint, "endpoint", "https://api.github.com", "Specifies endpoint for sending requests") flag.StringVar(&config.Repo, "repo", "", "Specifies repo for sending requests") flag.StringVar(&config.Token, "token", "", "Github Authorization Token") flag.Parse() if config.Repo == "" { fail(errors.New(`missing required input "repo"`)) } if config.Token == "" { fail(errors.New(`missing required input "token"`)) } ctx := context.Background() ts := oauth2.StaticTokenSource( &oauth2.Token{AccessToken: config.Token}, ) ghClient := oauth2.NewClient(ctx, ts) // Validate that the repo exists uri := fmt.Sprintf("%s/repos/%s", config.Endpoint, config.Repo) resp, err := ghClient.Get(uri) if err != nil { fail(err) } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { dump, _ := httputil.DumpResponse(resp, true) fail(fmt.Errorf("failed to get repo: unexpected response: %s", dump)) } prevVersion, err := getLatestVersion(ghClient, config) if err != nil { fail(err) } // there are no releases on the repo if prevVersion == nil { fmt.Println("::set-output name=tag::0.0.1") os.Exit(0) } PRsWithSizes, err := getPRsSinceLastRelease(ghClient, config, prevVersion) if err != nil { fail(err) } largestChange := PATCH for _, v := range PRsWithSizes { if v > largestChange { largestChange = v } } next := calculateNextSemver(*prevVersion, largestChange) fmt.Printf("::set-output name=tag::%s", next.String()) } func fail(err error) { fmt.Printf("Error: %s", err) os.Exit(1) } func getLatestVersion(client *http.Client, config Config) (*semver.Version, error) { uri := fmt.Sprintf("%s/repos/%s/releases/latest", config.Endpoint, config.Repo) resp, err := client.Get(uri) if err != nil { return nil, err } defer resp.Body.Close() // The repo has no releases if resp.StatusCode == http.StatusNotFound { return nil, nil } if resp.StatusCode != http.StatusOK { dump, _ := httputil.DumpResponse(resp, true) return nil, fmt.Errorf("failed to get latest release: unexpected response: %s", dump) } var latestRelease struct { TagName string `json:"tag_name"` } err = json.NewDecoder(resp.Body).Decode(&latestRelease) if err != nil { return nil, fmt.Errorf("failed to decode latest release: %w", err) } prevVersion, err := semver.NewVersion(latestRelease.TagName) if err != nil { return nil, fmt.Errorf("latest release tag '%s' isn't semver versioned: %w", latestRelease.TagName, err) } return prevVersion, nil } func getPRsSinceLastRelease(client *http.Client, config Config, previous *semver.Version) (map[int]int, error) { PRsWithSizes := map[int]int{} uri := fmt.Sprintf("%s/repos/%s/compare/%s...main", config.Endpoint, config.Repo, previous.Original()) resp, err := client.Get(uri) if err != nil { return nil, err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { dump, _ := httputil.DumpResponse(resp, true) return nil, fmt.Errorf("failed to get commits since last release: unexpected response: %s", dump) } var comparison struct { Commits []Commit `json:"commits"` } err = json.NewDecoder(resp.Body).Decode(&comparison) if err != nil { return nil, fmt.Errorf("failed to parse commits since release response: %w", err) } for _, commit := range comparison.Commits { uri = fmt.Sprintf("%s/repos/%s/commits/%s/pulls", config.Endpoint, config.Repo, commit.SHA) resp, err = client.Get(uri) if err != nil { return nil, err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { dump, _ := httputil.DumpResponse(resp, true) return nil, fmt.Errorf("failed to get pull requests for commit: unexpected response: %s", dump) } var commitPRs []PullRequest err = json.NewDecoder(resp.Body).Decode(&commitPRs) if err != nil { return nil, fmt.Errorf("failed to parse commit PRs response: %w", err) } for _, pr := range commitPRs { for _, label := range pr.Labels { newSize, err := labelToSize(label.Name) if err != nil { continue } if prevSize, ok := PRsWithSizes[pr.Number]; ok && prevSize != newSize { return nil, fmt.Errorf("PR %d has multiple semver labels", pr.Number) } PRsWithSizes[pr.Number] = newSize } if _, ok := PRsWithSizes[pr.Number]; !ok { return nil, fmt.Errorf("PR %d has no semver label", pr.Number) } } } return PRsWithSizes, nil } func isSemverLabel(label string) bool { return label == "semver:patch" || label == "semver:minor" || label == "semver:major" } func labelToSize(label string) (int, error) { switch label { case "semver:patch": return PATCH, nil case "semver:minor": return MINOR, nil case "semver:major": return MAJOR, nil default: return -1, fmt.Errorf("not a semver label") } } func calculateNextSemver(previous semver.Version, largestChange int) semver.Version { switch largestChange { case 0: return previous.IncPatch() case 1: return previous.IncMinor() case 2: return previous.IncMajor() default: fail(fmt.Errorf("input change size doesn't correspond to patch/minor/major: %d", largestChange)) } return semver.Version{} }
go
<filename>lib/sdk/Libraries/BTLE/documentation/html/Cordio_Stack_Cordio_Profiles/structhci_enc_key_refresh_cmpl__t.js<gh_stars>0 var structhci_enc_key_refresh_cmpl__t = [ [ "hdr", "structhci_enc_key_refresh_cmpl__t.html#ac97516d6ee71ffd45814be51341193e6", null ], [ "status", "structhci_enc_key_refresh_cmpl__t.html#ab9616ac85ba37b08951540f0b6652793", null ], [ "handle", "structhci_enc_key_refresh_cmpl__t.html#a58cbec5360169751b72482cc799741f1", null ] ];
javascript
from pymodm import MongoModel, fields from models.target import Target from models.user import User class Dive(MongoModel): diver = fields.ReferenceField(User) target = fields.ReferenceField(Target) created_at = fields.DateTimeField() location_correct = fields.BooleanField() new_x_coordinate = fields.CharField(blank=True) new_y_coordinate = fields.CharField(blank=True) new_location_explanation = fields.CharField(blank=True) change_text = fields.CharField(blank=True) miscellaneous = fields.CharField(blank=True) class Meta: connection_alias = 'app' final = True @staticmethod def create( diver, target, location_correct, created_at, new_x_coordinate=None, new_y_coordinate=None, new_location_explanation=None, change_text=None, miscellaneous=None ): dive = Dive( diver, target, created_at, location_correct, new_x_coordinate, new_y_coordinate, new_location_explanation, change_text, miscellaneous ) dive.save() return dive def to_json(self): return { 'id': str(self._id) or None, 'diver': self.diver.to_json(), 'target': self.target.to_json(), 'location_correct': self.location_correct, 'created_at': str(self.created_at), 'miscellanious': self.miscellaneous, 'change_text': self.change_text, 'new_x_coordinate': self.new_x_coordinate, 'new_y_coordinate': self.new_y_coordinate, 'new_location_explanation': self.new_location_explanation, }
python
<gh_stars>10-100 package backtraceio.library.common; import static android.content.Context.ACTIVITY_SERVICE; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.bluetooth.BluetoothAdapter; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.location.LocationManager; import android.net.wifi.WifiManager; import android.nfc.NfcAdapter; import android.os.BatteryManager; import android.os.Build; import android.os.PowerManager; import android.provider.Settings; import android.text.TextUtils; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashMap; import java.util.UUID; import backtraceio.library.enums.BatteryState; import backtraceio.library.enums.BluetoothStatus; import backtraceio.library.enums.GpsStatus; import backtraceio.library.enums.LocationStatus; import backtraceio.library.enums.NfcStatus; import backtraceio.library.enums.WifiStatus; /** * Helper class for extract a device attributes */ public class DeviceAttributesHelper { private final Context context; public DeviceAttributesHelper(Context context) { this.context = context; } /** * Get attributes about device such as GPS status, Bluetooth status, NFC status * * @return device attributes */ public HashMap<String, String> getDeviceAttributes() { HashMap<String, String> result = new HashMap<>(); result.put("guid", this.generateDeviceId()); result.put("uname.sysname", "Android"); result.put("uname.machine", System.getProperty("os.arch")); result.put("cpu.boottime", String.valueOf(java.lang.System.currentTimeMillis() - android.os.SystemClock .elapsedRealtime())); result.put("device.airplane_mode", String.valueOf(isAirplaneModeOn())); result.put("device.location", getLocationServiceStatus().toString()); result.put("device.nfc.status", getNfcStatus().toString()); result.put("device.gps.enabled", getGpsStatus().toString()); result.put("device.bluetooth_status", isBluetoothEnabled().toString()); result.put("device.cpu.temperature", String.valueOf(getCpuTemperature())); result.put("device.is_power_saving_mode", String.valueOf(isPowerSavingMode())); result.put("device.wifi.status", getWifiStatus().toString()); result.put("system.memory.total", getMaxRamSize()); result.put("system.memory.free", getDeviceFreeRam()); result.put("system.memory.active", getDeviceActiveRam()); result.put("app.storage_used", getAppUsedStorageSize()); result.put("battery.level", String.valueOf(getBatteryLevel())); result.put("battery.state", getBatteryState().toString()); return result; } /** * Gets the state of Airplane Mode * * @return true if enabled. */ private boolean isAirplaneModeOn() { return Settings.Global.getInt(context.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0) != 0; } /** * Check is location service is enabled * * @return location status (enabled/disabled) */ private LocationStatus getLocationServiceStatus() { int mode = Settings.Secure.getInt(context.getContentResolver(), Settings.Secure .LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); if (mode != android.provider.Settings.Secure.LOCATION_MODE_OFF) { return LocationStatus.ENABLED; } return LocationStatus.DISABLED; } /** * Check is nfc available and enabled * * @return NFC status (not available, disabled, enabled) */ private NfcStatus getNfcStatus() { NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this.context); if (nfcAdapter == null) { return NfcStatus.NOT_AVAILABLE; } else if (!nfcAdapter.isEnabled()) { // NFC is available for device but not enabled return NfcStatus.DISABLED; } return NfcStatus.ENABLED; } /** * Check is bluetooth permitted and enabled * * @return Bluetooth status (not permitted, disabled, enabled) */ @SuppressLint("MissingPermission") private BluetoothStatus isBluetoothEnabled() { if (!PermissionHelper.isPermissionForBluetoothGranted(this.context)) { return BluetoothStatus.NOT_PERMITTED; } BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (mBluetoothAdapter.isEnabled()) { return BluetoothStatus.ENABLED; } return BluetoothStatus.DISABLED; } /** * Get device CPU temperature * * @return measured temperature value in degrees Celsius */ private float getCpuTemperature() { Process p; try { p = Runtime.getRuntime().exec("cat sys/class/thermal/thermal_zone0/temp"); p.waitFor(); BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream())); String line = reader.readLine(); if (line == null) { return 0.0f; } return Float.parseFloat(line) / 1000.0f; } catch (Exception e) { return 0.0f; } } /** * Get GPS status * * @return GPS status (enabled/disabled) */ private GpsStatus getGpsStatus() { LocationManager manager = (LocationManager) this.context.getSystemService(Context .LOCATION_SERVICE); return manager.isProviderEnabled(LocationManager.GPS_PROVIDER) ? GpsStatus.ENABLED : GpsStatus.DISABLED; } /** * Check Wifi status ('enabled', 'disabled', 'not permitted' to get wifi status) * Requires permission.ACCESS_WIFI_STATE * * @return Wifi status */ private WifiStatus getWifiStatus() { if (!PermissionHelper.isPermissionForAccessWifiStateGranted(this.context)) { return WifiStatus.NOT_PERMITTED; } WifiManager mng = (WifiManager) context.getApplicationContext().getSystemService(Context .WIFI_SERVICE); if (mng.isWifiEnabled()) { return WifiStatus.ENABLED; } return WifiStatus.DISABLED; } /** * Check is power saving mode activated * * @return is power saving mode activated */ // TODO: replace bool to enum private boolean isPowerSavingMode() { if (Build.VERSION.SDK_INT < 21) { return false; } PowerManager powerManager = (PowerManager) this.context.getSystemService(Context .POWER_SERVICE); return powerManager.isPowerSaveMode(); } /** * Get a battery level in float value (from 0.0 to 1.0) or -1 if error occurs * * @return battery level from 0.0 to 1.0 or -1 if error occurs */ private float getBatteryLevel() { IntentFilter intentFilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED); Intent batteryStatus = this.context.registerReceiver(null, intentFilter); if (batteryStatus == null) { return -1.0f; } int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1); return level / (float) scale; } /** * Get battery state * * @return battery state (full, charging, unplaggeed, unknown) */ private BatteryState getBatteryState() { IntentFilter intentFilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED); Intent batteryStatus = context.registerReceiver(null, intentFilter); if (batteryStatus == null) { return BatteryState.UNKNOWN; } int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1); switch (status) { case BatteryManager.BATTERY_STATUS_FULL: return BatteryState.FULL; case BatteryManager.BATTERY_STATUS_CHARGING: return BatteryState.CHARGING; case BatteryManager.BATTERY_STATUS_NOT_CHARGING: return BatteryState.UNPLUGGED; default: return BatteryState.UNKNOWN; } } /** * Generate unique identifier to unambiguously identify the device * * @return unique device identifier */ private String generateDeviceId() { String androidId = Settings.Secure.getString(this.context.getContentResolver(), Settings.Secure.ANDROID_ID); if (TextUtils.isEmpty(androidId)) { return null; } return UUID.nameUUIDFromBytes(androidId.getBytes()).toString(); } /** * Get RAM size of current device * available from API 16 * * @return device RAM size */ private String getMaxRamSize() { return Long.toString(getMemoryInformation().totalMem); } private String getDeviceFreeRam() { return Long.toString(getMemoryInformation().availMem); } private String getDeviceActiveRam() { ActivityManager.MemoryInfo mi = getMemoryInformation(); return Long.toString(mi.totalMem - mi.availMem); } private ActivityManager.MemoryInfo getMemoryInformation() { ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); ActivityManager activityManager = (ActivityManager) this.context.getSystemService (ACTIVITY_SERVICE); activityManager.getMemoryInfo(memInfo); return memInfo; } private String getAppUsedStorageSize() { long freeSize = 0L; long totalSize = 0L; long usedSize = -1L; try { Runtime info = Runtime.getRuntime(); freeSize = info.freeMemory(); totalSize = info.totalMemory(); usedSize = totalSize - freeSize; } catch (Exception e) { e.printStackTrace(); } return Long.toString(usedSize); } }
java
{ "TOTAL_MEMORY": 268435456, "dataUrl": "webgl-build.data.unityweb", "asmCodeUrl": "webgl-build.asm.code.unityweb", "asmMemoryUrl": "webgl-build.asm.memory.unityweb", "asmFrameworkUrl": "webgl-build.asm.framework.unityweb", "graphicsAPI": ["WebGL 2.0", "WebGL 1.0"], "webglContextAttributes": {"preserveDrawingBuffer": false}, "splashScreenStyle": "Dark", "backgroundColor": "#231F20" }
json
<filename>18/Schriftliche Frage/18-82008.json { "vorgangId": "82008", "VORGANG": { "WAHLPERIODE": "18", "VORGANGSTYP": "Schriftliche Frage", "TITEL": "Auswertung von Datenträgern von Flüchtlingen zur Beurteilung des Asylgrunds", "AKTUELLER_STAND": "Beantwortet", "SIGNATUR": "", "GESTA_ORDNUNGSNUMMER": "", "WICHTIGE_DRUCKSACHE": { "DRS_HERAUSGEBER": "BT", "DRS_NUMMER": "18/11947", "DRS_TYP": "Schriftliche Fragen", "DRS_LINK": "http://dipbt.bundestag.de:80/dip21/btd/18/119/1811947.pdf" }, "EU_DOK_NR": "", "SCHLAGWORT": [ "Asylverfahren", { "_fundstelle": "true", "__cdata": "Flüchtling" }, { "_fundstelle": "true", "__cdata": "Mobiltelefon" } ], "ABSTRAKT": "Originaltext der Frage(n): \r\n \r\nInwiefern teilt die Bundesregierung die Auffassung der Leiterin des Bundesamtes für Migration und Flüchtlinge, dass \"mit diesen [Handy-]Daten [&hellip;] es auch leichter zu beurteilen [wäre], ob die Antragsteller tatsächlich einen Asylgrund haben (www.rp-online.de/politik/deutschland/bamf-chefin-jutta-cordt-asyl-altverfahren-bis-ende-des-fruehjahres-abbauen-aid-1.6725166), und inwiefern wäre dies nach ihrer Auffassung vereinbar mit § 15a des Aufenthaltsgesetzes (AufenthG) i. d. F. des Gesetzentwurfs zur besseren Durchsetzung der Ausreisepflicht (Bundestagsdrucksache 18/11546), wonach die Auswertung von Datenträgern nur zulässig sein soll, soweit dies für die Feststellung der Identität und Staatsangehörigkeit des Ausländers erforderlich ist, und dem Grundrecht auf informationelle Selbstbestimmung?" }, "VORGANGSABLAUF": { "VORGANGSPOSITION": { "ZUORDNUNG": "BT", "URHEBER": "Schriftliche Frage/Schriftliche Antwort ", "FUNDSTELLE": "13.04.2017 - BT-Drucksache 18/11947, Nr. 14", "FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/18/119/1811947.pdf", "PERSOENLICHER_URHEBER": [ { "VORNAME": "Volker", "NACHNAME": "Beck", "WAHLKREISZUSATZ": "Köln", "FUNKTION": "MdB", "FRAKTION": "BÜNDNIS 90/DIE GRÜNEN", "AKTIVITAETSART": "Frage" }, { "PERSON_TITEL": "Dr.", "VORNAME": "Günter", "NACHNAME": "Krings", "FUNKTION": "Parl. Staatssekr.", "RESSORT": "Bundesministerium des Innern", "AKTIVITAETSART": "Antwort" } ] } } }
json