answer stringlengths 15 1.25M |
|---|
// .NAME <API key>
// .SECTION Description
// <API key> is a specialization of vtkPVAnimationCue that uses
// the <API key> as the manipulator.
#ifndef <API key>
#define <API key>
#include "vtkPVAnimationCue.h"
class vtkPVKeyFrame;
class <API key>;
class <API key> <API key> : public vtkPVAnimationCue
{
public:
vtkTyp... |
// Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.WebParts.<API key>
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll
using System;
using System.Collections;
using ... |
<!DOCTYPE html PUBLIC "-
<html>
<!-- This file redirects to the location of a node or anchor -->
<head>
<title>GNU Octave: XREFbicgstab</title>
<meta name="description" content="GNU Octave: XREFbicgstab">
<meta name="keywords" content="GNU Octave: XREFbicgstab">
<meta name="resource-type" content="document">
<meta name... |
// This file is part of the Research Data Management Platform (RDMP).
using System.Windows.Forms;
using <API key>;
namespace Rdmp.UI.Refreshing
{
<summary>
<see cref="<API key>"/> for <see cref="Control"/> classes which want their lifetime to be linked to a single
<see cref="<API key>"/> object. This grant... |
import sys, os, urllib, time, socket, mt, ssl
from dlmanager.NZB import NZBParser
from dlmanager.NZB.nntplib2 import NNTP_SSL,NNTPError,NNTP, NNTPReplyError
from dlmanager.NZB.Decoder import ArticleDecoder
class StatusReport(object):
def __init__(self):
self.message = "Downloading.."
self.total_byte... |
"""Tests for `fix.with_fixture`."""
from __future__ import with_statement
import os
import shutil
import tempfile
from types import FunctionType
from fix import with_fixture
def test_exists():
"""`fix.with_fixture` function exists"""
assert isinstance(with_fixture, FunctionType)
def test_setup_only():
"""`s... |
# @author Peter Kappelt
# @author Clemens Bergmann
# @version 1.16.dev-cf.9
package main;
use strict;
use warnings;
use Data::Dumper;
use JSON;
use TradfriUtils;
sub <API key>($) {
my ($hash) = @_;
$hash->{DefFn} = 'Tradfri_Define';
$hash->{UndefFn} = 'Tradfri_Undef';
$hash->{SetFn} = 'Trad... |
#include "demandmodel.h"
#include "Elements/junction.h"
#include <cmath>
#include <algorithm>
using namespace std;
// Parent constructor and destructor
DemandModel::DemandModel() : expon(0.0)
{}
DemandModel::DemandModel(double expon_) : expon(expon_)
{}
DemandModel::~DemandModel()
{}
// Demand model factory
DemandModel... |
// <<API key>>
// This file is part of Osiris Serverless Portal System.
// Osiris Serverless Portal System is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Osiris Serverless Portal System is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FO... |
var <API key> =
[
[ "allowsContinuation", "d3/d89/<API key>.html#<API key>", null ],
[ "bestContinuations", "d3/d89/<API key>.html#<API key>", null ],
[ "bestLaneOffset", "d3/d89/<API key>.html#<API key>", null ],
[ "lane", "d3/d89/<API key>.html#<API key>", null ],
[ "length", "d3/d89/<API key>.htm... |
# Build global options
# NOTE: Can be overridden externally.
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
ifeq ($(USE_COPT),)
USE_COPT =
endif
# C++ specific options here (added to USE_OPT).
ifeq ($(USE_... |
#include "postgres.h"
#include "funcapi.h"
#include "catalog/namespace.h"
#include "catalog/pg_type.h"
#include "commands/defrem.h"
#include "tsearch/ts_cache.h"
#include "tsearch/ts_utils.h"
#include "utils/builtins.h"
#include "utils/jsonapi.h"
#include "utils/varlena.h"
typedef struct
{
int cur;
L... |
package org.luolamies.jgcgen.text;
import java.io.File;
import java.io.FileInputStream;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import org.luolamies.jgcgen.RenderException;
public class Fonts {
private final File workdir;
public Fonts(File workdir) {
this.workdi... |
#!/bin/bash -f
# Vivado (TM) v2015.4.2 (64-bit)
# Filename : design_TEST.sh
# Simulator : Cadence Incisive Enterprise Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-director... |
\subsection{Instruction Working Set Signature}
An instruction working set (IWS)~\cite{Dhodapkar:2002:MMH} is the set of instructions touched over a fixed interval of time. The relative working set distance between intervals $i$ and $i-1$ is defined as
\begin{center}
$\delta_{i,i-1} = \frac{||W_i \bigcup W_{i-1}||-||W_i... |
// -*- mode: csharp; encoding: utf-8; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
// vim:set ft=cs fenc=utf-8 ts=4 sw=4 sts=4 et:
using System;
using System.Data.EntityClient;
using System.Data.Objects;
using System.Reflection;
namespace XSpect.MetaTweet.Objects
{
public class <API key>
: Ob... |
# -*- coding: utf-8 -*-
from django.conf.urls import include, url, patterns
from django.contrib import admin
from Workinout import views
from django.conf import settings
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^Workinout/', include('Workinout.urls')), # ADD THIS NEW TUPLE!media/(?P<path... |
#region using directives
using POGOProtos.Enums;
using POGOProtos.Settings.Master.Pokemon;
#endregion
namespace PoGo.PokeMobBot.Logic.Event.Pokemon
{
public class BaseNewPokemonEvent : IEvent
{
public int Cp;
public ulong Uid;
public PokemonId Id;
public double Perfection;
... |
#!/usr/bin/python
# This programs is intended to manage patches and apply them automatically
# through email in an automated fashion.
# This program is free software; you can redistribute it and/or modify
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# MERCHANTA... |
// modified for NAudio
// milligan22963 - updated to include audio session manager
using System;
using NAudio.CoreAudioApi.Interfaces;
using System.Runtime.InteropServices;
namespace NAudio.CoreAudioApi
{
<summary>
MM Device
</summary>
public class MMDevice : IDisposable
{
#region Variables
... |
// 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>
<html>
<head>
<title>SenseNet : modul Senzory</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./SenseNet_Files/over.css">
<link rel="stylesheet" href="h... |
#ifndef <API key>
#define <API key>
#include "sudoku_types.h"
#include "cell_listener_if.h"
namespace sudoku_systemc
{
template<unsigned int SIZE>
class <API key>
{
public:
<API key>(const unsigned int & p_sub_x,const unsigned int & p_sub_y,const unsigned int & p_initial_value, cell_listener_if & p_... |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-02-20 22:01
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('erudit', '<API key>'),
]
operations = [
migrations.AddField(
model_n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
... |
package bartburg.nl.backbaseweather.provision.remote.controller;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.annotation.Annotation;
import java.net.HttpURLConnection;
... |
package org.cgiar.ccafs.ap.data.dao.mysql;
import org.cgiar.ccafs.ap.data.dao.<API key>;
import org.cgiar.ccafs.utils.db.DAOManager;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import com.google.inject.Inject;
import org.slf4j.Logg... |
// ReSharper disable CheckNamespace
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
var people = new Dictionary<string, Person>();
string input;
while ((input = Console.ReadLine()) != "End")
{
var split = input.Split(... |
<?php
/** Zend_Form_Exception */
require_once 'Zend/Form/Exception.php';
class <API key> extends Zend_Form_Exception
{
} |
// +build linux
package subsystem
import (
"bufio"
"errors"
"fmt"
"io"
"os"
"os/exec"
"runtime"
"strconv"
"strings"
)
type PlatformHeader LinuxHeader
func NewPlatformHeader() *LinuxHeader {
header := new(LinuxHeader)
header.Devices = make(map[string]LinuxDevice)
header.ge... |
#ifndef _TCA6416_KEYS_H
#define _TCA6416_KEYS_H
#include <linux/types.h>
struct tca6416_button
{
/* Configuration parameters */
int code; /* input event code (KEY_*, SW_*) */
int active_low;
int type; /* input event type (EV_KEY, EV_SW) */
};
struct <API key>
{
struct tca6416_button *b... |
// item //
datablock ItemData(YoyoItem)
{
category = "Weapon"; // Mission editor category
className = "Weapon"; // For inventory system
// Basic Item Properties
shapeFile = "./Yoyo.dts";
rotate = false;
mass = 1;
density = 0.2;
elasticity = 0.2;
friction = 0.6;
emap = true;
... |
#include "services/video_capture/<API key>.h"
#include "services/video_capture/<API key>.h"
namespace video_capture {
<API key>::<API key>(
mojom::MockMediaDevicePtr* device)
: device_(device) {}
<API key>::~<API key>() = default;
void <API key>::AllocateAndStart(
const media::VideoCaptureParams& params,
... |
package com.ocams.andre;
import javax.swing.table.DefaultTableModel;
public class MasterJurnal extends javax.swing.JFrame {
public MasterJurnal() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The co... |
// For more information, see LICENCE in the main folder
#ifndef _DUEL_H_
#define _DUEL_H_
struct duel
{
int members_count;
int invites_count;
int max_players_limit;
};
#define MAX_DUEL 1024
extern struct duel duel_list[MAX_DUEL];
extern int duel_count;
//Duel functions // [LuzZza]
int duel_create (struct ma... |
/*
* generated by Xtext
*/
package org.eclectic.frontend.parser.antlr;
import com.google.inject.Inject;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclectic.frontend.services.TaoGrammarAccess;
public class TaoParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
priv... |
<?php
require "common.inc.php";
verifica_seguranca($_SESSION[PAP_RESP_MUTIRAO]);
top();
?>
<?php
$action = request_get("action",-1);
if($action==-1) $action=ACAO_EXIBIR_LEITURA;
$est_cha=request_get("est_cha",-1);
if($est_cha==-1)
{
if(isset($_SESSION['cha_... |
jQuery(document).ready(function($) {
$('#slide-left').flexslider({
animation: "slide",
controlNav: "thumbnails",
start: function(slider) {
$('ol.flex-control-thumbs li img.flex-active').parent('li').addClass('active');
}
});
});
jQuery(document).ready(function($) {
$('#slide').flexslider({... |
#include "converter_sosi2tsv.h"
void sosicon::ConverterSosi2tsv::
run( bool* ) {
} |
use crate::cube::Cube;
use glium;
use glium::{Display, Program, Surface, implement_vertex};
use glium::index::{IndexBuffer, PrimitiveType};
use std::rc::Rc;
pub fn solid_fill_program(display: &Display) -> Program {
let vertex_shader_src = include_str!("shaders/solid.vert");
let fragment_shader_src = include_str... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace DrakSolz.Projectiles {
public class ChickenEgg : ModProjectile {
public override string Texture { get { return "Terraria/Projectile_318"; } }
public override void SetStaticDefaults() {
DisplayName.SetDefault("Chicken ... |
date: 2020-01-07T17:53:33+0000
title: "Hazy State"
authors: "Collective Arts Brewing"
rating: 3.5
drink_of: https://untappd.com/b/<API key>/3104704
checkin:
title: The Griffin
lat: 51.525
long: -0.082
weather:
summary: Overcast
temperature: 11.5
badges:
- title: I Believe in IPA! (Level 9)
id: 619792722... |
# Example implementing 5 layer encoder
# Original code taken from
# The model trained here is restored in load.py
from __future__ import division, print_function, absolute_import
# Import MNIST data
# from tensorflow.examples.tutorials.mnist import input_data
# data_set = input_data.read_data_sets("/tmp/data/", one_hot... |
package com.github.mdsimmo.pixeldungeon.levels.painters;
import com.github.mdsimmo.pixeldungeon.items.Gold;
import com.github.mdsimmo.pixeldungeon.items.Heap;
import com.github.mdsimmo.pixeldungeon.items.keys.IronKey;
import com.github.mdsimmo.pixeldungeon.levels.Level;
import com.github.mdsimmo.pixeldungeon.levels.Roo... |
/**
* Universal hash array object
*
* @package bsp::libbsp-core
* @author Dr.NP <np@bsgroup.org>
* @update 05/21/2013
* @changelog
* [06/11/2012] - Creation
* [08/14/2012] - Float / Double byte order
* [09/28/2012] - Array support
* [05/21/2013] - Remove float / double byte-order reverse
... |
/* Defines the layout of the location structure */
#ifndef <API key>
#define <API key>
#include <glib.h>
#include <string.h>
#define <API key> "Location"
#define <API key> strlen(<API key>)
/* LocationInfo struct definition */
typedef struct
{
gchar * alias_;
gchar * city_;
gchar * state_;
gchar * country_;... |
#include "util.h"
#include <math.h>
/* Geometry helper functions */
double distance(int x1, int y1, int x2, int y2)
{
int dx = x1 - x2;
int dy = y1 - y2;
return sqrt(dx * dx + dy * dy);
}
void each_actor(struct engine *engine, TCOD_list_t lst,
void (*action)(struct engine *engine,
... |
{% extends "userspace/journal/base.html" %}
{% load i18n rules %}
{% block title %}{{ block.super }}{% endblock title %}
{% block breadcrumb %}{{ block.super }}
<li><a href="{% url 'userspace:journal:subscription:list' <API key>.pk %}">{% trans "Abonnements" %}</a></li>
{% endblock breadcrumb %}
{% block section_title ... |
// This file is part of the go-krypton library.
// The go-krypton library is free software: you can redistribute it and/or modify
// (at your option) any later version.
// The go-krypton library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// Package... |
#!/bin/csh
# Script to Read in a new substructure file to the database
#set verbose on
if ( $#argv != 1 ) then
echo "Usage: $0 FileRoot"
echo " FileROOT : The substructure information file (rootname without sdf extension)"
echo " The file is assumed to be in the current directory"
... |
class Solution {
public:
string addBinary(string a, string b) {
string sum = "";
int carry = 0;
for (int i = a.size() - 1, j = b.size() - 1; i >= 0 || j >= 0; i
int m = (i >= 0 && a[i] == '1');
int n = (j >= 0 && b[j... |
title: "कांग्रेस का नया नारा 'अब होगा NYAY', चुनावी कैम्पेन लांच"
layout: item
category: ["politics"]
date: 2019-04-07T08:05:44.259Z
image: <API key>.jpg
<p>नई दिल्ली: कांग्रेस लोकसभा चुनाव के लिए रविवार को अपने प्रचार अभियान की औपचारिक रूप से शुरुआत की। इस अभियान के तहत पार्टी ने प्रिंट, इलेक्ट्रॉनिक और डिजिटल मीडिया ... |
{-# LANGUAGE FlexibleContexts, CPP, JavaScriptFFI #-}
module Carnap.GHCJS.Action.TreeDeductionCheck (<API key>) where
import Lib hiding (content)
import Data.Tree
import Data.Either
import Data.Map as M (lookup,Map, toList)
import Data.IORef (IORef, readIORef, newIORef, writeIORef)
import Data.Typeable (Typeable)
impor... |
#ifndef <API key>
#define <API key>
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#include <ace/Thread_Mutex.h>
#include "Utilities/UnorderedMap.h"
#include "Policies/ThreadingModel.h"
#include "ByteBuffer.h"
#include "UpdateData.h"
#include "GridDefines.h"
#include "Object.h"
#include "Player.h"
#includ... |
#include "stdafx.h"
#include <gtest/gtest.h>
#include "<API key>.h"
namespace PacMan
{
namespace Logic
{
namespace Tests
{
using namespace Logic;
void <API key> (
Row monster_row,
Column monster_column,
Row pacman_row,
... |
/** Created at: 4/30/2012 12:07:26 AM **/
#include<stdio.h>
int main()
{
int i,j,k,p,m,n,t;
while(scanf("%d",&t)==1)
{
for(i=1;i<=t;i++)
{
scanf("%d",&p);
if(p==2||p==3||p==5||p==7||p==13||p==17)
printf("Yes\n");
else
printf... |
"""
Tests for closeness centrality.
"""
import pytest
import networkx as nx
from networkx.testing import almost_equal
class <API key>:
@classmethod
def setup_class(cls):
cls.K = nx.<API key>()
cls.P3 = nx.path_graph(3)
cls.P4 = nx.path_graph(4)
cls.K5 = nx.complete_graph(5)
... |
package au.com.houliston.jsonfl;
/**
* Is thrown when the creation string for the JsonFL is invalid
*
* @author Trent Houliston
* @version 1.0
*/
public class <API key> extends Exception
{
/**
* Creates a new <API key> with the passed message
*
* @param message The message to set
*/
pub... |
package edu.kit.iti.formal.mandatsverteilung.generierer;
import edu.kit.iti.formal.mandatsverteilung.datenhaltung.Bundestagswahl;
public class <API key> extends Einschraenkung {
public <API key>(int wert, int abweichung) {
assert wert > 0;
assert abweichung > 0;
this.wert = wert;
thi... |
#include "definitions.h"
CustomWeakForm::CustomWeakForm(std::vector<std::string> newton_boundaries, double heatcap, double rho, double tau,
double lambda, double alpha, double temp_ext, <API key><double> sln_prev_time, bool JFNK) : WeakForm<double>(1, JFNK)
{
this->set_ext(sln_prev_time);
// Jacobian forms - volu... |
# <API key>: true
RSpec.shared_examples 'vcs: having remote' do
describe '#remote' do
it 'sets @remote' do
object.remote = 'some-value'
expect(object.<API key>(:@remote)).to eq 'some-value'
end
end
describe '#remote' do
subject(:remote) { object.remote }
let(:remote_class) { object.sen... |
// NOTE: nbApp is defined in app.js
nbApp.directive("<API key>", function() {
return {
restrict : 'E',
templateUrl : 'js/templates/language-container.html',
scope: {
color: "@",
language: "@",
reading: "@",
writing: "@",
listening: "@",
... |
/*! return transposed _dsymatrix */
inline _dsymatrix t(const _dsymatrix& mat)
{CPPL_VERBOSE_REPORT;
#ifdef CPPL_DEBUG
WARNING_REPORT;
std::cerr << "This function call has no effect since the matrix is symmetric." << std::endl;
#endif//CPPL_DEBUG
return mat;
}
/*! return its inverse matrix */
inline _dsymatrix i... |
package name.parsak.controller;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.M... |
#pragma once
// njhseq - A library for analyzing sequence data
// This file is part of njhseq.
// njhseq is free software: you can redistribute it and/or modify
// (at your option) any later version.
// njhseq is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se... |
#include "common_header.h"
namespace {
using ArrayType = std::vector<int>;
auto <API key>(const ArrayType &elements,
const ArrayType::value_type x) {
assert(std::is_sorted(elements.cbegin(), elements.cend()));
auto diff = std::numeric_limits<ArrayType::value_type>::max();
... |
module XmlResolution
# Most named exceptions in the XmlResolution service we subclass here
# to one of the HTTP classes. Libraries are designed specifically
# to be unaware of this mapping: they only use their specific low level
# exceptions classes.
# In general, if we catch an HttpError at our top level ap... |
//krazy:excludeall=qclasses
// Qt-only library, so things like QUrl *should* be used
#include "package.h"
// Qt includes
#include <QtCore/QFile>
#include <QtCore/QStringBuilder>
#include <QtCore/QStringList>
#include <QtCore/QTemporaryFile>
#include <QtCore/QTextStream>
#include <QDebug>
// Apt includes
#include <apt-p... |
extern crate rand;
use std::io;
use rand::Rng;
use std::cmp::Ordering;
fn main() {
println!("Guess the number!");
let secret_number = rand::thread_rng().gen_range(1, 101);
loop {
println!("Please input your guess.");
let mut guess = String::new();
io::stdin()
.read_line(&... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
final class Contact extends Model
{
const PHONE = 'phone';
const ADDRESS = 'address';
const ADDRESS_COMPLEMENT = 'address_complement';
const POSTAL_CODE = 'postal_code';
const CITY = 'city';
const REGION = 'region';
const COUNTRY =... |
# logutil.py
# A module containing means of interacting with log files.
import logging
import logging.handlers
import os
import time
from data_structures import enum
from config import get_config_value
LoggingSection = enum(
'CLIENT',
'CRAWLER',
'DATA',
'FRONTIER',
'TEST',
'UTILITIES',
)
#region... |
{% extends "geostitcher/views/templates/base.html" %}
{% block content %}
<div class="gallery">
<div id="error"></div>
<script src="{{context}}/js/gallery.js" type="text/javascript"></script>
<div>
{% for pic in pictures %}
<div class="thumbnail">
<a class={{pic.name}} href="{{context}}/img/{... |
@file
Definitions for UpdatePipeline.
This file contains type definitions for UpdatePipeline, a three-staged,
multithreaded update pipeline.
#include <Common/Compat.h>
#include "UpdatePipeline.h"
#include <Hypertable/RangeServer/Global.h>
#include <Hypertable/RangeServer/Response/Callback/Update.h>
#include <Hypertable... |
#ifndef GLOBALS_H
#define GLOBALS_H
#include <stdio.h>
#include <allegro.h>
#include "resource.h"
//#define LOG_COMMS // Uncomment this line to enable serial comm logging
// <API key>
#define METRIC 0
#define IMPERIAL 1
// Display mode flags
#define FULL_SCREEN_MODE 0
#define WINDOWED_MODE ... |
-- Move generator logic
module Kurt.GoEngine ( genMove
, simulatePlayout
, EngineState(..)
, newEngineState
, updateEngineState
, newUctTree
) where
import Control.Arrow ... |
# k0nsl's blog
mirrored blog posts from my personal platform. |
// <API key>: AGPL-3.0-only
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { number } from '@storybook/addon-knobs';
import { LightboxGallery, Props } from './LightboxGallery';
import { setup as setupI18n } from '../../js/modules/i... |
// app.photoGrid
var Backbone = require("backbone");
// var _ = require("underscore");
var $ = require("jquery");
var ImageGridFuncs = require("./<API key>");
var ImageCollection = require("../models/<API key>");
var ImageView = require("./photo_grid_image");
module.exports = Backbone.View.extend({
el: '#photo-grid... |
package ua.pp.shurgent.tfctech.integration.bc.blocks.pipes.transport;
import net.minecraft.item.Item;
import net.minecraftforge.common.util.ForgeDirection;
import ua.pp.shurgent.tfctech.integration.bc.BCStuff;
import ua.pp.shurgent.tfctech.integration.bc.ModPipeIconProvider;
import ua.pp.shurgent.tfctech.integration.bc... |
package org.crazyit.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class StartActivity extends Activity
{
@Override
public void onCreate(Bundle savedInstanceS... |
// Remove the particular item
function removeArr(arr , removeItem){
if(arr.indexOf(removeItem) > -1){
arr.splice(arr.indexOf(removeItem),1);
}
return arr;
} |
declared in [MTMatrix](MTMatrix.hpp.md)
{ .cpp }
MTMatrix::MTMatrix(int rows, int cols)
{
//std::clog << "MTMatrix(" << rows << ", " << cols << ")" << std::endl;
if (cols > 0 && rows > 0) {
_rows = rows;
_cols = cols;
_elements = new double[_rows * _cols];
for (int i=0; i<_rows*_... |
package ru.mos.polls.ourapps.ui.adapter;
import java.util.ArrayList;
import java.util.List;
import ru.mos.polls.base.BaseRecyclerAdapter;
import ru.mos.polls.base.<API key>;
import ru.mos.polls.ourapps.model.OurApplication;
import ru.mos.polls.ourapps.vm.item.OurApplicationVM;
public class OurAppsAdapter extends BaseRe... |
using System;
namespace SourceCodeCounter.Core
{
<summary>
The exception that is thrown when a command-line argument is invalid.
</summary>
internal class <API key> : Exception
{
readonly string _argument;
public <API key>(string argument)
: base("Invalid argument: '" + a... |
html{
margin:0 auto;
}
body {
background:url(images_white/background.gif) repeat-y top center #fff;
color:#404040;
/* font:76% Verdana,Tahoma,Arial,sans-serif; */
line-height:1.3em;
margin:0 auto;
padding:0;
}
/* Menu */
#top_menu {
position:relative;
/* color: #6666aa; */
/* bac... |
#ifndef AssimpSceneLoader_H
#define AssimpSceneLoader_H
#include <string>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <assimp/Importer.hpp>
#include "Common/Singleton.h"
#include "Mesh/Mesh.h"
#include "Shader/ShaderProgram.h"
#include "Scene/Material.h"
using std::string;
class AssimpSceneLoader... |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class <API key>
Inherits DevExpress.XtraReports.UI.XtraReport
'XtraReport overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.... |
{# The template expects one input parameter: `active`, which determines what link we are currently at #}
{% load i18n %}
<div class="economy__leftmenu">
<a class="economy__leftbutton resetlink {% if filter is None %}active{% endif %}"
href="{% url '<API key>' %}">{% trans 'X-lists' %}</a>
<a class="econo... |
// semaphore.cpp
// Circle - A C++ bare metal environment for Raspberry Pi
// This program is free software: you can redistribute it and/or modify
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#i... |
import numpy as np
from scipy import sparse
from scipy.interpolate import interp1d
class calibration(object):
'''
some useful tools for manual calibration
'''
def normalize_zdata(self,z_data,cal_z_data):
return z_data/cal_z_data
def normalize_amplitude(self,z_data,cal_ampdata):
retur... |
#ifndef <API key>
#define <API key>
#include "<API key>.h"
#include <QPointF>
<API key>(QGraphicsItem)
namespace QmlJSDebugger {
class <API key>;
class <API key>
{
public:
enum SelectionType {
ReplaceSelection,
AddToSelection,
RemoveFromSelection
};
<API key>(QGraphicsObject *layerIt... |
QUnit.test( "<API key>", function( assert ) {
assert.equal(getIBANCheckDigits( '<API key>' ), '82', 'Get check digits of an IBAN' );
assert.equal(getIBANCheckDigits( '1234567890' ), '', 'If string isn\'t an IBAN, returns empty' );
assert.equal(getIBANCheckDigits( '' ), '', 'If string is empty, returns empty... |
<?php
namespace Aqua\SQL;
class Search
extends Select
{
/**
* @var array
*/
public $whereOptions = array();
/**
* @var array
*/
public $havingOptions = array();
/**
* @param array $where
* @param bool $merge
* @return static
*/
public function whereOption... |
#pragma once
#include <nstd/Base.h>
class DataProtocol
{
public:
enum MessageType
{
errorResponse,
subscribeRequest,
subscribeResponse,
unsubscribeRequest,
unsubscribeResponse,
tradeRequest,
tradeResponse,
<API key>,
<API key>,
registerSinkRequest,
<API key>,
<API key... |
title: "हरियाणा में सभी पार्टियां बहुमत से दूर"
layout: item
category: ["politics"]
date: 2019-10-24T11:42:44.692Z
image: <API key>.jpg
<p>नई दिल्ली: हरियाणा चुनाव के नतीजे काफी दिलचस्प हो गए हैं। अब तक के रुझान में भाजपा यहां आगे जरूर चल रही है, लेकिन बहुमत का आंकड़ा उससे दूर है। जबकि कांग्रेस ने जबरदस्त वापसी की है औ... |
ALTER TABLE `b_iblock_element` ADD KEY `TIMESTAMP_X` (`TIMESTAMP_X`);
ALTER TABLE `b_iblock_element` ADD KEY `IBLOCK_ID` (`IBLOCK_ID`);
ALTER TABLE `b_iblock_element` ADD KEY `XML_ID` (`XML_ID`);
ALTER TABLE `b_iblock_element` ADD KEY `<API key>` (`<API key>`);
ALTER TABLE `b_iblock_element` ADD KEY `MODIFIED_BY`(`MODI... |
const char * <API key>(void) {
static const char * query =
"SELECT"
" id AS 'ID',"
" shortname AS 'Short',"
" name AS 'Entity Name',"
" currency AS 'Curr.',"
" parent AS 'Parent'"
" FROM entities"
" ORDER BY id";
return query;
} |
/*
* This section contains meta informations.
*
* $Id$
*/
package jmul.transformation.xml.rules.xml2object;
import jmul.misc.id.ID;
import jmul.misc.id.IntegerID;
import jmul.reflection.classes.ClassDefinition;
import jmul.reflection.classes.ClassHelper;
import jmul.string.TextHelper;
import jmul.transformation.<AP... |
/*
| This file contains definitions for internal routines and structures which
| the LIT library doesn't wish to expose to the world at large
*/
#ifndef LITINTERNAL_H
#define LITINTERNAL_H
typedef struct dir_type {
U8 * entry_ptr;
U32 entry_size;
U32 entry_last_chunk;
U8 * count_ptr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.