answer stringlengths 15 1.25M |
|---|
<?php
namespace Upc\Cards\Bundle\CardsBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\<API key>\Configuration\Route;
use Sensio\Bundle\<API key>\Configuration\Template;
use Upc\Cards\Bundle\CardsBundle\Entity\GroupCategory;
use Symfony\Component\HttpFoundation\Request;
/**... |
var map;
var infoWindow;
var markersData = [
{
lat: -3.741262,
lng: -38.539389,
nome: "Campus do Pici - Universidade Federal do Ceará",
endereco:"Av. Mister Hull, s/n",
telefone: "(85) 3366-9500"
},
{
lat: -3.780833,
lng: -38.469656,
nome: "Colosso Lake Lounge",
... |
<?php require_once(APPPATH . 'views/header.php'); ?>
<link rel="stylesheet" href="<?= base_url(); ?>assets/css/fullcalendar.css" />
<link rel="stylesheet" href="<?= base_url(); ?>css/mine.css" />
<style>
.form-horizontal .controls {
margin-left: 12px;
}
</style>
<div class="page-content">
<div class... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _default() {
return function ({
addUtilities,
variants
}) {
addUtilities({
'.bg-clip-border': {
'background-clip': 'border-box'
},
'.bg-clip-padding': {
'... |
{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% block title %}New Company Record{%endblock%}
{% block container %}
<div class="formbox" style="padding-top: 60px; padding-left: 15px;">
<form class="form" action="." method="POST">
{% csrf_token %}
{{ form|crispy }}
<button class="btn btn-primary">{% if ob... |
var gulp = require('gulp');
var karma = require('karma').server;
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var path = require('path');
var plumber = require('gulp-plumber');
var runSequence = require('run-sequence');
var jshint = require('gulp-jshint'... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$hook['pre_system'] = array(
'function' => 'auth_constants',
'filename' => 'auth_constants.php',
'filepath' => 'hooks'
); |
# <API key>: true
module <API key>
def <API key>(input)
return nil unless input
value_field =
case input[:pricing_strategy]
when 'fixed'
:fixed_value
when 'scheduled_value'
:scheduled_value
end
PricingStructure.new(pricing_strategy: input[:pricing_strategy], value: ... |
<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>BinarizeFilter Constructor</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.... |
#import "UIView.h"
@class NSString, NSTimer, STRunCaloriesLabel, STRunDistanceLabel, STRunPaceLabel, STRunProgressView, STRunTimeLabel, SWRunWorkoutProxy, UIButton, UIImageView, UILabel;
@interface STRunView : UIView
{
id <STRunViewDelegate> _delegate;
SWRunWorkoutProxy *_workoutProxy;
NSTimer *_subsecondTi... |
#import <UIKit/<API key>.h>
// Not exported
@interface <API key> : <API key>
{
}
- (double)<API key>;
- (id)backgroundImageName;
- (_Bool)<API key>;
- (int)cornerStyle;
@end |
package com.jme.curve;
import java.io.IOException;
import com.jme.math.Vector3f;
import com.jme.scene.Controller;
import com.jme.scene.Spatial;
import com.jme.util.export.InputCapsule;
import com.jme.util.export.JMEExporter;
import com.jme.util.export.JMEImporter;
import com.jme.util.export.OutputCapsule;
/**
* <code>... |
# shellcheck disable=SC2148
# Defines transfer alias and provides easy command line file and folder sharing.
# Authors:
# Remco Verhoef <remco@dutchcoders.io>
transfer() {
# check if curl is installed
if ! curl --version >/dev/null 2>&1; then
echo "Could not find curl."
return 1
fi
# c... |
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
//AKA half of mapper 034 (the other half is AVE_NINA_001 which is entirely different..)
public sealed class BxROM : NES.NESBoardBase
{
//configuration
int prg_bank_mask_32k;
int chr_bank_mask_8k;
//state
... |
var config = require('./../config');
var redis = require('./redis');
var _ = require('lodash');
function cacheDevice(device){
if(device){
var cloned = _.clone(device);
redis.set('DEVICE_' + device.uuid, JSON.stringify(cloned),function(){
//console.log('cached', uuid);
});
}
}... |
"""
This module is to support *bbox_inches* option in savefig command.
"""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import six
import warnings
from matplotlib.transforms import Bbox, TransformedBbox, Affine2D
def adjust_bbox(fig, bbox_inches, fixed_dpi... |
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
// permit persons to whom the Software is furnished to do so, subject to the following conditions:
// Software.
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. I... |
# Require any additional compass plugins here.
require 'sass-globbing'
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "_includes/css"
sass_dir = "_includes/sass"
images_dir = "assets/img"
javascripts_dir = "assets/js"
relative_assets = true
# Compilation pour la prod :
environment = ... |
import defaultClasses from "../config/classes.js";
import ChartBase from "./chartBase.js";
import { ChartUtils } from "../utils/utils.js";
/**
* Horizontal Bar Chart Implementation
*
* @extends {ChartBase}
*/
class HorizontalBarChart extends ChartBase{
/**
* Creates an instance of HorizontalBarChart.
... |
<?php
namespace Wowo\NewsletterBundle\Newsletter\Placeholders;
use Wowo\NewsletterBundle\Newsletter\Placeholders\Exception\<API key>;
class <API key> implements <API key>
{
protected $mapping;
protected $referenceClass;
protected $<API key> = '{{';
protected $<API key> = '}}';
protected $placeholder... |
#pragma once
#include <string.h>
#include <tuple>
#include <boost/uuid/uuid.hpp>
#include "Common/StringTools.h"
namespace CryptoNote
{
typedef boost::uuids::uuid uuid;
typedef boost::uuids::uuid net_connection_id;
typedef uint64_t PeerIdType;
#pragma pack (push, 1)
struct NetworkAddress
{
uint32_t ip;
... |
Rails.application.routes.draw do
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
# root 'application#hello'
root 'application#goodbye'
# Example of regular route:
... |
( function( QUnit, bender ) {
var total = 0,
failed = 0,
passed = 0,
ignored = 0,
errors = 0,
result = {
success: true,
errors: []
};
// prevent QUnit from starting
QUnit.config.autostart = false;
bender.removeListener( window, 'loa... |
<!doctype html>
<html>
<head>
<script src="../bower_components/webcomponentsjs/webcomponents.js"></script>
<link rel="import" href="../dist/metaroom-markup.html">
</head>
<body>
<meta-verse>
<meta-style>
#vrcollab-poster {
frame-style: solid;
frame-thickness: 2;
... |
using System.Net;
using FluentAssertions;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Serialization.Objects;
using Microsoft.Extensions.DependencyInjection;
using TestBuildingBlocks;
using Xunit;
namespace <API key>.IntegrationTests.AtomicOperations.Links;
public sealed class <API key> : IClassFixture<<A... |
<p>
comp-1030 works!
</p> |
#include "WebForm.h"
WebForm::WebForm(void)
:__pWeb(null), __phonegapCommand(null)
{
geolocation = null;
device = null;
accel = null;
network = null;
console = null;
compass = null;
contacts = null;
}
WebForm::~WebForm(void) {
}
bool
WebForm::Initialize()
{
return true;
}
result
WebF... |
# Simple powershell (built-in to Win7/8/10) utility script
# to compute sha256 (or md5, sha1 or sha512) of a file
# Usage:
# C:\> powershell
# PS .\Get-Hash filename.ext [sha|md5|sha256|sha512]
# May require: Control Panel/System/Admin/Windows Power Shell Modules, then: Set-Executionpolicy RemoteSigned
# Based on Jame... |
<!DOCTYPE html>
<html lang='en' ng-app='app'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge' http-equiv='X-UA-Compatible'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" media="all" rel="stylesh... |
<div class="container">
<form [formGroup]="form" (ngSubmit)="sendEmail()">
<div class="row">
<div class="column large-2 small-2">
<label for="subject" class="right">Получатели:
<small *ngIf="selectedUsers?.length == 0"><i>не выбраны</i></small>
</label>
</div>
<div clas... |
import { flatArgs } from './Query';
import type { Entity } from '../binding';
import type { Filter } from './Filter';
import { JsonMap } from '../util';
import type { GeoPoint } from '../GeoPoint';
/**
* The Condition interface defines all existing query filters
*/
export interface Condition<T extends Entity> {
/**... |
package googlechat
import "time"
// ChatMessage is message type from Pub/Sub events
type ChatMessage struct {
Type string `json:"type"`
EventTime time.Time `json:"eventTime"`
Token string `json:"token"`
Message struct {
Name string `json:"name"`
Sender struct {
... |
layout: post
title: Serialization, class hierarchy and preserving sessions
date: '2011-10-26T08:39:00.000-04:00'
author: Bill Schneider
tags:
modified_time: '2011-10-26T08:39:37.739-04:00'
blogger_id: tag:blogger.com,1999:blog-9159309.<API key>
blogger_orig_url: http://wrschneider.blogspot.com/2011/10/<API key>.html
If... |
var router = require('express').Router({ mergeParams: true });
module.exports = router;
// Don't just use, but also export in case another module needs to use these as well.
router.callbacks = require('./controllers/hello');
router.models = require('./models');
//-- For increased module encapsulation, you coul... |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web serve... |
// <auto-generated/>
#nullable disable
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
using Azure.ResourceManager.Core;
using Azure.ResourceManager.Network.Models;
using Azure.ResourceManager.R... |
# Contributing to Tesspathy
We want to make contributing to this project as easy and transparent as possible. Hopefully this document makes the process for contributing clear and answers any questions you may have. If not, feel free to open an issue.
## Pull Requests
We will be monitoring for pull requests. Before subm... |
import WebhookNotification, {
LinkClick,
LinkClickCount,
MessageTrackingData,
WebhookDelta,
<API key>,
WebhookObjectData,
} from '../src/models/<API key>';
import { WebhookTriggers } from '../src/models/webhook';
describe('Webhook Notification', () => {
test('Should deserialize from JSON properly', done =... |
using HoloToolkit.Unity;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.Networking;
public class <API key> : Singleton<<API key>>
{
[SerializeField]
private string clientId = "<API key>";
private string client... |
<!DOCTYPE html>
<html ng-app="cookieDemo">
<head>
<meta charset="utf-8">
<title>ch6</title>
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css" />
<script type="text/javascript" src="../bower_components/angular/angular.min.js"></script>
<script type="text/javascript" src="..... |
require 'test_helper'
class <API key> < ActionController::TestCase
def <API key>
# We send invalid value but it validates anyway because their is no schema.
get :basic, format: 'json', param1: 51
assert_response :success
assert !response.has_schema?
end
end |
import deepFreeze from 'deep-freeze';
import { arrayToMap, mapKeysToArray } from './mapUtils';
describe('arrayToMap', () => {
it('should create map from 2D array', () => {
const a = [
['key1', 'value1'],
['key2', 'value2']
];
deepFreeze(a);
const result = arrayToMap(a);
expect(result.s... |
namespace SimShift.Data
{
public enum Ets2DataAuxilliary : int
{
CruiseControl = 0,
Wipers = 1,
ParkBrake = 2,
MotorBrake = 3,
ElectricEnabled = 4,
EngineEnabled = 5,
BlinkerLeftActive = 6,
BlinkerRightActive = 7,
BlinkerLeftOn = 8,
... |
2015-12-20
#objective-c
* <img src='https://avatars3.githubusercontent.com/u/433320?v=3&s=40' height='20' width='20'>[
yulingtianxia
/
TBActionSheet
](https://github.com/yulingtianxia/TBActionSheet):
A Custom Action Sheet
* <img src='https://avatars3.githubusercontent.com/u/7830226?v=3&s=40' hei... |
#!/bin/sh
# CYBERWATCH SAS - 2016
# Security fix for RHSA-2015:1686
# Operating System: Red Hat 7
# Architecture: x86_64
# - python-django.noarch:1.6.11-2.el7ost
# - <API key>.noarch:1.6.11-2.el7ost
# - python-django-doc.noarch:1.6.11-2.el7ost
# Last versions recommanded by security team:
# - python-django.noar... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Akimages</title>
</head>
<body bgcolor="#CCCCCC">
<p></p>
<p>Original</p>
<img src="../../images/lenna256.jpg"/>
<div id = "porID" style="relative; top:100px; l... |
<h2>This is my home page</h2>
<p>some text here</p> |
package com.kant.datastructure.queues;
import com.kant.sortingnsearching.MyUtil;
/**
* @author shaskant
*
*/
public class <API key> {
/**
*
* @param n
* @return
* @throws OverFlowException
* @throws UnderFlowException
*/
public String[] solve(int n) throws OverFlowException, Und... |
// Binary-search solution for balance.
// O(n * log (max coordinate / epsilon))
// David Garcia Soriano.
#include <algorithm>
#include <cstdio>
#include <cmath>
using namespace std;
const int maxn = 50000;
const double eps = 1e-11, infinity = 1e300;
double px[maxn], py[maxn];
int n;
bool possible(double d, double& px1,... |
layout: post
title: "DockerMysqlPhpmyadmin"
tagline: ""
description: "MySQL MariaDB Web, , "
date: '2017-12-27 13:09:08 +0800'
category: docker
tags: docker phpmyadmin mysql linux
> {{ page.description }}
bash
$ docker search phpmyadmin
NAME DESCRIPTION STARS ... |
require 'log4r'
module VagrantPlugins
module G5K
module Network
class Nat
def initialize(env, driver, oar_driver)
@logger = Log4r::Logger.new("vagrant::network::nat")
# command driver is unused
@env = env
@driver = driver
@oar_driver = oar_driver
... |
<?php
namespace Gitlab\Clients;
class DeployKeyClient extends AbstractClient
{
/**
* @param int $projectId
* @return \Psr\Http\Message\ResponseInterface
*/
public function listDeployKeys($projectId)
{
return $this->getRequest(sprintf('projects/%u/keys', $projectId));
}
/**... |
{% extends "layouts/_block_content.html" %}
{% set page_title = "Account email change link expired " %}
{% block main %}
<h1 class="u-fs-xl">Your verification link has expired</h1>
<div>
<p>
You will need to sign back into your account and <a href="{{ url_for('account_bp.<API key>', token=token) }}">request... |
from django.db import models
import warnings
from django.utils import timezone
import requests
from image_cropping import ImageRatioField
class CompMember(models.Model):
"""A member of compsoc"""
class Meta:
verbose_name = 'CompSoc Member'
verbose_name_plural = 'CompSoc Members'
index = mode... |
import complexism as cx
import complexism.agentbased.statespace as ss
import epidag as dag
dbp = cx.read_dbp_script(cx.load_txt('../scripts/SIR_BN.txt'))
pc = dag.<API key>(cx.load_txt('../scripts/pSIR.txt'))
dc = dbp.generate_model('M1', **pc.get_samplers())
ag = ss.StSpAgent('Helen', dc['Sus'], pc)
model = cx.SingleI... |
from __future__ import division, print_function
from abc import ABCMeta, abstractmethod
import matplotlib as mpl
mpl.use('TkAgg')
from matplotlib.ticker import MaxNLocator, Formatter, Locator
from matplotlib.widgets import Slider, Button
import matplotlib.patches as patches
import matplotlib.pyplot as plt
from matplotl... |
#define BOOST_TEST_NO_LIB
#include <boost/test/auto_unit_test.hpp>
#include "dormouse-engine/essentials/Formatter.hpp"
using namespace dormouse_engine::essentials;
namespace {
<API key>(FormatterTestSuite);
<API key>(FormatsEmptyString) {
std::string s;
Formatter f(Formatter::FormatterChars('$', '{', '}', '\\')... |
<?php
class NamesiloDomainsDns {
/**
* @var NamesiloApi
*/
private $api;
/**
* Sets the API to use for communication
*
* @param NamesiloApi $api The API to use for communication
*/
public function __construct(NamesiloApi $api) {
$this->api = $api;
}
/**
... |
namespace Pioneer.Blog.Models
{
public class Contact
{
public int ContactId { get; set; }
public string Email { get; set; }
}
} |
package com.baomidou.hibernateplus.spring.vo;
import java.io.Serializable;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import com.baomidou.hibernateplus.entity.Convert;
/**
* <p>
* Vdemo
* </p>
*
* @author Caratacus
* @date 2016-12-2
*/
public cl... |
import cProfile
from pathlib import Path
def main(args, results_dir: Path, scenario_dir: Path):
try:
scenario_dir.mkdir(parents=True)
except FileExistsError:
pass
cProfile.runctx(
'from dmprsim.scenarios.python_profile import main;'
'main(args, results_dir, scenario_dir)',
... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace Trafikverket.NET
{
<summary>
Timetable information, represents a single train at a location
</summary>
public class TrainAnnouncement
{
<summary>
Get ObjectType as string
</summary>
... |
<!DOCTYPE html>
<html lang="ru" >
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/static/img/favicon.ico" />
<title>Redmine 2.x ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pasteurizer : Clickable {
[SerializeField]
private Transform positionMark;
private Vector3 initial;
[SerializeField]
private GameObject milkObject;
public override void OnStart() {
base.OnStart();... |
<?php namespace Terion\PackageInstaller;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\Application;
use Symfony\Component\Finder\Finder;
class ConfigUpdater
{
/**
* Path to config file.
*
* @var string
*/
protected $configFile;
/**
* Working environment.
*
... |
require('./node')
require('./console') |
var m = require("mraa")
console.log("mraa version: " + m.getVersion());
var x = new m.Gpio(8)
x.dir(m.DIR_OUT)
x.write(1) |
<?php $view->extend('EmVistaBundle::base.html.php'); ?>
<?php $view['slots']->start('body') ?>
<div class="container">
<form method="post" action="<?php echo $view['router']->generate('submissao_iniciar') ?>">
<div class="row">
<div class="col-sm-12">
<h3>Termos de uso</h3>
... |
<
.SYNOPSIS
Gets reader mode.
.DESCRIPTION
Gets the reader mode for all readers or the reader mode for a single reader if a panel id and reader id is specified.
If the result returns null, try the parameter "-Verbose" to get more details.
.EXAMPLE
Get-ReaderMode
.LINK
https://github.... |
package main
import (
"flag"
"fmt"
"github.com/ammario/fastpass"
)
func cmdGet(fp *fastpass.FastPass) {
search := flag.Arg(0)
if len(flag.Args()) != 1 {
usage()
}
results := fp.Entries.SortByName()
if search != "" {
results = fp.Entries.SortByBestMatch(search)
}
i... |
from django.http import HttpResponse
from django.core.servers.basehttp import FileWrapper
from django.contrib.auth.models import User
from django.shortcuts import render_to_response, redirect, get_object_or_404
from requests import get
from urllib import urlretrieve
from common.models import Repository
from common.util... |
import {Component, OnInit} from '@angular/core';
@Component({
selector: 'sqap-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss']
})
export class AboutComponent implements OnInit {
constructor() {
}
ngOnInit() {
console.log('hello `About` component');
}
} |
-- PCT19H. NONRELATIVES BY HOUSEHOLD TYPE (HISPANIC OR LATINO)
-- designed to work with the IRE Census bulk data exports
-- see http://census.ire.org/data/bulkdata.html
CREATE TABLE ire_pct19h (
geoid VARCHAR(11) NOT NULL,
sumlev VARCHAR(3) NOT NULL,
state VARCHAR(2) NOT NULL,
county VARCHAR(3),
cbs... |
import classnames from 'classnames';
import cloneDeep from 'lodash/cloneDeep';
import React from 'react';
import {
HTMLFieldProps,
connectField,
filterDOMProps,
joinName,
useField,
} from 'uniforms';
export type ListAddFieldProps = HTMLFieldProps<
unknown,
HTMLSpanElement,
{ initialCount?: number }
>;
f... |
<link rel="import" href="../color.html">
<dom-module id="<API key>">
<template>
<style>
[part="label"] {
display: block;
position: absolute;
top: 8px;
font-size: 1em;
line-height: 1;
height: 20px;
margin-bottom: -4px;
white-space: nowrap;
... |
import * as Lint from 'tslint';
import * as ts from 'typescript';
const RULE_FAILURE = `Undecorated class defines fields with Angular decorators. Undecorated ` +
`classes with Angular fields cannot be extended in Ivy since no definition is generated. ` +
`Add a "@Directive" decorator to fix this.`;
/**
* Rule that... |
function(global, $){
'use strict';
/**
* width: carousel width
* height: carousel height
* margin: tabpanel margin
* count: how many tabpanels will move when you click button
* col: how many columns in carousel mask
* row: how many rows in carousel mask
* infinite: infinite carousel or not(true... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include "cqi_pool.h"
/** returns a fresh connection queue item. */
<API key> *
cqi_pool_get_item(cqi_pool_t *pool)
{
int i = 0, ret = 0;
<API key> *newpool = NULL;
<API key> *item = NULL;
ret = pthread_m... |
<?php
use \SeedDataInterface as SeedDataInterface;
abstract class BaseSeedData implements SeedDataInterface{
public function markMigration(){
$data = [];
$data['class_name'] = get_called_class();
$seedMigration = SeedMigrationModel::createObject($data,SeedMigrationModel::$attributes);
Se... |
class upnp_soaprequest {
constructor() {
}
// System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType)
CreateObjRef() {
}
// bool Equals(System.Object obj)
Equals() {
}
// int GetHashCode()
GetHashCode() {
}
// System.Object GetLifetimeService()
GetLifetimeServ... |
module.exports = {
schedule_inputError: "Not all required inputs are present in the request",
<API key>: "A new mail has been successfully saved and scheduled",
schedule_ShdlError: "The scheduleAt should be a timestamp (like : 1411820580000) and should be in the future",
gbl_oops: "Oops something went w... |
package xsmeral.semnet.sink;
import java.util.Properties;
import org.openrdf.repository.Repository;
import org.openrdf.repository.RepositoryException;
import org.openrdf.repository.sail.SailRepository;
import org.openrdf.sail.rdbms.RdbmsStore;
public class RdbmsStoreFactory extends RepositoryFactory {
@Override
... |
#pragma once
#include "base/Ref.h"
#include "math/vec3.h"
#include "math/mat4.h"
#include "math/quat.h"
#include "base/component/BaseComponent.h"
#include "base/Vector.h"
class Transform : public BaseComponent
{
public:
Transform(GameObject* owner = nullptr);
virtual ~Transform();
public:
virtual void Updat... |
package com.test.SERVICE;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.test.DAO.IMercaderiaDAO;
import com.test.BEAN.Mercaderia;
@Service
public class MercaderiaService implements IMercaderiaService{
@Autowired
pr... |
<?php
namespace Tecnotek\ExpedienteBundle\Controller;
use Tecnotek\ExpedienteBundle\Entity\User;
use Tecnotek\ExpedienteBundle\Entity\Route;
use Tecnotek\ExpedienteBundle\Entity\Buseta;
use Tecnotek\ExpedienteBundle\Entity\Period;
use Tecnotek\ExpedienteBundle\Entity\Grade;
use Tecnotek\ExpedienteBundle\Entity\Course;
... |
/**
* create edit language file link
*/
export default (lang) => {
return `https://github.com/electerm/electerm-locales/edit/master/locales/${lang}.js`
} |
using System.Security.Cryptography.X509Certificates;
using Xunit;
namespace OpenGost.Security.Cryptography.X509Certificates
{
public class <API key> : <API key>
{
[Theory]
[InlineData("GostECDsa256")]
[InlineData("GostECDsa512")]
public void <API key>(string certificateName)
... |
using System;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestClass = NUnit.Framework.<API key>;
using TestMethod = NUnit.Framework.TestAttribute;
using NUnit.Framework;
using BrowserStack;
using System.Text;
using System.IO;
namespace <API key>
{
[TestClass]
public class <API key>
{
private T... |
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// copies or substantial p... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>bit by bit: bbb::cont... |
using System;
using System.Diagnostics.Tracing;
namespace tracelogging
{
public sealed class MySource : EventSource
{
MySource()
: base(EventSourceSettings.<API key>)
{
}
[Event(1)]
public void TestEventMethod(int i, string s)
{
WriteEvent(... |
#include <vcl.h>
#pragma hdrstop
#include "uFin3015.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
__fastcall TFin3015::TFin3015(TComponent* Owner)
: TfrmRelatBase01(Owner)
{
} |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About bitcoinlite</source>
<translation type="unfinished"/>
</message>
<message>
<location... |
<?php
namespace felpado\tests;
use felpado as f;
class not_fnTest extends felpadoTestCase
{
public function testIt() {
$constFalse = f\not_fn(function() { return true; });
$constTrue = f\not_fn(function() { return false; });
$invert = f\not_fn(function($bool) { return $bool; });
$nan... |
# Games
The repo serves to hold all of the data for the website codingtime.io. The corresponding code for each game can be found in the GameCode repo. |
# ethereumjs-icap
[](https://gitter.im/ethereum/ethereumjs-lib) or #ethereumjs on freenode
Utilities for handling [ICAP](https://github.com/ethereum/wiki/w... |
#ifndef COLLECTION_H
#define COLLECTION_H
#include <vector>
#include "LuceneSync.h"
namespace Lucene {
Utility template class to handle collections that can be safely copied and shared
template <class TYPE>
class Collection : public LuceneSync {
public:
typedef Collection<TYPE> this_type;
typedef boost::shared_... |
@font-face {
font-family: 'layouter';
src: url('../fonts/layouter.eot?42hzee');
src: url('../fonts/layouter.eot?42hzee#iefix') format('embedded-opentype'),
url('../fonts/layouter.ttf?42hzee') format('truetype'),
url('../fonts/layouter.woff?42hzee') format('woff'),
url('../fonts/layouter.svg?42hzee#i... |
<?php
namespace Brainwave\Database;
use \Pimple\Container;
use \Brainwave\Support\Arr;
use \Brainwave\Database\Connection\ConnectionFactory;
use \Brainwave\Database\Connection\Interfaces\ConnectionInterface;
use \Brainwave\Database\Connection\Interfaces\<API key>;
/**
* DatabaseManager
*
* @package Narrowspark/Datab... |
# Acknowledgement
This package is from [crypt](https://github.com/xordataexchange/crypt)
[MIT license](https: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.