answer stringlengths 15 1.25M |
|---|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Evol.TMovie.Domain.Models.Entities;
using Evol.TMovie.Domain.QueryEntries.Parameters;
using Evol.Common;
using Evol.Domain.Data;
using Evol.Common.Data;
namespace Evol.TMovie.Domain.QueryEntries
{
public interface ISeatQueryEntry : ... |
package br.eti.arthurgregorio.fulljeearch.domain.security;
/**
*
* @author Arthur
*/
public interface ApplicationRoles {
public final String USER = "Usuario";
public final String ADMINISTRATOR = "Administrador";
} |
package com.almende.dialog.example.agent;
import java.io.Serializable;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.logging.Logger;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import java... |
CREATE TABLE IF NOT EXISTS `uctoo_district` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`level` tinyint(4) unsigned NOT NULL DEFAULT '0',
`upid` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='';
IN... |
package com.suscipio_solutions.consecro_mud.Commands;
import java.util.Vector;
import com.suscipio_solutions.consecro_mud.MOBS.interfaces.MOB;
import com.suscipio_solutions.consecro_mud.core.CMParms;
@SuppressWarnings("rawtypes")
public class NoFollow extends Follow
{
public NoFollow(){}
private final String[] ... |
package org.dbflute.erflute.db.impl.mysql;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.dbflute.erflute.editor.model.dbimport.DBObject;
import org.dbflute.erflute.editor.model.dbimport.<API key>;
public class <API key> extends <API key> {
@Ov... |
// THIS FILE WAS AUTO-GENERATED BY ADKGEN -- DO NOT MODIFY!
using System;
using System.Text;
using System.Security.Permissions;
using System.Runtime.Serialization;
using OpenADK.Library;
using OpenADK.Library.Global;
using OpenADK.Library.au.Common;
namespace OpenADK.Library.au.School{
<summary>A MediumOfInstruction</s... |
package org.gradle.test.performance.<API key>.p36;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test730 {
Production730 objectUnderTest = new Production730();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.setProperty0(value);
ass... |
app.service('UserService', ['$http', function($http) {
return {
getLogged: function(successCallback) {
$http.get('/api/user/logged').then(successCallback);
},
putPin: function(user, successCallback) {
$http.post('/api/user/pin/', user).then(successCallback);
}... |
UPDATE <API key> SET `value` = replace(`value`, '>', '>');
UPDATE <API key> SET `value` = replace(`value`, '<', '<'); |
// Code generated by protoc-gen-gogo.
// source: combos/unsafemarshaler/casttype.proto
// DO NOT EDIT!
/*
Package casttype is a generated protocol buffer package.
It is generated from these files:
combos/unsafemarshaler/casttype.proto
It has these top-level messages:
Castaway
Wilson
*/
package casttype
impo... |
package ru.job4j.polymorphism;
public class StubInput implements Input {
/**
* @param answers - array's param.
*/
private String[] answers;
/**
* @param position - param count position.
*/
private int position = 0;
/**
* Constructor.
* @param answers - array's param.
... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>StringMatchFilter.<API key> Field</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href... |
import { Component } from '@angular/core';
@Component({
selector: '<API key>',
template: '<ng-content></ng-content>',
styles: [':host { display: block; }'],
host: {
'class': 'row'
}
})
export class <API key> {
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Jul 17 13:50:51 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildfly.swarm.config.infinispan.cache_container.<API key> (BOM: * : All 2.5.0.Fina... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Wed Jan 04 17:08:18 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildfly.swarm.config.NamingConsumer (Public javadocs 2017.1.1 API)</title>
<meta ... |
// Use of this source code is governed by a BSD-style
// Package odnoklassniki provides constants for using OAuth2 to access Odnoklassniki.
package odnoklassniki
import (
"github.com/coreos/mantle/Godeps/_workspace/src/golang.org/x/oauth2"
)
// Endpoint is Odnoklassniki's OAuth 2.0 endpoint.
var Endpoint = oauth2.E... |
#include "../ohbot.h"
#include "stats.h"
// CStats
CStats :: CStats( CBaseGame *nGame ) : m_Game( nGame ), m_Locked( false )
{
}
CStats :: ~CStats( )
{
}
bool CStats :: ProcessAction( CIncomingAction *Action )
{
return false;
}
void CStats :: Save( COHBot *GHost, COHBotDB *DB, uint32_t GameID )
{
} |
package org.techniche.technothlon.katana.tcd;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.os.Lo... |
import {Component} from '@angular/core';
import {NgbActiveModal} from '@ng-bootstrap/ng-bootstrap';
import {Category} from 'idai-field-core';
import {<API key>} from '../../../core/configuration/<API key>';
@Component({
selector: 'link-modal',
templateUrl: './link-modal.html',
host: {
'(window:keydo... |
Get up to speed on [pandas](http://pandas.pydata.org/) and
[TensorFlow](https:
(click [here](https://github.com/google/eng-edu/blob/master/ml/cc/README.md) for
installation instructions):
* **Hello World:** An introduction to the Datalab notebook environment that
shows how to code ["Hello
World"](https://en.w... |
name: (Maintainers Only) Good First Issue
about: For maintainers to create an issue that is good for new contributors
<!-- Issue text below -->
<!-- End issue text, leave the following intact -->
**Good First Issue**: This issue is good for first time contributors. If you've already contributed to Warehouse, work on [a... |
package com.zaaach.citypicker.db;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Environment;
import com.zaaach.citypicker.model.City;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputS... |
#pragma once
#include "<API key>.h"
namespace autowiring {
<summary>
A single subscription counter entry
</summary>
struct SatCounter:
<API key>
{
SatCounter(void) = default;
SatCounter(const <API key>& source):
<API key>(source),
remaining(m_requiredCount)
{}
SatCounter(const SatCounter& source):
... |
using Hyperstore.CodeAnalysis.Syntax;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperstore.CodeAnalysis.Compilation
{
public class HyperstoreCompiler
{
private readonly string _basePath;
private ... |
// <API key>: Apache-2.0 WITH LLVM-exception
// This file defines an instruction selector for the ARM target.
#include "ARM.h"
#include "ARMBaseInstrInfo.h"
#include "ARMTargetMachine.h"
#include "MCTargetDesc/ARMAddressingModes.h"
#include "Utils/ARMBaseInfo.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/CodeGen... |
package com.huawei.esdk.sms.north.http.common;
import java.io.<API key>;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.<API key>;
import javax.xml.parsers.<API key>;
import org.apache.log4j.Logger;
import org.w3c.dom.Doc... |
<!DOCTYPE html >
<html >
<head>
<title> {gooraye:$f_siteTitle} {gooraye:$f_siteName}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="{gooraye:$f_metaKeyword}" />
<meta name="description" content="{gooraye:$f_metaDes}" />
<meta http-equiv="MSThemeCompatible" c... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/>
<link rel="stylesheet" href="../../../../../aui/... |
package com.example;
public interface Movable {
public void moveLeft();
public void moveRight();
} |
# AUTOGENERATED FILE
FROM balenalib/<API key>:3.13-run
ENV GO_VERSION 1.16.14
# set up nsswitch.conf for Go's "netgo" implementation
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
# gcc for cgo
RUN apk add --no-cache g... |
package ch.unibe.scg.regex;
import static java.util.Collections.singleton;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
import ch.unibe.scg.regex.ParserProvider.Node;
import ch.unibe.scg.regex.ParserProvider.Node.Basic;
import ch.u... |
package com.siqisoft.stone.admin.dict.controller;
import java.util.List;
import org.siqisource.stone.dict.model.Dict;
import org.siqisource.stone.dict.service.DictService;
import org.siqisource.stone.orm.condition.Condition;
import org.siqisource.stone.ui.AjaxResponse;
import org.siqisource.stone.ui.Notify;
import org.... |
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class MY_Model extends CI_Model {
var $table = "";
function __construct() {
parent::__construct();
}
/**
* Insere um registro na tabela
*
* @param array $data Dados a serem inseridos
*
* @return boolean
*/
function Inseri... |
package com.nguyenmanhtuan.benhandientu;
import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.View;
import android.widget.Button;
import android.widget... |
package com.vertabelo.mobileorm.myplaces.orm.gen;
public class AddressViewDAOImpl
extends com.vertabelo.mobileorm.myplaces.orm.runtime.dao.BaseDAO<AddressView>
implements AddressViewDAO {
public AddressViewDAOImpl(com.vertabelo.mobileorm.myplaces.orm.runtime.util.SQLiteDataSource dataSource) {
... |
package com.intellij.codeInsight.generation;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.intention.AddAnnotationPsiFix;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleUtilCore;
import com.... |
package com.chisw.work.addressbook.test;
import com.chisw.work.addressbook.Data.GroupData;
import com.chisw.work.addressbook.Data.Groups;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
... |
package io.omengye.common.utils.constants;
public class Constants {
private Constants(){}
public static final String RESULT_FLAG = "flag";
} |
#ifndef LAYER_H_INCLUDED
#define LAYER_H_INCLUDED
#include "basicresource.h"
#include "Drawable.h"
class Layer : public Drawable
{
private:
void transformation() override;
void onDraw() override;
void postDraw() override;
public:
Layer():
Drawable()
{
}
};
#endif // LAYER_H_INCLUDED |
import type { PeerInfo } from '@dlghq/dialog-types';
import type { AvatarSize } from '../Avatar/getAvatarSize';
import type { Gradient } from '../Avatar/getAvatarColor';
import React, { PureComponent } from 'react';
import classNames from 'classnames';
import getAvatarSize from '../Avatar/getAvatarSize';
import getAvat... |
# This file describes the standard way to build Docker, using docker
# Usage:
# # Assemble the full dev environment. This is slow the first time.
# docker build -t docker .
# # Mount your source in an interactive container for quick testing:
# docker run -v `pwd`:/go/src/github.com/dotcloud/docker -privileged -i -t doc... |
#include "libxatmi.h"
int tpdiscon(int cd)
{
write(2, "tpdiscon not supported\n", 23);
tperrno = TPEPROTO;
return -1;
} |
# ormbad.version
# Helper module for ORMBad version information
# Created: Thu Aug 13 12:38:42 2015 -0400
# ID: version.py [] benjamin@bengfort.com $
"""
Helper module for ORMBad version information.
"""
## Versioning
__version_info__ = {
'major': 0,
'minor': 1,
'micro': 0,
'releaselevel': 'final',
... |
var fs = require('fs');
var content = fs.read ('animeEpisode.json');
console.log(JSON.stringify(JSON.parse(content)[1][0].title));
videolinks=JSON.parse(content);
links=[];
function pages(k) {
var page = new WebPage();
page.open('http:
console.log('opened gogoanime :++++ ', status);
... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Fri Nov 14 18:25:20 PST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.apache.hadoop.hbase.thrift.ThriftServerRunner (HBase 0.98.8-hadoop2 API)</title... |
/* "C" Language Integrated Production System */
/* CLIPS Version 6.20 01/31/02 */
/* DEFFACTS PARSER HEADER FILE */
/* Purpose: */
/* Principal Programmer(s): */
/* Gary... |
package org.cluj.bus.servlet;
import com.google.gson.Gson;
import org.cluj.bus.model.BusSchedule;
import org.cluj.bus.model.BusScheduleDTO;
import org.cluj.bus.model.CategorySchedule;
import org.cluj.bus.services.JPARepository;
import org.cluj.bus.util.ScheduleUtilities;
import javax.servlet.ServletException;
import ja... |
<!DOCTYPE HTML PUBLIC "-
<html>
<head>
<meta httpEquiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Test results - Class carlosgsouza.vinylshop.functional.v1.<API key></title>
<link href="base-style.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css"/>
<script s... |
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders;
using Microsoft.CodeAnalysis.C... |
package com.wjyup.coolq.util;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.common.hash.HashCode;
import com.google.common.hash.HashFunction;
import com.google.common.hash.Hashing;
import com.google.gson.JsonObject;
import org.apache.logging.log4j.LogManager;
import org.apa... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_222) on Thu Jan 16 21:49:29 PST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.datasketches.quantiles.DoublesUnionBuilder (datasketches-java 1.2.0-incubating A... |
# vim: set et sw=4 sts=4 fileencoding=utf-8:
# Python header conversion
# Original headers
# modification, are permitted provided that the following conditions are met:
# documentation and/or other materials provided with the distribution.
# names of its contributors may be used to endorse or promote produc... |
# quick demo of some python image filters
# using raspberry pi camera
import Tkinter as tk
from picamera import PiCamera
from time import sleep
from PIL import Image,ImageFilter,ImageChops,ImageTk
imagefile = "image.jpg"
w = 320
h = 240
lastfilter = "none"
camera = PiCamera()
def takephoto():
camera.capture(imagefi... |
var a02307 =
[
[ "GenericVector", "a02307.html#<API key>", null ],
[ "GenericVector", "a02307.html#<API key>", null ],
[ "GenericVector", "a02307.html#<API key>", null ],
[ "~GenericVector", "a02307.html#<API key>", null ],
[ "back", "a02307.html#<API key>", null ],
[ "binary_search", "a02307.ht... |
note
* this is a resuable container for a given project/volume
initial steps
* ensure current directory contains `resources/jdk-9+175_linux-x64_bin.tar.gz`
* run: `docker build -t="jdk9/b175" .`
* run: `docker run -i -t -v $(pwd):/data jdk9/b175`
* inside container, run: `/data/resources/install.sh`
* inside container,... |
package template
import (
"bytes"
"io"
"io/ioutil"
"log"
"os"
"testing"
"text/template"
"github.com/k8sp/sextant/cloud-config-server/certgen"
"github.com/k8sp/sextant/clusterdesc"
"github.com/stretchr/testify/assert"
"github.com/topicai/candy"
"gopkg.in/yaml.v2"
)
func Te... |
package mx.emite.sdk.scot.request;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import lombok.Builder;
import lombok.Data;
import lombok.Singular;
import mx.emite.sdk.cfdi32.anotaciones.Rfc;
import mx.emite.sdk.sc... |
#include "bme680.h"
#include <gpio.h>
#include <i2c.h>
#include <init.h>
#include <kernel.h>
#include <misc/byteorder.h>
#include <misc/__assert.h>
#include <sensor.h>
#include <logging/log.h>
LOG_MODULE_REGISTER(bme680, <API key>);
static int bme680_reg_read(struct bme680_data *data, u8_t start, u8_t *buf,
... |
var crypto = require("crypto"),
Request = require("./../request"),
Response = require("./../response");
module.exports = sessionCookie;
/**
* A middleware for storing and retrieving session data using HTTP cookies.
* The `options` may be any of the following:
*
* - secret A secret string to use to v... |
use inkwell::context::Context;
use inkwell::values::{BasicValue, InstructionOpcode::*};
use inkwell::{AddressSpace, AtomicOrdering, AtomicRMWBinOp, FloatPredicate, IntPredicate};
#[test]
fn test_operands() {
let context = Context::create();
let module = context.create_module("ivs");
let builder = context.cr... |
package org.efix.util.buffer;
import org.efix.util.ByteSequenceWrapper;
import org.efix.util.StringUtil;
public class BufferUtil {
public static UnsafeBuffer fromString(String string) {
return new UnsafeBuffer(StringUtil.asciiBytes(string));
}
public static String toString(Buffer buffer) {
r... |
package dao
import (
"go-common/app/admin/ep/merlin/model"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
var (
username = "fengyifenguitest@bilibili.com"
)
func Test_Mail_Log(t *testing.T) {
Convey("test add mail log", t, func() {
ml := &model.MailLog{
ReceiverName: us... |
<!DOCTYPE html>
<html layout:decorate="~{layouts/adminlte}">
<head>
<title>FormKiQ Server - Setup</title>
</head>
<body>
<div layout:fragment="content">
<!-- Main content -->
<section class="content">
<div class="row">
<form metho... |
import styled, { css as styledCss, keyframes } from 'styled-components'
import type { TTestable } from '@/spec'
import Img from '@/Img'
import { theme } from '@/utils/themes'
import css from '@/utils/css'
const DURATION = '2.5s'
const load = keyframes`
0% {
top: 24px;
}
70% {
top: 10px;
}
90% {
to... |
"""Support for switches which integrates with other components."""
import logging
import voluptuous as vol
from homeassistant.components.switch import (
ENTITY_ID_FORMAT,
PLATFORM_SCHEMA,
SwitchEntity,
)
from homeassistant.const import (
ATTR_ENTITY_ID,
ATTR_FRIENDLY_NAME,
<API key>,
CONF_IC... |
package org.whale.ext.domain;
import java.util.ArrayList;
import java.util.List;
import org.whale.system.annotation.jdbc.Column;
import org.whale.system.annotation.jdbc.Id;
import org.whale.system.annotation.jdbc.Table;
import org.whale.system.annotation.jdbc.Validate;
import org.whale.system.base.BaseEntry;
import org... |
#include "syscall.hpp"
#include <diag\Trace.h>
namespace os {
#if 0
static void dispatch_syscall(void) naked_function;
static void dispatch_syscall(void)
{
__asm__ __volatile__
(
" sub sp, sp, #16\n" /* Create a stack frame to hold 3 parms + lr */
" str r4, [sp, #0]\n" /* Move parameter 4... |
#include <iostream>
#include <iomanip>
#include <cstdint>
#include <typeinfo>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
using namespace color;
using namespace std;
cout << "gray<std::uint8_t > is: " << typeid( trait::component< gray< std::uint8_t >::category_type >::instance_type ).name() ... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:3.10-build
ENV NODE_VERSION 14.16.1
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN for key in \
<API key> \
; do \
gpg --keyserver pgp.mit... |
package com.gentics.mesh.changelog.changes;
import static com.gentics.mesh.core.data.relationship.GraphRelationships.<API key>;
import com.gentics.mesh.changelog.AbstractChange;
import com.tinkerpop.blueprints.Direction;
/**
* Changelog entry which removed the schema version edges with properties
*/
public class <API... |
package sl.hr_client;
import android.app.Application;
import android.test.ApplicationTestCase;
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} |
using System;
#if Q8
using QuantumType = System.Byte;
#elif Q16
using QuantumType = System.UInt16;
#elif Q16HDRI
using QuantumType = System.Single;
#else
#error Not implemented!
#endif
namespace ImageMagick
{
<summary>
Class that represents a HSV color.
</summary>
public sealed class ColorHSV : ColorBas... |
package cc.mallet.util;
/**
* Static utility methods for Strings
*/
final public class Strings {
public static int commonPrefixIndex (String[] strings)
{
int prefixLen = strings[0].length();
for (int i = 1; i < strings.length; i++) {
if (strings[i].length() < prefixLen)
... |
package org.museautomation.core.step;
import org.jetbrains.annotations.*;
import org.museautomation.core.*;
import org.museautomation.core.context.*;
import org.museautomation.core.step.descriptor.*;
import org.museautomation.core.steptask.*;
import org.museautomation.core.values.*;
import org.museautomation.core.value... |
package com.intellij.openapi.diff.impl.patch.formove;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diff.impl.patch.FilePatch;
import com.intellij.openapi.diff.impl.patch.TextFilePatch;
import com.intellij.openapi.diff.impl.patch.apply.ApplyFilePatchBase;
import com.intellij.op... |
package com.therabbitmage.android.beacon.network;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URISyntaxException;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
imp... |
#include "common/common/version.h"
std::string VersionInfo::version() {
return fmt::format("{}/{}", GIT_SHA.substr(0, 6),
#ifdef NDEBUG
"RELEASE"
#else
"DEBUG"
#endif
);
} |
<?php
/*!
* @mainpage Configuration
*
* @section intro Introduction
*
* You can create file <b>application/config.php</b> for configuration.
*
* @section intro Configuration items
*
* @subsection encryptor Encrypt
* For NpFactory::getEncryptor, $_CONFIG['encryptor']
* @param mode encrypt mode, support ae... |
/* $Header: /cvs/maptools/cvsroot/libtiff/contrib/pds/tif_pdsdirread.c,v 1.2 2003/11/17 15:09:39 dron Exp $ */
/*
* TIFF Library.
*
* These routines written by Conrad J. Poelman on a single late-night of
* March 20-21, 1996.
*
* The entire purpose of this file is to provide a single external function,
* <API key... |
package org.apache.hadoop.hive.kafka.camus;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.MapWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.UTF8;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableComparable;
import java.io.DataInput;
import java.i... |
package com.datawizards.dmg.service
import com.datawizards.dmg.repository.{<API key>, <API key>}
class <API key>(url: String) extends <API key> {
override protected val repository: <API key> = new <API key>(url)
override protected val hdfsService: HDFSService = HDFSServiceImpl
} |
package net.unicon.cas.addons.serviceregistry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.<API key>;
import org.springframework.beans.factory.config.<API key>;
import org.springframework.beans.factory.support.... |
package dhg.util
import scala.collection.generic.CanBuildFrom
object Pattern {
object UInt {
val IntRE = .r
def unapply(v: String): Option[Int] = v match {
case IntRE(s) => Some(s.toInt)
case _ => None
}
}
// implicit def int2unapplyInt(objA: Int.type) = UInt
object UDouble {
val Do... |
using ClassLibrary;
using Pokemon_IMIE.Model;
using Pokemon_IMIE.usercontrols;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.... |
#coding=utf-8
from django.db import models
from django.contrib.auth.models import User
class Activity(models.Model):
owner = models.ForeignKey(User, null=False)
text = models.CharField(max_length=20, unique=True)
class Dessert(models.Model):
activity = models.ForeignKey(Activity, null=False)
description... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Day57-vlvibesSwitch</title>
<script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>
<script src="https://rawgit.com/ngokevin/<API key>/master/dist/<API key>.min.js"></script>
<script src="https://code.jquery.com/jquery-2.1.1.... |
var angularjs = angular.module('articleDetailModule', ['<API key>', 'ngCookies', 'ngVideo']);
angularjs.controller('<API key>', ['$rootScope', '$scope',
'$http', '$stateParams', '$state', '$location',
'CourseTagService', '$sce', '$cookies', '$httpParamSerializer', 'video', '$route',
function($rootScope, $sc... |
package org.semanticweb.HermiT.datatypes.owlreal;
import java.math.BigDecimal;
import java.math.BigInteger;
public enum NumberRange {
NOTHING, INTEGER, DECIMAL, RATIONAL, REAL;
public boolean isDense() {
return ordinal() >= DECIMAL.ordinal();
}
public static NumberRange intersection(NumberRange ... |
// <summary>
// Describes a recipe.
// </summary>
namespace ForkTip.Models
{
using System;
using System.Collections.Generic;
<summary>
Describes a recipe.
</summary>
[Serializable]
public class Recipe
{
<summary>
Gets or sets the id.
</summary>
public Gu... |
package com.designpattern.structural.facade;
public class Facade {
SystemOne system1 = new SystemOne();
SystemTwo system2 = new SystemTwo();
SystemThree system3 = new SystemThree();
SystemFour system4 = new SystemFour();
public void facadeFunction1() {
System.out.println("---- facade functio... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Wed Jul 27 21:27:29 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><API key> (PMD Python 5.5.1 API)</title>
<meta name="date" content="2016-07-27">
<link rel="stylesheet" t... |
<?php
namespace Slime;
use Illuminate\Database\Eloquent\Model;
class Persona extends Model
{
protected $table = "Persona";
protected $fillable = ['nombre','apellido','Cargo_id'];
} |
<template name="ListStudent">
{{#IfLoggedIn}}
<div class="row" style="background-image: url('/images/textbookheader.png'); background-size: cover;">
<div class="col-md-10">
<div class="bumper">
<table class="table table-hover" style="background-color: white; border-top: 5px solid #00AFDD;">
... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Twig_' => array($vendorDir . '/twig/twig/lib'),
'Symfony\\Component\\Icu\\' => array($vendorDir . '/symfony/icu'),
'Symfony\\Bundle\\SwiftmailerBundle' => array($ve... |
<?php
function geoip($dbipcsv, $ip){
$csvData = file_get_contents("/lib/".$dbipcsv);
$lines = explode(PHP_EOL, $csvData);
$rangeArray = array();
foreach ($lines as $line) {
$rangeArray[] = str_getcsv($line);
}
$input = $ip;
$array_input = explode(".", $input);
foreach($rangeArray as $current)
{
$array_start = explo... |
# Contributing to SlicerITKUltrasound
Contributions are welcome and encouraged.
To contribute, create a pull request on the [project's GitHub
repository](https://github.com/KitwareMedical/SlicerITKUltrasound).
Respectful and collaborative discourse is appreciated and expected.
Please patiently address all automated bui... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ttt</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div>
<form method="post" action="/shop/register">
</form>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="tex... |
#!/usr/bin/env python
"""
This pretty much just tests creating a user, a universe, a planet, a building type name, a building
type, and a building.
"""
import os
import sys
import sqlalchemy
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import legendary_waffle
# Database setup
db_en... |
<pr-stack-widget options="widget.options" params="widget.params" filters="filters"></pr-stack-widget> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.