text stringlengths 3 1.05M |
|---|
import logging
import pymongo
from bson import ObjectId
from bson.errors import InvalidId
from flask import flash
from flask_admin._compat import string_types
from flask_admin.babel import gettext, ngettext, lazy_gettext
from flask_admin.model import BaseModelView
from flask_admin.actions import action
from flask_ad... |
' 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.
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports Microsoft.CodeAnalysis.V... |
'use strict';
var inherits = require('inherits')
, urlUtils = require('../../utils/url')
, BufferedSender = require('./buffered-sender')
, Polling = require('./polling')
;
var debug = function() {};
if (process.env.NODE_ENV !== 'production') {
debug = require('debug')('sockjs-client:sender-receiver');
}
fu... |
import time
class SplitTableMixin(object):
UPDATE_PROJECTS_TIME = 10 * 60
def _collection_name(self, project):
if self.collection_prefix:
return "%s.%s" % (self.collection_prefix, project)
else:
return project
@property
def projects(self):
if time.time... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Sun Dec 30 01:26:12 PST 2012 -->
<TITLE>
org.apache.hadoop.mapreduce.lib.map Class Hierarchy (Hadoop 1.0.4-SNAPSHOT API)
</TITLE>
<META NAME=... |
<?php
require_once 'Swift/Tests/SwiftUnitTestCase.php';
require_once 'Swift/Events/SendEvent.php';
require_once 'Swift/Mime/Message.php';
require_once 'Swift/Transport.php';
class Swift_Events_SendEventTest extends Swift_Tests_SwiftUnitTestCase
{
public function testMessageCanBeFetchedViaGetter()
{
$m... |
/****************************************************************************/
/**
* @file Makefile.cpp
* @author Naohisa Sakamoto
*/
/****************************************************************************/
#include "Makefile.h"
#include <string>
#include <fstream>
#include <kvs/Message>
#include <kvs/Comp... |
package org.apache.flink.runtime.scheduler;
import org.apache.flink.runtime.executiongraph.Execution;
import org.apache.flink.runtime.executiongraph.ExecutionAttemptID;
import java.util.List;
/** Component responsible for assigning slots to a collection of {@link Execution}. */
public interface ExecutionSlotAlloca... |
Get-Module Infoblox-DDI | Remove-Module
clear
# Load the current module
Import-Module .\Infoblox-DDI.psd1
Write-Host ""
Get-Command -Module Infoblox-DDI
Write-Host ""
#$GridMaster = Read-Host "Grid Master"
#$Username = Read-Host "Username"
#Connect-IBGridMaster $GridMaster $Username -ask -force
#Connect... |
/* version: 0.1.15 */
var Absurd = (function(w) {
var lib = {
api: {},
helpers: {},
plugins: {},
processors: {
css: { plugins: {}},
html: {
plugins: {},
helpers: {}
},
component: { plugins: {}}
}
};
var require = function(v) {
// css preprocessor
if(v.indexOf('css/CSS.js') > 0) {
... |
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32, CharSet = CharSet.Unicode, EntryPoint = "VerLanguageNameW")]
internal static extern unsafe int VerLanguageName(uint wLang, char* szLang, uint cchLang);
}
}... |
classdef InvocationTest < matlab.unittest.TestCase
%InvocationTest Tests the behaviour of the Invocation value class
% * Test that creation is handled correctly (first substruct must
% define a method).
properties
end
methods (Test)
function test_correctConstructor(tc)
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
package app.repositories;
import app.entities.Workshop;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import java.math.BigDecimal;
import java... |
package com.amazonaws.services.dynamodbv2.model;
import java.io.Serializable;
/**
* <p>
* Represents the output of a <i>DescribeTable</i> operation.
* </p>
*/
public class DescribeTableResult implements Serializable, Cloneable {
private TableDescription table;
/**
* Sets the value of the Table pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Azure.Batch
{
/// <summary>
/// Contains constants for interacting with the Azure Batch service.
/// </summary>
public static class Constants
{
/// <summa... |
#include <utility>
#include <algorithm>
#include "util/rb_map.h"
#include "util/sstream.h"
#include "kernel/abstract.h"
#include "kernel/instantiate.h"
#include "library/trace.h"
#include "library/expr_lt.h"
#include "library/aliases.h"
#include "library/placeholder.h"
#include "library/scoped_ext.h"
#include "library... |
<?php
namespace spec\Sylius\Bundle\CoreBundle\EventListener;
use Doctrine\ORM\Event\LifecycleEventArgs;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Sylius\Bundle\CoreBundle\EventListener\CanonicalizerListener;
use Sylius\Component\Core\Model\CustomerInterface;
use Sylius\Component\Core\Model\ShopUserInte... |
**Upgrading from 0.3.3**: Binaries contain no backwards incompatible changes.
This is another quick bug fix release to address the broken `nsqadmin` binary in the distribution
(see #578).
### 0.3.4 - 2015-04-26
**WARNING**: please upgrade to `v0.3.5` to address the broken `nsqadmin` binary.
**Upgrading from 0.3.3**... |
package test.timeout;
import org.testng.annotations.Test;
public class TestTimeOutSampleTest {
@Test
public void timeoutTest() {
try {
Thread.sleep(2_000);
} catch (InterruptedException handled) {
Thread.currentThread().interrupt();
}
}
}
|
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProp... |
<?php
/**
* Generic message class
*
* @category Zend
* @package Zend_Cloud
* @subpackage QueueService
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Cloud_QueueSer... |
package org.apache.hadoop.yarn.api.records.impl.pb;
import org.apache.hadoop.yarn.api.records.ContainerId;
import org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest;
import org.apache.hadoop.yarn.api.records.Resource;
import org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto;
import org.apache... |
#define pr_fmt(fmt) "[HIB/CORE] " fmt
#include <linux/module.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/cdev.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/mm.h>
#include <linux/kfifo.h>
#include <linux/syscalls.h>
#include <linux/uaccess... |
using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
using dokidoki.dokiScriptCompiler;
namespace dokiScriptCompilerForMac
{
class MainClass
{
static void Main (string [] args)
{
string s = Environment.CurrentDirectory;
args = new string [] { s};
... |
package org.hellojavaer.ddal.sequence.exception;
/**
*
* @author <a href="mailto:hellojavaer@gmail.com">Kaiming Zou</a>,created on 09/09/2017.
*/
public class GetSequenceFailedException extends SequenceException {
public GetSequenceFailedException() {
}
public GetSequenceFailedException(String messag... |
@implementation UIActivityIndicatorView(Html)
+ (HtmlRenderModel)html_defaultRenderModel
{
return HtmlRenderModel_Element;
}
#pragma mark -
- (void)html_applyStyle:(SamuraiHtmlStyle *)style
{
[super html_applyStyle:style];
SamuraiHtmlColor * color = (SamuraiHtmlColor *)style.color;
if ( color && [color isColor... |
require 'formula'
class Texwrapper < Formula
homepage 'http://obrecht.fr/texwrapper/'
url 'http://obrecht.fr/texwrapper/texwrapper.0.2.2.tar.gz'
sha1 '692c157f6f8b6ea1fc8bc4720d287ab147690fcc'
def install
system "make"
bin.install 'texwrapper'
man1.install 'texwrapper.1'
end
end
|
package org.springframework.boot.autoconfigure.web.reactive;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.ListableBeanFactory;
import org.spring... |
'use strict';
var ES5Type = require('../5/Type');
// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values
module.exports = function Type(x) {
if (typeof x === 'symbol') {
return 'Symbol';
}
return ES5Type(x);
};
|
/*! ReactInstantSearch 4.0.0-beta.3 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && ... |
<?php
/**
* Contents of the Delete-sidebar popup in the widgets screen.
*
* This file is included in widgets.php.
*/
?>
<div class="wpmui-form">
<div>
<?php _e(
'Please confirm that you want to delete the sidebar <strong class="name"></strong>.', CSB_LANG
); ?>
</div>
<div class="buttons">
... |
require 'spec_helper'
describe BlobViewer::Readme, model: true do
include FakeBlobHelpers
let(:project) { create(:project, :repository) }
let(:blob) { fake_blob(path: 'README.md') }
subject { described_class.new(blob) }
describe '#render_error' do
context 'when there is no wiki' do
it 'returns :n... |
.oo-ui-icon-arrowNext {
background-image: /* @embed */ url(themes/apex/images/icons/arrow-ltr.png);
}
.oo-ui-icon-arrowLast {
background-image: /* @embed */ url(themes/apex/images/icons/arrow-rtl.png);
}
.oo-ui-icon-caretNext {
background-image: /* @embed */ url(themes/apex/images/icons/caret-rtl.png);
}
.oo-ui-ico... |
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
testing "k8s.io/client-go/testing"
... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var mobx = require('mobx');
var React = require('react');
var React__default = _interopDefault(React);
var reactNative = requ... |
.oo-ui-icon-indent {
background-image: /* @embed */ url(themes/apex/images/icons/indent-ltr.png);
}
.oo-ui-icon-listBullet {
background-image: /* @embed */ url(themes/apex/images/icons/listBullet-ltr.png);
}
.oo-ui-icon-listNumbered {
background-image: /* @embed */ url(themes/apex/images/icons/listNumbered-ltr.png)... |
"""Tests for init methods."""
from unittest.mock import patch
from homeassistant.components.flipr.const import CONF_FLIPR_ID, DOMAIN
from homeassistant.config_entries import ConfigEntryState
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD
from homeassistant.core import HomeAssistant
from tests.common import... |
BOOKIE_CONF=$BK_HOME/conf/bookkeeper.conf
# Log4j configuration file
# BOOKIE_LOG_CONF=
# Logs location
# BOOKIE_LOG_DIR=
# Memory size options
BOOKIE_MEM=" -Xms2g -Xmx2g -XX:MaxDirectMemorySize=2g"
# Garbage collection options
BOOKIE_GC=" -XX:+UseG1GC -XX:MaxGCPauseMillis=10 -XX:+ParallelRefProcEnabled -XX:+Unlock... |
<section class="row" ng-controller="AuthenticationController">
<h3 class="col-md-12 text-center">Sign in using your social accounts</h3>
<div class="col-md-12 text-center">
<img ng-click="callOauthProvider('/api/auth/facebook')" ng-src="/modules/users/client/img/buttons/facebook.png">
<!-- <img ng-click="ca... |
<?php
App::uses('Security', 'Utility');
App::uses('DebugKitAppController', 'DebugKit.Controller');
/**
* DebugKit ToolbarAccess Controller
*
* Allows retrieval of information from the debugKit internals.
*
* @since DebugKit 1.1
*/
class ToolbarAccessController extends DebugKitAppController {
/**
* na... |
"""
Class for VM tasks like spawn, snapshot, suspend, resume etc.
"""
import collections
import os
import time
import decorator
from oslo_concurrency import lockutils
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import excutils
from oslo_utils import strutils
from oslo_utils import ... |
Imports SistFoncreagro.BussinessEntities
Imports SistFoncreagro.DataAccess
Imports System.Data.SqlClient
Imports System.Data
Public Class ContratoConvenioRepository : Inherits MasterDataAccess : Implements IContratoConvenioRepository
Public Sub DeleteContratoConvenio(ByVal idContrato As Integer, ByVal idPeriodoLa... |
require "#{Dir.home}/ruby/pianoforall/utilities"
use_synth :piano
# No inversion - Root Position
play invert_chord(chord(:C4), 0)
sleep MINIM
# First inversion (Middle Inversion)
play invert_chord(chord(:C4), -1)
sleep MINIM
# Second inversion (Backwards Inversion)
play invert_chord(chord(:C4), -2)
sleep MINIM
# 7th ... |
object Test {
def power0(x: Double, inline n: Int): Double = ??? // error: inline modifier can only be used for parameters of inline methods
inline val N = 10
def X = 20
inline inline val twice = 30 // error: repeated modifier
class C(inline x: Int, private inline val y: Int) { // error // error inline m... |
<!doctype html>
<html lang="he">
<head>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProp... |
package com.amazonaws.services.support.model.transform;
import static com.amazonaws.util.StringUtils.UTF8;
import static com.amazonaws.util.StringUtils.COMMA_SEPARATOR;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import ja... |
<?php
namespace Zend\Mvc\Service;
use Zend\ModuleManager\Listener\ServiceListener;
use Zend\ModuleManager\Listener\ServiceListenerInterface;
use Zend\Mvc\Exception\InvalidArgumentException;
use Zend\Mvc\Exception\RuntimeException;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterf... |
{% extends 'templates/nhs_transaction_layout.html' %}
{% import 'includes/form_macros.html' as form_macros %}
{% block afterHeader %}
{% include "includes/service-headers/low-income.html" %}
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-two-th... |
// Copyright 2016 The Bazel Authors. 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... |
@interface LoadSgfCommand()
@property(nonatomic, retain) NSString* sgfFilePath;
@end
@implementation LoadSgfCommand
// -----------------------------------------------------------------------------
/// @brief Initializes a LoadSgfCommand object that will load the SGF file
/// identified by the full file path @a sgfFi... |
package org.connectbot.util;
import com.trilead.ssh2.crypto.Base64;
/**
* @author Kenny Root
*
*/
public class XmlBuilder {
private StringBuilder sb;
public XmlBuilder() {
sb = new StringBuilder();
}
public XmlBuilder append(String data) {
sb.append(data);
return this;
}
public XmlBuilder append(... |
class opaque_sampler
{
public:
opaque_sampler(int width, int sampled_width, unsigned int sample_size, bool filter, const pixel_format& format);
virtual ~opaque_sampler();
virtual bool sample(const unsigned char* pixels, int offset, unsigned char* out);
void finish(unsigned char* out);
protected:
u... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/container/v1beta1/cluster_service.proto
package com.google.container.v1beta1;
/**
*
*
* <pre>
* CompleteIPRotationRequest moves the cluster master back into single-IP mode.
* </pre>
*
* Protobuf type {@code google.container.v1beta1.... |
require "abstract_unit"
class BacktraceCleanerFilterTest < ActiveSupport::TestCase
def setup
@bc = ActiveSupport::BacktraceCleaner.new
@bc.add_filter { |line| line.gsub("/my/prefix", "") }
end
test "backtrace should filter all lines in a backtrace, removing prefixes" do
assert_equal \
["/my/cl... |
The NERD Tree
=============
Intro
-----
The NERD tree allows you to explore your filesystem and to open files and
directories. It presents the filesystem to you in the form of a tree which you
manipulate with the keyboard and/or mouse. It also allows you to perform
simple filesystem operations.
The following feature... |
.theme-black .navbar {
background-color: #000; }
.theme-black .navbar-brand {
color: #fff; }
.theme-black .navbar-brand:hover {
color: #fff; }
.theme-black .navbar-brand:active {
color: #fff; }
.theme-black .navbar-brand:focus {
color: #fff; }
.theme-black .nav > li > a {
color: #fff; }
.th... |
package com.dao;
import java.util.List;
import com.model.Member;
public interface MemberDao {
public int insert(Member m);
public int update(Member m);
public int delete(Member m);
public List select();
public Member select1();
}
|
using System;
using System.Diagnostics;
using System.IO;
using Gallio.Common.IO;
using Gallio.Common.Remoting;
using Gallio.Runtime.Debugging;
using Gallio.Runtime.Loader;
using Gallio.Runtime.Logging;
using Gallio.Common.Reflection;
namespace Gallio.Runtime.Hosting
{
/// <summary>
/// An isolated app domain h... |
module EmailsHelper
# Google Actions
# https://developers.google.com/gmail/markup/reference/go-to-action
def email_action(url)
name = action_title(url)
if name
data = {
"@context" => "http://schema.org",
"@type" => "EmailMessage",
"action" => {
"@type" => "ViewActio... |
"""
Interleave left and right reads.
Take two files containing left & right reads from a paired-end sequencing run,
and interleave them.
% scripts/interleave-reads.py <R1> <R2> [ -o <outputfile> ]
By default, output is sent to stdout; or use -o. Use '-h' for parameter help.
"""
import screed
import sys
import textw... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>color: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
package vs
//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
//distribute... |
namespace cloud_devices {
namespace json {
extern const char kVersion[];
extern const char kVersion10[];
extern const char kKeyDefault[];
extern const char kKeyIsDefault[];
extern const char kKeyOption[];
} // namespace json
} // namespace cloud_devices
#endif // COMPONENTS_CLOUD_DEVICESCLOUD_DEVICE_DESCRIPTIO... |
package com.clouck.rep;
import java.util.ArrayList;
import java.util.List;
public class HighChartsSeriesRep {
private String name;
private List<HighChartsDataRep> data = new ArrayList<>();
private String color;
public void addData(HighChartsDataRep dataRep) {
getData().add(dataRep);
}
... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.co=e()}}(function(){var define,module,exports;return ... |
<?php
namespace Symfony\Component\PropertyAccess\Tests;
use Symfony\Component\PropertyAccess\StringUtil;
class StringUtilTest extends \PHPUnit_Framework_TestCase
{
public function singularifyProvider()
{
// see http://english-zone.com/spelling/plurals.html
// see http://www.scribd.com/doc/3... |
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure=... |
class ConvertEarlierWorkDurations < ActiveRecord::Migration
def self.up
execute("update work_logs set duration=duration * 60;")
execute("update work_logs set paused_duration=paused_duration * 60;")
execute("update sheets set paused_duration=paused_duration * 60;")
end
def self.down
execute("updat... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Micros... |
#include "tensorflow/core/framework/rendezvous.h"
#include <deque>
#include <functional>
#include <utility>
#include <vector>
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/core/notification.h"
#include "tensorflow/core/lib/gtl/flatmap.h"
#include "tensorflow/core/lib/hash/hash.h"
#inclu... |
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/AAA/g, '5'));
});
};
|
[![Build Status][travis-image]][travis-url][](https://github.com/semantic-release/semantic-release)
[![devDependency Status][dev-dependency-image]][dev-dependency-url]
[![dependency Status][dependency-image]][de... |
package com.planet_ink.coffee_mud.WebMacros.grinder;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
i... |
package com.yl.ble;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
impor... |
<?php
namespace database;
/**
* Column class
*
* PHP Version 5.3+
* @author Thomas Monzel <tm@apparat-hamburg.de>
* @version $Revision$
* @package Suitcase
* @subpackage Database
*/
class Column extends Object {
private $name;
private $type;
public $options = array(
'length' => 0,
'default' => nu... |
<section class="post-comments">
<div id="cloud-tie-wrapper" class="cloud-tie-wrapper"></div>
<script src="https://img1.cache.netease.com/f2e/tie/yun/sdk/loader.js"></script>
<script>
var cloudTieConfig = {
url: document.location.href,
sourceId: "",
productKey: "aa395cf7778f458492060... |
import {Injectable} from '@angular/core';
import {ServerResponseHandler} from "./serverResponseHandler.service";
import {IdentityService} from "./identity.service"
import {Http, Headers, RequestOptions, RequestOptionsArgs, Response, RequestMethod, Request} from 'angular2/http';
import {Subject, Observable} from 'rxjs';... |
<?php
namespace Prooph\EventStore\Adapter\Flywheel;
use ArrayIterator;
use DateTimeInterface;
use Iterator;
use JamesMoss\Flywheel\Config;
use JamesMoss\Flywheel\Document;
use JamesMoss\Flywheel\Repository;
use Prooph\Common\Messaging\Message;
use Prooph\Common\Messaging\MessageConverter;
use Prooph\Common\Messagin... |
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<chapter xml:id="navigation" xmlns="http://docbook.org/ns/docbook" version="5">
<title>Object Navigation</title>
<sect1 xml:id="navigation-introduction">
<title>Introduction</title>
<para><emphasis>(Available in 1.0)</emphasis></para>
<para>Sprin... |
<!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_67) on Thu Jul 16 17:13:17 PDT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.f... |
package win_perf_counters
import (
"fmt"
"syscall"
"unsafe"
"golang.org/x/sys/windows"
)
// Error codes
const (
ERROR_SUCCESS = 0
ERROR_INVALID_FUNCTION = 1
)
type (
HANDLE uintptr
)
// PDH error codes, which can be returned by all Pdh* functions. Taken from mingw-w64 pdhmsg.h
const (
PDH_CSTATUS_... |
\documentclass{article}
\usepackage[final,formats]{listings}
\usepackage{times}
\usepackage{graphicx}
\usepackage{cite}
%\titlespacing*{\subsection}{0pt}{1.1\baselineskip}{\baselineskip}
\newcommand{\comment}[1]{\textbf{\textsl{#1}}}
%\newcommand{\comment}[1]{}
\newcommand{\leonid}[1]{\comment{[leonid]#1}}
\newcomma... |
<!--
~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
~
~ 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 re... |
class UserHasNoData(Exception):
pass
class TokenAuthenticatedUser(object):
"""
When we authenticate user by token we can't usually fetch actual user profile, we only know a username.
This class describes this kind of users. It will trow an error if you'll try to access any
attribute e... |
package com.intellij.facet;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.openapi.util.ModificationTracker;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.NotNull;
impo... |
import { ICaseStyleConverter } from "./CaseStyleConverter";
/**
* Converts a series of words to Directory/Upper/Case.
*/
export class DirectoryUpperCaseConverter implements ICaseStyleConverter {
/**
* Combines a series of words to the equivalent case style.
*
* @param words Words to convert.
... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
<ldml>
<identity>
<version number="$Revision: 1.32 $"/>
<generation date="$Date: 2008/05/28 15:49:28 $"/>
<language type="bs"/>
</identity>
<localeDisplayNames>
<languages>
<language type="af">afr... |
YUI.add("range-slider",function(e,t){e.Slider=e.Base.build("slider",e.SliderBase,[e.SliderValueRange,e.ClickableRail])},"3.8.0pr2",{requires:["slider-base","slider-value-range","clickable-rail"]});
|
require "aruba/cucumber"
World(Aruba::Api)
|
// +build !ignore_autogenerated
// This file was autogenerated by conversion-gen. Do not edit it manually!
package v1
import (
api "k8s.io/kubernetes/pkg/api"
unversioned "k8s.io/kubernetes/pkg/api/unversioned"
api_v1 "k8s.io/kubernetes/pkg/api/v1"
batch "k8s.io/kubernetes/pkg/apis/batch"
conversion "k8s.io/k... |
class Cmake < Formula
desc "Cross-platform make"
homepage "https://www.cmake.org/"
url "https://cmake.org/files/v3.4/cmake-3.4.3.tar.gz"
sha256 "b73f8c1029611df7ed81796bf5ca8ba0ef41c6761132340c73ffe42704f980fa"
head "https://cmake.org/cmake.git"
bottle do
cellar :any_skip_relocation
sha256 "5f1bef6... |
import { Helper } from "gd-sprest";
/**
* Fabric Web Part
*/
export const FabricWebPart: (props: IFabricWebPartProps) => {};
/**
* Fabric Web Part Information
*/
export interface IFabricWebPartInfo {
cfg?: Helper.IWebPartCfg;
}
/**
* Fabric Web Part Properties
*/
export interface IFabricWebPartProps {
... |
<!DOCTYPE html>
<html>
<head>
<title>The change you wanted was rejected (422)</title>
<style>
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
... |
set -e
topdir=$(dirname $0)
cd $topdir
autoreconf --install --warnings=all --force
args=""
if [ -f "$topdir/.config.args" ]; then
args="$(cat $topdir/.config.args)"
fi
echo
echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:... |
package reporting
import "testing"
func TestReporterReceivesSuccessfulReport(t *testing.T) {
reporter := NewGoTestReporter()
test := new(fakeTest)
reporter.BeginStory(NewStoryReport(test))
reporter.Report(NewSuccessReport())
if test.failed {
t.Errorf("Should have have marked test as failed--the report reflect... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!-- Generated by //third_party/blink/web_tests/bluetooth/generate.py -->
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/bluet... |
<!doctype html>
<html class="theme-next muse use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" /... |