text
stringlengths
3
1.05M
<eml xmlns:ns0="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="knb-lter-europe-deims.13344.14493" system="knb-lter-europe-deims" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 https://code.ecoinformatics.org/code/eml/tags/RELEASE_EML_2_1_1/eml.xsd"> <access...
using namespace std::placeholders; ScreenStack::ScreenStack() : m_bus(std::bind(&ScreenStack::onScreenMessage, this, _1)) { } void ScreenStack::clearStack() { m_stack.clear(); } void ScreenStack::onDraw(sf::RenderTarget& target) { for(int id : m_stack) m_states.at(id)->render(target); } void ScreenStack::onE...
tinyMCE.addToLang('',{ bold_desc : 'Полужирный', italic_desc : 'Курсив', underline_desc : 'Подчеркнутый', striketrough_desc : 'Перечеркнутый', justifyleft_desc : 'Выравнивание влево', justifycenter_desc : 'Выравнивание по центру', justifyright_desc : 'Выравнивание вправо', justifyfull_desc : 'Равномерное заполнение', b...
import isBrowser from 'is-browser'; import colors from 'colour'; import ansi from 'ansi-webkit'; import df from 'dateformat'; import unzip from 'lodash/unzip'; import compact from 'lodash/compact'; colors.mode = 'console'; colors.setTheme({ // Levels. log: 'gray', warn: ['yellow', 'bold'], error: ['red', 'b...
import { mapsLookup } from '../maps'; import MapMetadata from './MapMetadata'; export default function loadMap(key: string) { if (key in mapsLookup) { const metadata = new MapMetadata(mapsLookup[key]); return metadata.loadMap().then(object => ({ metadata, object })); } return Promise.reject(new Error(...
using ManagerShop.DTOModel; using ManagerShop.DTOModel.Sys_Factory; using System; using System.Collections.Generic; using System.ServiceModel; namespace ManagerShop.Service.Contract.Sys_Factory { public interface IFac_Master_PortAppService { [OperationContract] ServiceResult CreateNewFacPort(D...
<?php namespace MOC\V\Core\FileSystem\Component\Bridge\Repository; use MOC\V\Core\AutoLoader\AutoLoader; use MOC\V\Core\FileSystem\Component\Bridge\Bridge; use MOC\V\Core\FileSystem\Component\IBridgeInterface; use MOC\V\Core\FileSystem\Component\Parameter\Repository\FileParameter; use Symfony\Component\Finder\Finder; ...
package com.zkay import com.zkay.Listing1_6.{Account, Balance} import com.zkay.Listing1_6.AccountService._ import com.zkay.Utils.now import org.specs2.mutable.Specification import scala.util.Try class Listing1_6Spec extends Specification { "should track balance with Tries" in { val a = Account("a1", "John", no...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>relation-extraction: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
package iscsi import ( "os" "testing" "github.com/qingyuancloud/QingYuan/pkg/api" "github.com/qingyuancloud/QingYuan/pkg/types" "github.com/qingyuancloud/QingYuan/pkg/util/mount" "github.com/qingyuancloud/QingYuan/pkg/volume" ) func TestCanSupport(t *testing.T) { plugMgr := volume.VolumePluginMgr{} plugMgr...
#import <UIKit/UIKit.h> @interface CookieController : UITableViewController @end
<?php /* Unsafe sample input : get the field userData from the variable $_GET via an object sanitize : none construction : concatenation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this softwa...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>stalmarck-tactic: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace DotSpatial.Symbology.Forms { /// <summary> /// LabelAlignmentControl. /// </summary> [ToolboxItem(false)] [DefaultE...
package armfrontdoor_test import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor" ) // Generated from example definition: https://github.com/Azure/azure-rest-api-s...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
using namespace apache::thrift::transport; using namespace apache::thrift::protocol; using std::make_shared; int main() { auto trans = make_shared<TMemoryBuffer>(4096); TBinaryProtocol proto(trans); int i = proto.writeString(std::string("Hello Thrift Serialization")); std::cout << "Wrote " << i << " b...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Advanced form elements</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Id...
package de.craften.plugins.rpgplus.components.entitymanager; import de.craften.plugins.rpgplus.components.entitymanager.traits.OcelotTrait; import org.bukkit.Location; import org.bukkit.entity.EntityType; import org.bukkit.entity.Ocelot; /** * A managed ocelot. */ public class ManagedOcelot extends RpgPlusEntity<Oc...
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/cpu.h" #include <inttypes.h> #include <limits.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include <algorithm> #include <sstream> #include <...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>goeswith</title> <link rel=...
package farming.app; /** * The {@code Main} class is the entry point of the application. Simulation starts from here * * @author Sammy N Ukavi Jr * @version 1.0 */ public class Main { /** * The main entry point of the application * * @param args the command line arguments */ public s...
<?php use_helper('VoUser'); ?> <div class="review-avatar"> <?php if(!$review->getAnonymous()): ?> <?php echo getAvatar( $review->getsfGuardUser() ) ?> <?php else: ?> <?php echo image_tag(S3Voota::getImagesUrl().'/usuarios/v.png', array('alt' => __('Vooto secreto (está en su derecho)'), 'width' => 36, 'heigh...
<?php /* @WebProfiler/Profiler/toolbar.css.twig */ class __TwigTemplate_2e928cfe581785e9c95f8aad23f73bf1937f15e703ab40dbe2daa48d3a5762a7 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array...
package org.gradoop.flink.model.impl.operators.matching.common.query.predicates.booleans; import org.gradoop.flink.model.impl.operators.matching.common.query.predicates.CNF; import org.gradoop.flink.model.impl.operators.matching.common.query.predicates.expressions.ComparisonExpression; import org.junit.Test; import o...
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/device/bluetooth/le/gatt_client_manager_impl.h" #include <string> #include "base/bind.h" #include "base/logging.h" #include "base/m...
<div class="modal" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content" ng-controller="PublicLinkCtrl"> <form name="public_linkForm"> <div class="modal-header" ng-show="title"><h4 class="modal-title" ng-bind="title | translate"></h4></div> ...
package com.wolfapp.testcase; import java.io.IOException; import java.nio.ByteBuffer; import java.util.logging.Logger; import com.google.appengine.api.images.Image; import com.google.appengine.api.images.Image.Format; import com.google.appengine.api.images.ImagesService; import com.google.appengine.api.images.ImagesS...
#include <stdio.h> #include <GL/glfw.h> void initGlScene(); void renderGlScene(double delta); void doRenderingLoop(); double lastSceneRendered, currentSceneRendered; void renderFrame() { currentSceneRendered = glfwGetTime(); renderGlScene(currentSceneRendered - lastSceneRendered); lastSceneRendered = cur...
package io.opensec.oval.model.windows; import io.opensec.oval.model.ComponentType; import io.opensec.oval.model.ElementRef; import io.opensec.oval.model.Family; import io.opensec.oval.model.definitions.EntityStateBoolType; import io.opensec.oval.model.definitions.EntityStateIntType; import io.opensec.oval.model.defin...
/* OpenGL loader generated by glad 0.1.11a0 on Fri Jul 8 14:13:06 2016. Language/Generator: C/C++ Specification: gl APIs: gl=4.3 Profile: compatibility Extensions: Loader: True Local files: False Omit khrplatform: False Commandline: --profile="compatibility" ...
package org.efaps.esjp.products; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.NumberFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import org.efaps.admi...
<!DOCTYPE html> <html> <head> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <!-- Optional theme --> <link rel="styl...
<?php // GENERATED CODE -- DO NOT EDIT! // Original file comments: // Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/L...
/* $OpenBSD: osf1_generic.c,v 1.1 2000/08/04 15:47:55 ericj Exp $ */ /* $NetBSD: osf1_generic.c,v 1.1 1999/05/01 05:06:46 cgd Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
title: "Use secrets management in Sensu" linkTitle: "Use Secrets Management" guide_title: "Use secrets management in Sensu" type: "guide" description: "Sensu's secrets management allows you to avoid exposing secrets like usernames and passwords in your Sensu configuration. In this guide, you'll learn how to use Sensu's...
<!-- @license Apache-2.0 Copyright (c) 2018 The Stdlib Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
require "bixby-client/model/base" Dir.glob(File.expand_path("../model/*.rb", __FILE__)).each do |f| require f end
The MIT License (MIT) Copyright (c) 2015 Fox Wilson and GitHub contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("03...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32spawnl_83_goodG2B.cpp Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-83_goodG2B.tmpl.cpp */ /* * @description * CWE: 78 OS Command Injection * BadSource: connec...
/* * */ package com.qdev.craftmeapass; import android.app.Activity; import android.graphics.Typeface; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; ...
<?php namespace MushroomFramework\View\Exceptions; class ViewException extends \Exception { }
package hackthe6ix.wakkawakka; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Bundle; import android.provider.Settings; import android.support.desi...
<?php namespace LogMon\LogReader; use LogMon\LogConfig\IConfig; use LogMong\LogConfig\FieldMapping; class Manager { /** * build a log reader special to the project's log storage type. * * @param LogMon\LogConfig\IConfig $logConfig * @static * @access public * @return \LogMon\LogReader\IReader * @throw...
require 'spec_helper' describe CanTango::PermitStore::Execute::Statement::Single do before do @method = :can @actions = :edit @conditions = 'Project' @statement = CanTango::PermitStore::Execute::Statement.new @method, @actions, @conditions end describe 'init' do subject { @statement } ...
Run like so ./hello-world.sh Make sure the file is set to be executable: If using a linux system, type: chmod +x ./hello-world.sh
<?php class Server_Command extends WP_CLI_Command { /** * Launch PHP's built-in web server for this specific WordPress installation. * * <http://php.net/manual/en/features.commandline.webserver.php> * * ## OPTIONS * * [--host=<host>] * : The hostname to bind the server to. Default: localhost * * ...
(function() { var Student, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ ...
import optparse import sys import cryptutils class RailFence(object): key = None def __init__(self,key): self.key = len(key) def getRows(self,nrails,nchars): lc = (nrails-1)*2 nc = nchars//lc nrem = nchars % lc c1 = range(0,nrails) c2 = range(nrails-2,0,-1) ...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@color/colorAccent" android:state_focused="true" /> <item android:drawable="@color/colorAccent" android:state_selected="true" /> <item android:drawable="@color/colorAccent" an...
package org.cloudfoundry.reactor; import java.util.Optional; import org.immutables.value.Value; import reactor.netty.http.client.HttpClientResponse; @Value.Immutable public interface _HttpClientResponseWithParsedBody<T> { @Value.Parameter Optional<T> getBody(); @Value.Parameter HttpClientResponse ...
module VerifiedDouble class MethodSignature class RspecDoubleValue < InstanceValue def content_as_instance Value.from(content_class).content_as_instance end def content_class result = content.instance_variable_get('@name') result.is_a?(Class) ? result : result.constanti...
package main import ( "gopkg.in/mgo.v2/bson" ) type Application struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` } type Device struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` EUI string `json:"eui...
FROM rust:1.34.0 ADD ./ /actix WORKDIR /actix RUN cargo clean RUN RUSTFLAGS="-C target-cpu=native" cargo build --release CMD ./target/release/actix-diesel
/** * Syncopate - Turn async to sync in JS * * @version 0.0.4 * @author Christian Blanquera <cblanquera@openovate.com> * @website https://github.com/cblanquera/syncopate * @license MIT */ (function() { /* Definition -------------------------------*/ var syncopate = function() { /* Constants --------------...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.daniel.inflaterdemo" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19" /> <applicati...
yum -y install cloud-init echo "==> Cleaning up yum cache of metadata and packages to save space" yum -y clean all rm -rf /tmp/* rm -f /etc/udev/rules.d/70-persistent-net.rules #sed -i 's|^disable_root:.*|disable_root: 0|g' /etc/cloud/cloud.cfg #sed -i 's|^ssh_pwauth:.*|ssh_pwauth: 1|g' /etc/cloud/cloud.cfg fstri...
import React, { Component } from 'react' import { Header } from 'semantic-ui-react' import users from './prizes.json' import PrizeGrid from './components/PrizeGrid' class PrizesView extends Component { render() { return ( <div> <Header as='h1'>Prizes</Header> <p> Click the button ...
using namespace SideCar::Algorithms; using namespace SideCar::Messages; #include "Utils/VsipVector.h" #include <vsip/math.hpp> IQ2AmplitudePhase::IQ2AmplitudePhase(Controller& controller, Logger::Log& log) : Algorithm(controller, log), param_k(Parameter::DoubleValue::Make("k", 2)), old(0), older(0) { } bool IQ2A...
<?php namespace Yeriomin\ConsoleApp; /** * Console service interface * The only method tha needs to be implemented is run() * It must do all the work... * * @author yeriomin */ interface ConsoleAppInterface { /** * Do the service's useful work * * @return void */ public function run(...
<!--<div class="list-group">--> <br> <div class="row text-primary "> <div class="col-lg-6 col-lg-offset-3 col-xs-6 col-xs-offset-3"> <input type="text" ng-model="searchText" class="form-control" placeholder="Filter players..."> </div> </div> <div class="panel panel-default" data-ng-repeat="team in team...
#region License #endregion using System; using System.Globalization; using System.Threading; using System.Web; using FakeItEasy; using NUnit.Framework; using Spring.Globalization.Resolvers; using Spring.Objects; using Spring.TestSupport; using Spring.Validation; using Spring.Web.Support; na...
<!DOCTYPE html> <html lang="en"> <head> <!-- (☞゚∀゚)☞ Hey there, Feel free to have a look around. Some tricks with jquery were used to get the highlighting working. Otherwise, jQuery could've been left out of these examples. html escaper for examples : http://www.freeformatter.com/html-escap...
package org.wikipedia.page; import android.content.Intent; import android.net.Uri; import android.support.annotation.IdRes; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.NavigationView; import android.support.v4.app.Fragment; import android....
<?php namespace utest\config\unit; use umi\config\entity\IConfigSource; use umi\config\exception\RuntimeException; use umi\config\io\IConfigIO; use umi\config\io\reader\PhpFileReader; use umi\config\io\writer\PhpFileWriter; use utest\config\ConfigTestCase; /** * Тесты reader'а php конфигурации. */ class PhpFileWr...
import sys sys.path.append('.') from pyDist import Interfaces, intercom, exSheet import concurrent import logging import urllib.request import json import os import time import asyncio import subprocess from pyDist.TaskManager import TaskManager import tests.testerHelpers as testHelpers #logging ut...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Thu Feb 08 09:04:07 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.wildfly.s...
layout: post title: "Interpretability vs. Flexibility of Different Models" date: 2014-10-01 14:19:36 -0400 comments: true categories: cartoon keywords: "interpretability, flexibility, statistical learning methods, machine learning methods, xkcd, R xkcd package" published: true share: true ads: true --- ![](/images/xkc...
// Code generated by go-swagger; DO NOT EDIT. // Copyright Authors of Cilium // SPDX-License-Identifier: Apache-2.0 package daemon // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.co...
import os import sys from IPython import start_ipython from subprocess import check_output ipyversion = check_output(["ipython", "ipython", "--version"]).decode("utf-8") if ipyversion[0] == "4": sys.exit(start_ipython(["notebook", "--config=" + os.environ["beaker_ipython_notebook_config"]])) else: sys.exit(start_i...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="pandoc" /> <title>Data transformation and exploratory data analysis</title> <script src="site_libs/jquery-1.11.3/jquery....
<?php namespace Jira\VacuumBundle\Entity; class Login { protected $login; protected $password; public function getLogin() { return $this->login; } public function setLogin($login) { $this->login = $login; } public function getPassword() { return $this...
package main.java.theMachine; import java.awt.Image; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import org.opencv.core.Mat; import org.opencv.core.MatOfRect; import org.opencv.core.Po...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>equations: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</gr...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/content/base/public/nsIEventSource.idl */ #ifndef __gen_nsIEventSource_h__ #define __gen_nsIEventSource_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL f...
<?php namespace Bogardo\Mailgun\Facades; use Illuminate\Support\Facades\Facade; class Mailgun extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'mailgun'; } }
Describe "Set-JiraConfigServer" -Tag 'Unit' { BeforeAll { Remove-Item -Path Env:\BH* $projectRoot = (Resolve-Path "$PSScriptRoot/../..").Path if ($projectRoot -like "*Release") { $projectRoot = (Resolve-Path "$projectRoot/..").Path } Import-Module BuildHelpers ...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Famoser.OfflineMedia.UnitTests")] [assemb...
<!DOCTYPE html> <script src="utils.js"></script> <script src="session-history-harness.js"></script> <body> <script> const urlParams = new URLSearchParams(window.location.search); const prerender = urlParams.get("prerender"); const testName = urlParams.get("testName"); const prerenderChannel = new Bro...
package org.elasticsearch.search.query; import com.carrotsearch.randomizedtesting.generators.RandomPicks; import com.google.common.collect.Sets; import org.elasticsearch.action.admin.indices.create.CreateIndexRequestBuilder; import org.elasticsearch.action.index.IndexRequestBuilder; import org.elasticsearch.action.se...
package com.crazyhitty.chdev.ks.popularmovies.ui.fragments; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.content.ContextCompat; import android.text.TextUtils; import android...
import { Part } from '../lit-html.js'; /** * Renders the content of a template element as HTML. * * Note, the template should be developer controlled and not user controlled. * Rendering a user-controlled template with this directive * could lead to cross-site-scripting vulnerabilities. */ export declare const t...
@implementation UITableViewCell (WSAutoLayoutHeigh) - (CGFloat)calculateHeightForAutolayoutCell { [self setNeedsLayout]; [self layoutIfNeeded]; CGSize size = [self.contentView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize]; return size.height; } @end
from typing import List from tensorflow_docs.api_generator import doc_controls from tensorflow_docs.api_generator import obj_type as obj_type_lib from tensorflow_docs.api_generator import parser from tensorflow_docs.api_generator.pretty_docs import base_page class ModulePageBuilder(base_page.TemplatePageBuilder): ...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
package com.alachisoft.tayzgrid.serialization.standard.io.surrogates; import com.alachisoft.tayzgrid.runtime.exceptions.ArgumentException; import com.alachisoft.tayzgrid.runtime.util.NCDateTime; import com.alachisoft.tayzgrid.serialization.core.io.CacheObjectInput; import com.alachisoft.tayzgrid.serialization.core.io...
package org.noear.ddcat.dao.engine.sdVewModel; import android.text.TextUtils; import org.noear.ddcat.dao.engine.DdSource; import org.noear.ddcat.models.PicModel; import org.noear.ddcat.models.SectionModel; import org.noear.ddcat.models.TxtModel; import org.noear.ddcat.viewModels.ViewModelBase; import org.noear.sited....
'use strict'; var servicesModule = require('./_index.js'); /** * @ngInject */ function ViaplayService($resource) { return $resource('https://content.viaplay.se/web-se/:category/:title'); } servicesModule.service('ViaplayService', ViaplayService);
A website for storing a users listening history as well as their ratings and comments. We use the Librivox API found at https://librivox.org/api/info ### Functionality Roadmap - User Login - Various searches to find specific audiobooks - Title - Author - Genre - Reader - Two collections where audioboo...
package container import ( "encoding/json" "testing" apicontainerstatus "github.com/aws/amazon-ecs-agent/agent/api/container/status" "github.com/stretchr/testify/assert" ) func TestUnmarshalOldTransitionDependencySet(t *testing.T) { bytes := []byte(`{ "ContainerDependencies": [ { "ContainerName":...
"use strict"; let Datastore = require('nedb'); let parse = require('csv-parse'); const fs = require('fs'); let path = require('path'); class JokeRepo { constructor() { this.jokes = new Datastore({ filename : "schemas/jokes.json", autoload : true }); this.jokes.ensureIndex({ rnd: 1 }); } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
package net.thetabx.gksa.libGKSj.objects; import android.os.SystemClock; import android.util.Log; import net.thetabx.gksa.libGKSj.objects.enums.GClass; import net.thetabx.gksa.libGKSj.objects.enums.GStatus; import net.thetabx.gksa.libGKSj.objects.enums.SizeUnit; import org.jsoup.Jsoup; import org.jsoup.nodes.Documen...
package org.jboss.pnc.dto.requests; import org.jboss.pnc.dto.BuildConfiguration; import org.jboss.pnc.dto.validation.constraints.SCMUrl; import javax.validation.constraints.NotBlank; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder; ...
require 'spec_helper' describe SlackGamebot::Hooks::UserChange do let(:app) { SlackGamebot::App.new } context 'with a user' do before do @user = Fabricate(:user) end it 'renames user' do app.send(:user_change, type: 'user_change', user: { id: @user.user_id, name: 'updated' }) expect(@...
package com.action.effectivejava3.item29; /** * Summary: * * @author wuyunfeng * @date 09. 8月 2019 09:53 */ public class EmptyStackException extends RuntimeException { }
package com.bq.corbel.resources.api; /** * @author Alexander De Leon * */ public interface ApiVersion { String V1_0 = "v1.0"; String CURRENT = V1_0; }