text stringlengths 3 1.05M |
|---|
'use strict';
import applyEach from './internal/applyEach';
import eachOfSeries from './eachOfSeries';
export default applyEach(eachOfSeries);
|
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package org.hisp.dhis.analytics;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import org.hisp.dhis.common.DxfNamespaces;
/**
* @author Lars Helge Overland
*/
@JacksonXmlRootElement( localName = "eventDataType", namespace = DxfNamespaces.DXF_2_0 )
public enum EventDataType
{
AG... |
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="org.apache.kafka">
<resources>
<artifact name="${net.sf.jopt-simple:jopt-simple}" />
<artifact name="${org.apache.kafka:kafka_2.10}" />
<artifact name="${com.yammer.metrics:metrics-core}" />
<artifact name="${com.101tec:... |
<!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_21) on Sat May 11 22:08:47 BST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... |
package org.apache.catalina.deploy;
import java.io.Serializable;
/**
* Representation of a context initialization parameter that is configured
* in the server configuration file, rather than the application deployment
* descriptor. This is convenient for establishing default values (which
* may be configured... |
/* globals AutoComplete */
// Events on template instances, sent to the autocomplete class
const acEvents = {
'keydown'(e, t) {
t.ac.onKeyDown(e);
},
'keyup'(e, t) {
t.ac.onKeyUp(e);
},
'focus'(e, t) {
t.ac.onFocus(e);
},
'blur'(e, t) {
t.ac.onBlur(e);
}
};
Template.inputAutocomplete.events(acEvents);... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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
~
~ ht... |
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Windows.Input;
namespace ValueConverterSample.UWP.ViewModel
{
internal class DelegateCommand : ICommand
{
private readonly Action execute;
private readonly Func<bool> canExecute;
/// <summary>... |
import unit from '../unit'
const { prefixes, roots } = unit
const validRoot = roots[0]
describe('unit validator', () => {
it('handles simple units', () => {
roots.forEach(validRoot => {
const goodOutput = unit.validate(validRoot)
expect(goodOutput.isValid).toBe(true)
})
const invalidRoots = ... |
// ReSharper disable All
namespace OpenTl.Schema.Help
{
using System;
using System.Collections;
using System.Text;
using OpenTl.Schema;
using OpenTl.Schema.Serialization.Attributes;
[Serialize(0x2bf7ee23)]
public sealed class TProxyDataPromo : IProxyData
{
[SerializationOrder(0)]
public int E... |
/* Clear button */
.wgt-Signature div {
clear: both;
}
.wgt-Signature canvas,
.wgt-Signature img {
position: relative;
left: 0px;
right: 0px;
max-width: none;
}
.signature_unset canvas {
display: block;
touch-action: none;
}
.signature_unset img {
display: none;
}
.signature_... |
<?php
/**
* Created by PhpStorm.
* User: iGusev
* Date: 13/04/16
* Time: 04:10
*/
namespace TelegramBot\Api\Types;
use TelegramBot\Api\BaseType;
use TelegramBot\Api\TypeInterface;
class MessageEntity extends BaseType implements TypeInterface
{
const TYPE_MENTION = 'mention';
const TYPE_HASHTAG = 'hasht... |
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.50
-- This module is released under the MIT License (MIT).
-- Please see L... |
<?php
namespace Symfony\Component\HttpFoundation;
/**
* RequestMatcher compares a pre-defined set of checks against a Request instance.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
class RequestMatcher implements RequestMatcherInterface
{
/**
* @var string
*/
private $path;
... |
<?php include("../conect.php");
header("Content-Type: text/html;charset=utf-8");
?>
<!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; chars... |
class CreateGenders < ActiveRecord::Migration
def change
create_table :genders do |t|
t.integer :organization_id
t.string :gender
t.timestamps(null: false)
end
end
end
|
DROP MATERIALIZED VIEW IF EXISTS labsfirstday CASCADE;
CREATE materialized VIEW labsfirstday AS
SELECT
pvt.uniquepid, pvt.patienthealthsystemstayid, pvt.patientunitstayid
, min(CASE WHEN labname = 'anion gap' THEN labresult ELSE null END) as ANIONGAP_min
, max(CASE WHEN labname = 'anion gap' THEN labresult ELSE ... |
.class public interface abstract Lcom/xiaomi/channel/sdk/IShareReq;
.super Ljava/lang/Object;
# virtual methods
.method public abstract getJumpBackInfo()Lcom/xiaomi/channel/sdk/MLExtraInfo;
.end method
.method public abstract parseFromBundle(Landroid/os/Bundle;)V
.end method
.method public abstract toBun... |
namespace BABYLON {
IAnimationKey::IAnimationKey()
: frame{0}
, value{0}
, inTangent{std::nullopt}
, outTangent{std::nullopt}
, interpolation{std::nullopt}
{
}
IAnimationKey::IAnimationKey(float iFrame, AnimationValue iValue)
: frame{iFrame}
, value{iValue}
, inTangent{... |
require 'forwardable'
require 'singleton'
require 'thor'
module RooOnRails
module Checks
module Helpers
class Receiver < Thor::Group
include Singleton
include Thor::Actions
end
def self.included(by)
by.class_eval do
extend Forwardable
delegate %i(say... |
set -e
# Additional arguments:
# --rebuild_docs: Just build the projects and docs, don't create nuget packages.
# Also, use the latest to pick up new docs changes rather than
# the commit of the tag.
# --skip_tests: Skip the integration tests
# --ssh: Use SSH to clone GitHub repos
rebui... |
memegen.py is a plugin for `skybot <https://github.com/rmmh/skybot>`_.
To install, first ``pip install memepy`` in your bot's environment, then add
memegen.py to your bot's plugins directory.
|
<!DOCTYPE html>
<html>
<head>
<title>Jake Lane</title>
<meta charset="utf-8" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="descript... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
macro_rules! mac1 {
($eval:expr) => {
let mut $eval = ();
//~^ ERROR `mut` must be followed by a named binding
};
}
macro_rules! mac2 {
($eval:pat) => {
let mut $eval = ();
//~^ ERROR `mut` must be followed by a named binding
//~| ERROR expected identifier, found `do... |
#import "LayoutConstraint.h"
#import "QuartzCore/QuartzCore.h"
#import "TiUtils.h"
#import "TiUIView.h"
#import "TiViewProxy.h"
/* BEGIN PSEUDOCODE
First try width.
Width is constant or percent: create a width value appropriate. Consult view if it's a valid width.
Width is auto: Consult view on preferred width. If... |
package centreon::common::ibm::tapelibrary::snmp::mode::components::changer;
use strict;
use warnings;
use centreon::common::ibm::tapelibrary::snmp::mode::components::resources qw($map_operational);
my $mapping = {
changerDevice_OperationalStatus => { oid => '.1.3.6.1.4.1.14851.3.1.11.2.1.9', map => $map_operatio... |
if( typeof(Bienes_Raices) == 'undefined'){
var Bienes_Raices = {};
}
Bienes_Raices.Mapa = function(Coordenadas,Adapter){
this.coordenadas = Coordenadas;
this.adapter = Adapter;
this.init();
};
Bienes_Raices.Mapa.prototype = {
constructor : Bienes_Raices.Mapa,
init:function(){
var that... |
package com.jtsoluciones.webpage.api.logging;
import java.util.logging.Level;
/**
* Created by Jonathan Ruiz on 10/17/17.
*/
public abstract class DefaultLogger implements Logger {
protected java.util.logging.Logger LOG = java.util.logging.Logger.getLogger(getClass().getName());
@Override
public void ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Travelling Salesmans</title>
<meta name="description" content="A GUI simulation of the travelling salesman problem.">
<link href="main.css">
<style>
body {
background-color:gainsboro;
... |
/* global require, describe, it */
'use strict';
// MODULES //
var // Expectation library:
chai = require( 'chai' ),
// Matrix data structure:
matrix = require( 'dstructs-matrix' ),
// Check whether an element is a finite number
isFiniteNumber = require( 'validate.io-finite' ),
// Validate a value is NaN:
i... |
$NetBSD$
--- third-party/folly/src/folly/io/async/AsyncSSLSocket.cpp.orig 2015-08-25 22:48:36.000000000 +0000
+++ third-party/folly/src/folly/io/async/AsyncSSLSocket.cpp
@@ -325,7 +325,8 @@ AsyncSSLSocket::~AsyncSSLSocket() {
void AsyncSSLSocket::init() {
// Do this here to ensure we initialize this once before an... |
Grani_RegistryKey
============
DSC Resource to configure Registry SubKey.
Resource Information
----
Name | FriendlyName | ModuleName
-----|-----|-----
Grani_RegistryKey | cRegistryKey | GraniResource
Test Status
----
See **Test** Project for the detail.
Method | Result
----|----
Pester| pass
Configuration| pass
... |
//******************************************************************************************************
// OutputStreamDeviceMeasurementUserControl.cs - Gbtc
//
// Copyright © 2010, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor li... |
package br.com.menuber.web.rest.errors;
import java.util.List;
import org.springframework.dao.ConcurrencyFailureException;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.validation.BindingResult;
import org.springframework.valid... |
FROM balenalib/coral-dev-fedora:32-run
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast majority... |
// Copyright 2013 the V8 project 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 <vector>
#include "src/crankshaft/hydrogen-types.h"
#include "src/factory.h"
#include "src/heap/heap.h"
#include "src/isolate.h"
// FIXME(msta... |
//===--- MetadataReader.h - Abstract access to remote metadata --*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
from pycket import values
from pycket.prims.expose import default, expose, expose_val, procedure
expose_val("_int8" , values.W_Fixnum.make(0))
expose_val("_int16" , values.W_Fixnum.make(1))
expose_val("_int32" , values.W_Fixnum.make(2))
expose_val("_int64" , values.W_Fixnum.make(3))
expose_val("_uint... |
package org.jenkinsci.plugins.workflow.steps;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Injects value from {@link StepContext#get(Class)}.
*
* Used on... |
<?php
namespace ondrs\iDefendApi;
use Kdyby\Curl\CurlException;
use Kdyby\Curl\CurlSender;
use Kdyby\Curl\Request;
use Nette\Utils\Json;
class Sender
{
/** @var \Kdyby\Curl\CurlSender */
private $curlSender;
/** @var string */
private $url = 'https://www.idefend.eu/ws';
/**
* @param str... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:layout_width="match_parent"
android:layout_height="match... |
from typing import Any, TYPE_CHECKING
from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy
from ._version import VERSION
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-i... |
/*
* ipcp.h - IP Control Protocol definitions.
*
* Copyright (c) 1989 Carnegie Mellon University.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentatio... |
#include "config.h"
#include "HTMLLabelElement.h"
#include "Document.h"
#include "ElementIterator.h"
#include "Event.h"
#include "EventNames.h"
#include "FormAssociatedElement.h"
#include "HTMLNames.h"
namespace WebCore {
using namespace HTMLNames;
static LabelableElement* firstElementWithIdIfLabelable(TreeScope&... |
function label = LSC(data,k,opts)
% label = LSC(data,k,opts): Landmark-based Spectral Clustering
% Input:
% - data: the data matrix of size nSmp x nFea, where each row is a sample
% point
% - k: the number of clusters
% opts: options for this algorithm
% - p: the number ... |
layout: page
title: About
---
Instruction Set is a blog by the instructors of [General Assembly's](https://generalassemb.ly) [Web Development Immersive](https://generalassemb.ly/education/web-development-immersive). It charts our thoughts and efforts to teach web development (and programming fundamentals in general) t... |
namespace co
{
struct ThreadLocalInfo;
// libgo debug tool
class CoDebugger
{
public:
typedef std::atomic<uint64_t> count_t;
typedef std::deque<std::pair<std::string, count_t>> object_counts_t;
typedef std::deque<std::pair<std::string, uint64_t>> object_counts_result_t;
template <typename Drived>
... |
package com.squareup.wire.protos.redacted;
import com.squareup.wire.Message;
import com.squareup.wire.ProtoField;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
public final class RedactedChild extends Message<RedactedChild> {
private static final long serialVersionUID = 0L;
public ... |
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.coffee</groupId>
<ar... |
> Demonstrating the use of Apache Avro for serialization in order
to interchange data between Perl and Java via [RabbitMQ][rabbitmq] in RPC mode. This code is based on the excellent [RPC tutorial][rpc] by RabbitMQ.
## Motivation
Since one hardly finds any examples of using [RabbitMQ][rabbitmq] in connection with [Apa... |
package org.postgresql.jdbc;
import org.postgresql.util.GT;
import org.postgresql.util.PSQLException;
import org.postgresql.util.PSQLState;
import java.lang.reflect.Method;
import java.sql.SQLException;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.ConcurrentHashMap;
import java.util.c... |
import {Component, OnInit} from "@angular/core";
import {CatService} from "./cat.service";
import {ActivatedRoute, Router} from "@angular/router";
import {Cat} from "./cat";
@Component({
selector: "cat-detail",
template: require("./cat-detail.component.html")
})
export class CatDetailComponent implements OnInit {
ca... |
package exnihilocreatio.blocks;
import exnihilocreatio.ExNihiloCreatio;
import exnihilocreatio.barrel.IBarrelMode;
import exnihilocreatio.barrel.modes.block.BarrelModeBlock;
import exnihilocreatio.barrel.modes.compost.BarrelModeCompost;
import exnihilocreatio.barrel.modes.fluid.BarrelModeFluid;
import exnihilocreatio.... |
package fileseq
import (
"fmt"
"regexp"
"strconv"
"strings"
)
type PadStyle int
const (
// Constants defining the style of padding to use
// when converting between padding characters ('#', '##', '@@@')
// and their equivalent numeric padding width
PadStyleHash1 PadStyle = 0 // '#' char == 1
PadStyleHash4... |
{% extends "index.html" %}
{% block title %} Error 413 {% endblock %}
{% block description %} {% endblock %}
{% block content %}
<article class="box">
<h1>Error 413</h1>
<div>
</div>
</article>
{% endblock %} |
<?php
namespace LeroyMerlin\ExactTarget;
use Mockery as m;
/**
* Test case for Client class
*/
class ClientTest extends TestCase
{
public function testPerformRequestShouldCallWebServiceUsingServiceEnum()
{
$requestBuilder = m::mock(
'LeroyMerlin\ExactTarget\RequestBuilder[request]',
... |
package com.netease.nim.uikit.uinfo;
import android.content.Context;
import android.os.Handler;
import java.util.ArrayList;
import java.util.List;
/**
* 用户资料变动观察者。
*/
public class UserInfoObservable {
private List<UserInfoObserver> observers = new ArrayList<>();
private Handler uiHandler;
... |
import isArray from "../../arr/queries/isArray"
import sortNumbers from "../../arr/transformations/sortNumbers"
// Split a string at a numerical index or at each index in an array of numerical indices.
// Example: splitAtIndex("Hello world", "Hello world".length - 1) --> ["Hello worl", "d"]
// Example: splitAtIndex("H... |
'use strict';
// @ts-check
// ==================================================================================
// index.js
// ----------------------------------------------------------------------------------
// Description: System Information - library
// for Node.js
// Copyright: (c) 2014 - 202... |
import json
import pytest
from Crypto.PublicKey import RSA
from jwkest.jwk import RSAKey, SYMKey
from jwkest.jws import JWS
from oic.extension.signed_http_req import SignedHttpRequest
from oic import rndstr
from oic.oic.provider import Provider
from oidc_fed import OIDCFederationError
from oidc_fed.federation import ... |
export { default } from "./../../_gen/openfl/utils/AssetLibrary";
import { default as FilterType } from "../../_gen/openfl/_internal/formats/swf/FilterType";
import { default as ShapeCommand } from "../../_gen/openfl/_internal/formats/swf/ShapeCommand";
import { default as SWFLiteLibrary } from "../../_gen/openfl/_int... |
import nose
import itertools
import os
import string
from distutils.version import LooseVersion
from datetime import datetime, date
from pandas import (Series, DataFrame, MultiIndex, PeriodIndex, date_range,
bdate_range)
from pandas.compat import (range, lrange, StringIO, lmap, lzip, u, zip,
... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.1.1; ru-ru; Fly IQ430 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ACHEETAHI/2100501038</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/m... |
using System;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Logging;
namespace WebJobs.Script.Tests.Perf.Dashboard
{
public static class RunPerfNightlyTimer
{
[FunctionName("RunPerfNightlyTimer")]
public static async ... |
body {
padding-top: 50px;
}
.starter-template {
padding: 40px 15px;
text-align: center;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
#footer {
position: ... |
PROJECT_NAME := low_power_pwm_pca10028
TARGETS := nrf51422_xxac
OUTPUT_DIRECTORY := _build
SDK_ROOT := ../../../../../..
PROJ_DIR := ../../..
$(OUTPUT_DIRECTORY)/nrf51422_xxac.out: \
LINKER_SCRIPT := low_power_pwm_gcc_nrf51.ld
# Source files common to all targets
SRC_FILES += \
$(SDK_RO... |
{% extends "base.html" %}
{% load wagtailcore_tags people_tags %}
{% block content %}
<section class="main-section section--page-header">
<div class="container">
<h1 class="page-title">{{ page.title }}</h1>
</div>
<div class="page-header-koro"></div>
</section>
<section class="main-section section--conten... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* CuentaRepository.
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class CuentaRepository extends EntityRepository
{
public function retrieveAllPendingDebts()
{
$sql = '... |
package com.bns.component.vfs;
import java.util.Properties;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.vfs.FileSystemManager;
import org.apache.commons.vfs.cache.DefaultFilesCache;
import org.apache.common... |
/*
* User: anna
* Date: 06-May-2008
*/
package com.intellij.refactoring.extractMethodObject;
import com.intellij.codeInsight.NullableNotNullManager;
import com.intellij.codeInsight.generation.GenerateMembersUtil;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.W... |
package org.testory.plumbing.inject;
import static java.lang.reflect.Modifier.isFinal;
import static java.lang.reflect.Modifier.isStatic;
import static java.util.Objects.deepEquals;
import static org.testory.common.Classes.defaultValue;
import static org.testory.common.Classes.setAccessible;
import static org.testory.... |
/**
* Scheduler object.
*/
'use strict';
var inherits = require('inherits'),
EventEmitter = require('events').EventEmitter,
_ = require('lodash'),
notifier = require('node-notifier'),
colors = require('colors'), // console colors
Api = require('./api'),
util ... |
ddfs chunk test:breast_cancer_cont ./breast_cancer_wisconsin_cont.txt
ddfs chunk test:breast_cancer_cont_test ./breast_cancer_wisconsin_cont_test.txt
ddfs chunk test:breast_cancer_disc ./breast_cancer_wisconsin_disc.txt
ddfs chunk test:breast_cancer_disc_test ./breast_cancer_wisconsin_disc_test.txt
ddfs chunk test:ex3 ... |
'use strict';
require('../globals');
var time = require('./time');
var legend = module.exports = {};
legend.defs = function(encoding) {
var defs = [];
// TODO: support alpha
if (encoding.has(COLOR) && encoding.legend(COLOR)) {
defs.push(legend.def(COLOR, encoding, {
fill: COLOR,
orient: 'righ... |
require "rails_helper"
describe Calendars::Rules::FixedStartTimeRule do
describe "#check" do
let(:event) { Calendars::Event.new }
let(:rule) { described_class.new(value: Time.zone.parse("12:00:00")) }
it "passes on match" do
event.starts_at = Time.zone.parse("2016-01-01 12:00pm")
expect(rule... |
app.controller('newDatabaseController', function($scope, databaseService) {
const app = require('electron');
var sqlite = require("sqlite-cipher");
var remote = app.remote;
var dialog = remote.dialog;
$scope.new_db = {};
$scope.algorithms = sqlite.algorithms;
$scope.selectFile = function(){
dial... |
using UnityEngine;
using System.Collections;
using RootMotion.FinalIK;
namespace RootMotion.Demos {
/// <summary>
/// Demo for offsetting Effectors.
/// </summary>
public class EffectorOffset : OffsetModifier {
// If 1, The hand effectors will maintain their position relative to their parent triangle's rotatio... |
using System;
using System.Collections.Generic;
using System.Linq;
using LibWorkbooks.Common;
namespace LibWorkbooks.StandardFunctions
{
public class Stdev
{
public void Function(IFunctionArgs args, IFunctionCaller caller)
{
// Syntax: STDEV(number1,[number2],...)
// ht... |
namespace fusebox {
// Returns errno code for a base::File::Error |error| code.
int FileErrorToErrno(base::File::Error error);
// Returns errno code for a net:: |error| code.
int NetErrorToErrno(int error);
} // namespace fusebox
#endif // CHROME_BROWSER_ASH_FUSEBOX_FUSEBOX_ERRNO_H_
|
Select S.*,
ISM.injuryLevel,
ISM.weapons,
ISM.shotatpolice,
I.id,
I.date,
I.location,
I.city as incidentCity,
(select group_concat(distinct ALT.officialname) AS agencies
from officerIncidentMap OIM
left join agencyaltnames ALT
ON ALT.shortname =OIM.agency
where incidentId= I.id
group by incidentId) AS agencies
fr... |
// Declarations for checking __TBB_ASSERT checks inside TBB.
// This header is an optional part of the test harness.
// It assumes that "harness.h" has already been included.
#define TRY_BAD_EXPR_ENABLED (TBB_USE_ASSERT && TBB_USE_EXCEPTIONS && !__TBB_THROW_ACROSS_MODULE_BOUNDARY_BROKEN)
#if TRY_BAD_EXPR_ENABLED
/... |
package triangle;
public class TriangleTest {
public static void main(String[] args) {
Triangle triangle;
double perimeter;
triangle = new Triangle(3, 9);
perimeter = triangle.computePerimeter();
System.out.println(perimeter);
}
}
|
DROP TABLE [comment];
DROP TABLE [relation];
DROP TABLE [upload];
DROP TABLE [content];
DROP TABLE [region];
DROP TABLE [property];
DROP TABLE [category];
DROP TABLE [extension];
DROP TABLE [page];
DROP TABLE [post];
DROP TABLE [permalink];
DROP TABLE [regiontemplate];
DROP TABLE [posttemplate];
DROP TABL... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>WeakMap | typescript</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/... |
@interface ZBGradLabel : UIView
@property (nonatomic, copy) IBInspectable NSString *text;
@property (nonatomic, retain) UIFont *font; // Default: systemFontOfSize:frame.size.height
@property (nonatomic, assign) IBInspectable UILineBreakMode lineBreakMode;
@property (nonatomic, assign) UITextAlignment textAlignme... |
layout: article
title: "DC circuit analysis overview"
author: Willy McAllister
comments: true
---
Circuit analysis, or solving a circuit, means figuring out all the voltages and currents. Here's some context for how engineers do that.
Written by Willy McAllister.
----
### Contents
{: .no_toc :}
* Will be replace... |
exports.render=function()
{
var $comp=$("<div role='form'>");
return $comp;
} |
int main(int argc, char *argv[])
{
int areas[] = {10, 12, 13, 14, 20};
char name[] = "Zed";
char full_name[] = {
'Z', 'e', 'd',
' ', 'A', '.',
'S','h', 'a', 'w', '\0'
};
// WARNING: On some systems you may have to change the
// %ld in this code to a %u since it will use unsigned ints
printf("The s... |
module Azure::ServiceBus::Mgmt::V2018_01_01_preview
module Models
#
# Result of the request to list ServiceBus operations. It contains a list
# of operations and a URL link to get the next set of results.
#
class OperationListResult
include MsRestAzure
include MsRest::JSONable
... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Expectation Operator (a > b)</title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../... |
"""
Takes as input one 3-column (a,b,c) input CSV and outputs
a 3-column (a',b',c') output CSV with the square of each
term, and also a 1-column (u) CSV with the mean of (a,b,c)
"""
import csv
import argparse
import sys
# ArgumentParser facilitates parsing inputs from sys.argv, and
# generates help messages based on ... |
DIALOG=${DIALOG=dialog}
$DIALOG --title " My first dialog" --clear --yesno "Hello , this is my first dialog program" 10 30
echo $?
$DIALOG --clear --inputbox "New Todo" 18 60 \
--and-widget --clear --inputbox "Priority" 18 60 \
echo $?
$DIALOG --menu "YATA Main Menu" 18 60 20 1 "Toggle Todos" 2 "Add To... |
/**
* @Author: can.yang <yc>
* @Date: 2017-10-18 18:04:13
* @Last modified by: yc
* @Last modified time: 2017-10-18 18:04:15
*/
import logger from '../util/logger'
import is from '../util/is'
import dllConfig from '../util/load-dllPlugin-config'
import fs from 'fs'
import path from 'path'
import webpack from ... |
<?php
namespace Spatie\SchemaOrg;
/**
* An article, such as a news article or piece of investigative report.
* Newspapers and magazines have articles of many different types and this is
* intended to cover them all.
*
* See also [blog
* post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2... |
<?php
namespace Admin\Model\Entity;
use Cake\ORM\Entity;
/**
* Disciplina Entity
*
* @property int $id
* @property string $titulo
* @property int $simulado_id
* @property int $excluido
* @property string $slug
* @property int $status
*
* @property \Admin\Model\Entity\Simulado $simulado
* @property \Admin\... |
import pkg from './package.json';
// Typescript creates the commonJS package, let rollup do the rest
export default [
// browser-friendly UMD build
{
input: 'dist/index.js',
output: {
file: pkg.browser,
format: 'umd',
name: 'maquetteCssTransitions'
},
plugins: []
},
// Common... |
jest.mock('fs');
import * as fs from 'fs';
import RawConfig from '../../src/types/rawConfig/RawConfig';
import loadConfig, { loadConfigFromString, normalizeExportRules } from '../../src/utils/loadConfig';
import * as normalizePath from '../../src/utils/normalizePath';
import ConfigSet from '../../src/types/ConfigSet';
... |