answer stringlengths 15 1.25M |
|---|
module.exports = function (/* grunt, cfg */) {
'use strict';
return {
options: {
compress: true,
dumpLineNumbers: 'all',
sourceMap: true,
relativeUrls: true
},
styles: {
files: {
'src/css/styles.css': 'src/less/s... |
<?php
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wpforwoocomm');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname */
define('DB_HOST', 'localh... |
<?php
/**
* Includes all of the WordPress Administration API files.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Bookmark Administration API */
require_once(ABSPATH . 'wp-admin/includes/bookmark.php');
/** WordPress Comment Administration API */
require_once(ABSPATH . 'wp-admin/includes/com... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"/>
<title>AppletHTML5</title>
</head>
<body>
<object type="application/x-java-applet" height="300" width="400">
<param name="code" value="applet.MiApplet"/>
<param name="archive" value="applet.jar"/>
... |
#ifndef <API key>
#define <API key>
#include <string>
#include "base/callback.h"
#include "dbus/message.h"
#include "dbus/object_proxy.h"
#include "dbus/property.h"
namespace chromeos {
class NfcPropertySet : public dbus::PropertySet {
public:
NfcPropertySet(dbus::ObjectProxy* object_proxy,
const st... |
#include <WNS/Backtrace.hpp>
#include <WNS/demangle.hpp>
#include <iomanip>
#include <cmath>
// to get the __GLIBC__ macro set (if glibc available)
#include <features.h>
#ifdef __GLIBC__
#include <execinfo.h>
#include <cstdlib>
#endif // __GLIBC__
#include <sstream>
using namespace wns;
Backtrace::Backtrace() :
bac... |
#ifndef CFCNFG_H_
#define CFCNFG_H_
#include <linux/spinlock.h>
#include <linux/netdevice.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfctrl.h>
struct cfcnfg;
/**
* enum cfcnfg_phy_type - Types of physical layers defined in CAIF Stack
*
* @CFPHYTYPE_FRAG: Fragmented frames physical interface.
* @CFPH... |
<?php
// no direct access
defined('_JEXEC') or die('Restircted access');
/*
* Function to convert a system URL to a SEF URL
*/
function <API key>( &$query )
{
static $items;
$app = JFactory::getApplication();
$segments = array();
$itemid = null;
// Break up the poll id into numeric an... |
#include <cassert>
#include "buffer.h"
#include "objectparamgroup.h"
#include "objectdesc.h"
namespace TPProto{
/*! \brief Default constructor.
*/
ObjectDescription::ObjectDescription(){
}
/*! \brief Destructor.
Deletes the OrderParameters it contains.
*/
ObjectDescription::~ObjectDescription(){
fo... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_20-ea) on Sat Mar 22 13:50:06 CET 2014 -->
<title>OSXAquaPainter.Direction (Quaqua 9.1 2014-03-22)</title>
<meta name="date" content="2014-03-22">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" t... |
// This program is free software; you can redistribute it and/or
// as published by the Free Software Foundation; either version 2
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// along with this program; if not, write to the Free Sof... |
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <stdlib.h>
#include <stdio.h>
using namespace cv;
/** @function main */
int main( int argc, char** argv )
{
Mat src, src_gray;
Mat grad;
char* window_name = "Sobel Demo - Simple Edge Detector";
int scale = 1;
int delta = 0;... |
package org.owasp.benchmark.testcode;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/BenchmarkTest01222")
publ... |
#include <mmc.h>
#ifdef CONFIG_JZ_MMC
#define MMC_BYTE_PER_BLOCK 512
static int mmc_erase(struct cloner *cloner)
{
int curr_device = 0;
struct mmc *mmc = find_mmc_device(0);
uint32_t blk, blk_end, blk_cnt;
uint32_t erase_cnt = 0;
int timeout = 30000;
int i;
int ret;
if (!mmc) {
p... |
<?php
namespace Drupal\typepermis\Form;
use Drupal\Core\Entity\ContentEntityForm;
use Drupal\Core\Form\FormStateInterface;
/**
* Form controller for Typepermis edit forms.
*
* @ingroup typepermis
*/
class TypepermisForm extends ContentEntityForm {
/**
* {@inheritdoc}
*/
public function buildForm(array $fo... |
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/uaccess.h>
#in... |
#ifndef <API key>
#define <API key>
#ifndef __ASM__
#include <sys/types.h>
/* For a.out kernel boot images, the following header must appear
somewhere in the first 8192 bytes of the kernel image file. */
struct multiboot_header
{
/* Must be MULTIBOOT_MAGIC */
uint magic;
/* Feature flags - see be... |
<!doctype html>
<html>
<head>
<title>iOS7</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<!--democss begin
<link rel="stylesheet" type="text/css" href="../../../assets/reset.css" />
<!-... |
#include "KoTextDrag.h"
#include <QBuffer>
#include <QByteArray>
#include <QMimeData>
#include <QString>
#include <KoStore.h>
#include <KoGenStyles.h>
#include <KoGenChanges.h>
#include <KoOdfWriteStore.h>
#include <KoXmlWriter.h>
#include <KoDocumentBase.h>
#include <<API key>.h>
#include "<API key>.h"
#include "KoSty... |
<?php
// no direct access
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$app = JFactory::getApplication();
$lang = JFactory::getLanguage();
// Define
define('AKQUICKICONS_SITE' , <API key> );
define('AKQUICKICONS_ADMIN', <API key>);
define('AKQUICKICONS_SELF' , JPATH_COMPONENT);
// Include Helpe... |
<?php
global $<API key>;
global $<API key>;
global $<API key>;
global $<API key>;
global $<API key>;
?>
<?php if ( have_posts( ) ) : while ( have_posts( ) ) : the_post( ); ?>
<div <?php post_class( $<API key> );?>>
<p class="post-date">
<a class="date-permalink" href="<?php the_permalink( ); ?>" rel="bookmark" tit... |
<?php
require_once(APPPATH.'hooks/cloudflare/ip_in_range.php');
function fix_cf_ip()
{
if ( ! isset($_SERVER['<API key>']))
return;
if (strpos($_SERVER['REMOTE_ADDR'], ':') === FALSE)
{
$cf_ip_ranges = array("204.93.240.0/24","204.93.177.0/24","199.27.128.0/21","173.245.48.0/20","103.21.244.... |
using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Security;
using System.Windows.Forms;
using Rapr.Lang;
namespace Rapr
{
public static class Program
{
private static Assembly ResolveEventHandler(object sender, ResolveEventArgs arg... |
<?php
defined ('_JEXEC') or die ('Restricted access');
class modSimCateHelper
{
var $_pagination = null;
var $_limit = null;
var $_limitstart = null;
function __construct(){
//$pageNum = JRequest::getInt("page");
//$this->_limitstart = ($pageNum) ? ($pageNum - 1)*18 : 0;
$this->_... |
<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
?>
<?php
//s:foreach
$i = 0;
foreach( $friends as $id )
{
$user = CFactory::getUser( $id );
$invited = in_array( $user->id , $selected );
?>
<li id="invitation-friend-<?php echo $user->id;?>">
<div class="invitat... |
/* ScriptData
SDName: Boss_Kaelthas
SD%Complete: 60
SDComment: SQL, weapon scripts, mind control, need correct spells(interruptible/uninterruptible), phoenix spawn location & animation, phoenix behaviour & spawn during gravity lapse
SDCategory: Tempest Keep, The Eye
EndScriptData */
#include "ScriptMgr.h"
#include "Scr... |
/* General typography */
@media only screen and (min-width: 1200px) {
html {
font-size: 16px !important;
}
}
@media only screen and (min-width: 992px) {
html {
font-size: 15px;
}
}
@media only screen and (min-width: 0) {
html {
font-size: 14px;
}
}
.font-light {
font-family: "Roboto-Light", sa... |
package calculadora_repo;
/**
*
* @author Luis
*/
public class inter extends javax.swing.JFrame {
double a1;
double a2;
String pnt="";
int op;
/**
* Creates new form inter
*/
public inter() {
initComponents();
}
/**
* This method is called from within the constr... |
<?php
class <API key> {
static function debugLog( $identifier, $msg, $level = 'DEBUG' ) {
// TODO: call different wf*Log functions depending on $level
wfDebugLog( $identifier, $msg );
}
static function getIP() {
global $wgRequest;
return $wgRequest->getIP();
}
static ... |
#include "aniGlobal.h"
#include "wlan_qct_wda.h"
#include "halMsgApi.h"
#include "limUtils.h"
#include "palApi.h"
#include "csrInsideApi.h"
#include "smsDebug.h"
#include "logDump.h"
#include "smeQosInternal.h"
#include "wlan_qct_tl.h"
#include "smeInside.h"
#include "vos_diag_core_event.h"
#include "vos_diag_core_log.... |
<?php
namespace App\Console\Commands\Install\Components;
/**
* Class ComponentHtaccess
*/
class ComponentHtaccess extends ComponentBase implements <API key> {
/**
* Create a new command instance.
*/
public function __construct() {
parent::__construct();
}
/**
* Execute the compo... |
#ifndef lauxlib_h
#define lauxlib_h
#include <stddef.h>
#include <stdio.h>
#include "lua.h"
/* extra error code for `luaL_load' */
#define LUA_ERRFILE (LUA_ERRERR+1)
typedef struct luaL_Reg {
const char *name;
lua_CFunction func;
} luaL_Reg;
#define LUAL_NUMSIZES (sizeof(lua_Integer)*16 + sizeof(lua_Number))
L... |
#ifndef CAPUTILS_ADDRESS_H
#define CAPUTILS_ADDRESS_H
#include <stdio.h>
#include <netinet/ether.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
/**
* Supported address format:
*
* Types:
* - ethernet address (hwaddr)
* - IP address:port
* - filename
*
* Ethernet address:
* - Opti... |
<?php
$selectname = $name."[type]";
$textname = $name."[text]";
printf('<select %s>', $control->attributes(array("name"=>$selectname)));
$type = isset($value['type']) ? $value['type'] : null;
$text = isset($value['text']) ? $value['text'] : null;
foreach ($node->children('option') as $option) {
// set attributes
... |
/* -*- mode: C; c-basic-offset: 8; indent-tabs-mode: nil; tab-width: 8 -*- */
#include <config.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#ifdef HAVE_STDARG_H
# include <stdarg.h>
#endif
#include <netdb.h>
#ifde... |
class <API key> < ActiveRecord::Migration
def self.up
change_table :articles do |t|
t.attachment :header
end
end
def self.down
remove_attachment :articles, :header
end
end |
#include "testmanager.h"
#include <QFile>
#include <QTextStream>
#include <QDebug>
TestManager::TestManager()
{
}
int TestManager::count() const
{
return _testList.length();
}
void TestManager::clear()
{
TestManager::TestCaseList::const_iterator itr = _testList.begin();
while(itr != _testList.end()) {
... |
<?php
/**
* Class loader using SPL autoloader.
*/
class <API key> {
/**
* Base path supplied when calling register method.
*
* @var string
*/
private static $base_path;
/**
* This loader only load class with this prefix.
*
* @var string
*/
private static $class_... |
#ifndef <API key>
#define <API key>
class pqistore ;
#include "retroshare/rsplugin.h"
#include "plugins/rscacheservice.h"
#include "rsrank.h"
/*
* A Generic Ranking system.
* Each User provides one cache...
*
* can be overloaded for specific types
* (links, shares, photos etc)
*
* This is not generic yet!!!
*/
... |
// XOR Problem solution using Multi-Layer Neural Network
// AForge.NET framework
// contacts@aforgenet.com
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Threading;
using System.IO;
using AForge;
using AForge.Neuro;
... |
<?php
if(!defined('SYSTEM_ROOT'))
require_once __DIR__.'/settings.php';
include_once SYSTEM_ROOT.LIB_DIR.'system.lib.php';
include_once SYSTEM_ROOT.LIB_DIR.'filesystem.lib.php';
include_once SYSTEM_ROOT.LIB_DIR.'log.class.php';
include_once SYSTEM_ROOT.LIB_DIR.'rate.lib.php';
include_once SYSTEM_ROOT.ET... |
// This is a part of the Microsoft Foundation Classes C++ library.
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace <API key>.AppData
{
public class <API key>
{
public long Id;
public short AttributeID;
public String Name;
public String Data;
public long Exercis... |
<?php
/**
* Elgg search listing
*
* @package Elgg
* @subpackage Core
*/
$entities = $vars['results']['entities'];
$count = $vars['results']['count'] - count($entities);
if (!is_array($entities) || !count($entities)) {
return FALSE;
}
$query = http_build_query(
array(
'q' => $vars['params']['query']... |
#ifndef MODEL_READER
#define MODEL_READER
#include <assimp/cimport.h>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
struct aiScene * get_aiScene(char * path);
#endif |
package com.espertech.esper.util;
import com.espertech.esper.client.EventBean;
import com.espertech.esper.client.scopetest.EPAssertionUtil;
import com.espertech.esper.event.map.MapEventBean;
import junit.framework.TestCase;
import java.util.*;
public class TestCollectionUtil extends TestCase
{
public void <API key>... |
#include "StdInc.h"
#include "CGarrisonInt.h"
#include "../gui/CGuiHandler.h"
#include "../CGameInfo.h"
#include "../CPlayerInterface.h"
#include "../widgets/Buttons.h"
#include "../widgets/TextControls.h"
#include "../windows/CCreatureWindow.h"
#include "../windows/GUIClasses.h"
#include "../../CCallback.h"
#include "... |
/**
* External dependencies
*/
import { expect } from 'chai';
/**
* Internal dependencies
*/
import { action as ActionTypes } from 'lib/upgrades/constants';
import Dispatcher from 'dispatcher';
import <API key> from './../store';
describe( 'Domains Email Forwarding Store', () => {
const DOMAIN_NAME = 'dummy.com... |
(function ($) {
/**
* Rewrite autocomplete inputs to pass the language of the node currently being
* edited in the path.
*
* This functionality ensures node autocompletes get suggestions for the node's
* language rather than the current interface language.
*/
Backdrop.behaviors.i18n = {
attach : function (conte... |
#include "afddefs.h"
DESCR__S_M3
/*
** NAME
** get_data - searches output log files for data
**
** SYNOPSIS
** void get_data(void)
**
** DESCRIPTION
** This function searches for the selected data in the output
** log file of the AFD. The following things can be selected:
** start & end time, file n... |
angularpressApp.directive('postArticle', function (post, wpAjax, $location, $rootScope,$routeParams) {
return{
restrict : 'E',
replace : true,
templateUrl: wpAjax.themeLocation.templateDir + '/library/scripts/directives/partials/post-article.html',
controller : 'PrimaryNavCtrl',... |
#pragma once
#include "lib/platform/util/StdString.h"
namespace CEC
{
class CCECTypeUtils
{
public:
/*!
* @brief Get the device type for the given logical address.
* @param address The address to get the type for.
* @return The type, or <API key> if unknown.
*/
static cec_device_type G... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
All Classes (jersey-bundle 1.19 API)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameHeadingFont... |
# modification, are permitted provided that the following conditions
# are met:
# the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# "AS ... |
#!/usr/bin/python
# -*- coding:UTF-8 -*-
# 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
# along wi... |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
namespace demo_site.Areas.HelpPage
{
<summary>
A custom <see cref="<API key>"/> that reads the API documentation from an XML documen... |
/* global angular, cepsAPI */
angular.module("app").controller("editCepsCtrl", function ($scope, $routeParams, cep, cidades, bairros, $location,cepsAPI) {
$scope.cep = cep.data;
$scope.bairros = bairros.data.list;
$scope.cidades = cidades.data.list;
$scope.adicionarCep = function (cep) {
... |
<?php
/**
* @package zOOmGallery
* @author Mike de Boer <mailme@mikedeboer.nl>
**/
// Ensure that nothing can write to the standard io, before we get the header out
ob_start( );
include 'JPEG.php';
include 'Photoshop_IRB.php';
// retrieve the filename from the URL parameters
... |
using UnityEngine;
using System.Collections;
public class LaserProjectile : MonoBehaviour {
public Vector3 movementSpeed;
public float damage;
Rigidbody rb;
public GameObject parent;
public GameObject LaserHit;
// Use this for initialization
void Start () {
rb = this.gameObject.GetCo... |
// Avoid newer issue with CLang:
#ifdef asm_volatile_goto
#undef asm_volatile_goto
#define asm_volatile_goto(x...)
#endif
#include <linux/mmzone.h>
/*
* This is an extended BPF kernel module, with some probes, for the IO Visor
* BPF Compiler Collection (BCC) for an x86_64 architecture. (Tested on a
* Linux kernel 4.... |
#include <stdio.h>
#include <assert.h>
#include <qglobal.h>
#include "objcache.h"
#ifdef CACHE_STATS
int ObjCache::misses = 0;
int ObjCache::hits = 0;
#endif
ObjCache::ObjCache(unsigned int logSize)
: m_head(-1), m_tail(-1), //m_numEntries(0),
m_size(1<<logSize), m_freeHashNodes(0), m_freeCacheNodes(0), m_lastH... |
# Brief: make the library and test cases, do test check
# Common options
CC = gcc
INCLUDES = -I. -I./include -I./deps/include
CFLAGS = -Wall -g
LDFLAGS =
# Build library
LIB_INCLUDES = -I./src
LIB_CFLAGS =
LIB_LDFLAGS = -L./deps/lib # -lglog -lgflags -lpthread -lm
SOURCE_DIRS = src
LIB_SOURCES = $(shell find $(SOURCE_D... |
#!/bin/bash
BASE_VER="KANGAROO.M7.MKIV.v067"
VER=""
KERNEL_VER=$BASE_VER$VER
export LOCALVERSION="."`echo $KERNEL_VER`
export CROSS_COMPILE=${HOME}/Toolchains/<API key>.9.2-2014.09/bin/<API key>-
export ARCH=arm
export SUBARCH=arm
export KBUILD_BUILD_USER=poondoge
# export KBUILD_BUILD_HOST="semaphore.gr"
DATE_START=$(... |
// : shuaihong617@qq.com
// : 2015-01-05
// : shuaihong617@qq.com
// : 2015-01-05
// <summary>
// </summary>
using Nutshell.Components.Models;
namespace Nutshell.SerialPorts.Models
{
<summary>
SerialPort
</summary>
public class <API key>:Work... |
<?php
/**
* Return an array with the options for Theme Options > Typography and Color > Sidebars
*
* @package Yithemes
* @author Andrea Frascaspata <andrea.frascapsata@yithemes.com>
* @since 2.0.0
* @return mixed array
*
*/
return array(
/* Typography and Color > widgets and sidebars */
array(
... |
<?php
// This file is part of SDK Lucterios.
// SDK Lucterios is free software; you can redistribute it and/or modify
// (at your option) any later version.
// SDK Lucterios is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// along wit... |
#ifdef __KERNEL__
#ifndef __ASM_MPC885ADS_H__
#define __ASM_MPC885ADS_H__
#include <asm/ppcboot.h>
#include <sysdev/fsl_soc.h>
/* U-Boot maps BCSR to 0xff080000 */
#define BCSR_ADDR ((uint)0xff080000)
#define BCSR_SIZE ((uint)32)
#define BCSR0 ((uint)(BCSR_ADDR + 0x00))
#define BCSR1 ... |
#ifndef _ASM_ACPI_H
#define _ASM_ACPI_H
#ifdef __KERNEL__
#include <acpi/pdc_intel.h>
#include <asm/system.h> /* defines cmpxchg */
#define <API key> long long
#define <API key> unsigned long long
/*
* Calling conventions:
*
* ACPI_SYSTEM_XFACE - Interfaces to host OS (handlers, threads)
* ACPI_EXT... |
// 2 - The "New" BSD License (http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13)
// 3 - The Academic Free License (http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43)
define(["dojo/_base/lang",
"dojo/date/stamp",
"dojo/json",
"../../... |
// <API key>.h
// Obj-C OpenGL
#import "BaseOpenGLView.h"
@interface <API key> : BaseOpenGLView
@end |
<?php
if (function_exists('<API key>')) {
<API key>('<API key>', false, 'newsletter/statistics/languages');
<API key>('newsletter', false, 'newsletter/languages');
}
require_once <API key> . '/controls.php';
$module = <API key>::instance();
$controls = new NewsletterControls();
$emails = Newsletter::instance()-... |
/* for now, we are just like the sysv4 version with a
few hacks
*/
#ifndef VERSION_INFO2
#define VERSION_INFO2 "$Revision: 1.16 $"
#endif
#ifndef VERSION_STRING
#define VERSION_STRING version_string
#endif
/* Identify the compiler. */
/* TARGET_VERSION used by toplev.c VERSION_STRING used by -midentify-revision ... |
var CompanyX = {
getCalendar: function() { return CompanyX.<API key>; },
getStore: function() { return CompanyX.CalendarEventStore; },
getWindow: function() { return CompanyX.<API key>; },
viewChange: function(p, vw, dateInfo) {
var win = this.getWindow();
if (win) { win.hide(); }
... |
<?php
/* @var $this <API key> */
/* @var $model Personspeciality */
/* @var $form CActiveForm */
?>
<div class="form">
<?php
$personid= $model->PersonID;
$form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
'id'=>'spec-form-modal',
'<API key>'=>false,
));
$form= new TbActiveForm();
?>
<?php ech... |
<?php
require_once('xassetBaseObject.php');
require_once('crypt.php');
class <API key> extends XAssetBaseObject {
var $weight;
function <API key>($id = null) {
$this->initVar('id', XOBJ_DTYPE_INT, null, false);
$this->initVar('application_id', XOBJ_DTYPE_INT, null, false);
$this->initVar('group_id', XOB... |
<?php
namespace PHPExiftool\Driver\Tag\CanonCustom;
use PHPExiftool\Driver\AbstractTag;
class <API key> extends AbstractTag
{
protected $Id = 1299;
protected $Name = '<API key>';
protected $FullName = 'CanonCustom::Functions2';
protected $GroupName = 'CanonCustom';
protected $g0 = 'MakerNotes';
... |
<?php require_once("../../../../wp-load.php"); ?>
<?php
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
$post_per_page = isset($_REQUEST['postperpage']) ? $_REQUEST['postperpage'] : -1;
$curr_page = isset($_REQUEST['curr_page']) ? $_REQUEST['curr_page'] : 1;
$offset = isset($_REQUEST['offset'])... |
{load_language_text section="box_admin"}
{load_language_text section="buttons" name="button"}
{include file="get_usermod:{$tpl_path}snippets/box/default/top.html" class="admin" headline=$txt.heading_admin linkcrypter="true"}
{if $content_data.<API key> && $content_data.<API key>}
<strong>{$content_data.<API key>}</... |
package net.sf.l2j.gameserver;
import java.util.Map;
import java.util.logging.Logger;
import javolution.util.FastMap;
import net.sf.l2j.gameserver.lib.SqlUtils;
import net.sf.l2j.gameserver.model.L2Territory;
public class Territory
{
private static Logger _log = Logger.getLogger(TradeController.class.getName());
... |
/* ScriptData
SDName: Bloodmyst_Isle
SD%Complete: 80
SDComment: Quest support: 9670
SDCategory: Bloodmyst Isle
EndScriptData */
/* ContentData
npc_webbed_creature
EndContentData */
#include "Player.h"
#include "Group.h"
#include "GridNotifiersImpl.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Script... |
package org.openjdk.jmh.ct.states.dag.cycles;
import org.junit.Test;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.ct.CompileTest;
public class <API key> {
@State(Scop... |
<div id="afl-form-options">
<div id="<API key>">
<div class="afl-options-page te-form">
<div class="<API key>">
<?php
<API key>( 0, $type, $data );
if (empty($data['thumb'])) {
$data['thumb'] = <API key>().'/lib/css/images/noimage.png';
}
... |
#!/usr/bin/env python
## DEPENDENCIES
import sys
import os
import os.path
try:
import builtins as builtin
except ImportError:
import __builtin__ as builtin
from os.path import getmtime, exists
import time
import types
from Cheetah.Version import <API key> as <API key>
from Cheetah.Version import <API key> as <A... |
#include "cards_install.h"
Cards_install::Cards_install(const CardsArgumentParser& argParser,
const std::string& configFileName)
: Pkginst("cards install",configFileName),m_argParser(argParser)
{
parseArguments();
for( auto i : m_argParser.otherArguments() ) {
if ( <API key>(i).empty() &&
... |
package ch2.p87.MRUnit;
import java.util.ArrayList;
import java.util.List;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mrunit.mapreduce.ReduceDriver;
import junit.framework.TestC... |
# encoding: utf-8
# module apt_pkg
# from /usr/lib/python3/dist-packages/apt_pkg.<API key>.so
# by generator 1.135
"""
Classes and functions wrapping the apt-pkg library.
The apt_pkg module provides several classes and functions for accessing
the functionality provided by the apt-pkg library. Typical uses might
include... |
/*
* Customizations to Endpoint Overview Page
*/
Ext.onReady(function() {
var DEVICE_OVERVIEW_ID = '<API key>';
Ext.ComponentMgr.onAvailable(DEVICE_OVERVIEW_ID, function(){
var box = Ext.getCmp(DEVICE_OVERVIEW_ID);
box.removeField('uptime');
box.removeField('memory');
});
var <... |
# -*- coding: utf-8 -*-
## This file is part of Invenio.
## Invenio is free software; you can redistribute it and/or
## published by the Free Software Foundation; either version 2 of the
## Invenio is distributed in the hope that it will be useful, but
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GN... |
#include <linux/io.h>
#include <linux/atomic.h>
#include <media/v4l2-subdev.h>
#include <media/msmb_isp.h>
#include "msm_isp_util.h"
#include "msm_isp_axi_util.h"
#include "msm_isp_stats_util.h"
static inline void <API key>(struct vfe_device *vfe_dev,
struct <API key> *stream_info,
uint3... |
<?php
/**
* @file
* Contains \Drupal\uc_fulfillment\Tests\PackageTest.
*/
namespace Drupal\uc_fulfillment\Tests;
use Drupal\uc_order\Entity\Order;
use Drupal\uc_order\Entity\OrderProduct;
use Drupal\uc_store\Tests\UbercartTestBase;
/**
* Tests creating new packages from purchased products.
*
* @group Ubercart
*/... |
/*
control demo v1
by Ryan E. Anderson
*/
body {
width : 100%;
padding: 0;
margin: 0;
font: 12pt/100% 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #FFF;
background-color: #3B4D50;
}
h1 {
padding: 5px 15px;
}
p {
padding: 5px 15px;
}
a {
border: 1px dotted transp... |
<?php
$ca = array (
'pages' => 'Pàgines',
'pages:group' => 'Pàgines',
'pages:all' => 'Totes les pàgines',
'pages:new' => 'Nova pàgina',
'pages:edit' => 'Modificar la pàgina',
'pages:delete' => 'Esborrar la pàgina',
'pages:history' => 'Històric del a pàgina',
'pages:view' => 'Veure pàgina',
'pages:navi... |
from tempfile import mkdtemp
from zipfile import ZipFile, is_zipfile
from shutil import rmtree, copyfileobj
from xml.dom.minidom import parse
import os
class cleanopenoffi():
def __init__(self, sDocName, newDocName):
self.sDocName = sDocName
self.newDocName = newDocName
self._ms_do()
def _ms... |
# -*- coding: utf-8 -*-
# This file is part of translate.
# translate is free software; you can redistribute it and/or modify
# (at your option) any later version.
# translate is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import logging
from translate... |
<?php require("../../includes/header.php"); ?><h1>Permutation Cycles</h1><div class="content">
<p> We consider <em>permutations</em> of the numbers 1,..., <em>N</em><br />
for some <em>N</em>. By permutation we mean a rearrangment of the<br />
number 1,...,<em>N</em>. For example</p>
<pre>
2 4 5 1 7 6 3 8
</pr... |
# Makefile for the linux kernel.
CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET)
AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
ifdef <API key>
<API key>.o = -pg
endif
<API key>.o = -pg
<API key>.o = -Werror
# Object file lists.
obj-y := compat.o elf.o entry-armv.o entry-common.o irq.o \
pr... |
<!
<!--@subject {{trans "Credit memo for your %store_name order" store_name=$store.getFrontendName()}} @-->
<!--@vars {
"var <API key>|raw":"Billing Address",
"var comment":"Credit Memo Comment",
"var creditmemo.increment_id":"Credit Memo Id",
"layout handle=\"<API key>\" creditmemo=$creditmemo order=$order":"Credit Me... |
class UserCourse < ActiveRecord::Base
attr_accessible :user_id, :course_id, :roleincourse_id
<API key> :roleincourse_id
<API key> :id, :course_id, :allow_nil => true, :greater_than => 0, :only_integer => true
<API key> :user_id, :roleincourse_id, :greater_than => 0, :only_integer => true
belongs_to :user
be... |
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <linux/list.h>
#include <linux/compiler.h>
#include <linux/rbtree.h>
#include <net/netlink.h>
#include <net/pkt_sched.h>
stati... |
#ifndef PRE_LEXER_H
#define PRE_LEXER_H
#include <glib.h>
/* Structure to store lexer state. */
typedef struct
{
gchar* stream; /* Pointer to the local copy of input string. */
guint length; /* Length of input string; stored to reduce calls to strlen(). */
guint next_index; /* Index of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.