answer stringlengths 15 1.25M |
|---|
<?php
require_once __DIR__ . '/<API key>.php';
/**
*
* @package fpErrorNotifier
* @subpackage decorator
*
* @author Maksim Kotlyar <mkotlar@ukr.net>
*/
class <API key> extends <API key>
{
/**
*
* @return string
*/
public function format()
{
return 'text/html';
}
/**
*
* @return... |
package nineChap5_DP2;
public class <API key> {
public static void main(String[] args) {
String s = "aaaab";
String p = "a*b";
boolean ans = new <API key>().isMatch(s,p);
System.out.println(ans);
}
/**
* @param s: A string
* @param p: A string includes "." and "*"
* @return: A boolean
... |
a = [1,2,3,4,5]
b = [2,3,4,5,6]
to_100=list(range(1,100))
print ("Printing B")
for i in a:
print i
print ("Printing A")
for i in b:
print i
print ("Print 100 elements")
for i in to_100:
print i |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BitSeeds</source>
<translation>Sobre BitSeeds</translation>
</message>
<message>
<lo... |
'use strict';
module.exports = ({ app, controllers, authentication }) => {
const controller = controllers.auth;
const authRoute = '/api/auth';
app.post(authRoute + '/register', controller.register);
app.post(authRoute + '/login', controller.loginLocal);
app.get(authRoute + '/logout', controller.logo... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ROUTES</title>
<link rel="stylesheet" href="themes/koko2.min.css" />
<link rel="stylesheet" href="themes/jquery.mobile.icons... |
<?php
namespace DF\PHPCoverFish\Common;
class <API key>
{
/**
* @var bool
*/
private $fromClass = false;
/**
* @var bool
*/
private $fromMethod = false;
/**
* @var string
*/
private $docBlock;
/**
* @var string
*/
private $name;
/**
* @var... |
# <API key>
A simple bash script that can automate the process of **creating a virtual host** onto your Linux distribution. Note that I have tested this only on **Debian Jessie** and I hope it will work fine on your configuration as well. You can rise an issue or contribute if you experience any trouble!
If you don't k... |
'use strict';
// Setting up route
angular.module('core').config(['$stateProvider', '$urlRouterProvider',
function($stateProvider, $urlRouterProvider) {
// Redirect to home view when route not found
$urlRouterProvider.otherwise('/');
// Home state routing
$stateProvider.
state... |
# Contributing
## Pull Requests Welcome
1. Fork ueberauth_facebook
2. Create a topic branch
3. Make logically-grouped commits with clear commit messages
4. Push commits to your fork
5. Open a pull request against ueberauth_facebook/master
## Issues
If you believe there to be a bug, please provide the maintainers with e... |
var m2pong = require('./m2pong');
Player = function(connection, name, nr){
this.connection = connection;
this.name = name;
this.nr = nr;
this.x = 0;
this.y = 0;
this.height = 0;
this.width = 0;
this.score = 0;
this.move = function(x, y){
this.x = x;
this.y = y;
... |
var _ = require("underscore");
var os = require("os");
var path = require("path");
var assert = require("assert");
// All of these functions are attached to files.js for the tool;
// they live here because we need them in boot.js as well to avoid duplicating
// a lot of the code.
// Note that this file does NOT contain... |
<?php
$hostname_conn = "localhost";
$database_conn = "tcc_interface";
$username_conn = "root";
$password_conn = "senha.123";
$conn = mysql_pconnect($hostname_conn, $username_conn, $password_conn) or trigger_error(mysql_error(),E_USER_ERROR);
?> |
<?php
/**
* Enable an Item
*/
class <API key> extends modObjectProcessor {
public $objectType = 'fleetManagerItem';
public $classKey = 'fleetManagerItem';
public $languageTopics = array('fleetmanager');
/**
* @return array|string
*/
public function process() {
if (!$this->checkPe... |
<?php
// Include the function library
require "Include/Config.php";
require "Include/Functions.php";
require 'Include/PersonFunctions.php';
require 'Include/MailchimpFunctions.php';
$mailchimp = new ChurchInfoMailchimp();
// Get the person ID from the querystring
$iPersonID = FilterInput($_GET["PersonID"],'int');
$iRem... |
# InterClubBadminton
Helper to create and manage teams in Badminton
[![License status] (https://img.shields.io/badge/License-MIT License-blue.svg)] (https://github.com/fredatgithub/InterClubBadminton |
import DS from 'ember-data';
export default DS.Model.extend({
user: DS.belongsTo('user'),
userUsername: DS.attr('string'),
emailNotifications: DS.attr('boolean')
}); |
angular-form-app
==============
This application demonstrates usage of business rules engine [<API key>](https://github.com/rsamec/<API key>) in AngularJS.
It uses example of [vacation approval business rules] (https:
Application consists:
+ display vacation request form
+ how to use business rules for vacation app... |
from ga_starters import * |
</div>
<footer>
<p>Copyright 2013 Solidyn Solutions, Inc.</p>
</footer>
</div> <!--! end of #container -->
<!-- JavaScript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="//ajax.googleapis.com/aja... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<?php
require_once("../../vendor/autoload.php");
use OpenDataAPI\aggregator\providers\government\BankGovUa;
use OpenDataAPI\aggregator\constants\DataFormat;
use OpenDataAPI\aggregator\constants\Currency;
$response = BankGovUa::getE... |
#!/usr/bin/env python3
from test_framework.mininode import *
from test_framework.test_framework import <API key>
from test_framework.util import *
import time
'''
FeeFilterTest -- test processing of feefilter messages
'''
def hashToHex(hash):
return format(hash, '064x')
# Wait up to 60 secs to see if the testnode h... |
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/ps-react-shuki/manifest.json"><link rel="shortcut icon" href="/ps-react-shuki/favicon.ico"><title>React Ap... |
'use strict';
// Tasks controller
angular.module('tasks').controller('TasksController', ['$scope', '$stateParams', '$location', 'Authentication', 'Tasks',
function($scope, $stateParams, $location, Authentication, Tasks) {
$scope.authentication = Authentication;
$scope.bases = [
{name: 'S... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8">
<base href="https://wordbit.com">
<title> Technology </title>
<link rel="canonical" href="https://wordbit.com/categories/technology/">
<link rel="stylesheet" href="/css/poole.css">
<link rel="s... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:<API key>:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="<API key>">.NET Portability Report</title>
<style>
/* Body style, for the entire document */... |
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.communication.models;
import com.azure.resourcemanager.communication.fluent.models.<API key>;
/** An immutable client-side representation of <API key>. */
public interface <API key> {
/**
* Gets the resourceId propert... |
use strict;
use warnings;
use Repo;
use User;
use Lang;
use Result;
use Utils;
use constant {
DEL_N => 5000
};
$|=1;
{
print "$0: loading ..\r";
my $repo = new Repo("./download/repos.txt");
my $lang = new Lang("./download/lang.txt", $repo);
my $user = new User("./download/contest_data.txt", $lang);
... |
<div class="help">
<h1>Photo Album Help</h1>
<p>
About..
</p>
<p>
Create new...
</p>
<p>
Edit and delete..
</p>
</div> |
<?php
/* MyBlogBundle:Page1:show.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->parent = $this->env->loadTemplate("MyBlogBundle::base.html.twig");
} catch (Twi... |
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
#include "types.h"
extern void set_color(u8 color);
extern void set_cursor(int row, int col);
extern void putc(char c);
extern void print(const char *str);
extern void console_init();
typedef void (*draw_char_fn)(char ch, u8 color, int row, int col);
extern void console_upgra... |
<extend name="Public:registBase"/>
<block name="content">
<div class="box">
<div class="top">
<a class="tjt" href="__URL__/welcome"><img src="__PUBLIC__/images/tjt_03.png"></a>
<a class="a1"></a>
<a class="a2" href="
</div>
<div class="zc1_k">
... |
// <API key>.h
#import <UIKit/UIKit.h>
@interface <API key> : <API key>
@end |
published: true
title: How Essay Writing Services Help Students Succeed
layout: post
tags: [Essay, Writing, Service, Essay, Writing, Services, Essay, Writing, Help]
categories: [Essays]
It is necessary for students to know that is only the essay writing services that can make the process of writing an essay easy for th... |
<API key>
==================================
cv raffi jaya utama call <API key> adalah perusahaan yang bergerak dibidang jasa penjualan SOLAHART,HANDAL,& WIKA SWH SOLAR WATER HEATER, KAMI JUGA MELAYANI SERVICE SOLAHART,HANDAL,WIKA SWH,EDWARDS, melayani service segala merk pemanas air tenaga surya.solahart adalah pr... |
DROP PROCEDURE IF EXISTS selectResetLinks;
DELIMITER $$
CREATE PROCEDURE selectResetLinks(p_timeout_minutes SMALLINT UNSIGNED)
/* By making the parameter unsigned smallint, it has a max value of 65535 */
/* So effectively, the longest expiration that can be generated with this */
/* procedure is 65535 minutes, which is... |
angular
.module('eventApp', [
'ngResource',
'ui.bootstrap',
'ui.select',
'ui.bootstrap.datetimepicker',
'global',
'messagingApp',
'datasetApp'
])
.constant('HEK_URL', 'http:
.constant('HEK_QUERY_PARAMS', {
'cosec': 2, // ask for json
'cmd': 'search', // search command
'type': 'co... |
<!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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CryptoAuthLib: cdc_de... |
table.frontEndTable {
width:100%;
border:solid 1px #CCC;
font-size:11px;
}
table.frontEndTable th {
padding:3px 10px 3px 10px;
text-align:left;
border: solid 1px #000 !important;
font-weight:bold;
background-color:#F2CA58;
color:#000;
}
table.frontEndTable tr {
border-bottom: sol... |
<?php
namespace BramR\Stack;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface;
class Heartbeat implements HttpKernelInterface
{
const MESSAGE = 'OK';
protected $app;
protected $handler;
protected $route;
... |
'use strict';
module.exports = {
db: 'mongodb://localhost/qaapp-dev',
//db: 'mongodb://nodejitsu:<API key>@troup.mongohq.com:10001/<API key>',
mongoose: {
debug: true
},
app: {
name: 'AskOn'
},
facebook: {
clientID: 'DEFAULT_APP_ID',
clientSecret: 'APP_SECRET',
callbackURL: 'http://loc... |
package com.flowpowered.math.imaginary;
import java.io.Serializable;
import com.flowpowered.math.GenericMath;
import com.flowpowered.math.HashFunctions;
import com.flowpowered.math.TrigMath;
import com.flowpowered.math.matrix.Matrix3f;
import com.flowpowered.math.vector.Vector3f;
/**
* Represent a quaternion of the fo... |
// kit.cpp
// Neo4j-cpp-driver
#include "kit.hpp"
#include <sstream>
namespace neo4jDriver
{
//Neo4j
std::string Kit::getStatusCode(std::string httpHeader)
{
size_t begin = httpHeader.find_first_of(" ");
std::string temp = httpHeader.substr(begin+1, httpHeader.length());
size_t end... |
package hello;
import static org.hamcrest.Matchers.equalTo;
import static org.springframework.test.web.servlet.result.<API key>.content;
import static org.springframework.test.web.servlet.result.<API key>.status;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation... |
// Based on original code by Tim Kientzle, March 2009.
#include <util.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <boost/filesystem.hpp>
/* Parse an octal number, ignoring leading and trailing nonsense. */
static int
parseoct(const char *p, size_t n)
{
int i = 0;
while ((*p < '0' || *... |
package al.artofsoul.data;
import java.util.concurrent.<API key>;
public class TowerIce extends Tower {
public TowerIce(TowerType type, Pllaka filloPllaka, <API key><Armiku> armiqt) {
super(type, filloPllaka, armiqt);
}
@Override
public void shoot (Armiku target) {
super.projectiles.add(... |
""" TODO: Add docstring """
import re
import pexpect
class MediaObject(object):
"""Represents an encodable object"""
def __init__(self, input_filename, output_filename):
self.input_filename = input_filename
self.output_filename = output_filename
self.media_duration = self.get_media_durat... |
@file xed-iform-enum.h
// This file was automatically generated.
// Do not edit this file.
#if !defined(_XED_IFORM_ENUM_H_)
# define _XED_IFORM_ENUM_H_
#include "xed-common-hdrs.h"
#include "xed-iclass-enum.h"
typedef enum {
XED_IFORM_INVALID=0,
XED_IFORM_AAA=1,
XED_IFORM_AAD_IMMb=2,
XED_IFORM_AAM_IMMb=3,
XED... |
package com.iosdevlog.<API key>;
import org.junit.Test;
import static org.junit.Assert.*;
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
#pragma once
#include "p2List.h"
#include "Globals.h"
#include "Module.h"
#include "Dummy.h"
#include "ModuleWindow.h"
#include "ModuleRender.h"
#include "ModuleTextures.h"
#include "ModuleInput.h"
#include "ModuleSceneIntro.h"
class Application
{
public:
ModuleRender* renderer;
ModuleWindow* window;
Module... |
import random
import musictheory
import filezart
import math
from pydub import AudioSegment
from pydub.playback import play
class Part:
def __init__(self, typ=None, intensity=0, size=0, gen=0, cho=0):
self._type = typ #"n1", "n2", "bg", "ch", "ge"
if intensity<0 or gen<0 or cho<0 or size<0 or intens... |
/*
setInterval(function() {
console.log(document.activeElement);
}, 1000);
*/
MM.App = {
keyboard: null,
current: null,
editing: false,
history: [],
historyIndex: 0,
portSize: [0, 0],
map: null,
ui: null,
io: null,
help: null,
_port: null,
_throbber: null,
_drag: ... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class <API key> extends MY_Controller {
public function __construct(){
parent ::__construct();
$this->is_logged_in();
$this->load->model('menuDao');
}
public function index(){
... |
// Data Structures: Maps
// Using tuples, maps are very easy to create.
val numbers = Map(1 -> 2, 3 -> 4)
// numbers: Map[Int,Int] = Map(1 -> 2, 3 -> 4)
// You can think of Maps a set of tuples
// where uniquness is determined by the key
// Moreover...
// Map(1 -> "one", 2 -> "two")
// expands into
// Map((1, "... |
'use strict';
// Setting up route
angular.module('publications').config(['$stateProvider',
function ($stateProvider) {
// publications state routing
$stateProvider
.state('publications', {
abstract: true,
url: '/publications',
template: '<ui-view/>'
})
.state('publica... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - materials - displacement map</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
backgroun... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no" />
<title></title>
<script>
var html = document.<API key>("html")[0];
setRem();
window.addEventListener("resize",setRem,false);
window.addEventListener("orientationchange",setRem,false);
function set... |
define(function() {
var ctor = function () {
};
//Note: This module exports a function. That means that you, the developer, can create multiple instances.
//This pattern is also recognized by Durandal so that it can create instances on demand.
//If you wish to create a singleton, you should export a... |
package components;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.<API key>;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.Defau... |
title: Info Page
layout: default
layout_type: one-sidebar
display: info-page
<article class="main-content">
<div class="content-primary">
{% include components/global/sub-nav.html %}
<header class="article-header">
<h1 class="article-title">A Sample Info Page</h1>
</header> <!-- /.article-header -->... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aspose.Words;
using Aspose.Words.Reporting;
namespace CSharp.LINQ
{
class PieChart
{
public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples... |
package demo.java.v2c03network.InetAddressTest;
import java.net.*;
/**
* This program demonstrates the InetAddress class. Supply a host name as command line argument, or
* run without command line arguments to see the address of the local host.
* @version 1.01 2001-06-26
* @author Cay Horstmann
*/
public class Ine... |
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include <core/os.h>
#include <core/object.h>
#include <core/class.h>
#ifndef ENABLE
#define ENABLE <API key>
#endif
#ifndef DEBUG0
#define DEBUG0 0ULL
#endif
int
main(int argc, char **argv)
{
struct nouveau_object *client;
struct nouveau_object *devic... |
package com.example.kb.clearsky.model.api_specific;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class WeatherDescription {
@SerializedName("id")
@Expose
private Integer weatherID;
@SerializedName("main")
@Expose
private String mainCategory... |
// Generated on 2014-07-03 using
// generator-webapp 0.5.0-rc.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// If you want to recursively match all subfolders, use:
// 'test/spec*.js'
module.exports = function (grunt) {
// Time how long tasks tak... |
package no.westerdals.eksamen.app2;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.L... |
h1 {
margin-bottom: 1.5rem;
}
.tab-content {
margin: 20px;
}
.btn {
margin-top: 20px;
} |
import should from 'should';
import Schema from '../../src/schema';
const SIMPEL_OBJECT = {
type: 'object',
properties: {
name: { type: 'string' }
}
};
describe('Schema', () => {
describe('#getType', () => {
it('should return string type for child', () => {
const schema = new Schema(SIMPEL_OBJECT)... |
<?php
namespace CE\UserBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('CEUserBundle:Default:index.html.twig', array('name' => $name));
}
} |
<?php
namespace siigap\FichasBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use siigap\FichasBundle\Form\<API key>;
use siigap\FichasBundle\Form\<API key>;
use siigap\FichasBundle\Form\ConsultaFichasType;
class ConsultasController extends Contr... |
# lib/<API key>/tasks/apps/bundle.rb
require '<API key>/tasks/apps'
module SleepingKingStudios::Tasks::Apps
# Thor tasks for maintaing gem dependencies in semi-distributed applications.
module Bundle; end
end # module |
// This code was generated by a tool.
// Tool : Bond Compiler 0.9.0.0
// File : DataPoint_types.cs
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated />
// suppress "Missing XML comment for publicly visible type or member"
#pragma warning disabl... |
#include "../platform.h"
namespace Platform {
void sleep(long seconds, long milliseconds) {} //stub
int createWindow(char *title, int width, int height, int bpp, bool fullscreen) { return 0; }
int closeWindow() { return 0; }
void swapBuffers() {}
void pump() { //do our work here...
}
void gr... |
package dsa;
public class SplayTree extends BSTree implements Dictionary {
public SplayTree() { super(); }
public SplayTree(BinTreePosition r) { super(r); }
public SplayTree(BinTreePosition r, Comparator c) { super(r, c); }
public Entry find(Object key) {
if (isEmpty()) return null;
BSTreeNode u... |
namespace _01.Shapes.Common
{
using System;
public static class Validator
{
private const int MIN_RANGE = 0;
private const string MinRangeMessage = "{0} cannot be less or equal to 0";
public static void CheckIfZero(double element, string message = null)
{
if (elem... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
... |
module QA
module Page
module Project
module Operations
module Kubernetes
class AddExisting < Page::Base
view 'app/views/projects/clusters/user/_form.html.haml' do
element :cluster_name, 'text_field :name'
element :api_url, 'text_field :api_url'
... |
import { key, PLAY, PAUSE, MUTE, UNMUTE, UPDATE_VOLUME, UPDATE_TIME, SET_SONG, SET_TIME, updateTime } from './actions'
import { store } from '../store'
let audio = new Audio()
audio.addEventListener('timeupdate', event => store.dispatch(updateTime(event)))
const initialState = {
isPlaying: false,
muted: false,
vo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AcademyEcosystem
{
public class EngineExtend : Engine
{
protected override void ExecuteBirthCommand(string[] commandWords)
{
switch (commandWords[1])
... |
require 'test_helper'
class <API key> < ActionController::TestCase
setup do
@contact = contacts(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:contacts)
end
test "should get new" do
get :new
assert_response :success
end
test "should... |
package simpl.typing;
public final class ListType extends Type {
public Type t;
public ListType(Type t) {
this.t = t;
}
@Override
public boolean isEqualityType() {
// TODO Done
return t.isEqualityType();
}
@Override
public Substitution unify(Type t) throws TypeErr... |
package com.felipecsl.gifimageview.app;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import com.felipecsl.gifimageview.library.GifImageView;
... |
/* eslint-env mocha */
import expect from 'expect';
import FunctionChecker from '../src/FunctionChecker.js';
import OptionsManager from '../src/OptionsManager.js';
import Structure from '../src/Structure.js';
describe('optionsManager', () => {
let manager;
beforeEach(() => {
manager = new OptionsManager();
})... |
#!/bin/bash
SIGNAL=~/local-area/Stop4Body/nTuples_v2016-07-12/<API key>.root
BACKGROUND=~/local-area/Stop4Body/nTuples_v2016-07-12/Background_bdt.root
if [[ -f ${SIGNAL} && -f ${BACKGROUND} ]] ; then
trainMVA --signalFile ${SIGNAL} --backgroundFile ${BACKGROUND}
root runTMVAGui.C
fi |
/**
* C++ interface to a python PropertyNode()
*/
#include "pyprops.h"
#include <string>
#include <sstream>
using std::string;
using std::ostringstream;
// 'cache' is a global c-string -> python unicode name cache. This
// conversion is relatively costly in python3, so this cache save
// repeating the work many time... |
package balancers
import (
"net/http"
"net/url"
"sync"
"time"
)
// Connection is a single connection to a host. It is defined by a URL.
// It also maintains state in the form that a connection can be broken.
// TODO(oe) Not sure if this abstraction is necessary.
type Connection interface {
// URL to... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.07.02 at 03:35:23 PM MSK
package ru.gov.zakupki.oos.signincoming._1;
import javax.xml.bi... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
<summary>
DispatchInterface IHTMLDOMNode2
SupportByVersion MSHTML, 4
</summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsDispatchInterface)]
... |
from . uuid64 import * |
class Product
include Mongoid::Document
field :_id, type: String, default: -> { name.to_s.parameterize }
field :name, type: String
field :price, type: BigDecimal
field :released_on, type: Date
<API key> :name
embeds_many :reviews
end |
# tar-polarity
Aspect-Oriented Sentiment Analysis project for the Text Analysis and Retrieval course |
# mydocker_lnmp
A docker config for Linux - Nginx or Apache2 - MySQL5.7 - PHP7. It is divided into 3 containers:
1. Nginx or Apache2 is running as web server Container, which handles requests and makes responses.
2. PHP or PHP-FPM is put in `PHP-FPM` Container, it retrieves php scripts from host, interprets, executes t... |
require 'spec_helper'
require '<API key>.rb'
describe PennExtranetAdapter do
let(:valid_attributes) { { "username" => "XXXXXXX", "password" => "XXXXXXX" } }
describe "valid_agent?" do
it "should detect a valid" do
x = PennExtranetAdapter.new valid_attributes["username"], "x"
authenticated_agent = x.... |
class CreateNodes < ActiveRecord::Migration
def change
create_table :nodes do |t|
t.string :name
t.integer :map_id
t.timestamps
end
add_index :nodes, :map_id
add_index :nodes, [:map_id, :name], :unique => true
end
end |
angular.module('schemaForm').config(
['schemaFormProvider', '<API key>', 'sfPathProvider',
function(schemaFormProvider, <API key>, sfPathProvider) {
var download = function(name, schema, options) {
if (schema.type === 'string' && schema.format === 'download') {
var f = s... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
//This file is generated by btsgen. DO NOT EDIT.
//operation sample data for OperationTypeCustom
package samples
func init() {
<API key>[2] = `{
"data": "466f6f626172",
"fee": {
"amount": 164678,
"asset_id": "1.3.0"
},
"id": 16,
"payer": "1.2.30127",
"required_auths": [
"1.2.30127"
]
}`
}
... |
'use strict';
describe('service', function() {
var countKeys = function(data) {
var count = 0
for(var k in data) {
count++;
}
return count;
}
// load modules
beforeEach(module('mavrixAgenda'));
// Test service availability
it('check the existence of Storage factory', inject... |
<?php
namespace User\UserBundle\Controller;
use Symfony\Component\Security\Core\Exception\<API key>;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Reservable\ActivityBundle\Entity\Activity;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\JsonResponse;
use User\UserBund... |
// Resource.h
// Chilli Source
// 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 c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.