text stringlengths 3 1.05M |
|---|
package gov.sandia.cognition.learning.data;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;
import junit.framework.TestCase;
/**
* JUnit tests for class SequentialDataMultiPartitionerTest
* @author Kevin R. Dixon
*/
public class SequentialDataMultiPartitionerTest
extends TestCa... |
<?php
/**
* This is the template for generating the ActiveQuery class.
*/
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\model\Generator */
/* @var $tableName string full table name */
/* @var $className string class name */
/* @var $tableSchema yii\db\TableSchema */
/* @var $labels string[] lis... |
package org.apache.logging.log4j.core.config;
import org.junit.Ignore;
@Ignore
public class JiraLog4j2_1100YamlBadTest extends AbstractLog4j2_1100Test {
@Override
protected String getConfigurationResource() {
return "LOG4J2-1100/log4j2-good.yaml";
}
}
|
/*#region Animations*/
@-webkit-keyframes borderPulse {
15% {
opacity: 1;
}
100% {
-webkit-transform: scale(1.3);
opacity: 0;
}
}
@-moz-keyframes borderPulse {
15% {
opacity: 1;
}
100% {
-moz-transform: scale(1.3);
opacity: 0;
}
}
@-o-keyframes borderPulse {
15% {
opacity:... |
import {Country} from "../../../common/interfaces/Country";
import {City} from "../../../common/interfaces/City";
import {Province} from "../../../common/interfaces/Province";
export {
getToken,
setToken,
getCountryList,
setCountryList,
getProvinceListByCountry,
setProvinceListByCountry,
get... |
package hmi.graphics.collada;
import hmi.xml.XMLFormatting;
import hmi.xml.XMLTokenizer;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Describes the visual appearance of a geometric object
* @author Job Zwiers
*/
public class Material extends ColladaEleme... |
<dom-module id="item-display">
<style include="shared-styles"></style>
<template><span>{{item.name}}</span></template>
</dom-module>
<script>
Polymer({
is: 'item-display',
properties: {
ref: String
},
ready: function () {
var fb = new Firebase('https:/... |
This template creates a backend service.
## Prerequisites
- Install [gcloud](https://cloud.google.com/sdk)
- Create a [GCP project, set up billing, enable requisite APIs](../project/README.md)
- Grant the [compute.admin](https://cloud.google.com/compute/docs/access/iam)
IAM role to the Deployment Manager ser... |
'------------------------------------------------------------------------------
' <generado automáticamente>
' Este código fue generado por una herramienta.
'
' Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
' se vuelve a generar el código.
' </generado automática... |
require_relative 'core/api'
module Wavefront
#
# View and manage Wavefront usage.
#
# Ingestion policy shares this API path, but has its own SDK class.
#
class Usage < CoreApi
# GET /api/v2/usage/exportcsv
# Export a CSV report
#
# @param t_start [Integer] start time in epoch seconds
# ... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
Schemas = {};
Schemas.BaseSchema = new SimpleSchema({
createdAt: {
type: Date,
autoValue: function() {
if (this.isInsert) {
return new Date();
} else if (this.isUpsert) {
return {$setOnInsert: new Date()};
} else {
this.unset();
}
},
denyUpdate: true
... |
package org.apache.poi.xslf;
import org.apache.poi.POIDataSamples;
import org.apache.poi.openxml4j.opc.OPCPackage;
import org.apache.poi.xslf.usermodel.XMLSlideShow;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* @author Yego... |
<?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<script type="text/javascript">
$(document).ready(function () {
//The original form input element will be hidden
var $formInput = $('#<?php echo $id; ?>').hide();
var placeholder = $formInput.attr('placeholder');
var $editableCo... |
package org.asynchttpclient.providers.grizzly.websocket;
import org.asynchttpclient.AsyncHttpClient;
import org.asynchttpclient.AsyncHttpClientConfig;
import org.asynchttpclient.providers.grizzly.GrizzlyProviderUtil;
import org.asynchttpclient.providers.grizzly.GrizzlyProviderUtil;
import org.asynchttpclient.websocke... |
package com.baomidou.mybatisplus.core.injector.methods;
import com.baomidou.mybatisplus.core.enums.SqlMethod;
import com.baomidou.mybatisplus.core.injector.AbstractMethod;
import com.baomidou.mybatisplus.core.metadata.TableInfo;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.SqlSou... |
#include "imap4d.h"
struct imap4d_command imap4d_command_table [] =
{
{ "CAPABILITY", imap4d_capability, STATE_ALL, STATE_NONE, STATE_NONE, NULL },
{ "NOOP", imap4d_noop, STATE_ALL, STATE_NONE, STATE_NONE, NULL },
{ "LOGOUT", imap4d_logout, STATE_ALL, STATE_LOGOUT, STATE_NONE, NULL },
{ "AUTHENTICATE", imap4... |
using std::map;
Define_Module(Aggregation);
Aggregation::Aggregation()
: BaseLayer()
, destInfos()
, aggregationTimer(NULL)
, interPacketDelay()
, nbMaxPacketsPerAggregation()
, nbAggrPktSentDown(0)
, nbAggrPktReceived(0)
{}
void Aggregation::initialize(int stage) {
BaseLayer::initialize(stage);
if(stage... |
package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Path;
import java.util.Objects;
import java.util.Optional;
import org.jabref.logic.exporter.SavePreferences;
import org.jabref.logic.importer.ImportFormatPrefe... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gaia: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
namespace mozc {
class CrashReportHandler {
public:
// For official branding build, installs breakpad regardless of the
// usagestats settings. You must call this method when and only when the
// usagestats is enabled.
// For non-official branding build, does nothing.
// This method increments the reference ... |
layout: post
title: "Why I prefer unit style tests over specs"
date: 2015-11-30 16:37
comments: true
categories: [Ruby, Testing]
---
This is a small write up on why I prefer unit to rspec style tests. In short, I prefer **unit** style testing because it guides the design of my code faster than if I were using **specs*... |
<!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 Sat Mar 16 04:11:48 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TransactionsSupplier (BOM: ... |
#include "HudLayer.h"
bool HudLayer::init() {
if (!Layer::init()) {
return false;
}
origin = Director::getInstance()->getVisibleOrigin();
layerSize = Director::getInstance()->getVisibleSize();
//HUd Has no Background
//backgroundImage = Sprite::create("game-area-background.png");
... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/videointelligence/v1beta1/video_intelligence.proto
package com.google.cloud.videointelligence.v1beta1;
public interface SafeSearchAnnotationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.videointe... |
using namespace std;
extern unsigned int nStakeMaxAge;
extern unsigned int nTargetSpacing;
typedef std::map<int, unsigned int> MapModifierCheckpoints;
// Hard checkpoints of stake modifiers to ensure they are deterministic
static std::map<int, unsigned int> mapStakeModifierCheckpoints =
boost::assign::map_list_o... |
<?php
namespace Yo\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @author Antoine Corcy <contact@sbin.dk>
*/
class Total extends \Symfony\Component\Console\Command\Command
{
/**
* {@inheritdoc}
*/
protected function confi... |
"""
Locally Optimal Block Preconditioned Conjugate Gradient Method (LOBPCG)
LOBPCG is a preconditioned eigensolver for large symmetric positive definite
(SPD) generalized eigenproblems.
Call the function lobpcg - see help for lobpcg.lobpcg.
"""
from __future__ import division, print_function, absolute_import
__all_... |
<?php
/*
Plugin Name: Contact Form 7 Honeypot
Plugin URI: http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
Description: Add honeypot anti-spam functionality to the popular Contact Form 7 plugin.
Author: Nocean
Author URI: http://www.nocean.ca
Version: 1.13
Text Domain: contact-f... |
$(document).ready(
function(){
var lineplotSensorObjectID;
var yamlDropZone = document.getElementById('drag-and-drop');
yamlDropZone.addEventListener('dragover', handleDragOver, false);
yamlDropZone.addEventListener('drop', handleFileSelect, false);
}
)
$(document).on('click', '#logoutButton', function() {... |
<?php
namespace Gamers\ConnectClient;
interface AdapterInterface
{
}
|
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("01.... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<com.google.android.maps.MapView
android:id="@+id/mapview"
... |
package tftp
import (
"encoding/binary"
"fmt"
"strconv"
"testing"
)
func createRRQTestData(path string, mode string, blocksize int) []byte {
data := make([]byte, 2)
binary.BigEndian.PutUint16(data, RRQ)
data = append(data, []byte(path)...)
data = append(data, 0)
data = append(data, []byte(mode)...)
if block... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
import EventEmitter from 'eventemitter3';
function loadTextFile(file) {
return new Promise((resolve, reject) => {
let reader = new FileReader();
reader.onload = e => {
resolve(e.target.result);
};
reader.onerror = e => reject(e);
reader.readAsText(file);
});
}
export default class AppSer... |
package ayizan.domain;
public interface IdGenerator<T>
{
T next();
}
|
package liquibase.dbdoc;
import liquibase.change.Change;
import liquibase.database.Database;
import liquibase.structure.core.*;
import java.io.File;
import java.io.IOException;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class TableWriter extends HTMLWrit... |
package com.lite.android.launcher3;
import android.Manifest.permission;
import android.animation.LayoutTransition;
import android.annotation.TargetApi;
import android.app.ActionBar;
import android.app.Activity;
import android.app.WallpaperManager;
import android.content.Context;
import android.content.Intent;
impo... |
package libj.debug;
import libj.utils.Text;
public class Trace {
// trace events
public static final char TEXT = 'I';
public static final char POINT = 'P';
public static final char STACK = 'S';
public static final char OBJECT = 'O';
public static final char EXCEPTION = 'E';
// enable flag
private static boo... |
package com.googlecode.totallylazy.collections;
import com.googlecode.totallylazy.Segment;
import com.googlecode.totallylazy.Sequence;
import com.googlecode.totallylazy.predicates.Predicate;
import com.googlecode.totallylazy.transducers.Sender;
import java.util.Collection;
import java.util.NoSuchElementException;
pu... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="http://chrissalam.com/languages/font-mfizz.css">
<link href='https://fonts.googleapis.com/css?family=Megrim' rel='stylesheet' type='text/css'>
<link href='https:... |
<?php
namespace Usuarios\Model\Entity;
class SelectValues{
private $id;
private $value;
private $selected;
function getSelected() {
return $this->selected;
}
function setSelected($selected) {
$this->selected = $selected;
}
function getId() {
return $this... |
Airlift
=================
The airlift website.
|
set -e
source /build/buildconfig
set -x
# Installing
/build/nginx/nginx.sh
/build/php-fpm/php-fpm.sh
/build/zabbix/zabbix.sh
|
<!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.css"... |
import { localize } from 'vs/nls';
import { CallHierarchyProviderRegistry, CallHierarchyDirection, CallHierarchyModel } from 'vs/workbench/contrib/callHierarchy/common/callHierarchy';
import { CancellationTokenSource } from 'vs/base/common/cancellation';
import { IInstantiationService, ServicesAccessor } from 'vs/pla... |
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.swfarm.biz.warehouse.bo.WarehouseCheckOutVoucherItem"
table="WarehouseCheckOutVoucherItem">
<id name="id" colu... |
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - lz77_buffer_kernel_c.h</title></head><body bgcolor='white'><pre>
<font color='#009900'>// Copyright (C) 2003 Davis E. King (davis@dlib.net)
</font><font color='#009900'>// L... |
package thermostatoperatingstate
import (
"encoding/gob"
"github.com/gozwave/gozw/cc"
)
const CommandGet cc.CommandID = 0x02
func init() {
gob.Register(Get{})
cc.Register(cc.CommandIdentifier{
CommandClass: cc.CommandClassID(0x42),
Command: cc.CommandID(0x02),
Version: 1,
}, NewGet)
}
func New... |
<annotation>
<folder>laptop_computer</folder>
<filename>laptop_computer_2_view_1_pose_13_lit_1_gray.jpg</filename>
<source>
<database>photorealistic rendering</database>
</source>
<size>
<width>640</width>
<height>480</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>laptop_computer</name>
<pose... |
require 'omniauth'
module OmniAuth
module Strategies
class Ibmisam
include OmniAuth::Strategy
option :header_type, 'identity'
option :name, 'ibmisam'
LOGOUT_PATH = '/pkmslogout'
HEADER_NAMES = { identity: 'iv-user', eai: 'am-eai-user-id' }
def request_phase
if uid
... |
class TagSidebar < Sidebar
display_name 'Tags'
description 'Show most popular tags for this blog'
setting :maximum_tags, 20
def tags
@tags ||= Tag.find_all_with_article_counters.
take(maximum_tags.to_i).sort_by(&:name)
end
def sizes
return @sizes if @sizes
total = @tags.inject(0) { |sum... |
local id = ID("referencepanel.referenceview")
local refpanel = "referencepanel"
local refeditor
local spec = {iscomment = {}}
return {
name = "Show Reference in a panel",
description = "Adds a panel for showing documentation based on tooltips.",
author = "Paul Kulchenko",
version = 0.2,
dependencies = "1.30",... |
@interface GRMessagesGarbageView : UIView
@property (nonatomic, strong)UIImage *bodyImage;
@property (nonatomic, strong)UIImage *headerImage;
@property (nonatomic, strong) UIImageView *bodyView;
@property (nonatomic, strong) UIImageView *headerView;
@end
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}<... |
export const REGISTER = 'registration/REGISTER';
export const REGISTRATION_COMPLETED = 'registration/REGISTRATION_COMPLETED';
|
<!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... |
<?php
namespace Gt\WebEngine\Logic;
use Gt\Config\Config;
use Gt\Cookie\CookieHandler;
use Gt\Database\Database;
use Gt\DomTemplate\HTMLDocument;
use Gt\Http\Header\Headers;
use Gt\Http\ServerInfo;
use Gt\Input\Input;
use Gt\Session\Session;
abstract class PageSetup extends Page {
/** @var LogicPropertyStore */
pro... |
<?php
/**
*
* Athene2 - Advanced Learning Resources Manager
*
* @author Aeneas Rekkas (aeneas.rekkas@serlo.org)
* @license LGPL-3.0
* @license http://opensource.org/licenses/LGPL-3.0 The GNU Lesser General Public License, version 3.0
* @link https://github.com/serlo-org/athene2 for th... |
=begin
Copyright (C) 2011 Elliot Laster
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, copy, modify, merge, publish, distribut... |
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<check>
<domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>rich.example</domain:name>
</domain:check>
</check>
<extension>
<fee:check xmlns:fee="urn:ietf:params:xml:ns:fee-0.12">
<fee:command... |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.269
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-------------... |
var debug_mode: boolean = true; // for try-catch, scope: ajax
var website: any = window.website || {};
var $: any = window.$ || null; // jquery
var axios: any = window.axios || null;
var CryptoJS: any = window.CryptoJS || null;
var moment: any = window.moment || null;
// script loader
(function(){
website["script"... |
/*jshint node:true*/
/**
* @module Server:WorkerConstants
* @author kecso / https://github.com/kecso
*/
'use strict';
module.exports = {
msgTypes: {
request: 'request',
result: 'result',
initialize: 'initialize',
initialized: 'initialized',
query: 'query'
},
worke... |
<!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_09) on Wed Mar 06 22:32:41 PST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... |
/**
* Mocking client-server processing
*/
"use strict";
const Shop = exports;
const _products = require("./products.json");
const TIMEOUT = 100;
Shop.getProducts = function (cb, timeout) {
timeout = timeout || TIMEOUT;
setTimeout(function () {
cb(_products);
}, timeout);
};
Shop.buyProducts =... |
/*
* Common code to handle map devices which are simple ROM
* (C) 2000 Red Hat. GPL'd.
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#i... |
import * as path from 'path';
import * as crypto from 'crypto';
import * as pfs from 'vs/base/node/pfs';
import { URI as Uri } from 'vs/base/common/uri';
import { ResourceQueue } from 'vs/base/common/async';
import { IBackupFileService, BACKUP_FILE_UPDATE_OPTIONS, BACKUP_FILE_RESOLVE_OPTIONS } from 'vs/workbench/serv... |
namespace Microsoft.Azure.Management.Compute.Models
{
using System.Linq;
/// <summary>
/// Describes a Virtual Machine Extension.
/// </summary>
[Microsoft.Rest.Serialization.JsonTransformation]
public partial class VirtualMachineExtension : Resource
{
/// <summary>
/// Init... |
title: oVirt 3.6 Proposed Feature
authors: sandrobonazzola
wiki_title: Category:OVirt 3.6 Proposed Feature
wiki_revision_count: 2
wiki_last_updated: 2014-12-15
---
# oVirt 3.6 Proposed Feature
See also all [oVirt Features](http://www.ovirt.org/Category:Feature)
|
'use strict'
let audio
window.onload = onLoad
let sendGAevent = function (event, label) {}
function onLoad () {
const audioElement = document.querySelector('audio')
const playPauseImg = document.querySelector('#play-pause')
const messageElement = document.querySelector('#message')
audio = new Audio(audioEl... |
<?php
namespace RPG\HabitsBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use RPG\HabitsBundle\Entity\Traits;
/**
* User
* @ORM\Table(name="quest_task")
* @ORM\Entity(repositoryClass="RPG\HabitsBundle\Repository\QuestTaskRepository")
*/
class QuestTask
{
use T... |
drop table user_role;
drop table "user";
drop table role_permission;
drop table role;
drop table permission;
drop table menu;
drop table resource; |
<?xml version="1.0" encoding="utf-8"?>
<com.xym.common.widget.SquareLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent... |
package com.endava.jpa.service;
import com.endava.jpa.model.Department;
import java.util.List;
/**
* Created by tvasile on 7/26/2016.
*/
public interface JPAService<T> {
public void save(T toBeSaved);
public void update(T toBeUpdated);
public void remove(T toBeRemoved);
}
|
""" Tests for database cache implementations """
import sys
import transaction
import calendar
from redis import ConnectionError
from mock import MagicMock, patch, ANY
from pyramid.testing import DummyRequest
from sqlalchemy.exc import OperationalError
from . import DummyCache, DummyStorage, make_package
from dynamo3 ... |
import { JovoError } from '@jovotech/framework';
export class LanguageModelDirectoryNotFoundError extends JovoError {
constructor(readonly languageModelPath: string) {
super({
message: `Can not find language model directory at ${languageModelPath}.`,
});
}
}
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Tbl_campaign extends CI_Model {
public function __construct(){
parent::__construct();
}
function getAllCampign(){
return $this->db->get('tbl_campaign');
}
function getCampaignById($param){
$filter['id']=$param['id'];... |
<?php
declare(strict_types=1);
namespace Phpfastcache\Bundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* Class phpF... |
<法規>
<法規性質>命令</法規性質>
<英文法規名稱>Standards Governing the Establishment of Futures Clearing Houses</英文法規名稱>
<中文法規名稱>期貨結算機構設置標準</中文法規名稱>
<法規網址>https://law.moj.gov.tw/Eng/LawClass/LawAll.aspx?pcode=G0400108</法規網址>
<最新英文異動日期>20000911</最新英文異動日期>
<廢止註記>
</廢止註記>
<附件 />
<沿革內容><![CDATA[1. Promulgated by the Securities and Futures C... |
<?php declare(strict_types=1);
namespace ApiClients\Client\Github\CommandBus\Command;
use WyriHaximus\Tactician\CommandHandler\Annotations\Handler;
/**
* @Handler("ApiClients\Client\Github\CommandBus\Handler\LicensesHandler")
*/
final class LicensesCommand
{
}
|
layout: 6pa-cta
title: Don't Validate with Friends & Family
categories:
- workshops
tags:
- webinar
- 6packapps
- rubymotion
- ruby
status: publish
published: true
feature:
image: Validate.jpg
---
Validating your app idea by talking to your friends and family. That's so easy. And so very wrong.
You see, your
fa... |
<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\DependencyInjection\Except... |
@protocol FogHazeViewDelegate <NSObject>
@required
-(void)positionClickAtFogHazeView:(CGPoint)paramClickPoint;
@end
@interface FogHazeView : BaseView
@property(nonatomic,strong) id<FogHazeViewDelegate> delegate;
-(id)initWithFrameMore:(CGRect)paramFrame image:(UIImage *)paramImage animationDelay:(CGFloat)paramDelay ... |
FROM balenalib/coral-dev-debian:bookworm-build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu67 \
libssl1.1 \
libstdc++6 \
... |
package types
// Explanation type.
//
// https://github.com/elastic/elasticsearch-specification/blob/4ca0cc05d3ae3fa06c2cd7be91905b656a474334/specification/_global/explain/types.ts#L22-L26
type Explanation struct {
Description string `json:"description"`
Details []ExplanationDetail `json:"details"`
... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Profile.short_bio'
db.add_column('lprofile_profile', 'short_bio',
self.gf('django.db.models.fi... |
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Class: GameMachine::e Act::sBuild
... |
package com.perforce.p4java.impl.mapbased.rpc.stream;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.InflaterInputStream;
import com.jcraft.jzlib.ZInputStream;
import com.perforce.p4java.exception.P4JavaError;
import com.perforce.p4java.exception.NullPointerError;
import com.perforce.p4... |
package support;
import data.ModelAccessException;
import data.TrustView;
/**
* <p>Represents a bootstrap service.</p>
*
* <p>A method to bootstrap the {@link TrustView} is described in
* <q>Trust views for the web pki</q> [1], section 4.3.1.</p>
*
* <p>[1] Johannes Braun, Florian Volk, Johannes Buchmann, and M... |
import { Prop, PropOptions } from '../types'
import { toType, warn, isArray } from '../utils'
export default function oneOf<D, T extends readonly D[] = readonly D[]>(
arr: T,
) {
if (!isArray(arr)) {
throw new TypeError(
'[VueTypes error]: You must provide an array as argument.',
)
}
const msg = ... |
class User
def initialize(attribute_hash={})
@attrs = attribute_hash
end
def method_missing(method, *args, &block)
method = method.to_s
if @attrs.key?(method)
return @attrs[method]
else
method = method.split("_").map { |it| it.capitalize }.join(" ")
return "<span class='js-defin... |
#include "nodeElement.h"
#include <QtCore/QUuid>
#include <QtCore/QtMath>
#include <QtWidgets/QStyle>
#include <QtWidgets/QStyleOptionGraphicsItem>
#include <QtWidgets/QMessageBox>
#include <QtGui/QTextCursor>
#include <QtWidgets/QToolTip>
#include <QtWidgets/QGraphicsDropShadowEffect>
#include <math.h>
#include <q... |
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
#include <string>
#include <unordered_map>
#include <boost/function.hpp>
#include <boost/functional/factory.hpp>
#include "VosVideo.Common/StringUtil.h"
#include "VosVideo.Common/SeverityLogger.h"... |
<!DOCTYPE html>
<html devsite="">
<head>
<meta name="project_path" value="/java/docs/reference/_project.yaml">
<meta name="book_path" value="/java/docs/reference/cloud.google.com/java/latest/_book.yaml">
</head>
<body>
{% verbatim %}
<div>
<article data-uid="com.google.cloud.speech... |
module Arrow (module Control.Arrow) where
import Control.Arrow
|
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>
#include <getopt.h>
#include <time.h>
#include <sys/time.h>
#include <mpi.h>
#include <gmcmc/gmcmc_ode.h>
#include <gmcmc/gmcmc_popmcmc.h>
#include "common.h"
#define MPI_ERROR_CHECK(call, msg) \
do { \
int error = (call); \
if... |
(function () {
'use strict';
angular
.module('howarm')
.config(['$stateProvider', '$urlRouterProvider', RouterConfig]);
function RouterConfig($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/sensors');
$stateProvider
.state('sensors', {
url: '/sensors',
... |