text stringlengths 3 1.05M |
|---|
package com.suscipio_solutions.consecro_mud.Abilities.Prayers;
import java.util.Vector;
import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability;
import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg;
import com.suscipio_solutions.consecro_mud.Common.interfaces.CharState;
import com.suscipi... |
package org.wso2.carbon.appmgt.impl.workflow;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMNode;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.... |
__attribute__((noinline)) void throws_int() {
throw 42;
}
__attribute__((noinline)) void callee_throws() {
try {
throws_int();
} catch (int) { // NOLINT
fprintf(stderr, "callee_throws caught exception\n");
}
}
__attribute__((noinline)) void throws_catches_rethrows() {
try {
throws_int();
} ca... |
'use strict';
var mongoose = require('mongoose');
var expect = require('Chai').expect;
var request = require('request');
var randomString = require('randomstring');
var rootPath = './../../../';
var AuthCtrl = require(rootPath + 'app/controllers/AuthenticationController');
var ... |
namespace BINDER_SPACE
{
class AssemblyIdentity
{
public:
enum
{
IDENTITY_FLAG_EMPTY = 0x000,
IDENTITY_FLAG_SIMPLE_NAME = 0x001,
IDENTITY_FLAG_VERSION = 0x002,
IDENTITY_FLAG_PUBLIC_KEY_TOKEN = 0x... |
using Elders.Cronus;
using Elders.Web.Api;
using System.Web.Http;
using PushNotifications.Contracts;
using PushNotifications.Api.Attributes;
using Discovery.Contracts;
using System.Collections.Generic;
using System;
using PushNotifications.Api.Controllers.PushNotifications.Models;
using PushNotifications.Contracts.Pus... |
#import "PBProjectBuilder.h"
#import "PBSharedConst.h"
#import "PBExtensionUtilities.h"
#import "PBLicenseProvider.h"
#include "FTSUtilities.h"
#import "NSArray+Iceberg.h"
#import "NSString+Iceberg.h"
#include "FSCopyObject.h" // We use this code to work around at least 2 bugs in NSFileManager in Mac OS X 10.2
#incl... |
module.exports = parseArguments
function isWritable(stream) {
return typeof stream.write === "function" &&
typeof stream.end === "function"
}
function parseArguments(req, res, opts, callback) {
// (req, cb)
if (typeof res === "function") {
callback = res
opts = {}
res = nul... |
var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView, contextSensitive, icon )
{
this.CommandName = commandName ;
this.Label = label ;
this.Tooltip = tooltip ;
this.Style = style ;
this.SourceView = sourceView ? true : false ;
this.ContextSensitive = contextSensit... |
/*! UIkit 2.18.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
if (typeof define == "function" && define.amd) {
define("uikit-slideshow", ["uikit"], function() {
return compo... |
@ECHO OFF
SET BIN_TARGET=%~dp0/../vendor/zendframework/zendframework/bin/classmap_generator.php
php "%BIN_TARGET%" %*
|
<div class="demo-preview-block demo-page--shadow">
<div class="demo-shadow-card mdl-shadow--2dp">2dp</div>
<div class="demo-shadow-card mdl-shadow--3dp">3dp</div>
<div class="demo-shadow-card mdl-shadow--4dp">4dp</div>
<div class="demo-shadow-card mdl-shadow--6dp">6dp</div>
<div class="demo-shadow... |
<!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_40) on Mon Apr 04 23:10:27 CST 2016 -->
<title>InitialAckRequest$</title>
<meta name="date" content="2016-04-04">
<link rel="stylesheet" type="... |
@interface PDFRecentDocumentList ()
@property (nonatomic, strong, readwrite) NSArray *documents;
@property (nonatomic, assign) UIBackgroundTaskIdentifier bgTask;
@property (nonatomic, weak, readwrite) PDFDocumentStore *store;
@end
@implementation PDFRecentDocumentList
- (void)dealloc
{
[NSNotificationCenter.defau... |
{% include nav_item.html path="/learn.html" text="About PouchDB" %}
{% include nav_item.html path="/users.html" text="Who's using PouchDB?" %}
{% include nav_item.html path="/getting-started.html" text="Get Started Guide" %}
{% include nav_item.html path="/api.html" text="API" %}
{% include nav_item.html path="/adapter... |
package org.apache.ignite.internal.jdbc2;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.ConnectorConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import o... |
<link rel="stylesheet" type="text/css" href="/extensions/interactions/MusicNotesInput/static/css/musicNotesInput.css">
<script type="text/ng-template" id="interaction/MusicNotesInput">
<div class="oppia-music-input-valid-note-area">
<button type="button" class="btn btn-default oppia-music-input-btn oppia-music-i... |
#include "SkMorphologyImageFilter.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
#include "SkFlattenableBuffers.h"
#include "SkRect.h"
#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "GrTexture.h"
#include "GrTBackendEffectFactory.h"
#include "gl/GrGLEffect.h"
#include "gl/GrGLEffectMatrix.h"
#include "effects/... |
package com.xeiam.xchange.examples.coinbase.account.merchant;
import java.io.IOException;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.coinbase.dto.merchant.CoinbaseButton;
import com.xeiam.xchange.coinbase.dto.merchant.CoinbaseButton.CoinbaseButtonBuilder;
import com.xeiam.xchange.coinbase.dto.merchan... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>autosubst-ocaml: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... |
package images
import (
"fmt"
g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"
exutil "github.com/openshift/origin/test/extended/util"
)
var _ = g.Describe("[images][mariadb][Slow] openshift mariadb image", func() {
defer g.GinkgoRecover()
var (
templatePath = exutil.FixturePath("..", "..", "examples",... |
<?php
namespace Predis\Command;
/**
* @link http://redis.io/commands/pexpire
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
class KeyPreciseExpire extends KeyExpire
{
/**
* {@inheritdoc}
*/
public function getId()
{
return 'PEXPIRE';
}
}
|
Azure is growing rapidly, regularly adding new services and features. While rapid growth
is good for users, it is hard on SDKs. Each new service and each new feature requires someone to
learn the details and add the needed code to the SDK. As a result, the
[Azure SDK for Go](https://github.com/Azure/azure-sdk-for-go)
h... |
from __future__ import print_function
import os
import sys
import requests
import json
from termcolor import colored
from cli.framework import Framework
from cli.appconfig import AppConfig
from cli.utils import Utils
requests.packages.urllib3.disable_warnings()
utils = Utils()
class Chronos(Framework):
def __ini... |
package com.amazonaws.services.dynamodbv2.model;
import java.io.Serializable;
/**
* <p>
* Information about item collections, if any, that were affected by the
* operation. <i>ItemCollectionMetrics</i> is only returned if the request asked
* for it. If the table does not have any local secondary indexes, this
... |
% DOCKER(1) Docker User Manuals
% Docker Community
% JULY 2015
# NAME
docker-volume-ls - List all volumes
# SYNOPSIS
**docker volume ls**
[**-f**|**--filter**[=*FILTER*]]
[**--help**]
[**-q**|**--quiet**[=*true*|*false*]]
# DESCRIPTION
Lists all the volumes Docker knows about. You can filter using the `-f` or `--fil... |
for (var x in this) {};
JSON.stringify(this);
|
import asyncio
import os.path
import websockets
async def hello(websocket):
name = await websocket.recv()
print(f"<<< {name}")
greeting = f"Hello {name}!"
await websocket.send(greeting)
print(f">>> {greeting}")
async def main():
socket_path = os.path.join(os.path.dirname(__file__), "socket")... |
<?php
namespace Symfony\Component\Config\Definition;
use Symfony\Component\Config\Definition\Exception\InvalidTypeException;
/**
* This node represents a scalar value in the config tree.
*
* The following values are considered scalars:
* * booleans
* * strings
* * null
* * integers
... |
Formtastic::Helpers::FormHelper.builder = FormtasticBootstrap::FormBuilder
# Set the default text field size when input is a string. Default is nil.
Formtastic::FormBuilder.default_text_field_size = 50
# Set the default text area height when input is a text. Default is 20.
# Formtastic::FormBuilder.default_text_area_... |
<?php
namespace Propel\Tests\Runtime\ActiveRecord;
use Propel\Tests\Bookstore\Book;
use Propel\Tests\TestCase;
/**
* Test class for ActiveRecord.
*
* @author François Zaninotto
*/
class ActiveRecordTest extends TestCase
{
protected function setUp()
{
parent::setUp();
include_once(__DIR_... |
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/... |
package org.onosproject.net.driver;
import com.google.common.collect.ImmutableMap;
import org.junit.Before;
import org.junit.Test;
import org.onosproject.net.DeviceId;
import java.util.ArrayList;
import static org.junit.Assert.*;
import static org.onosproject.net.DeviceId.deviceId;
public class DefaultDriverDataTe... |
local p = premake
local suite = test.declare("api_boolean_kind")
local api = p.api
--
-- Setup and teardown
--
function suite.setup()
api.register {
name = "testapi",
kind = "boolean",
scope = "project",
}
test.createWorkspace()
end
function suite.teardown()
testapi = nil
end
--
-- Check ... |
<?php
/**
* This autoloading setup is really more complicated than it needs to be for most
* applications. The added complexity is simply to reduce the time it takes for
* new developers to be productive with a fresh skeleton. It allows autoloading
* to be correctly configured, regardless of the installation meth... |
import mxnet as mx
from mxnet import gluon
from mxnet import image
from mxnet import nd
import numpy as np
import logging
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
root_url = ('https://apache-mxnet.s3-accelerate.amazonaws.com/'
'gluon/dataset/pikachu/')
data_dir = './data/pikachu/'
datas... |
<?php
declare(strict_types = 1);
namespace BlockHorizons\BlockPets\pets\creatures;
use BlockHorizons\BlockPets\pets\SmallCreature;
use BlockHorizons\BlockPets\pets\WalkingPet;
use pocketmine\network\mcpe\protocol\types\entity\EntityIds;
class SilverFishPet extends WalkingPet implements SmallCreature {
const NETWOR... |
const ControlledTabArea = React.createClass({
getInitialState() {
return {
key: 1
};
},
handleSelect(key) {
alert('selected ' + key);
this.setState({key});
},
render() {
return (
<TabbedArea activeKey={this.state.key} onSelect={this.handleSelect}>
<TabPane eventKey={1... |
package org.scalaide.core
package semantichighlighting.classifier
import org.scalaide.core.internal.decorators.semantichighlighting.classifier.SymbolTypes._
import org.junit._
class CaseObjectTest extends AbstractSymbolClassifierTest {
@Test
def basic_case_object(): Unit = {
checkSymbolClassification("""
... |
A module to (safely) obfuscate all occurrences of the string 'ActiveX' inside
any JavaScript code.
## Why?
Some corporate firewalls /proxies such as Blue Coat block JavaScript files to be
downloaded if they contain the word `'ActiveX'`. That of course is very annoying
for libraries such as [socket.io][] that need to ... |
package com.ftfl.icareapplication;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.AdapterView;
import android.wi... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Utf8 Class
*
* Provides support for UTF-8 environments
*
* @package CodeIgniter
* @subpackage Libraries
* @category UTF-8
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/libraries/utf8.html
*/
class CI_Utf8 ... |
/* crypto/rand/rand_err.c */
/* ====================================================================
* Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... |
"""
certifi.py
~~~~~~~~~~
This module returns the installation location of cacert.pem.
"""
import os
def where():
f = os.path.dirname(__file__)
return os.path.join(f, 'cacert.pem')
|
<?php
/**
* @see Zend_Mail_Protocol_Smtp
*/
require_once 'Zend/Mail/Protocol/Smtp.php';
/**
* Performs LOGIN authentication
*
* @category Zend
* @package Zend_Mail
* @subpackage Protocol
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framew... |
<?php
namespace SlmMail\Service\Exception;
use RuntimeException as BaseRuntimeException;
use SlmMail\Exception\ExceptionInterface;
/**
* This exception is thrown for when a template is not known (only for services that support it)
*/
class UnknownTemplateException extends BaseRuntimeException implements Exception... |
#include <stdio.h>
#include <stdint.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <map>
#include <vector>
#include <array>
#include <string>
#include <queue>
#include <iostream>
#include <algorithm>
#ifdef _MSC_VER
#include <io.h>
typedef int64_t ssize_t;
#else
#include <unistd.h>
#endif
#inc... |
<?php
namespace FOS\RestBundle\Tests\Request;
use Symfony\Component\HttpFoundation\Request;
use FOS\RestBundle\Context\Context;
use FOS\RestBundle\Request\RequestBodyParamConverter;
/**
* @author Tyler Stroud <tyler@tylerstroud.com>
*/
class RequestBodyParamConverterTest extends \PHPUnit_Framework_TestCase
{
... |
import _ from 'underscore';
import $ from 'jquery';
import React from 'react/addons';
import Radial from './Radial.react';
import ContainerProgress from './ContainerProgress.react';
import ContainerHomePreview from './ContainerHomePreview.react';
import ContainerHomeLogs from './ContainerHomeLogs.react';
import Contain... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v8.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var grid_1 = require("../grid");
function initialiseAgGridWithAngular1(angular) {
var angularModule = angular.module("agGr... |
// Copyright (c) 2012 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 "base/observer_list.h"
#include "base/observer_list_threadsafe.h"
#include <vector>
#include "base/compiler_specific.h"
#include "base/memo... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database... |
package pubsub_test
import (
"cloud.google.com/go/pubsub/apiv1"
"golang.org/x/net/context"
pubsubpb "google.golang.org/genproto/googleapis/pubsub/v1"
)
func ExampleNewSubscriberClient() {
ctx := context.Background()
c, err := pubsub.NewSubscriberClient(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: ... |
#ifndef _ASM_SHMPARAM_H
#define _ASM_SHMPARAM_H
#define __ARCH_FORCE_SHMLBA 1
#define SHMLBA 0x40000
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#endif
|
(function() {
var Declaration, Order, flexSpec,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype;... |
(function($) {
Drupal.plupload = Drupal.plupload || {};
// Add Plupload events for autoupload and autosubmit.
Drupal.plupload.filesAddedCallback = function (up, files) {
setTimeout(function(){up.start()}, 100);
};
Drupal.plupload.uploadCompleteCallback = function(up, files) {
var $this = $("#"+up.settings.containe... |
Multer is a node.js middleware for handling `multipart/form-data`, which is primarily used for uploading files. It is written
on top of [busboy](https://github.com/mscdex/busboy) for maximum efficiency.
**NOTE**: Multer will not process any form which is not multipart (`multipart/form-data`).
## Installation
```sh
$... |
package org.elasticsearch.discovery;
import org.elasticsearch.Version;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.common.logging.ESLogger;
import org.elasticsearch.common.transport.DummyTransportAddress;
import org.elasticsearch.common.unit.TimeValue;
import org.elasticsearch.common... |
<chart>
<!-- This file defines the bar chart that shows the actual-to-budget variance for each department -->
<!-- Define the chart type -->
<chart-type>BarChart</chart-type>
<!-- Specify the title of the chart -->
<title></title>
<!-- Specify the location of the title -->
<title-position>TOP</title-positio... |
package org.kie.workbench.common.screens.projecteditor.client.forms;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import com.google.gwt.cell.client.CheckboxCell;
import com.google.gwt.cell.client.EditTextCell;
import com.google.gwt.cell.client.FieldUpdater;
import com.google.gwt.ce... |
lgtv = require("lgtv");
/*---------------------------------------------------------------------------*/
var retry_timeout = 10;
var run_test = function() {
lgtv.discover_ip(retry_timeout, function(err, ipaddr) {
if (err) {
console.log("Failed to find TV IP address on the LAN. Verify that TV is on, and... |
<?php
class PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter
{
/**
* PHPExcel object
*
* @var PHPExcel
*/
private $phpExcel;
/**
* Delimiter
*
* @var string
*/
private $delimiter = ',';
/**
* Enclosure
*
... |
package lal.sodf.framework.exceptions;
/**
* An exception that will be thrown when a tag is read, which is not NDEF formatted
* @author Lorenz Lehmann
*
*/
public class UnformattedTagException extends Exception {
private static final long serialVersionUID = -803826869172124338L;
public UnformattedTagException(... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v12/services/payments_account_service.proto
namespace Google\Ads\GoogleAds\V12\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Respo... |
select
c_integer,
sum(c_integer),
row_number() over (order by c_date desc),
first_value(c_integer) over (order by c_date desc)
from
j1_v
group by
c_integer,
c_date
order by
row_number() over (order by c_date)
;
|
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:netsuite="http://www.mulesoft.org/schema/mule/netsuite"
xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core" xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:munit="http://www.mulesoft.org/schema/mul... |
'use strict';
var path = require('./$.path')
, invoke = require('./$.invoke')
, aFunction = require('./$.a-function');
module.exports = function(/* ...pargs */){
var fn = aFunction(this)
, length = arguments.length
, pargs = Array(length)
, i = 0
, _ = path._
, holder = ... |
<html lang="en">
<head>
<title>fabs - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Math.html#Math" title="Math">
<link rel="prev... |
/**
* Localization strings for the UI Multiselect widget
*
* @locale ja, ja-JP
*/
$.extend($.ui.multiselect.locale, {
addAll:'すべて選択',
removeAll:'すべて削除',
itemsCount:'個選択'
}); |
"use strict";
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
const createInnerCallback = require("./createInnerCallback");
const DescriptionFileUtils = require("./DescriptionFileUtils");
class DescriptionFilePlugin {
constructor(source, filenames, target) ... |
/**
* @license Highcharts JS v4.1.2 (2015-02-27)
*
* (c) 2011-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/*global HighchartsAdapter*/
(function (Highcharts) {
var UNDEFINED,
Axis = Highcharts.Axis,
Chart = Highcharts.Chart,
Color = Highcharts.Color,
Legend = Highcharts.Legend,
LegendSy... |
const coins = {
penny:12,
nickel:10,
dime:2,
quarter:12,
dollar:30
}
const valueInPenny = {
penny:1,
nickel:5,
dime:10,
quarter:25,
dollar:100
}
function findMinimumCoins(coins,amount){
let coinValue = [];
for(let val in valueInPenny){
coinValue.push({
... |
import path from 'path';
import fs from 'fs-extra';
import {
Platform,
Arch,
ElectronDownloadOptions,
build,
AfterPackContext,
AppInfo,
} from 'electron-builder';
import {spawn} from 'promisify-child-process';
import {
buildFolder,
compileRenderer,
compileMain,
die,
getVersionNumber,
genMercur... |
<?php namespace Illuminate\Database\Eloquent\Relations;
use Closure;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Query\Expression;
use Illuminate\Database\Eloquent\Collection;
abstract class Relation {
/**
* The Eloquent query builder instance.
*
*... |
define(function () {
var Class = Class || (function (Object) {
'use strict';
/*! (C) Andrea Giammarchi - MIT Style License */
var
// shortcuts for minifiers and ES3 private keywords too
CONSTRUCTOR = 'constructor',
EXTENDS = 'extends',
IMPLEMENTS = 'implements',
INIT = 'init',
PROTOTYPE... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (1.8.0_45) on Thu Nov 12 15:33:43 BRST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Face</title>
<meta n... |
var Checker = require('jscs');
var assert = require('assert');
describe('rules/validate-conditionals', function () {
var checker;
before(function () {
checker = new Checker();
checker.configure({
additionalRules: [new (require('./../../../dev-tools/jscs-custom-rules/validate-conditionals.js'))()],
validat... |
This cookbook includes support for running tests via Test Kitchen (1.0). This has some requirements.
1. You must be using the Git repository, rather than the downloaded cookbook from the Chef Community Site.
2. You must have Vagrant 1.1 installed.
3. You must have a "sane" Ruby 1.9.3 environment.
Once the above requi... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name
t.boolean :admin, default: false
t.timestamps
end
end
end
|
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use st... |
using System.Reflection;
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("Diginote Common")]
[assembly: AssemblyDes... |
/*
* Created on 25-Jan-2006
*/
using Lucene.Net.Analysis;
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Support;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
namespace Lucene.Net.Queries.Mlt
{
/*
* Licensed to the Apache Softwar... |
#include "arm_math.h"
/**
* @ingroup groupFilters
*/
/**
* @addtogroup BiquadCascadeDF2T
* @{
*/
/**
* @brief Initialization function for the floating-point transposed direct form II Biquad cascade filter.
* @param[in,out] *S points to an instance of the filter data stru... |
#import <Foundation/Foundation.h>
#import "FIRAuthSwiftNameSupport.h"
@class FIRVerifyAssertionResponse;
NS_ASSUME_NONNULL_BEGIN
/** @class FIRAdditionalUserInfo
@brief Represents additional user data returned from an identity provider.
*/
FIR_SWIFT_NAME(AdditionalUserInfo)
@interface FIRAdditionalUserInfo :... |
var _ = require('underscore');
var Stone = require('../models/stone.js');
var Board = require('../models/board.js');
var InvalidMoveException = function InvalidMoveException(message) {
this.message = message;
this.name = "InvalidMoveException";
};
var Rules = {
playMove: function(board_history, move) {
... |
class if2k_mini_nntp_proxy : public if2k_mini_server
{
if2k_mini_nntp_proxy( const if2k_mini_nntp_proxy &o );
const if2k_mini_nntp_proxy & operator = ( const if2k_mini_nntp_proxy &o );
public:
explicit if2k_mini_nntp_proxy( const jdk_settings &settings_, if2k_mini_kernel &kernel_ );
virtual ~if2k_mini_nntp_pro... |
namespace Microsoft.AspNetCore.Cors.Infrastructure;
public sealed class CorsPolicyExtensionsTest
{
[Fact]
public void IsOriginAnAllowedSubdomain_ReturnsTrueIfPolicyContainsOrigin()
{
// Arrange
const string origin = "http://sub.domain";
var policy = new CorsPolicy();
policy.... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:pa... |
{{{
"title": "Cloud Platform – Release Notes: October 18, 2012",
"date": "10-19-2012",
"author": "Richard Seroter",
"attachments": []
}}}
<p><strong>New Features (2)</strong>
</p>
<hr />
<ul>
<li><strong>Firewall Policies</strong> New in this release, and <strong>currently only available for CenturyLink Clou... |
<?php
namespace Doctrine\ORM\Mapping;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\DBAL\Platforms\AbstractPlatform;
/**
* A set of rules for determining the column, alias and table quotes
*
* @since 2.3
* @author Fabio B. Silva <fabio.bat.silva@gmail.com>
*/
interface QuoteStrategy
{
/**
* ... |
layout: page
title: About
permalink: /about/
---
Vida is a minimalist jekyll theme.
- Author: Alex Sun
- Email: syaningv@gmail.com
- Github: [https://github.com/syaning/vida](https://github.com/syaning/vida)
|
<html>
<head>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you... |
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F0xx_HAL_DEF
#define __STM32F0xx_HAL_DEF
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx.h"
/* Exported types ----------------... |
<?php
/**
* @see Zend_Gdata
*/
require_once 'Zend/Gdata.php';
/**
* Service class for interacting with the services which use the
* DublinCore extensions.
*
* @category Zend
* @package Zend_Gdata
* @subpackage DublinCore
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend... |
require File.expand_path('../../../spec_helper', __FILE__)
describe "Fixnum#hash" do
it "is provided" do
1.respond_to?(:hash).should == true
end
it "is stable" do
1.hash.should == 1.hash
end
end
|
body {
padding-top: 60px;
padding-bottom: 40px;
}
a:hover {
text-decoration: none;
}
img {
vertical-align: inherit;
}
form {
margin: 0;
}
a {
color: #0088CC;
text-decoration: none;
}
.zf-green {
color: #68b604;
}
.btn-success {
background-color: #57a900;
background-image: -moz-... |
from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth import views as base_auth_views
from django.conf import settings
from django.conf.urls.static import static
from django.urls import reverse_lazy
from django.views.generic import RedirectView
urlpatterns = [
# Admin ... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>use_future_t::operator[]</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../boost_asio.ht... |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package imports
import (
"bytes"
"flag"
"go/build"
"io/ioutil"
"os"
"path/filepath"
"runtime"
"strings"
"sync"
"testing"
)
var only = flag.String("o... |
namespace glm{
namespace gtx
{
/////////////////////////////
// Unsigned int vector types
/// @addtogroup gtx_number_precision
/// @{
typedef u8 u8vec1; //!< \brief 8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
typedef u16 u16vec1; //!< \brief 16bit unsigned integer scalar. (f... |