answer stringlengths 15 1.25M |
|---|
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Abide.HaloLibrary.Halo2.Retail.Tag.Generated
{
using System;
using Abide.HaloLibrary;
using Abide.HaloLibr... |
package se.nordicehealth.servlet.core.stats.containers;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.List;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import se.nordicehealth.servlet.core.stats.containers.MultipleOption;
public class MultipleOptionTest {
M... |
$(function () {
function footerPosition() {
$("index-footer").removeClass("fixed-bottom");
var contentHeight = document.body.scrollHeight,
winHeight = window.innerHeight;
if (contentHeight < winHeight) {
//footerfixed-bottom
$("footer").addClass("fixed-bottom");
}
}
footerPositio... |
import { <API key> } from "../../../../src/js/Applications/Background/Routers/Runtime";
describe("<API key>", () => {
it("", () => {
<API key>({ version: "xxx" });
});
}); |
BukkitUtilities - A reusable library for Bukkit.
=================================
BukkitUtilities is a library for the Minecraft wrapper [Bukkit](http://bukkit.org/) that enables rapid development of plugins by providing classes and interfaces for common tasks.
The aim of the library is to reduce the amount of boiler ... |
using System;
using System.Net;
using System.Threading;
namespace SocialParser.Sourcess
{
public abstract class <API key>:MetricsSource
{
protected WebClient webClient;
private DateTime lastAgentChangeTime;
private TimeSpan agentChangeTime;
protected Random rnd;
protected... |
package io.uve.yypush.json;
import com.fasterxml.jackson.databind.<API key>;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
*
* @author yangyang21@staff.weibo.com(yangyang)
*
*/
public class JsonReader {
private static final ObjectMapper mapper = new ObjectMapper();
static {
mapper.configur... |
#include <stdio.h>
main ()
{
int arr[3][3] = {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
};
int *pa;
int i, j, k;
printf ("\nBefore...\n");
pa = (int*)arr;
for (i = 0; i < 9; i++) {
printf ("%d, ", *pa++);
if (!((i+1) % 3)) printf ("\n");
}
printf ("\nAf... |
from contrib.rfc3736.builder import *
from contrib.rfc3736.constants import *
from contrib.rfc3736.dhcpv6 import DHCPv6Helper
from scapy.all import *
from veripy.assertions import *
class <API key>(DHCPv6Helper):
def run(self):
q = self.<API key>(self.node(1), self.target(1))
self.logger.info("Build... |
let express = require("express"),
router = express.Router(),
bodyParser = require("body-parser"),
events = require("./api/eventRouter").router,
auth = require("./api/authRouter").router,
users = require("./api/userRouter").router;
router.all("*", bodyParser.json());
router.use([events, auth, users])... |
<?php
require_once(__DIR__ . '/../autoload.php');
$wp=new \QXS\WorkerPool\WorkerPool();
$wp->setWorkerPoolSize(4)
->create(new \QXS\WorkerPool\ClosureWorker(
/**
* The Worker::run() Method
* @param mixed $input the input from the WorkerPool::run() Method
... |
<?php
?>
</div>
</main>
<?php wp_footer() ?>
</body>
</html> |
#!/bin/sh
#``Renaming Faces for CCNx''
# This file is part of ``Renaming Faces for CCNx''.
# ``Renaming Faces for CCNx'' is free software: you can redistribute it and/or modify
# the Free Software Foundation.
# ``Renaming Faces for CCNx'' is distributed in the hope that it will be useful,
# MERCHANTABILI... |
import gtk
from plugin_base.find_extension import FindExtension
class SizeFindFiles(FindExtension):
"""Size extension for find files tool"""
def __init__(self, parent):
FindExtension.__init__(self, parent)
# create container
table = gtk.Table(2, 4, False)
table.set_border_width(5... |
package edu.txstate.its.gato;
import info.magnolia.ui.form.field.definition.<API key>;
/**
* <API key>.
*/
public class <API key> extends <API key> {
public <API key>() {
//filteringMode = 2 means that the user can type something in the
//select box and it will show options that start with the the... |
#ifndef <API key>
#define <API key>
#include "plMessage.h"
class PLASMA_DLL plCursorChangeMsg : public plMessage {
CREATABLE(plCursorChangeMsg, kCursorChangeMsg, plMessage)
public:
enum {
kNoChange, kCursorUp, kCursorLeft, kCursorRight,
kCursorDown, kCursorPoised, kCursorClicked, kCursorUnClicke... |
#include <qmath.h>
#include "finExecAlg.h"
finExecAlg::finExecAlg()
{
/* Do Nothing because you should not call this constructor. */
return;
}
finErrorCode finExecAlg::<API key>(const QStringList &strlist, finExecVariable *outvar)
{
int curcol = 0;
outvar->setType(finExecVariable::TP_ARRAY);
if ( st... |
package com.mx.fic.inventory.endpoint.ws;
import java.util.List;
import javax.ejb.EJB;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.slf4j.Logger;
i... |
from .people import IDPersonScraper
from .bills import IDBillScraper
from utils import url_xpath, State
# from .committees import IDCommitteeScraper
class Idaho(State):
scrapers = {
"people": IDPersonScraper,
# 'committees': IDCommitteeScraper,
"bills": IDBillScraper,
}
<API key> = [... |
<!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.11"/>
<title>AStarPathPlanning: Class Members - Variables</title>
<link href="tabs.css" rel="stylesheet"... |
from __future__ import unicode_literals
import datetime
from django.db import models
from django.utils import timezone
# Create your models here.
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def __str__(self):
return self.ques... |
#ifndef PSP_MODEXPORT_H_
#define PSP_MODEXPORT_H_
struct _PspLibraryEntry {
const char * name;
unsigned short version;
unsigned short attribute;
unsigned char entLen;
unsigned char varCount;
unsigned short funcCount;
void * entrytable;
};
#endif |
function DPD() {
}
DPD.prototype.getAuthor = function() {
return "Sebastian Hammerl";
}
DPD.prototype.getVersion = function() {
return "1.0";
}
DPD.prototype.getColor = function() {
return "#e37286";
}
DPD.prototype.init = function(id, callbackStatus, callbackDetails, callbackMetadata, callbackError) {
... |
# Oswald Hurlem's Unity Vector Library and Generator
Use [Unity.Mathematics](https://github.com/Unity-Technologies/Unity.Mathematics) instead.
Unity has announced that [future versions of its engine will feature a non-verbose math library with integer-based vectors](https://youtu.be/tGmnZdY5Y-E?t=1h5m12s). Therefore, t... |
'''
Coursera:
- Software Defined Networking (SDN) course
-- Network Virtualization
Professor: Nick Feamster
Teaching Assistant: Arpit Gupta
'''
from pox.core import core
from collections import defaultdict
import pox.openflow.libopenflow_01 as of
import pox.openflow.discovery
import pox.openflow.spanning_tree
from pox.... |
package game;
import core.gameManagers.MenuManager;
import gui.panel.GamePage;
public class SinglePlayerState extends AbstractGameState {
public SinglePlayerState(GamePage... gamePages) {
super(gamePages);
}
@Override
public void loadState() {
MenuManager.getInstance().startGame();
}... |
package net.datacrow.core.modules;
/**
* This exception is thrown when an exception occurred during the upgrade of a module.
* @author Robert Jan van der Waals
*/
public class <API key> extends Exception {
private static final long serialVersionUID = <API key>;
public <API key>(Exception exp) {
super... |
# -*- coding: utf-8 -*-
"""
Grill logging module.
"""
# standard
from __future__ import annotations
import logging
from pathlib import Path
from naming import NameConfig
from grill.names import DateTimeFile
_LOG_FILE_SUFFIX = 'log'
class ErrorFilter(logging.Filter):
"""
Pass any message meant for stderr.
""... |
package com.Ntut.runnable;
import android.os.Handler;
import com.Ntut.utility.CreditConnector;
import java.util.ArrayList;
public class <API key> extends BaseRunnable {
private String year;
private int index;
public <API key>(Handler handler, String year, int index) {
super(handler);
this.ye... |
#include "global.h"
#include "guid.h"
// #ifndef BUILD_EFI
// /* EFI has %g for this, so it's only needed in platform c */
// const char *guid_to_str(EFI_GUID *guid)
// static char str[256];
// sprintf(str, "%08x-%04hx-%04hx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx",
// guid->Data1, guid->Data2, gu... |
// 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
namespace Esuli.MiPai.Index
{
using System;
using System.Collections.... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Nov 22 16:43:43 EST 2007 -->
<TITLE>
Xalan-Java 2.7.1: Class XMLReaderAdapter
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<A ... |
// <API key>.h
// StringManage
#import <Cocoa/Cocoa.h>
typedef enum : NSUInteger {
KeyTypeDefult,
KeyTypeAdd,
KeyTypeRemove,
} KeyType;
@interface <API key> : NSWindowController
<
NSPopoverDelegate,
NSTableViewDelegate,
<API key>,
NSTextFieldDelegate,
<API key>
>
- (void)setSearchRootDir:(NSString*)search... |
<?php
/*
*
* Autores: Jhonnatan Cubides, Harley Santoyo
*
*/
class Verificador
{
function Verificador()
{
if( file_exists( "instalador.php" ) == true )
{
header( "location: instalador.php" );
}
}
function most... |
package io.valhala.javamon.pokemon.type;
public enum Type {
NORMAL,
FIGHTING,
FLYING,
POISON,
GROUND,
ROCK,
BUG,
GHOST,
FIRE,
WATER,
GRASS,
ELECTRIC,
PSYCHIC,
ICE,
DRAGON;
private String pokemonType;
public void setPokemonType(String s) {
this.... |
/*
* @function strstr:
* Returns substring + rest of
* string , from the string.
*
* @param __str (char*):
* Specified string
* to find substring from.
*
* @param __substr (char*):
* the Substring to be searched
* for.
* @return (str_t):
* ... |
<?php
// Include main functions
require("includes/functions.php");
require("includes/templates.php");
require("includes/timer.class.php");
// Start the timer
$timer = new Timer();
$timer->start();
// Start the session
session_start();
// Include the configuration file, die if doesn't exist
file_exists("config.php") ? r... |
#include "<API key>.h"
/*
* This type is implemented using OCTET_STRING,
* so here we adjust the DEF accordingly.
*/
static const ber_tlv_tag_t <API key>[] = {
(<API key> | (4 << 2))
};
<API key> <API key> = {
"<API key>",
"<API key>",
&asn_OP_OCTET_STRING,
<API key>,
sizeof(<API key>)
... |
#ifndef SIGNALCODE_H
#define SIGNALCODE_H
/*CORE-SIGNALS*/
#define TERMINATION 0
#define STATE_UPDATE 1
/*APPLICATIN SIGNALS*/
#define STOP_BTN_CLICKED 2
#define EXIT_BTN_CLICKED 3
#define IPCAM_STATE_UPDATE 4
#define START 5
#define ABORTED ... |
//
//### Java capabilities added 7 Jan 97, Bob Jamison
//### Updated : 27 Nov 97 -- Bob Jamison, Joe Nieten
//### 01 Jan 98 -- Bob Jamison -- fixed generic semantic constructor
//### 01 Jun 99 -- Bob Jamison -- added Runnable support
//### 06 Aug 00 -- Bob Jamison -- made state variabl... |
#include <stdio.h>
#include "PassFail.h"
/** test_passfail
*
* \return nothing
*
* Output both ways and show the final tally by using a 0-length message.
*/
void test_passfail() {
PASSFAIL(1, "Expect exactly 1 [FAIL]");
PASSFAIL(1, "Expect [PASS]");
PASSFAIL(0, "Expect [FAIL]");
PASSFAIL(1, "");
}
... |
require 'builder'
require 'open-uri'
require 'nokogiri'
require '<API key>'
# This class builds the RIF-CS for a collection, delegating to a wrapper object to find the necessary values.
# The idea is that this can be reused across projects, and that the project-specific details of what goes into
# the rifcs are encoded... |
from django.conf.urls import url
from annotate import views
urlpatterns = [
url(r'^$', views.IndexView.as_view(), name='index'),
url(r'^create$', views.create_annotation, name='create'),
url(r'^edit$', views.edit_annotation, name='edit'),
url(r'^json$', views.export_json, name='export_json'),
url(r'... |
#ifndef <API key>
#define <API key>
#include "../<API key>/<API key>.h"
class AndroidQmlAppViewer : public <API key>
{
Q_OBJECT
public:
explicit AndroidQmlAppViewer(QWidget *parent = 0);
protected:
void closeEvent(QCloseEvent *);
void keyPressEvent(QKeyEvent *);
private:
bool m_closePressed;
};
#end... |
<?php
class <API key>
{
public static function display(Item $item)
{
if (Poll<API key>::<API key>()-><API key>())
{
$tpl = new FileTemplate('poll/PollVotesResult.tpl');
$tpl->add_lang(LangLoader::get_all_langs('poll'));
$tpl->put_all(array(
'C_... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Thu Sep 20 13:55:48 GMT 2018
*/
package uk.ac.sanger.artemis.plot;
import org.evosuite.runtime.annotation.<API key>;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import o... |
package org.armedbear.lisp;
import static org.armedbear.lisp.Lisp.*;
// ### %adjust-array array new-dimensions element-type initial-element
// initial-element-p initial-contents initial-contents-p fill-pointer
// displaced-to <API key> => new-array
public final class adjust_array extends Primitive
{
public adjust_a... |
package com.example.tomek.myapplication;
import java.util.Date;
class XYZAccelVector {
private float x;
private float y;
private float z;
private long timestamp;
public XYZAccelVector(float x, float y, float z, long timestamp)
{
this.x=x;
this.y=y;
this.z=z;
this.... |
package com.yc.xmj.util;
import com.taobao.api.ApiException;
import com.taobao.api.DefaultTaobaoClient;
import com.taobao.api.TaobaoClient;
import com.taobao.api.request.<API key>;
import com.taobao.api.response.<API key>;
public class SMS {
int num = 0;
static final String SMS_URL = "http://gw.api.taobao.com/r... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60) on Sun Nov 13 21:32:44 MST 2016 -->
<title>RideRequestListTest</title>
<meta name="date" content="2016-11-13">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javas... |
package com.earth2me.essentials.commands;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.Trade;
import com.earth2me.essentials.User;
import com.earth2me.essentials.utils.NumberUtil;
import java.math.BigDecimal;
import java.util.List;
import java.util.Locale;
import java.util.logging.Level;... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Sun Mar 21 10:29:39 CDT 2010 -->
<TITLE>
Uses of Class cern.jet.stat.Utils (Parallel Colt 0.9.4 - API Specification)
</TITLE>
<META NAME="date" CONTENT="2010-03-21">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../..... |
package fr.pasteque.client.drivers.mpop;
import java.util.ArrayList;
public class MPopEntries extends ArrayList<MPopEntry> {
public void add(String name, String value) {
this.add(new MPopEntry(name, value));
}
public CharSequence[] getEntries() {
CharSequence[] result = new CharSequence[size... |
img{
width: 1280 px;
height: 800 px;
} |
//Article with original code:
// [1] Rosindell, James, Yan Wong, and Rampal S. Etienne.
// "A coalescence approach to spatial neutral ecology."
// Ecological Informatics 3.3 (2008): 259-271.
#ifndef NRRAND_H
#define NRRAND_H
class NRrand
{
public:
NRrand(const int seed) noexcept;
// returns an integer betw... |
cat /var/log/dovecot.log | grep "unknown user (given password" | cut -d "," -f 2 | cut -d ")" -f 1 | sort | uniq > /root/ip-for-unknown-user
php <API key>.php /root/ip-for-unknown-user
php -n <API key>.php /root/ip-for-unknown-user | cut -d "," -f 3 | sort| uniq > uniq-country
cat /var/log/dovecot.log | grep "u... |
package com.bioxx.tfc.GUI;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.inventory.Container;
import net.minecraft... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Threading;
using Hohoema.Models.Domain.Niconico.Follow.LoginUser;
using Hohoema.Models.Domain.Niconico.Follow;
using Hohoema.Models.Domain.Niconico;
using NiconicoToolkit.Follow;
namespace Hohoema.Presentation.ViewModels.Nic... |
package org.owm.libwlocate;
import java.util.List;
import android.net.wifi.ScanResult;
public class loc_info
{
public static final int LOC_METHOD_NONE=0;
public static final int <API key>=1;
public static final int LOC_METHOD_GPS=2;
/** describes based on which method the last location was performed with */... |
// This file is part of the "Irrlicht Engine".
#ifndef <API key>
#define <API key>
#include "irrString.h"
#include "path.h"
namespace irr
{
namespace core
{
/*! \file coreutil.h
\brief File containing useful basic utility functions
*/
//! search if a filename has a proper extension
inline s32 isFileExtension (const... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_14) on Wed May 30 20:32:35 CEST 2012 -->
<TITLE>
Uses of Class org.lwjgl.opengles.<API key> (LWJGL API)
</TITLE>
<META NAME="date" CONTENT="2012-05-30">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TIT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
using Myvas.AspNetCore.Weixin;
using System.Threading.Tasks;
namespace Myvas.AspNetCore.Weixin
{
<summary>
</summary>
internal static class CardApiTicketApi
{
<summary>
<para... |
# pygen.py
# This module is part of Mako and is released under
"""utilities for generating and formatting literal Python code."""
import re, string
from StringIO import StringIO
from mako import exceptions
class PythonPrinter(object):
def __init__(self, stream):
# indentation counter
self.indent = 0... |
<?php
class Flight
{
private $flight_number;
private $seats;
private $departire;
private $arrival;
function __construct($departure, $arrival, $flight_number, $seats)
{
$this->departure = $departure;
$this->arrival = $arrival;
$t... |
function PC_add_validation(form_selector, validation, config) {
var validation_config = {
ok_background_color: '#fff',
<API key>: '#FEE',
error_parent_class: false,
<API key>: true
};
if (config) {
$.extend(validation_config, config);
}
<API key>(form_selector... |
<?php
/**
* Project Create Status Exception
* @package project
*/
class <API key> extends <API key>
{
function __construct($message = null)
{
parent::__construct($message);
}
}
?> |
// This file is part of SyntroNet
// SyntroNet is free software: you can redistribute it and/or modify
// (at your option) any later version.
// SyntroNet is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include "SyntroGloveView.h"
#include "Glove... |
package org.lenndi.umtapo.solr.service;
import org.lenndi.umtapo.solr.document.bean.record.Record;
import org.lenndi.umtapo.solr.exception.<API key>;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;
/**
* Solr record service interface.
*/
public inte... |
<?php
namespace Piwik\Plugins\Installation;
use <API key>;
use <API key>;
use <API key>;
use Piwik\Container\StaticContainer;
use Piwik\Piwik;
use Piwik\Plugins\UsersManager\UsersManager;
use Piwik\QuickForm2;
class FormSuperUser extends QuickForm2
{
function __construct($id = 'generalsetupform', $method = 'post', ... |
#include "libtorrent/socket.hpp"
#include "libtorrent/socket_io.hpp"
#include "libtorrent/upnp.hpp"
#include "libtorrent/io.hpp"
#include "libtorrent/parse_url.hpp"
#include "libtorrent/xml_parse.hpp"
#include "libtorrent/connection_queue.hpp"
#include "libtorrent/enum_net.hpp"
#include "libtorrent/escape_string.hpp"
#... |
/*
simulator connector for ardupilot version of CRRCSim
*/
#include "SIM_CRRCSim.h"
#include <stdio.h>
#include <AP_HAL/AP_HAL.h>
extern const AP_HAL::HAL& hal;
namespace SITL {
CRRCSim::CRRCSim(const char *home_str, const char *frame_str) :
Aircraft(home_str, frame_str),
last_timestamp(0),
sock(true)
{
... |
package com.codebutler.farebot.util;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import com.codebutler.farebot.provider.CardDBHelper;
import com.codebutler.farebot.provider.CardProvider;
import com.codebutler.farebot.provider.CardsTableCo... |
/* deque.c */
#include <stdio.h>
#include <stdlib.h>
#define MAX 4
int que[MAX];
int front=0, rear=0;
void add_front(int p)
{
if(front) que[--front]=p;
else puts("Queue Overflow!");
}
void add_rear(int p)
{
if(rear!=MAX) que[rear++]=p;
else puts("Queue Overflow!");
}
int del_front()
{
int ret;
i... |
FROM node:6
# Create sentimeter directory
RUN mkdir -p /sentimeter/data
WORKDIR /sentimeter
# Variables
ENV NODE_ENV production
ENV DATABASE_HOST localhost
ENV DATABASE_NAME application
ENV DATABASE_USER root
ENV DATABASE_PASSWORD root
ENV DATABASE_PORT 3306
ENV DATABASE_DIALECT mysql
ENV DATABASE_STORAGE ./production.... |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace bukascore.Migrations
{
public partial class <API key> : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
... |
jQuery( document ).ready( function() {
var cmtApp = cmt.api.root.getApplication( 'core' );
var blogApp = cmt.api.root.getApplication( 'blogCore' );
// Register Controllers
});
cmg.core.controllers.SiteController.prototype.checkUserActionPre = function( requestElement ) {
var event = requestElement... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>themelock.com - Limitless - Responsive Web Application Kit by Eugene Kopyov</title>
<!-- Global stylesheets... |
package org.investovator.ui.nngaming.beans;
import java.io.Serializable;
import java.util.Comparator;
public class OrderBean implements Serializable,Comparator<OrderBean>{
private float orderValue;
private int quantity;
public OrderBean(float orderValue,int quantity){
this.orderValue = orderValue;
... |
# This file is part of Barman.
# Barman is free software: you can redistribute it and/or modify
# (at your option) any later version.
# Barman is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import mock
import pytest
from barman import output
from barma... |
import os
import sys
import json
import yaml
import getpass
import boto
"""
Configure VDC instance, or read config'd settings into class
This will read a default yaml file and output to a instance-specific file,
to be read by processes as needed
"""
from reporting import ErrorObject
from global_vars import *
class OVCo... |
**ABOUT**
This program resides in /home/flag14/flag14. It encrypts input and writes it to standard output. An encrypted token file is also in that home directory, decrypt it :)
**Source**
No source included. It's left up to you to figure out how the application encrypts and decrypts the data.
**Walkthrough**
See the [... |
using CP77.CR2W.Reflection;
namespace CP77.CR2W.Types
{
[REDMeta]
public class <API key> : redEvent
{
public <API key>(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using GeneratorLib;
namespace Spooky2
{
class Spooky2Preset : IProgram
{
// Typically a file
string Path { get; }
public string Name => System.IO.Path.<API key>(Path);
IProgra... |
// KERNEL TO EXTRAPOLATE SINGLE TIME STEP - CONSTANT DENSITY TIPO_EQUACAO = 0
void <API key>(float* gU0, float* gU1, float* gVorg,
int nnoi, int nnoj, int k0, int k1,
float FATMDFX, float FATMDFY, float FATMDFZ, float *W){
int index_X, index_Y; // X, Y grid position
int stride = nnoi * nnoj; // stride to ... |
<?php
namespace Investigaciones;
/**
* Clase <API key>
*/
class <API key> extends \Base\Publicacion {
/**
* Constructor
*/
public function __construct() {
$this->nombre = 'Profesionistas Torreón - Metodología';
$this->autor = 'CIDAC';
$this->fecha ... |
from django.db import models
# Create your models here.
class Record(models.Model):
description=models.TextField()
distance=models.IntegerField()
reg_date=models.DateTimeField('date published')
reg_user=models.IntegerField() |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>south florida cars & trucks - all classifieds - craigslist</title>
<meta name="description" content="south florida cars & trucks - all classifieds - craigslist">
<meta name="viewport" content="user-scalable=1;">
... |
package de.awisus.refugeeaid.views.profile;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.To... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http:
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Clang - Getting Started</title>
<link type="text/css" rel="stylesheet" href="menu.css" />
<link type="text/css" rel="stylesheet" href="content.css" /... |
#include <phapp.h>
typedef struct <API key>
{
PPH_SERVICE_ITEM *Services;
ULONG NumberOfServices;
<API key> <API key>;
PWSTR ListViewSettingName;
PH_LAYOUT_MANAGER LayoutManager;
HWND WindowHandle;
} PH_SERVICES_CONTEXT, *<API key>;
VOID NTAPI <API key>(
__in_opt PVOID Parameter,
__in_op... |
#include "Copter.h"
#if MODE_GUIDED_ENABLED == ENABLED
/*
* Init and run calls for guided flight mode
*/
#ifndef <API key>
# define <API key> 500 // point nose at target if it is more than 5m away
#endif
#define <API key> 3000 // guided mode's position-velocity controller times out after 3seconds with ... |
package org.chromium.base;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.PendingIntent;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import andro... |
#ifndef _MSVC_NOTHROW_H
#define _MSVC_NOTHROW_H
/* With MSVC runtime libraries with the "invalid parameter handler" concept,
functions like fprintf(), dup2(), or close() crash when the caller passes
an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF)
instead.
This file defines wrappe... |
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <ctime>
#include <cmath>
#include<iostream>
#include <vector>
#include <array>
//Parameters
int cloudlen=3000;
int kmean=30;
int iterations=200;
struct kcluster{
std::array<float, 3> position;
std::array<float, 3> meanpoint;
int ... |
// ubuntu-device-flash - Tool to download and flash devices with an Ubuntu Image
// based system
// Written by Sergio Schvezov <sergio.schvezov@canonical.com>
package main
import (
"errors"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
// This progr... |
package psoup.virtualmachine;
import physis.core.virtualmachine.VirtualMachine;
import physis.core.virtualmachine.<API key>;
import physis.core.virtualmachine.GeneticCodeTape;
import physis.core.virtualmachine.InstructionSet;
import physis.core.PHYSIS;
import physis.core.event.ProliferationEvent;
import physis.core.gen... |
// File: pep.cpp
#include <QFile>
#include <QTextStream>
#include "pep.h"
using namespace Enu;
// Fonts
const QString Pep::codeFont = getSystem() == "Windows" ? "Courier New" : (getSystem() == "Mac" ? "Courier" : "Courier 8");
const int Pep::codeFontSize = getSystem() == "Mac" ? 12 : 9;
const int Pep::ioFontSize = getS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MathParser.ParseTree;
using MathParser.Lexing;
namespace MathParser.Parsing
{
<summary>
Interface describing a prefix syntax. All syntaxes that
identitfy themselves by their starting tok... |
class Person:
def __init__(self):
self.name = 'jeff'
self.age = 10
p = Person()
print(p.__dict__) |
<?php
namespace Starbug\Core\Generator;
use Starbug\Core\TemplateInterface;
/**
* Generator runs Definition objects to create directories, copy files, and generate files from templates.
*/
class Generator {
/**
* Constructor.
*
* @param TemplateInterface $renderer Template renderer.
* @param boolean $ba... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.