text stringlengths 3 1.05M |
|---|
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.virtuality.virtualaudio" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style... |
using org.xmlvm;
namespace java.util {
public class TreeMap_2AbstractMapIterator: global::java.lang.Object {
public global::java.util.TreeMap _fbackingMap;
public int _fexpectedModCount;
public global::java.util.TreeMap_2Node _fnode;
public global::java.util.TreeMap_2Node _flastNode;
public int _foffset;
public in... |
from percept.utils.registry import registry, find_in_registry
from percept.conf.base import settings
from percept.utils.input import import_from_string
from percept.utils.models import get_task_name
import ConfigParser
import logging
log = logging.getLogger(__name__)
class WorkflowLoader(object):
"""
Loads a... |
<?php
namespace NetSuite\Classes;
class NexusSearch extends SearchRecord {
public $basic;
public $userJoin;
static $paramtypesmap = array(
"basic" => "NexusSearchBasic",
"userJoin" => "EmployeeSearchBasic",
);
}
|
Download curl image from URL
|
<?php
if (!defined('TEST_FILES_PATH')) {
define(
'TEST_FILES_PATH',
dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR .
'_files' . DIRECTORY_SEPARATOR
);
}
require_once TEST_FILES_PATH . '../TestCase.php';
require_once TEST_FILES_PATH . 'BankAccount.php';
require_once TEST_FILES_PATH . 'Bank... |
package org.apache.skywalking.apm.plugin.jdbc;
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance;
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.Metho... |
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'test_helper' ))
module IntegrationTests
class MembershipsTest < ActionController::IntegrationTest
def setup
super
@site = use_site! 'site with pages'
end
test "when superuser creates a new user on the backend,
the ne... |
package com.ftfl.atm.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class AtmDBHelper extends SQLiteOpenHelper{
private static final String DATABASE_NAME = "atm.db";
private static final int ... |
package com.ibm.couchdb.api
import com.ibm.couchdb.spec.CouchDbSpecification
import com.ibm.couchdb.{CouchDocs, CouchKeyVals, CouchReducedKeyVals}
import org.specs2.matcher.MatchResult
import scalaz.concurrent.Task
class QueryViewSpec extends CouchDbSpecification {
val db = "couchdb-scala-query-view-... |
import * as React from "react";
export { SurveyModel as Model };
export enum DragTypeOverMeEnum {
InsideEmptyPanel = 1,
MultilineRight,
MultilineLeft
}
export interface HashTable<T = any> {
}
export interface ILocalizableOwner {
getLocale(): string;
getMarkdownHtml(text: string, name: string): string;
ge... |
USAGE=$'api_checker.bash [-n] <gazebo_source_dir>
-n : Do not install latest Gazebo via apt-get (assumes that you have already installed the version that you want to compare against)'
# Stop on error
set -e
# Parse args
install_gazebo=1
if [[ $# -lt 1 ]]; then
echo "$USAGE"
exit 1
elif [[ $# -gt 1 ]]; then
if... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycotaxon 7(1): 49 (1978)
#### Original name
Parmelia prolixa var. attica Leuckert, Poelt & B. Schwarz
### Remarks
null |
Design
======
Architecture
------------
A ``tbot`` connects to either a ``tbot master`` (thus becoming a ``slave``),
or an IRC server (becomming a ``tbot``).
A ``tbot`` is intended, and works best, when you have multiple small, separate
``tbot slaves`` behind a ``tbot master``. However, a ``tbot`` can be
connected d... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>io-system-ocaml: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... |
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if (IE 9)]><html class="no-js ie9" lang="en"><![endif]... |
#include <linux/etherdevice.h>
#include <net/mac80211.h>
#include "mvm.h"
#include "fw-api-scan.h"
#define IWL_DENSE_EBS_SCAN_RATIO 5
#define IWL_SPARSE_EBS_SCAN_RATIO 1
enum iwl_mvm_scan_type {
IWL_SCAN_TYPE_UNASSOC,
IWL_SCAN_TYPE_WILD,
IWL_SCAN_TYPE_MILD,
IWL_SCAN_TYPE_FRAGMENTED,
};
enum iwl_mvm_traffic_lo... |
/* Branded loader */
$(window).load(function() {
$('.loader-overlay').fadeOut();
$('.loader-content').fadeOut();
});
<ul class="playlist-gallery horizontal-small">
<li data-timecode="5600" data-duration=""></li>
</ul>
|
RuCaptcha ClickCaptcha
==============
Menu
--------------
+ [Main](../docs/README-en.md)
+ [Документация на русском языке](../docs/RuCaptchaClick-ru.md)
+ Anchor
+ [Link](#link)
+ [The description of the service](#the-description-of-the-service)
+ [Prices](#prices)
+ [Description recognition](#description-recog... |
/**
* Created by freeze on 2015/7/27.
*/
var DraggableSprite = cc.Sprite.extend({
_listener: null,
ctor: function () {
this._super();
},
containsTouchLocation: function (touch) {
var gloc = touch.getLocation();
var rect = this.getRect();
rect.x += this.x;
re... |
package org.primaresearch.web.gwt.shared.page;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
/**
* Group for reading order and layers. For use on client side ('C' for client)
*
* @author Christian Clausner
*
*/
public class GroupC implements Serializable, GroupMemberC {
priva... |
/* */ package com.elcuk.jaxb;
/* */
/* */ import java.util.ArrayList;
/* */ import java.util.List;
/* */ import javax.xml.bind.annotation.XmlAccessType;
/* */ import javax.xml.bind.annotation.XmlAccessorType;
/* */ import javax.xml.bind.annotation.XmlElement;
/* */ import javax.xml.bind... |
<!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-google-v5) on Thu Nov 14 17:41:28 PST 2013 -->
<title>com.google.appengine.api.search.checkers (Google App Engine Java API)</title>
<me... |
"""
This data utils file for celeba is from https://github.com/sayantanauddy/vae_lightning
"""
from functools import partial
import pandas as pd
import os
import PIL
import glob
import torch
from torch.utils.data import Dataset, DataLoader, random_split
from torchvision import transforms, utils, io
from torchvision.d... |
package performanceboard
import (
"appengine"
"appengine/datastore"
"github.com/gorilla/mux"
"net/http"
)
type Namespace struct {
Name string `json:"name"`
Api string `json:"api"`
Children []*Namespace `datastore:"-" json:"children"`
}
func readNamespaceChildren(context appengine.Context,... |
from ._any_filter import AnyFilter
from ._dunder_filter import DunderFilter
from ._ext_filter import ExtFilter
from ._file_filter import FileFilter
from ._hidden_filter import HiddenFilter
__all__ = ("AnyFilter", "DunderFilter", "ExtFilter", "FileFilter", "HiddenFilter",)
|
<?php
namespace PHPExiftool\Driver\Tag\Minolta;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class InstantPlaybackTime extends AbstractTag
{
protected $Id = 61;
protected $Name = 'InstantPlaybackTime';
protected $FullName = 'Mi... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignore... |
package com.otogami.web.results;
import java.io.IOException;
public class OkWithContent implements Result {
public ResultType getType() {
return ResultType.OkWithContent;
}
private String content;
public OkWithContent(String content){
this.content=content;
}
public String getContent(){
return conte... |
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using NUnit;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using UnityEngine.TestTools.NUnitExtensions;
namespace UnityEngine.TestRunner.NUnitExtensions.Runner
{
internal interface IUnityTestAssemblyRunner
... |
module Azure::Network::Mgmt::V2020_03_01
module Models
#
# List of connection monitors.
#
class ConnectionMonitorListResult
include MsRestAzure
# @return [Array<ConnectionMonitorResult>] Information about connection
# monitors.
attr_accessor :value
#
# Mapper fo... |
<?php
namespace Google\AdsApi\Examples\AdManager\v202205\UserTeamAssociationService;
require __DIR__ . '/../../../../vendor/autoload.php';
use Google\AdsApi\AdManager\AdManagerSession;
use Google\AdsApi\AdManager\AdManagerSessionBuilder;
use Google\AdsApi\AdManager\Util\v202205\StatementBuilder;
use Google\AdsApi\A... |
package net.oneandone.troilus;
import com.datastax.driver.core.ExecutionInfo;
import com.datastax.driver.core.ResultSet;
import com.google.common.collect.ImmutableList;
/**
* The count result
*/
public abstract class Count implements Result {
/**
* @return the count value
*/
public abstr... |
namespace HistoryPortal.Web.Controllers
{
using System.Linq;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using AutoMapper.QueryableExtensions;
using HistoryPortal.Data;
using HistoryPortal.Web.ViewModels.Articles;
using HistoryPortal.Web.InputModels.Articles;
using Hist... |
//
// XYDBManager.m
// DBTest
//
// Created by 夏雁博 on 16/4/13.
// Copyright © 2016年 夏雁博. All rights reserved.
//
#import "XYDBManager.h"
#import "XYDatabase.h"
@interface XYDBManager ()
@property(nonatomic, strong) XYDatabase *db;
@end
@implementation XYDBManager
static XYDBManager *_instance = nil;
+ (instan... |
package io.cloudslang.content.google.actions.compute.compute_engine.instances
import java.util
import com.hp.oo.sdk.content.annotations.{Action, Output, Param, Response}
import com.hp.oo.sdk.content.plugin.ActionMetadata.{MatchType, ResponseType}
import io.cloudslang.content.constants.OutputNames._
import io.cloudsla... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
"""cairo_tear_test"""
from gi.repository import Gtk, GObject #pylint: disable=E0611
from datetime import datetime
from math import sin, pi
class Clock():
"""Allow tracking framerate and total ellapsed time."""
def __init__(self):
self.last_tick = None
self.start_time = None
def tick(self... |
.PHONY: image run debug
all: image
image:
docker build -t kaija/webhook-snmp .
webhook:
docker run -p 9999:9999/tcp --name webhook kaija/webhook-snmp
debug_webhook:
docker run -it -p 9999:9999/tcp -e SNMP_SERVER=10.211.55.43 --name webhook kaija/webhook-snmp /bin/bash
|
package io.getlime.security.powerauth.lib.nextstep.model.entity.attribute;
/**
* Class representing the operation form attribute.
*
* @author Roman Strobl, roman.strobl@wultra.com
*/
public class OperationFormMessageAttribute {
protected String id;
protected String message;
/**
* Default constr... |
<!DOCTYPE HTML>
<html>
<!--Módulo de Acerca de-->
<head><!--Cabecera-->
<!--Elementos que no visualizará el usuario de forma directa, sin embargo, permitirá darle
estilos generales al sistema-->
<meta charset="UTF-8"><!--Para que se puedan incorporar caracteres especiales y
acentos en las p... |
from django.conf.urls import patterns
from django.conf.urls import url
from openstack_horizon.dashboards.admin.instances import views
INSTANCES = r'^(?P<instance_id>[^/]+)/%s$'
urlpatterns = patterns(
'openstack_horizon.dashboards.admin.instances.views',
url(r'^$', views.AdminIndexView.as_view(), name='ind... |
from os import path
from parsimonious import Grammar
_grammar_dir = path.join(path.dirname(__file__), 'grammar')
def _construct(names):
grammar_list = []
for name in reversed(names):
grammar_path = path.join(_grammar_dir, '{}.grammar'.format(name))
with open(grammar_path, 'r') as file:
... |
static char NameTagKey;
@implementation NSObject (FLKAutoLayoutDebug)
- (void)setFlk_nameTag:(NSString *)nameTag
{
objc_setAssociatedObject(self, &NameTagKey, nameTag, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
- (NSString *)flk_nameTag
{
return objc_getAssociatedObject(self, &NameTagKey);
}
@end
|
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $var</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-print.css" ty... |
<!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-google-v5) on Thu Dec 19 17:42:30 EST 2013 -->
<title>ForecastServiceSoapBindingStub</title>
<meta name="date" content="2013-12-19">
<l... |
package org.springframework.cloud.netflix.zuul;
import java.util.List;
import java.util.Map;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.E... |
package orz.mongo.tochka.dsl
private[dsl]
trait Field {
protected
type FieldType
protected
val __prefix: String
protected
val __name = Option(__prefix).map(_.trim) match {
case Some(pref) if pref.nonEmpty =>
s"${pref}.${toString}"
case _ =>
toString
}
def ==(value: Field... |
package skadistats.clarity.processor.runner;
import skadistats.clarity.source.Source;
import java.io.IOException;
public class SimpleRunner extends AbstractRunner<SimpleRunner> {
public SimpleRunner(Source s) throws IOException {
super(s, s.readEngineType());
engineType.skipHeaderOffsets(source)... |
<!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 Wed Jun 10 10:20:09 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UsersAuthenticationConsumer... |
"""
ValidationError.py -- called when a call in validation fails on a variable
Trey Stout (with Josh watching)
2005-08-31
"""
from AZTKError import AZTKError
class ValidationError(AZTKError):
description = "A variable was the wrong type, or otherwise invalid"
USERNAME_INVALID_TOO_SHORT = 1000
USERNAME_INVALID_... |
class ApiThreadPool : public Poco::ThreadPool
{
public:
ApiThreadPool()
: ThreadPool("api")
{
}
};
|
package com.sfxcode.nosql.mongo.test
import com.sfxcode.nosql.mongo.database.DatabaseProvider
import com.sfxcode.nosql.mongo.model._
import com.sfxcode.nosql.mongo.server.LocalServer
import com.sfxcode.nosql.mongo.{GridFSDAO, MongoDAO}
import org.bson.codecs.configuration.CodecRegistries.{fromProviders, fromRegistries... |
define(function(){
quickforms.putPregappNotification = function(data,callback){
var me = this; // caller
var serverQuery = new quickforms.ServerQuery({
method: "POST",
url: quickforms.quickformsUrl+'putPregappNotification'+quickforms.quickformsEnding,
data: data,
async:false
});
serverQuery.fakeData =... |
"""Validate an initial point."""
from __future__ import annotations
from collections.abc import Sequence
import numpy as np
from qiskit.circuit import QuantumCircuit
from qiskit.utils import algorithm_globals
def validate_initial_point(
point: Sequence[float] | None, circuit: QuantumCircuit
) -> Sequence[floa... |
//
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
#include <ppltasks.h>
#include <wrl\client.h>
#include <Robuffer.h>
#include <vector>
#include <opencv2\imgproc\types_c.h>
#include <opencv2\imgcodecs.hpp>
#include <opencv2\core.hpp>
#include <windows.sto... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Реєстрація';
Yii::$app->view->params['pageDetails'] = '';
?>
<!-- Start Content -->
<div id="content">
<div class="conta... |
package de.abiegel.ldap.internal;
public interface Attribute<T> extends NamedValue<T>,Token {
default String asString() {
return "(" +name() + "=" + value() + ")";
}
default TypedInstance<Attribute<T>> attr(Attribute<T> instance) {
return TypedInstance.genericType(instance);
}
default Attribu... |
<?php
include_once("lib.php");
function bank() {
global $userrow, $numqueries;
$check = protectcsfr();
$link = opendb();
$townquery = doquery($link, "SELECT name,innprice FROM {{table}} WHERE latitude='".$userrow["latitude"]."' AND longitude='".$userrow["longitude"]."' LIMIT 1", "towns");
if (mysqli_... |
.RoundedWhite_label .runner-s-empty > * > * > .runner-toprow.style1 > *.runner-cc a,
.RoundedWhite_label .runner-wrapper .runner-s-empty > * > * > .runner-toprow.style1 > *.runner-cc a,
.RoundedWhite_label .runner-wrapper .runner-wrapper .runner-s-empty > * > * > .runner-toprow.style1 > *.runner-cc a
{
color: #6F6F6F... |
namespace Steep.Web.Controllers
{
using System.ComponentModel.DataAnnotations;
public class AddCommentViewModel
{
[Required]
[DataType(DataType.MultilineText)]
public string Content { get; set; }
public string AuthorId { get; set; }
public int ChapterId { get; set... |
<Record>
<Term>Artificial Saliva</Term>
<SemanticType>Pharmacologic Substance</SemanticType>
<ParentTerm>Mouthwashes</ParentTerm>
<ClassificationPath>Biomedical and Dental Materials/Mouthwashes/Saliva, Artificial</ClassificationPath>
<ClassificationPath>Technology, Industry, and Agriculture/Manufactured Materials/... |
/**
* Created By: Comwave Project Team Created Date: 2015年4月20日
*/
package com.tibco.ems.client;
/**
* @author Geln Yang
* @version 1.0
*/
import java.net.InetAddress;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import javax.jms.BytesMessage;
import javax.jms.Connection;
... |
package crane
import (
"fmt"
"os"
"strings"
"text/template"
)
type UnitOfWork struct {
targeted []string
containers []string
order []string
requireStarted []string
}
func NewUnitOfWork(dependencyMap map[string]*Dependencies, targeted []string) (uow *UnitOfWork, err error) {
uow = &UnitOf... |
var parse = require('./src/parser');
var Lexer = require('./src/lexer');
module.exports = function(input, options) {
options = Object.assign({}, { spellcheck: false, smartquotes: true }, options || {});
var lex = Lexer();
var lexResults = lex(input);
var output = parse(input, lexResults.tokens.join(' '), lexRe... |
import { Subject } from './Subject';
import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';
/**
* @class BehaviorSubject<T>
*/
export class BehaviorSubject extends Subject {
constructor(_value) {
super();
this._value = _value;
}
get value() {
return this.getValue... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Form-O-Fill Testpage</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>TESTING SERVER RUNNING</h1>
<pre>
Clock on button -> Notification "import statement with missign rule" -> click... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Thu Feb 27 09:56:18 CET 2014 -->
<title>Uses of Class com.jgoodies.common.internal.StringResourceAccess (JGoodies Common 1.... |
<!DOCTYPE html>
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="translucent black"
/>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel... |
UConn Nourish mobile app for tracking UConn Dining menu items. Built with Ionic, AngularJS, and Cordova.
Mobile app (this): [nourish-app](https://github.com/andrewsuzuki/nourish-app)
Web app: [nourish-web](https://github.com/andrewsuzuki/nourish-web)
Server: [nourish-server](https://github.com/andrewsuzuki/nourish-s... |
title: Getting Started
layout: splash
permalink: /getting-started
---
If you want to dive right into the first ArchUnit test, follow these steps
## Add ArchUnit as dependency
ArchUnit can be obtained from Maven Central.
#### Maven
```xml
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archu... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... |
python -m frontera.contrib.messagebus.zeromq.broker --address localhost --port '5580' 2>> broker.log &
# Start ZMQ broker with IPv6
python -m frontera.contrib.messagebus.zeromq.broker --address '::1' --port '5570' 2>> broker.log &
# Start ZMQ broker with wildcard
python -m frontera.contrib.messagebus.zeromq.broker --... |
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen-metadata.h"
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
// 0x00000001 System.String UnityEngine.XR.Management.XRConfigurationDataAttribute::get_displayName()
extern void XRConf... |
using System.Threading.Tasks;
using Xunit;
using Verifier = Azure.ClientSdk.Analyzers.Tests.AzureAnalyzerVerifier<Azure.ClientSdk.Analyzers.ClientMethodsAnalyzer>;
namespace Azure.ClientSdk.Analyzers.Tests
{
public class AZC0003Tests
{
[Fact]
public async Task AZC0003ProducedForNonVirtualMethod... |
//-----------------------------------------------------------------------
// <copyright file="CacheItemRelocator.cs">
// Copyright (c) Nitin Stephen Koshy. All rights reserved.
// </copyright>
// <author>Nitin Stephen Koshy</author>
// <email>nitinkoshy@gmail.com</email>
// <date>16.Sep.2010</date>
// <license>Mic... |
import os.path
# 3rd party imports
from nose.tools import eq_
# package imports
from openpyxl.tests.helper import DATADIR
from openpyxl.workbook import Workbook
from openpyxl.writer.strings import create_string_table
from openpyxl.reader.strings import read_string_table
def test_create_string_table():
wb = Work... |
package edu.uci.ics.asterix.om.pointables.printer;
import java.io.IOException;
import java.io.PrintStream;
import java.util.List;
import edu.uci.ics.asterix.common.exceptions.AsterixException;
import edu.uci.ics.asterix.om.pointables.ARecordPointable;
import edu.uci.ics.asterix.om.pointables.base.IVisitablePointabl... |
namespace rx
{
class ImplFactory;
class VertexArrayImpl;
}
namespace gl
{
class Buffer;
class VertexArray final : public LabeledObject
{
public:
VertexArray(rx::ImplFactory *factory, GLuint id, size_t maxAttribs);
~VertexArray();
GLuint id() const;
void setLabel(const std::string &label) override;... |
Gulp File:
2 environments:
Development
Production
Development:
'gulp':
1. sets the environment to development
2. deletes all in the dist folder
3. lints client-side code
4. sets watch, minifies js and css files and sent to dist folder
5. sets watch, copy html and minified bower dependencies and sent to dist folder
... |
<?php
// CONFIGURATION
/* The source file */
define('SOURCE_EXTENSION', 'csv');
// ---- File output
/* For symfony, do not put full extension, just put what is behind the dot (.) eg .xliff it becomes xliff */
/*
define('TARGET_EXTENSION', 'xliff');
define('TARGET_TEMPLATE', __DIR__.'/template/xliff_sf/template.xml');... |
package vexatos.conventional.command.area;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.text.TextComponentString;
imp... |
title: 16th Lesson Review
layout: post
author: dhilan.nathwani
permalink: /16th-lesson-review-/
source-id: 1v43EJZboQLOBkelR_KwNwW_JxFYIVK-I92uTQtkavso
published: true
---
**16th Lesson Review 10-06-2016**
**Summary:** Today we did an anonymous survey on the computing devices and how we use them at home. This was com... |
var crypto = require('crypto');
var toRender = require('./toRender');
var userModel = require('../models/user.js').model;
module.exports = {
login: function (req, res) {
toRender(req, res, 'login', {
title: 'Login'
});
},
verify: function (req, res) {
if (!req.body.name || !req.body.password) ... |
<?php
namespace yii\bootstrap;
use yii\helpers\Html;
/**
* Button renders a bootstrap button.
*
* For example,
*
* ```php
* echo Button::widget([
* 'label' => 'Action',
* 'options' => ['class' => 'btn-lg'],
* ]);
* ```
* @see http://getbootstrap.com/javascript/#buttons
* @author Antonio Ramirez ... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.coolweather.android">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="org.litepal.LitePalApplication"
android:allowBackup="true... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coinduction: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
package models;
import edu.hku.sdb.connect.*;
import java.rmi.RemoteException;
public class UploadTableModel {
public String query;
public String tableName;
public String filePath;
private Statement statement;
static final String DB_URL = "//localhost:2019/ConnectionService";
public boolean init() {
... |
A Hubot script that receives ●(きびだんご).
It is inspired by あいまいみー written by ちょぼらうにょぽみ.
## Installation
$ npm install https://github.com/bouzuya/hubot-kibidango/archive/master.tar.gz
or
$ npm install https://github.com/bouzuya/hubot-kibidango/archive/{VERSION}.tar.gz
## Example
bouzuya> hubot ●
h... |
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=pynrc
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not... |
module Graphics.Pastel.WX
( module Graphics.Pastel.WX.Draw
, module Graphics.Pastel.WX.Test
) where
import Graphics.Pastel.WX.Draw
import Graphics.Pastel.WX.Test
|
package com.alostpacket.pocketsax;
/**
* Example RSS node base on Wikipedia entry for RSS. All fields are public for simplicity.
* With annotations these could be made private and/or use setTitle() etc.
*
* <pre>{@code
<item>
<title>Example entry</title>
<description>Here is some text containing an in... |
class Solution(object):
def combinationSum2(self, candidates, target):
"""
:type candidates: List[int]
:type target: int
:rtype: List[List[int]]
"""
res = []
self.helper(sorted(candidates), target, 0, [], res)
return res
def helper(self, candidat... |
package org.fedoraproject.xmvn.tools.resolve.xml;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import org.fedoraproject.xmvn.artifact.Artifact;
import org.fedoraproject.xmvn.resolver.ResolutionRequest;
/**
* @author Mikolaj Izdebski
*/
@XmlRootElement( nam... |
package org.apache.lucene.analysis.synonym;
import java.io.IOException;
import java.util.Map;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.synonym.SynonymFilter;
import org.apache.lucene.util.Version;
import org.apache.lucene.analysis.util.ResourceLoader;
import org.apache.lucene... |
/*
* RTML CONVERTER:
* A basic RTML parser implementation.
* Serves as a concept for further developers
* to better visualize the parser nature of the converter.
* Methods included provide functions to extract information
* from a RTML file (XML based) and use them as inputs in
* different operation modes at all... |
package io.github.louistsaitszho.erg2.utils;
/**
* Created by Louis on 6/27/2015.
*/
public class TimeAgo {
public final static long MILLISECOND = 1;
public final static long SECOND = Consts.HOW_MANY_MS_IN_S * MILLISECOND;
public final static long MINUTE = Consts.HOW_MANY_S_IN_MIN * SECOND;
public fi... |
/** \file vlfeat_libvot_api.h
* \brief libvot-side APIs of vlfeat feature
*
* It contains some utility functions for the use of vlfeat in libvot
*/
#ifndef VOT_VLFEAT_LIBVOT_API_H
#define VOT_VLFEAT_LIBVOT_API_H
extern "C" {
#include "vl/generic.h"
#include "vl/sift.h"
#include "vl/covdet.h"
}
#include "utils/da... |
<?php
class MarketplaceWebServiceProducts_Model_ResponseHeaderMetadata {
const REQUEST_ID = 'x-mws-request-id';
const RESPONSE_CONTEXT = 'x-mws-response-context';
const TIMESTAMP = 'x-mws-timestamp';
const QUOTA_MAX = 'x-mws-quota-max';
const QUOTA_REMAINING = 'x-mws-quota-remaining';
const QUOTA_RESETS_... |
using System.Diagnostics.CodeAnalysis;
using System.Security;
namespace Alphaleonis.Win32.Filesystem
{
public sealed partial class DirectoryInfo
{
/// <summary>[AlphaFS] Gets the unique identifier for the directory. The identifier is composed of a 64-bit volume serial number and 128-bit file system entr... |