text stringlengths 3 1.05M |
|---|
<?php
require_once './venders/php-activerecord/ActiveRecord.php';
// require_once './venders/rych/phpass/PHPassLib.php';
ActiveRecord\Config::initialize(function($cfg)
{
$cfg->set_model_directory('./Model');
$cfg->set_connections(array(
'development' => 'mysql://root:@localhost/road'));
});
//... |
package org.camunda.bpm.engine.test.history;
import static org.junit.Assert.assertEquals;
import org.camunda.bpm.engine.ProcessEngineConfiguration;
import org.camunda.bpm.engine.history.HistoricTaskInstance;
import org.camunda.bpm.engine.task.Task;
import org.camunda.bpm.engine.test.Deployment;
import org.camunda.bp... |
---
uid: SolidEdgeFramework.Application.ApplicationEvents
summary:
remarks:
example: [*content]
---
[!code-vb[Main](..\snippets\SolidEdgeFramework.Application.ApplicationEvents.vb]
[!code-csharp[Main](..\snippets\SolidEdgeFramework.Application.ApplicationEvents.cs]
|
import Button from "@material-ui/core/Button";
import Dialog from "@material-ui/core/Dialog";
import DialogActions from "@material-ui/core/DialogActions";
import DialogContent from "@material-ui/core/DialogContent";
import DialogTitle from "@material-ui/core/DialogTitle";
import {
createStyles,
Theme,
withStyles,... |
package store
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/dynamodb"
"github.com/wantedly/developers-account-mapper/models"
)
const (
accountMapTable = "DevelopersAccountMap"
)
type DynamoDB struct {
db *dynamodb.DynamoDB
}
func Ne... |
package com.microsoft.azure.management.operationsmanagement.v2015_11_01_preview.implementation;
import com.microsoft.azure.management.operationsmanagement.v2015_11_01_preview.Operation;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.operationsmanagement.v2015_1... |
/**
* @author <a href="mailto:fadinlight@gmail.com">Mario Ferraro</a>
*/
(function () {
/** @lends melange.datetimepicker */
if (window.melange === undefined) {
throw new Error("Melange not loaded");
}
var melange = window.melange;
/** Package that handles a datetimepicker that enriches jQuery UI da... |
require "spec_helper"
RSpec.describe PoliceState::TransitionValidator do
before(:all) do
TransitionValidator = PoliceState::TransitionValidator
end
describe ".initialize(options)" do
context "when options include :attributes, :from, and :to" do
let(:options) do
{
attributes: :st... |
namespace Google.Cloud.Compute.V1.Snippets
{
// [START compute_v1_generated_NetworkEndpointGroups_AggregatedList_async_flattened]
using Google.Api.Gax;
using Google.Cloud.Compute.V1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public ... |
package com.opengamma.analytics.financial.provider.calculator.inflationissuer;
import com.opengamma.analytics.financial.interestrate.InstrumentDerivativeVisitorDelegate;
import com.opengamma.analytics.financial.interestrate.bond.definition.BillTransaction;
import com.opengamma.analytics.financial.interestrate.bond.de... |
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @desc Create a cookie with all a... |
package com.google.api.ads.dfp.jaxws.v201602;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Errors due to missing required field.
*
*
* ... |
module Firmenwissen
class UnprocessableResponseError < RuntimeError
def initialize(message = 'The response from Firmenwissen could not be processed')
super
end
end
end
|
package com.logginghub.utils.maven;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import java.io.File;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import com.logginghub.utils.Tree;
import com.logginghub.utils.logging.Logger;
impo... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; htt... |
'use strict';
var angular = require('angular');
module.exports = angular.module('myApp.services.companyTaxService', [
])
// related constants
.constant('TAX_RATE_VAT', 0.2)
.constant('TAX_RATE_VAT_FLAT_RATE', 0.145)
.constant('TAX_RATE_CORPORATION_TAX', 0.2)
// the service
.service('CompanyTaxService', function (
TA... |
import os
import glob
import time
import socket
import numpy as np
import time, threading
import datetime
import RPi.GPIO as GPIO
class Servo(object):
'''
classdocs
'''
def __init__(self):
'''
Constructor
'''
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)
... |
// OCHamcrest by Jon Reid, https://qualitycoding.org
// Copyright 2022 hamcrest.org. https://github.com/hamcrest/OCHamcrest/blob/main/LICENSE.txt
// SPDX-License-Identifier: BSD-2-Clause
#import <OCHamcrest/HCBaseMatcher.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Calculates the logical disjunction of multiple matc... |
package com.ivstuart.tmud.spells;
import com.ivstuart.tmud.state.Item;
import com.ivstuart.tmud.state.Mob;
import com.ivstuart.tmud.state.Spell;
public class Identify implements SpellEffect {
@Override
public void effect(Mob caster_, Mob target_, Spell spell, Item targetItem) {
caster_.out("identity:"+targetI... |
package com.intellij.psi.impl.source.codeStyle;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import com.intellij.openapi.util.TextRange;
public class ImportPostFormatProcessor implements PostFormatProcessor {
public PsiElement processElem... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="create_playlist_create_text_prompt" msgid="942607395076646686">"Şarkı listesi adı"</string>
<string name="rename_playli... |
package me.joeycumines.javapromises.core;
/**
* A promise can have one of three states, pending, fulfilled, or rejected.
* A promise will always start in the PENDING state.
* A promise must ONLY ever resolve (finish / change state) ONCE, though it is still usable in it's resolved state.
* A promise that is REJECTE... |
package com.kotcrab.vis.editor.util.scene2d;
import com.kotcrab.vis.ui.widget.VisTextField;
import com.kotcrab.vis.ui.widget.VisValidatableTextField;
/**
* {@link VisTextField}/{@link VisValidatableTextField} related utils.
* @author Kotcrab
*/
public class FieldUtils {
public static float getFloat (VisTextFiel... |
<?php
namespace Zym\Security\Http\Authentication;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler;
/**
* Clas... |
from __future__ import unicode_literals
import frappe
import os, base64, re
import hashlib
import mimetypes
from frappe.utils import get_site_path, get_hook_method, get_files_path, random_string, encode, cstr, call_hook_method
from frappe import _
from frappe import conf
from copy import copy
import urllib
class MaxFi... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
'use strict';
var BaseFs = require('./base-fs');
var util = require('util');
var modelStore = require('../stores/model-store');
module.exports = BaseDir;
function BaseDir() {
BaseFs.apply(this, arguments);
if (!this.FsList) {
throw new Error('Dirs are expected to have an FsList Class');
}
this.contents = ... |
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'Copy as GFM', :js do
include MarkupHelper
include RepoHelpers
include ActionView::Helpers::JavaScriptHelper
before do
sign_in(create(:admin))
end
describe 'Copying rendered GFM' do
before do
@feat = MarkdownFeature.new
... |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
function _classCallCheck(instance, Constructor) { if (!(insta... |
var iz = null;
jQuery(document).ready(function($){// -------------------------------------- DOCUMENT READY
iz = $('.panel-holder').ImageZoom();
});// ---------------------------------------------------------------------- DOCUMENT READY |
<!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 (version 1.7.0_07) on Thu Sep 10 14:11:05 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.x... |
FROM debian:jessie
MAINTAINER Booj Data "alix@politeauthority.com"
EXPOSE 5000
RUN apt-get update && \
apt-get install -y --no-install-recommends \
apt-utils \
gcc \
git \
python \
python-dev \
python-pip \
gunicorn \
&& \
apt-get clean && rm -r... |
module Pina
module Models
class MyBankAccount
include Virtus.model
attribute :created_at
attribute :updated_at
attribute :creator
attribute :creator_id
attribute :modifier
attribute :modifier_id
attribute :opening_balance_date
attribute :bank_account
at... |
#include "..\Resource.h"
// CDataImageCtrlEditorDlg dialog
class CDataImageCtrlEditorDlg : public CDialog
{
DECLARE_DYNAMIC(CDataImageCtrlEditorDlg)
public:
CDataImageCtrlEditorDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CDataImageCtrlEditorDlg();
// Dialog Data
enum { IDD = IDD_DAT... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Ardisia croatii Lundell
### Remarks
null |
namespace blunted {
static real MATRIX4_IDENTITY[16] = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 };
// column major, row minor matrix
class Matrix4 {
public:
Matrix4();
Matrix4(const real values[16]);
virtual ~Matrix4();
// ----- operator overloading
void operator = (c... |
using System;
using NUnit.Framework;
using System.Threading.Tasks;
using Nito.AsyncEx;
using System.Linq;
using System.Threading;
using System.Diagnostics.CodeAnalysis;
namespace Tests
{
[TestFixture]
public class AsyncManualResetEventUnitTests_NET40
{
[Test]
public void WaitAsync_Unset_Is... |
require 'spec_helper'
require 'whois/record/parser/whois.nic.uk.rb'
describe Whois::Record::Parser::WhoisNicUk, "property_nameservers_with_ip.expected" do
subject do
file = fixture("responses", "whois.nic.uk/property_nameservers_with_ip.txt")
part = Whois::Record::Part.new(:body => File.read(file))
desc... |
package org.sfm.reflect;
public class EnumHelper {
@SuppressWarnings("unchecked")
public static <E extends Enum<E>> E[] getValues(Class<E> enumType) {
try {
return (E[]) enumType.getDeclaredMethod("values").invoke(enumType);
} catch (Exception e) {
throw new Error("Unexpected error getting enum values " +... |
#include <functional>
#include <algorithm>
#include <vector>
#include <iostream>
#include <string>
using namespace std;
using namespace std::placeholders;
class Person {
public:
Person(const string& n) : name(n) {
}
void print() const {
cout << name << endl;
}
void print2(const string& p... |
en: dead ahead
pl: kąt martwy
layout: dict_word
date: 2013-12-29
cat: sailing
sub: point-of-sail
---
Kąt martwy. Dosłownie *wprost naprzód*.
Kierunek z którego wieje wiatr gdzie jacht nie jest w stanie płynąć.
Na tym kursie jacht znajduje się pod kontem 0° w stosunku do wiatru.
)]
static public int constructor(IntPtr l) {
LuaDLL.luaL_error(l,"New object failed.");
return 0;
}
[MonoPI... |
package edu.cs4730.recyclerviewdemo3_kt;
/**
* From http://code.google.com/p/myandroidwidgets/source/browse/trunk/Phonebook/src/com/abeanie/Phonebook.java
* description found at http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html
*/
public class Phonebook_DataModel {
private String name;
p... |
package org.kuali.kra.award.detailsdates;
import org.apache.commons.lang3.StringUtils;
import org.kuali.coeus.common.framework.sponsor.Sponsor;
import org.kuali.coeus.sys.framework.rule.KcDocumentEventBase;
import org.kuali.kra.award.document.AwardDocument;
import org.kuali.kra.award.home.Award;
import org.kuali.rice... |
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/bitops.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/delay.h>
#includ... |
Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers.
This page contains information about getting started with the Google Workspace Alert Center API
using the Google API Client Library for Java. In addition, you may be interest... |
#include <iostream>
#include "token.h"
#include "token_stream_settings.h"
#include "line_buffer.h"
#include "libtoken_exception.h"
namespace libtoken
{
using namespace std;
class token_stream
{
public:
token_stream(const token_stream_settings& ts_settings, istream& is);
virtual ~token_str... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>xDerivedField - com.ligadata.Compiler.xDerivedField</title>
<meta name="description" content="xDerivedField - com.ligadata.Compiler.xD... |
package com.example.android.tvleanback.model;
import android.os.Parcel;
import android.os.Parcelable;
import java.net.URI;
import java.net.URISyntaxException;
/*
* Movie class represents video entity with title, description, image thumbs and video url.
*/
public class Movie implements Parcelable {
private st... |
FROM anduin/consul-template
MAINTAINER ductamnguyen@anduintransact.com
ENV DEBIAN_FRONTEND noninteractive
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 && \
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" > /etc/apt/sources.list.d/mongodb-org-3.2.list &&... |
// Copyright 2021 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 <string>
#include "build/build_config.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/co... |
var test = require('tape');
var strify = require('./index');
var fs = require('fs');
var license = fs.readFileSync(__dirname + '/readme.md', 'utf-8');
test('strify local readme', function(t) {
t.plan(2);
var str = strify('./readme.md');
t.true(str);
t.true(~str.indexOf('strify'));
var license = fs.readFi... |
<?php
namespace Brainrepo\SpotifyjukeboxBundle\Document;
use Brainrepo\SpotifyjukeboxBundle\Document\TrackInterface;
use Brainrepo\SpotifyjukeboxBundle\Document\JukeboxInterface;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
/**
* @MongoDB\Document
*/
class Track implements TrackInterface
{
/**... |
from __future__ import absolute_import
import random
import importlib
def get_joke(category='neutral', language='en'):
"""
Parameters
----------
category: str
Choices: 'neutral', 'explicit', 'chuck', 'all'
lang: str
Choices: 'en', 'de', 'es'
Returns
-------
joke: str
... |
1. [](#improved)
* `YamlFile`: Added support for `@data` without quoting it (fixes issues with Symfony 3.4 if `compat=true`)
1. [](#bugfix)
* `Session`: Removed broken request counter
# v1.3.9
## 10/08/2017
1. [](#improved)
* Modified `MarkdownFile::encode()` to dump header with 20 levels of indention... |
def sqrtOption(x:Double): Option[Double] =
if (x >= 0) Some(math.sqrt(x)) else None
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>About Us - Byte Camp - Creative Tech Programs for Kids: 3D Animation, Claymation, 2D Game Design, 3D Game Design, Music and Video Production, 3D Printing and Design, 2D Tablet Animation, Build an App</title>
<script src="../static/js/init.js"></script>
<scrip... |
<?php
namespace XTAIN\Bundle\JoomlaBundle\Library\Joomla\User;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* Class User
*
* @author Maximilian Ruta <mr@xtain.net>
* @package XTAIN\Bund... |
using namespace BloombergLP;
//=============================================================================
// TEST PLAN
//-----------------------------------------------------------------------------
//
// Overview
// -... |
#ifndef TRCharts_Impl_PlatformUtils_hpp
#define TRCharts_Impl_PlatformUtils_hpp
#include <string>
namespace Charts
{
namespace PlatformUtils
{
std::string formatDate(double seconds, const std::string & format);
std::string formatNumber(double value, size_t decimalPlaces);
}
}
#endif
|
using SharpDebug.CodeGen.UserTypes;
namespace SharpDebug.CodeGen.TypeInstances
{
/// <summary>
/// Type instance that represents template type argument which is constant.
/// Used when we know that the type is representing Generics Specialization.
/// </summary>
/// <seealso cref="TemplateTypeInst... |
package com.microsoft.azure.management.network.v2019_04_01.implementation;
import com.microsoft.azure.management.network.v2019_04_01.VerificationIPFlowResult;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.network.v2019_04_01.Access;
class VerificationIPFlowRe... |
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React, { PropTypes, Component } from 'react';
import withStyles from '../../decorators/withStyles';
import styles from './ShowRuntimeBar.css';
import ReactDOM from 'react-dom';
/**
* A search input similar to the one on the homepage of ... |
<?php
declare(strict_types=1);
namespace Sylius\Bundle\CoreBundle\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\Process\Excep... |
package com.orm;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteStatement;
import android.text.TextUtils;
import android.util.Log;
import com.orm.dsl.Table;
import ... |
var data, tableview, win;
win = Titanium.UI.currentWindow;
Titanium.include('../Util.js');
data = [];
data[0] = Ti.UI.createTableViewRow({
title: 'new',
header: 'all'
});
data[3] = Ti.UI.createTableViewRow({
title: 'my post'
});
data[4] = Ti.UI.createTableViewRow({
title: 'supporting'
});
data[5] = Ti.UI.create... |
To test:
```
stack build
./time.sh
```
------------------
#Update October 31 2015
The reactive version is now on par with the foldM version in terms of speed.
The solution, as suggested by the author of reactive-banana, was to
break the audio up into chunks for processing. This significantly reduces the
overhead ... |
require 'csv'
require 'optparse'
require 'street_address'
module CamScraper
class Scraper
HEADERS_TO_DELETE = ['Description', 'Merchant Verified', 'Business Closed', 'Image URL', 'Listing CID', 'Review URL']
UPDATED_DIR_NAME = 'updated_files'.freeze
def initialize()
files = Dir.glob('*.csv')
... |
<?php
class puzzle_test_CollectionTest extends PHPUnit_Framework_TestCase
{
/** @var puzzle_Collection */
protected $coll;
protected function setUp()
{
$this->coll = new puzzle_Collection();
}
public function testConstructorCanBeCalledWithNoParams()
{
$this->coll = new puz... |
(function() {
'use strict';
angular
.module('catalogue.drupal', [
'ionic',
'catalogue.common'
])
.config(function($stateProvider) {
$stateProvider
.state('app.drupal-articles', {
url: '/drupal-articles',
views: {
'menuContent': {
templateUrl: 'scripts/drupal/drupal-articles.... |
package io.dropwizard.testing.junit5;
import io.dropwizard.testing.app.TestEntity;
import org.hibernate.SessionFactory;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import static org.assertj.core.api.Assertions.assertThat;
class DAOTestExtensionRegisterExtensionTest {... |
(function($) {
$.fn.loading = function(opts) {
// default configuration
var config = $.extend({}, { opt1: null }, opts);
// main function
function init(obj) {
var dLoading = $(obj);
var dLoadingImg = dLoading.find('.js-loading-img');
var dMsg = dLoading.find('.js-msg');
var dSubmit = dLoading.find... |
package kieker.monitoring.queue;
import java.util.AbstractQueue;
import java.util.Collection;
import java.util.Iterator;
import java.util.Queue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import kieker.monitoring.queue.putstrategy.PutStrategy;
import kieker.monitoring.queue.tak... |
import * as React from 'react';
import { GenericComponent, IGenericProps, IGenericState } from './GenericComponent';
import Card from '../Card';
import ResponsiveContainer from '../ResponsiveContainer';
import { RadarChart, Radar, PolarGrid, Legend, PolarAngleAxis, PolarRadiusAxis } from 'recharts';
import * as _ from... |
<?php
/*
Safe sample
input : get the field userData from the variable $_GET via an object
sanitize : cast via + = 0
construction : interpretation
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this software and it... |
app.controller('UsersCtrl', ['$scope', '$http',
function ($scope, $http) {
$http.get('data/blo-users.json').success(function(data) {
$scope.users = data;
});
}]);
|
// This code was written for the OpenTK library and has been released
// to the Public Domain.
// It is provided "as is" without express or implied warranty of any kind.
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Threading;
us... |
package org.nd4j.linalg.learning;
import lombok.Data;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.shape.Shape;
import org.nd4j.linalg.indexing.NDArrayIndex;
import org.nd4j.linalg.learning.config.AdaDelta;
import org.nd4j.linalg.ops.transforms.Transforms;
/**
* http://www.matthewzeiler.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pkg_sri;
import framework.componentes.Boton;
import framework.componentes.Combo;
import framework.componentes.Division;
import framework.componentes.Etiqueta;
import framework.componentes.Grid;
import... |
package global.models;
import com.intellij.ide.fileTemplates.FileTemplate;
/**
* Created by CeH9 on 25.06.2016.
*/
public class TemplateForSearch {
private FileTemplate template;
public TemplateForSearch(FileTemplate template) {
this.template = template;
}
@Override
public String toSt... |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml.jackson.annotation.JsonFormat.Shape (Jackso... |
namespace spvtools {
namespace {
using ::testing::HasSubstr;
using BinaryVersion = spvtest::LinkerTest;
spvtest::Binary CreateBinary(uint32_t version) {
return {
// clang-format off
// Header
static_cast<uint32_t>(spv::MagicNumber),
version,
SPV_GENERATOR_WORD(SPV_GENERATOR_KHRONOS, 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
* distribut... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
@interface TWFileManager : NSObject
+ (TWFileManager *)sharedManager;
// Get file manager
- (NSFileManager *)fileManager;
// File related methods
- (BOOL)fileExists:(NSString *)filePath;
- (BOOL)removeFile:(NSString *)filePath;
- (BOOL)isDirectory:(NSString *)filePath;
- (NSArray<NSString *> *)files:(NSString *)dire... |
/*globals initTestDB: false, emit: true, generateAdapterUrl: false */
/*globals PERSIST_DATABASES: false, initDBPair: false, utils: true */
/*globals ajax: true, LevelPouch: true */
/*globals cleanupTestDatabases: false */
"use strict";
var adapters = ['http-1', 'local-1'];
var qunit = module;
var is_browser = true;
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using ExcelDataReader.Core.NumberFormat;
namespace ExcelDataReader.Core.CsvFormat
{
internal class CsvWorkbook : IWorkbook<CsvWorksheet>
{
public CsvWorkbook(Stream stream, Encoding encoding, char[] autodetectSeparator... |
FactoryBot.define do
factory :sink_fund_allocation do
name { "MyString" }
bank_account
amount { 1 }
end
end
|
var gulp = require('gulp'),
config = require('../config').bower,
bowerFiles = require('main-bower-files'),
plumber = require('gulp-plumber'),
filter = require('gulp-filter'),
uglify = require('gulp-uglify'),
browserSync = require('browser-sync'),
changed = require('gulp-changed'),
renam... |
#ifndef SkPathOpsTypes_DEFINED
#define SkPathOpsTypes_DEFINED
#include <float.h> // for FLT_EPSILON
#include <math.h> // for fabs, sqrt
#include "SkFloatingPoint.h"
#include "SkPathOps.h"
#include "SkPathOpsDebug.h"
#include "SkScalar.h"
// FIXME: move these into SkTypes.h
template <typename T> inline T SkTMax(T... |
- Added `queryBaseStatement()` to allow for REPLACE INTO and SELECT DISTINCT queries
- Added `flag()` function for additional query metadata.
## v1.2.0
- Added `dialect()` function to allow getting / setting of dialects after construction.
## v1.1.0
- Added `allTablesReferenced()` function to all queries
## v1.0.0... |
namespace VZF.Controls
{
#region Using
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI.WebControls;
using System.Xml;
using VZF.... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace Umbraco.Cms.Core.Models.ContentEditing
{
[DataContract(Name = "propertyType")]
public class PropertyTypeBasic
{
/// <summary>
/// Gets a value indicating wh... |
require 'mkmf'
create_makefile('vertica/vertica')
|
<!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 (version 1.7.0_65) on Fri Oct 31 19:34:13 CET 2014 -->
<title>Uses of Interface thobe.logfileviewer.kernel.source.listeners.ILogStreamListener</title>... |
#include <memory>
using namespace std;
namespace math3D{
class Mat4;
class Vec3;
class Euler;
class Quaternion{
private:
float x;
float y;
float z;
float w;
weak_ptr<Euler> euler;
public:
Quaternion();
Quaternion(float x, float y, float z, float w);
~Quaternion()=default;
Quat... |
<IMG SRC="https://azurequickstartsservice.blob.core.windows.net/badges/201-cosmosdb-advanced-threat-protection-create-account/PublicLastTestDate.svg" />
<IMG SRC="https://azurequickstartsservice.blob.core.windows.net/badges/201-cosmosdb-advanced-threat-protection-create-account/PublicDeployment.svg" />
<IM... |
import {
BufferGeometry,
Float32BufferAttribute,
LineSegments,
LineBasicMaterial,
Matrix3,
Vector3
} from 'three';
const _v1 = new Vector3();
const _v2 = new Vector3();
const _normalMatrix = new Matrix3();
class VertexNormalsHelper extends LineSegments {
constructor( object, size = 1, color = 0xff0000 ) {
... |