text stringlengths 3 1.05M |
|---|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Enum. pl. 2:881. 1809
#### Original name
null
### Remarks
null |
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
using System;
using System.Web;
using WebFinancial;
public partial class Account_RegisterExternalLogin : System.Web.UI.Page
{
protected string ProviderName
{
get { return (string)ViewState["ProviderName"] ?? String.Empty; }
... |
Check whether a value is empty or blank.
## Installation
```
npm i --save is-blank
```
## Usage
```javascript
var isBlank = require('is-blank')
isBlank([]) // => true
isBlank({}) // => true
isBlank(0) // => true
isBlank(function(){}) // => true
isBlank(null) //... |
% ============================================================
% botUpChartParse.pl
%
% A simple bottom-up chart parser
%
% Example Query:
% ?- parse6(s, [the,cat,sings]).
%
% The program was taken from [Gazdar/Mellish, 1989], but it
% has been modified to a large extent.
% =============================================... |
<?xml version="1.0" encoding="UTF-8"?>
<Configuration package="log4j.test" status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
</Console>
</Appenders>
<Loggers>
<Logger name="log4j.test.Log4jTest" level="trac... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ NOTICE
~
~ This is the copyright work of The MITRE Corporation, and was produced for
~ the U. S. Government under Contract Number DTFAWA-10-C-00080, and is subject
~ to Federal Aviation Administration Acquisition Management System Clause
~ 3.5-13, Rights In Data... |



> a easy way to use [mrmrs](https://github.com/mrmrs)´ awesome [colors](https://github.com/mrmrs/colors) for the web.
<div align="center"><img src="https://cloud.githubusercontent.co... |
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- END MUNGE: UNVERSIONED_WARNING -->
# Garbage Collection
- [Introduction](#introduction)
- [Image Collection](#image-collection)
- [Container Collection](#container-collection)
- [User Configuration](#user-configuration)
### Introduction
Garbage collection is managed ... |
google-site-verification: google8ec2e031cb0924e1.html |
import boto3
import json
import re
ml_bucket = 'aml-an-intro'
batch_data_location = 'batch-prediction-upload/adultincomebatch1.csv'
schema_data_location = 'batch-prediction-upload/adultincomebatchschema.json'
# load data
s3 = boto3.resource('s3')
with open('adulttotest.csv', 'r') as data:
s3.Bucket(ml_bucket).put_... |
<?xml version="1.0" encoding="UTF-8"?>
<version branch='master'>1.1</version>
|
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("Ca... |
//
// QCTopic.h
// QCTabbarController
//
// Created by 程庆春 on 16/4/1.
// Copyright © 2016年 QC Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface QCTopic : NSObject
/**
* 用户头像
*/
@property (nonatomic, copy) NSString *profile_image;
/**
* 帖子的内容
*/
@property (strong, nonatomic) NSString* ... |
<?php
namespace Tests;
use Joe\Content\Factory\ArtFactory;
class ChildArtFactory extends ArtFactory{
/**
* @return mixed
*/
public function getClazz()
{
return $this->getClass();
}
}
class ArtFactoryTest extends TestsAbstract
{
public function testCreateArtFactory()
{
... |
// Copyright (c) 2016 Pani Networks
// All Rights Reserved.
//
// 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 appl... |
import { Box } from './Box';
import { Sphere } from './Sphere';
export { Box, Sphere }; |
package com.intellij.codeInsight.daemon.impl.quickfix;
import com.intellij.codeInsight.CodeInsightUtilCore;
import com.intellij.codeInsight.completion.JavaLookupElementBuilder;
import com.intellij.codeInsight.daemon.QuickFixBundle;
import com.intellij.codeInsight.generation.GenerateMembersUtil;
import com.intellij.co... |
package com.google.android.exoplayer2.audio;
import com.google.android.exoplayer2.C;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/**
* Interface for audio processors, which take audio data as input and transform it, potentially
* modifying its channel count, encoding and/or sample rate.
* <p>
* Call {... |
namespace Studio
{
//-------------------------- ContentManager ---------------------------------
//---------------------------------------------------------------------------
class CONTENTPLUGIN_EXPORT ContentManager : public QObject
{
Q_OBJECT
public:
virtual QString basepath() const = 0;
... |
module.exports = function(request, response) {
//if path does not starts with /user
if((request.path !== '/batch'
&& request.path.indexOf('/batch/') !== 0)
|| response.processing) {
//do nothing
return;
}
response.processing = 'batch';
//trim the prefix
var root = this.package('batch').path('action')... |
package edu.turtlekit2.ui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import javax.swing.ButtonGroup;
... |
package com.moarperipherals.handler;
import com.moarperipherals.config.ConfigData;
import com.moarperipherals.util.LogUtil;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent;
import net.minecraft.world.World;
import java.util.Collections;
import java.util.HashMap;... |
/*
* 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 t... |
package org.springframework.social.showcase.signin;
import javax.inject.Inject;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.security.web.WebAttributes;
import org.springframework.security.web.savedreque... |
import numpy as np
def gcd(a, b, method=None):
r"""
Calculates the greatest common divisor of two integers using the Euclidean
algorithm. Methods for computing the GCD are called from the GCD class.
Both :math:`a` and :math:`b` cannot be 0. Please see the GCD class for
more documentati... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
"""
Tests for AMF utilities.
@author: U{Nick Joyce<mailto:nick@boxdesign.co.uk>}
@since: 0.1.0
"""
import unittest
from datetime import datetime
from StringIO import StringIO
from pyamf import util
from pyamf.tests import util as _util
class TimestampTestCase(unittest.TestCase):
"""
Test UTC timestamps.
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>buchberger: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/home/richard/AndroidStudioProjects/MatMap/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/values-ro/values.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_bar_home_description">"N... |
from oweb.views.basic import *
from oweb.views.account import *
from oweb.views.planet import *
from oweb.views.updates import *
from oweb.views.tools import *
|
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE DefaultSignatures #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
module Basement.IntegralConv
( IntegralDown... |
/* This file is automatically generated; do not edit. */
/* Add the files to be included into Makefile.am instead. */
#include <orea/scenario/aggregationscenariodata.hpp>
#include <orea/scenario/scenariosimmarketparameters.hpp>
#include <orea/scenario/scenario.hpp>
#include <orea/scenario/scenariofactory.hpp>
#inc... |
.class public Lcom/mediatek/drm/OmaDrmStore$DrmRequestResult;
.super Ljava/lang/Object;
.source "OmaDrmStore.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mediatek/drm/OmaDrmStore;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.co... |
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
def get_unspent(listunspent, amount):
for utx in listunspent:
if utx['amount'] == amount:
return utx
raise AssertionError('Could not find unspent with amount={}'.format(amount))
class RawTran... |
import json
import os
import sys
import pandas
import tifftools
if not len(sys.argv[1:]) or '--help' in sys.argv[1:]:
print("""test_compression_summary.py (directory) (csv output file)
Check each file in the specified directory and gather appropriate statistics
into csv output.""")
sys.exit(0)
results = []
f... |
body,html{
background:#046B68;
}
.container{
font-size:12px;
font-family:Calibri;
padding:0;
margin:0;
background:#046B68 url(../../images/theme/green/bg1.gif) center top repeat-x;
}
.functree
{
margin:0;
padding:0;
}
.functree ul,.functree li
{
list-style-type:none;
margin:0;
padding:0;
}
.functree li
{
... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.evaluator.react" >
</manifest>
|
using namespace boost::filesystem;
FileDataDBManager::FileDataDBManager(std::string root, std::string ext) : managedExtension(ext)
{
path p(root);
if(exists(p))
{
getFiles(p);
getDirs(p);
}
else
throw InvalidPathException(root + ": path does not exist");
}
void FileDataDBManager::getFiles(path p)
{
std::l... |
#region References
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using TestR.Internal;
#endregion
namespace Te... |
namespace media {
V4L2Device::V4L2Device(Type type) : type_(type) {}
V4L2Device::~V4L2Device() {}
// static
scoped_refptr<V4L2Device> V4L2Device::Create(Type type) {
DVLOG(3) << __PRETTY_FUNCTION__;
scoped_refptr<GenericV4L2Device> generic_device(new GenericV4L2Device(type));
if (generic_device->Initialize())... |
using Nancy;
using Nancy.ModelBinding;
using Nancy.Cookies;
namespace NancyTDD.Web
{
public class TestModule : NancyModule
{
public TestModule()
{
Get["/http"] = _ =>
{
if (Context.Request.Url.IsSecure)
{
return HttpSta... |
"""Hierarchical Token Bucket traffic shaping.
Patterned after U{Martin Devera's Hierarchical Token Bucket traffic
shaper for the Linux kernel<http://luxik.cdi.cz/~devik/qos/htb/>}.
@seealso: U{HTB Linux queuing discipline manual - user guide
<http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm>}
@seealso: U{Token B... |
package jmsAPI;
import java.io.Serializable;
import model.User;
public class UserJMSMessage implements Serializable{
private static final long serialVersionUID = -6332424773771578337L;
public static enum types { REGISTER,
LOGIN,
LOGOUT,
... |
File: tower.lua
Author: Daniel "lytedev" Flanagan
Website: http://dmf.me
The tower class.
]]--
local Tower = Class{__includes = Unit}
local pairs = pairs
function Tower:init(x, y)
Unit.init(self, x, y)
self.body:setMass(5)
self.noBuildRadius = 0
self.fireCooldown = 0.5
self.fired = nil
self.currentFireT... |
<?php
namespace MaherElGamil\Controller\Traits;
/**
* Class ControllerTrait.
*/
trait ControllerTrait
{
protected $singularExceptional = [
'media',
];
/**
* @param $model
*
* @return $this
*/
protected function setModel($model)
{
$this->model = $model;
... |
<?php
namespace Magento\Sales\Test\Block\Adminhtml\Order\AbstractForm;
use Magento\Mtf\Block\Form;
use Magento\Mtf\Client\Locator;
/**
* Class Product
* Item product form on items block
*/
class Product extends Form
{
/**
* Product price excluding tax search mask
*
* @var string
*/
pr... |
package user
import "syscall"
// Declarations for the libc functions on Solaris.
//extern __posix_getpwnam_r
func libc_getpwnam_r(name *byte, pwd *syscall.Passwd, buf *byte, buflen syscall.Size_t, result **syscall.Passwd) int
//extern __posix_getpwuid_r
func libc_getpwuid_r(uid syscall.Uid_t, pwd *syscall.Passwd, b... |
package cz.creeper.customitemlibrary.feature.block;
import com.google.common.base.Preconditions;
import cz.creeper.customitemlibrary.CustomItemServiceImpl;
import cz.creeper.customitemlibrary.feature.AbstractCustomModelledFeature;
import cz.creeper.customitemlibrary.util.Block;
import lombok.EqualsAndHashCode;
import ... |
G4Allocator<ExN02TrackerHit> ExN02TrackerHitAllocator;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ExN02TrackerHit::ExN02TrackerHit() {}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ExN02TrackerHit::~ExN02TrackerHit() {}
//....oooOO0OOooo....... |
<!--
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
~ and other contributors as indicated by the @author tags.
~
~ 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:/... |
package com.intellij.codeInspection.nullable;
import com.intellij.codeInsight.*;
import com.intellij.codeInsight.daemon.impl.analysis.JavaGenericsUtil;
import com.intellij.codeInsight.intention.AddAnnotationPsiFix;
import com.intellij.codeInspection.*;
import com.intellij.codeInspection.dataFlow.DfaPsiUtil;
import com... |
<!DOCTYPE html>
<!--
Copyright (C) 2017 The Android Open Source Project
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... |
import re
import subprocess
from operator import itemgetter
from streamlink.stream.streamprocess import StreamProcess
from streamlink.compat import str, which
from streamlink.exceptions import StreamError
from streamlink.utils import rtmpparse, escape_librtmp
class RTMPStream(StreamProcess):
"""RTMP stream usin... |
pointless-chat-demo
===================
|
"use strict";
// @ts-check
/** @typedef {import('../../fileshare').Content} Content */
/** @typedef {import('../../fileshare').ServerInfoResult} ServerInfoResult */
/* Getting server info */
const IPandPortElement = document.getElementById('IPandPort');
const theQRCodeElement = document.getElementById('theQRCode');
... |
/* line 347, /home/scruffy/git/tatalog/vendor/ruby/gems/foundation-rails-5.5.1.0/vendor/assets/stylesheets/foundation/components/_global.scss */
meta.foundation-version {
font-family: "/5.5.0/";
}
/* line 351, /home/scruffy/git/tatalog/vendor/ruby/gems/foundation-rails-5.5.1.0/vendor/assets/stylesheets/foundation/co... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... |
namespace ToysShop.Models.SQLModels
{
public class Address
{
public int Id { get; set; }
public int CityId { get; set; }
public virtual City City { get; set; }
public string FullAddress { get; set; }
public int? CustomerId { get; set; }
public virtual Custom... |
module com.speedment.runtime.connector.mariadb {
exports com.speedment.runtime.connector.mariadb;
exports com.speedment.runtime.connector.mariadb.provider;
requires transitive com.speedment.common.injector;
requires transitive com.speedment.runtime.core;
requires transitive com.speedment.runtime.c... |
=======
Remarks
=======
Type annotations
----------------
``pytest-mock`` is fully type annotated, letting users use static type checkers to
test their code.
The ``mocker`` fixture returns ``pytest_mock.MockerFixture`` which can be used
to annotate test functions:
.. code-block:: python
from pytest_mock import... |
import collections
import sys
import math
def ShannonEntropy(inputString):
total = 0.0
length = float(len(inputString))
for char in inputString:
charFreq = inputString.count(char) / length
total += (charFreq * math.log2(charFreq))
#print( total )
for i in collections.Counter(sys.argv[1... |
SpotifySignIn
==========
SpotifySignIn is a swift project that highly mimics the sign in/ sign up view of Spotify. It includes the video background, carousel text, and the animation of login page.
## Screenshots

|
<resources>
<string name="app_name">Hello-meteor-android-ddp</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>
|
package XSLoader;
$VERSION = "0.06";
#use strict;
# enable debug/trace messages from DynaLoader perl code
# $dl_debug = $ENV{PERL_DL_DEBUG} || 0 unless defined $dl_debug;
my $dl_dlext = 'dll';
package DynaLoader;
# No prizes for guessing why we don't say 'bootstrap DynaLoader;' here.
# NOTE: All... |
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("An... |
namespace RemotePlusLibrary.Core.NodeStartup
{
public interface INodeInitilizer
{
void RunTasks();
}
} |
<!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_252) on Fri Aug 20 17:47:58 BST 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class psidev.psi.mi... |
module Shoppe
class Customer < ActiveRecord::Base
before_save :encrypt_password
EMAIL_REGEX = /\A\b[A-Z0-9\.\_\%\-\+]+@(?:[A-Z0-9\-]+\.)+[A-Z]{2,6}\b\z/i
PHONE_REGEX = /\A[+?\d\ \-x\(\)]{7,}\z/
self.table_name = 'shoppe_customers'
has_many :addresses, dependent: :restrict_with_exception, class_... |
static class VoidClassifier : Classifier {
private:
public:
void initialize(const TrainData &data, const TrainVector &vector)
{
}
void step()
{
}
void classify(const Point &point, Likelihood &l)
{
}
} classifier;
|
#include "channelbufferqueue.h"
#include "channelhelpers.h"
#include "channelreader.h"
#pragma unmanaged
RChannelBufferQueue::RChannelBufferQueue(RChannelReaderImpl* parent,
RChannelBufferReader* bufferReader,
RChannelItemParserBase*... |
package info.shibafu528.yukari.exvoice.diva;
import android.net.Uri;
import info.shibafu528.yukari.exvoice.MRubyObject;
/**
* Created by shibafu on 2017/05/30.
*/
public interface Model extends MRubyObject {
Uri getPermaLink();
Uri getUri();
boolean isMe();
}
|
/* eslint-disable class-methods-use-this */
import React from 'react';
import PropTypes from 'prop-types';
import { ListRow, TextInput } from '@ichef/gypcrete';
import formRow, { rowPropTypes } from './mixins/formRow';
/**
* It's simply a `<TextInput>` inside a `<ListRow>` with vertically-reversed form layout.
* M... |
using System.Threading;
namespace ZooKeeperNetEx.utils
{
internal class VolatileLong
{
public VolatileLong(long value)
{
Value = value;
}
private long m_Value;
public long Value
{
get => Volatile.Read(ref m_Value);
set => V... |
package com.rawsanj.blogaggr.web.rest;
import com.rawsanj.blogaggr.Application;
import com.rawsanj.blogaggr.domain.Blog;
import com.rawsanj.blogaggr.repository.BlogRepository;
import com.rawsanj.blogaggr.service.BlogService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import stati... |
require "rails_helper"
RSpec.describe Integrated::OfficeEmailApplicationJob do
describe "#perform" do
it "sends an email" do
tempfile = double("tempfile")
integrated_application = instance_double(CommonApplication,
id: 1,
receiving_office_email: "official@stable.gov",
primary_... |
<section id="mail-section">
<!-- insert Navigation -->
<!-- <div ng-include="'components/navbar/navbar.html'"></div> -->
<div class="mail-wrapper">
<h3 class="dash-headers text-center">
{{ pageTitle || "Sendgrid" }}
<div class="inner-line"></div>
</h3>
<div style="padding-bottom:10px">
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... |
import java.io._
/**
* This example shows how queries can be executed in an iterative manner.
* Iterative evaluation will be slower, as more server requests are performed.
*
* Documentation: https://docs.basex.org/wiki/Clients
*
* @author BaseX Team 2005-22, BSD License
*/
object queryexample {
/**... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... |
title: Running JS Test Driver in Team City
author: karl
date: Tue, 25 Aug 2009 14:16:43 GMT
template: article.pug
---
[JS Test Driver](http://code.google.com/p/js-test-driver/) is a great new Javascript Testing Framework from the guys at Google. It provides a blisteringly fast, and easily automated way of running your... |
int printf(const char * _Format, ...);
class ClassInTopLevelNamespace {
public:
void topLevelNamespaceFunction() {
printf("__func__ %s\n", __func__);
printf("__FUNCTION__ %s\n", __FUNCTION__);
printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__);
}
};
namespace {
class ClassInAnonymousNamespac... |
package rww.ui.foaf
import japgolly.scalajs.react.ScalazReact.{ReactS, _}
import japgolly.scalajs.react.extra.OnUnmount
import japgolly.scalajs.react.vdom.prefix_<^._
import japgolly.scalajs.react.{ReactComponentB, ReactEventI, _}
import org.w3.banana.syntax.NodeW
import rww.Rdf.ops._
import rww._
import rww.ontology.... |
ActiveModel::Serializer.config.adapter = ActiveModelSerializers::Adapter::JsonApi |
<?php
declare(strict_types=1);
namespace LIN3S\SharedKernel\Tests\Matchers;
use LIN3S\SharedKernel\Domain\Model\AggregateRoot;
use PhpSpec\Exception\Example\FailureException;
use PhpSpec\Matcher\BasicMatcher;
/**
* Usage:
* $this->shouldHavePublished(EventPublished::class);.
*
* @author Gorka Laucirica <go... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE758_Undefined_Behavior__int_new_use_14.cpp
Label Definition File: CWE758_Undefined_Behavior.new.label.xml
Template File: point-flaw-14.tmpl.cpp
*/
/*
* @description
* CWE: 758 Undefined Behavior
* Sinks: new_use
* GoodSink: Initialize then use data
* ... |
package io.michaelrocks.lightsaber.internal;
import java.lang.reflect.Type;
import java.util.List;
import javax.annotation.Nonnull;
import javax.inject.Provider;
import io.michaelrocks.lightsaber.ConfigurationException;
import io.michaelrocks.lightsaber.Injector;
import io.michaelrocks.lightsaber.Key;
import io.mi... |
namespace Microsoft.Azure.Management.Synapse
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;
/// <summary>
/// Azure Synapse Analytics Management Client
/// </summary>
public partial interface ISynapseManagementClient : System.IDisposable
{
... |
using System;
using Cairo;
using Pinta.Core;
using Pinta.Gui.Widgets;
namespace Pinta.Effects
{
public class InkSketchEffect : BaseEffect
{
private static readonly int[][] conv;
private const int size = 5;
private const int radius = (size - 1) / 2;
private GlowEffect glowEffect;
private UnaryPixelOps.Desa... |
class CreateCatalogs < ActiveRecord::Migration
def change
create_table :catalogs do |t|
t.string :name
t.string :url
t.timestamps
end
end
end
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.ComponentModel;
using System.Xml.Serialization;
namespace HL7.ADT {
[GeneratedCodeAttribute("xsd", "4.0.30319.1")]
[SerializableAttribute]
[DebuggerS... |
module Gestpay
class Config
attr_accessor :environment, :account
def initialize
@environment = Rails.env.production? ? :production : :test
@account = Spree::PaymentMethod.find_by_type('Spree::Gateway::Gestpay').preferred_merchant_id || ENV['GESTPAY_ACCOUNT']
end
end
end
|
all: jar
clean:
rm -rf lib/geoipdb.jar
compile: clean
javac `find src/ -name '*.java'`
jar: compile
jar cvf lib/geoipdb.jar -C src/ .
|
require 'benchmark'
require 'solve'
require File.expand_path("../large_graph_no_solution", __FILE__)
require File.expand_path("../opscode_ci_graph", __FILE__)
PROBLEM = OpscodeCiGraph
N = 1
def demands
PROBLEM::DEMANDS
end
def artifacts
PROBLEM::ARTIFACTS
end
require 'pp'
def create_graph
graph = Solve::Grap... |
These settings apply only when `--az` is specified on the command line.
For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.
``` yaml $(az) && $(target-mode) != 'core'
az:
extensions: syntex
namespace: azure.mgmt.syntex
pa... |
* Added support for getting product list
* Added support for creating a product
* Added support for getting customer
* Added support for creating a customer
## Version 0.9.3
* Added logging
* Rewrote configuration
## Version 0.9.2
* Changed `ElementBase` from Superclass to Mixin
## Version 0.9.1
* Added dependency ... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">GitHub Events Client</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
<string name="unable_to_fech_events">Unable to fetch events</string>
</resources>
|
package com.coolweather.android.db;
import org.litepal.crud.DataSupport;
/**
* Created by River_young on 2017/2/18.
*/
public class City extends DataSupport{
private int id;
private String cityName;
private int cityCode;
private int provinceId;
public int getId() {
return id;
}
... |
package com.querydsl.core.group;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Supplier;
import com.mysema.commons.lang.CloseableIterator;
import com.querydsl.core.ResultTransformer;
import com.querydsl.... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... |