answer stringlengths 15 1.25M |
|---|
module WCAPI
class SruSearchResponse
include WCAPI::XPath
attr_accessor :header, :records, :raw
def initialize(doc)
#super doc
@raw = doc
parse_marcxml(doc)
end
def parse_marcxml(xml)
@header = {}
_title = ""
#this is an array
_author = Array.new()
_li... |
// <API key>.h
// ASCircularMenuDemo
#import <UIKit/UIKit.h>
#import "ASCircularMenu.h"
@interface <API key> : UIViewController<<API key>>
@property (nonatomic,strong) IBOutlet UIStepper *stepper;
@property (nonatomic,strong) IBOutlet UIImageView *backgroundImageView;
@property (nonatomic,strong) ASCircularMenu *menu... |
#include <esd.h>
#include "qemu-common.h"
#include "audio.h"
#include <signal.h>
#define AUDIO_CAP "esd"
#include "audio_int.h"
#include "audio_pt_int.h"
typedef struct {
HWVoiceOut hw;
int done;
int live;
int decr;
int rpos;
void *pcm_buf;
int fd;
struct audio_pt pt;
} ESDVoiceOut;
type... |
<?php
/**
* Template File: The users dashboard
*
* @package Tina-MVC
* @subpackage Tina-Core-Views
* @author Francis Crossen <francis@crossen.org>
*/
/**
* You should include this check in every view file you write. The constant is defined in
* tina_mvc_base_page->load_view()
*/
if( ! defined('TINA_MVC_LOAD_V... |
#include <cstring>
#include <cstdlib>
#include "game.h"
#include <fstream>
#ifdef PSP
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspctrl.h>
#include <pspdebug.h>
#endif
#include "timerlib.h"
extern timerLib timer;
#include <math.h>
#include "graphicslib.h"
extern graphicsLib graphLib;
#inclu... |
using System;
using System.Text;
using System.IO;
namespace Server.Network
{
public class PacketReader
{
private byte[] m_Data;
private int m_Size;
private int m_Index;
public PacketReader( byte[] data, int size, bool fixedSize )
{
m_Data = data;
m... |
#ifndef <API key>
#define <API key>
#include "Fantasma.hpp"
class FantasmaAmarillo : public Fantasma
{
public:
static const int id_fantasma = 3;
FantasmaAmarillo(Tablero &mitablero,Pacman& j,Puntuacion& p,int x,int y);
protected:
void moverNormal() override;
private:
};
#endif // <A... |
# Still do to:
# Handle continuation lines (see Prefs::parseText). These should always
# go into a text area.
package Foswiki::Plugins::PreferencesPlugin;
use strict;
use warnings;
use Foswiki::Func (); # The plugins API
use Foswiki::Plugins (); # For the API version
use vars qw( @shelter );
our $VERSION = '$R... |
FactoryGirl.define do
factory :task_type do
name { Faker::HipsterIpsum.words(3).join(' ') }
end
end |
<?php
// no direct access
defined('_JEXEC') or die;
class <API key> extends <API key>
{
public function process()
{
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$start = $this->input->getInt('start', 0);
$query->select('id')
->from('#<API key>')
... |
<?php
if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); }
global $db;
$sql = "
CREATE TABLE IF NOT EXISTS `custom_destinations` (
`custom_dest` varchar(80) NOT NULL default '',
`description` varchar(40) NOT NULL default '',
`notes` varchar(255) NOT NULL default '',
... |
<?php
/**
* Main plugin class.
*/
class QBTTC {
/**
* Path to the plugin.
*
* @access protected
*
* @var string
*/
protected $plugin_path;
/**
* Form object.
*
* @access protected
*
* @var QBTTC_Form
*/
protected $form;
/**
* Constru... |
export { <API key> } from './sync/card_service.js';
export { <API key> } from './sync/card_service.js';
export { HotkeysService } from './hotkeys_service.js';
export { ImageServiceManager } from './sync/image_service.js';
export { KeyValuePredicate, AndPredicate, OrPredicate, NotPredicate } from './<API key>/<API key>.... |
# @brief helper function to turn pkgconfig files into ASKAP package.info
# Australia Telescope National Facility (ATNF)
# Commonwealth Scientific and Industrial Research Organisation (CSIRO)
# PO Box 76, Epping NSW 1710, Australia
# atnf-enquiries@csiro.au
# This file is part of the ASKAP software distribution.
# The A... |
#include "fullscreenshell.h"
#include "fullscreenshell_p.h"
#include "output.h"
#include "output_p.h"
#include "surface.h"
#include "surface_p.h"
Q_LOGGING_CATEGORY(FSH_CLIENT_PROTOCOL, "greenisland.protocols.fullscreenshell.client")
namespace GreenIsland {
namespace Client {
/*
* <API key>
*/
<API key>::<API key>()
... |
package edu.ucsd.ncmir.WIB.client.core.messages;
import edu.ucsd.ncmir.spl.LinearAlgebra.Matrix2D;
import edu.ucsd.ncmir.WIB.client.core.message.Message;
/**
*
* @author spl
*/
public class DisplayInitMessage
extends Message
{
private final int _width;
private final int _height;
private final int _de... |
package com.veenvliet.seeyousoon;
import android.content.Intent;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceActivity;
import android.provider.Settings;
public class SettingsActivity extends PreferenceActivity {
@SuppressWarnings("deprecation")
@Override
... |
#define pr_fmt(fmt) "%s: " fmt, __func__
#include <linux/bootmem.h>
#include <linux/console.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Thu Apr 09 10:31:52 MDT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.apache.lucene.analysis.payloads.PayloadHelper (Lucene 5.1.0 API)</title>
<meta ... |
<?php
// section testimonials
global $allowedposttags,$<API key>;
$section_hide = absint(alchem_option('section_7_hide',0));
$content_model = absint(alchem_option('section_7_model',0));
$section_id = esc_attr(sanitize_title(alchem_option('section_7_id')));
$section_color = esc_attr(alchem_o... |
#include "nlm_vits_wrapper.h"
#include <asm/netlogic/debug.h>
#define __VTSS_LIBRARY__
#define VTSS_TRACE_LAYER 1
#include "vitesse_io.h"
#include "meigsii_reg.h"
#define <API key> (0x8000*sizeof(ulong))
#ifdef VITGENIO
#include <linux/vitgenio.h>
#include <fcntl.h> /* open() */
#include <sys/ioctl.h> /* ioctl() */
#in... |
// Based on the ScummVM (GPLv2+) file of the same name
#include "common/system.h"
#include "scumm/actor.h"
#include "scumm/charset.h"
#ifdef ENABLE_HE
#include "scumm/he/intern_he.h"
#endif
#include "scumm/resource.h"
#include "scumm/scumm_v0.h"
#include "scumm/scumm_v5.h"
#include "scumm/scumm_v6.h"
#include "scumm/us... |
// 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 with this program; if not, write to the Free Software
// Foundation,... |
class CfgAmmo {
class M_PG_AT;
class <API key>: M_PG_AT {
displayName = "AGM-114K";
displayNameShort = "AGM-114K";
description = "AGM-114K";
descriptionShort = "AGM-114K";
model = "\A3\Weapons_F\Ammo\Missile_AT_03_fly_F";
proxyShape = "\A3\Weapons_F\Ammo\Missile_A... |
<?php $TRANSLATIONS = array(
"First Run Wizard" => " ",
"Show First Run Wizard again" => " "
); |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using INB302_WDGS.Droid;
[assembly: ExportRendere... |
<html>
<head>
<title> Grease - xdebugd web interface </title>
</head>
<body>
<script>
var xdebug ={
activeSession: false,
activeServerId: false,
sessions: false,
setupEvents: function()
{
window.onresize = this.event.windowResize;
},
event:
{
windowResize: function(e... |
{% load staticfiles %}
{% load custom_filter %}{% load custom_tag %}
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initi... |
// codec_pass.cpp
// Passthrough Codec
// This program is free software; you can redistribute it and/or modify
// published by the Free Software Foundation.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// You should have re... |
<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?>
</div><!-- #main -->
<footer class="site-footer" role="contentinfo">
... |
#!/usr/bin/ruby
# This script can update the title page from any RSS feed, but concrete
# adjustments are done specifically to Fedora Planet.
# It replaces the content between <!-- <API key> -->
# and <!-- BLOG_HEADLINES_END --> in _site/index.html. The file
# path of index.html can be passed as an argument.
# Usage:
#... |
#ifndef _D_PRECIP_H
#define _D_PRECIP_H
char *<API key>(char *buf, NIDS_d_precip *r);
void <API key>(NIDS_d_precip *r);
void <API key>(NIDS_d_precip *r, char *prefix);
#endif /* _D_PRECIP_H */ |
using System;
using System.Collections.Generic;
using Server.Network;
namespace Server.Misc
{
public class AttackMessage
{
private const string AggressorFormat = "You are attacking {0}!";
private const string AggressedFormat = "{0} is attacking you!";
private const int Hue = 0x22;
... |
# -*- coding: utf-8 -*-
# modify, copy, or redistribute it subject to the terms and conditions
# version. This program is distributed in the hope that it will be
# implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin S... |
require 'rails_helper'
RSpec.describe "artifacts/edit", type: :view do
before(:each) do
@artifact = assign(:artifact, Artifact.create!(
:tittle => "MyString",
:content => "MyText"
))
end
it "renders the edit artifact form" do
render
assert_select "form[action=?][method=?]", artifact_pa... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_08) on Thu Jan 25 19:55:35 BRST 2007 -->
<TITLE>
core.images
</TITLE>
<META NAME="keywords" CONTENT="core.images package">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="w... |
/* ScriptData
SDName: <API key>
SD%Complete: ??%
SDComment: based on /dev/rsa
SDCategory: Crusader Coliseum
EndScriptData */
// Known bugs:
// Some visuals aren't appearing right sometimes
// TODO:
// Redone summon's scripts in SAI
// Add immunities to the boss and summons
#include "LordJaraxxus.h"
enum Yells
{
SAY... |
<?php
namespace PHPExiftool\Driver\Tag\DICOM;
use PHPExiftool\Driver\AbstractTag;
class <API key> extends AbstractTag
{
protected $Id = '0029,100A';
protected $Name = '<API key>';
protected $FullName = 'DICOM::Main';
protected $GroupName = 'DICOM';
protected $g0 = 'DICOM';
protected $g1 = 'DICOM... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-mac-free-3.3.8/extensions/activeqt/examples/wrapper/wrapper.doc:57 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Standard Qt widgets as ActiveX controls (in-pr... |
module.exports = angular.module('unitConv', [])
.config(route)
.name;
route.$inject = ['$stateProvider'];
function route($stateProvider) {
$stateProvider.state('unitConv', {
parent: 'tabs',
url: '/unitConv',
template: require('../doctorType/doctorType.html'),
controller: requ... |
# Twig
--vv
# The theming layer
 <!-- .element: style="width: 35%;" -->
--vv
# block.html.twig
twig
{%
set classes = [
'block',
'block-' ~ configuration.provider|clean_class,
]
%}
<div{{ attributes.addClass(classes) }}>
{{ title_prefix }... |
package tests.crawler;
import algorithms.search.BreadthFirstSearch;
import algorithms.search.UninformedSearch;
import core.stocks.StockEdge;
import core.stocks.StockVertex;
import core.webcrawler.Crawler;
import core.webcrawler.StockGraphBuilder;
import edu.uci.ics.jung.graph.Graph;
public class TestCrawler {
publi... |
#include <stdio.h>
#include <stdbool.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include "sdlFunc.h"
#include "bmp.xpm"
#define MAX_POINTS 5
int main (void) {
//DEGREES
int mousePos[2];
//DEGREES
int WidthBack, HeightBack, i, j;
bool quit = 0;
//const Uint8 *kbState = <API key>(NULL);
... |
#ifndef MANGOS_TOTEMAI_H
#define MANGOS_TOTEMAI_H
#include "CreatureAI.h"
#include "ObjectGuid.h"
#include "Timer.h"
class Creature;
class Totem;
class TotemAI : public CreatureAI
{
public:
explicit TotemAI(Creature* c);
void MoveInLineOfSight(Unit*) override;
void AttackStart(Unit*) overrid... |
<?php
define('<API key>', 'Sous-total');
define('<API key>', 'Sous-total, net');
define('<API key>', 'Sous-total de la commande');
define('<API key>','Afficher sous-total');
define('<API key>','Voulez-vous afficher le coût total partiel de la commande ?');
define('<API key>','Ordre de tri');
define('<API ... |
TODO
=
* Handle multiple users i.e. allow disabling scrobbling for some users |
<!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>Milo: nodes.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"... |
pyfix
==
Pyfix is still very much a work in progress. The goal is to have it be a small but usable FIX (Financial Information eXchange) engine written in python. The purpose of the engine is to handle the FIX protocol logic and overhead between a financial exchange and local trading application or interface.
Pyfix is i... |
<!DOCTYPE html>
<html>
<head>
<title>Horse Quest: The Dawn of Beasts [BETA]</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script src="lib/crafty.js"></script>
<script src="src/horseRacer.js.php"></script>
<script>
window.addEventListener('load', ... |
<?php
define('NAVBAR_TITLE', 'Registro de afiliado');
define('HEADING_TITLE', '¡Enhorabuena!');
define('<API key>', '¡Enhorabuena! Su petición para una cuenta de nuevo afiliado ha sido enviada. En breve recibirá un email conteniendo información importante acerca de su cuenta de afiliado, incluyendo detalles sobre el in... |
<?php
//<API key>(TIME_ZONE_SET);
$format = '%Y-%m-%d %H:%M:%S';
$database->setDatetime( strftime($format) );
?> |
import datetime
from django.db import models
from django.utils import timezone
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def __unicode__(self): # __unicode__ on Python 2
return self.question_text
... |
<?php
defined('_JEXEC') or die;
$classes = "azp_iconbox iconbox_imageicon2";
$animationData = '';
if($animationArgs['animation'] == '1'){
$classes .= ' animate-in';
$animationData = 'data-anim-type="'.$animationArgs['animationtype'].'" data-anim-delay="'.$animationArgs['animationdelay'].'"';
}
if(!empty($extrac... |
/* ScriptData
SDName: Boss_Hakkar
SD%Complete: 95
SDComment: Blood siphon spell buggy cause of Core Issue.
SDCategory: Zul'Gurub
EndScriptData */
#include "precompiled.h"
#include "zulgurub.h"
enum
{
SAY_AGGRO = -1309020,
SAY_FLEEING = -1309021,
SPELL_BLOOD_SIPHON ... |
<?php
$gacode = vp_option('joption.<API key>');
if(!empty($gacode)) {
?>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<?php echo esc_js( $gacode ); ?>']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createEl... |
<?php
/**
* Tests updating a points reaction.
*
* @package WordPoints\Codeception
* @since 2.1.0
*/
use WordPoints\Tests\Codeception\Element\Reaction;
$I = new AcceptanceTester( $scenario );
$I->wantTo( 'Update a points reaction' );
$the_reaction = $I-><API key>();
$reaction = new Reaction( $I, $the_reaction )... |
<?php include 'session_login.php';
/* Database connection start */
include 'db.php';
include 'sanitasi.php';
// storing request (ie, get/post) global array to a variable
$requestData= $_REQUEST;
$columns = array(
// datatable column index => database column name
0 => 'url_data_pasien',
1 => 'url_cari_pasien',... |
import {LogEngine} from "../../../../../lib/log/LogEngine";
import {Logger} from "../../../../../lib/log/Logger";
import {IChatEvent} from "../../../../events/IChatEvent";
import {ISoapEventObject} from "../SoapEventParser";
export abstract class SoapEventDecoder<T extends IChatEvent> {
public Log: Logger;
private ... |
OCCModule.factory('EpochService', function ($resource, Settings) {
return OCCModule.CrudService($resource, 'epoch', Settings);
}); |
#ifndef <API key>
#define <API key>
#include "gui/widgets/window.h"
#include "listeners/actionlistener.h"
#include "listeners/selectionlistener.h"
class Button;
class Item;
class Label;
class ScrollArea;
class ShopItems;
class ShopListBox;
class Slider;
/**
* The sell dialog.
*
* \ingroup Interface
*/
class SellDia... |
<?php
namespace Steve\FrontendBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class <API key> extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this->assertTrue($crawle... |
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/mutex.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
#include <linux/wait.h>
#include <linux/msm_audio.h>
#include <linux/debugfs.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/ion.h>
#include <asm/... |
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7078796-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https:
var s = document.<API key>('script')[0]; s... |
<?php
/**
* Register all actions and filters for the plugin.
*
* Maintain a list of all hooks that are registered throughout
* the plugin, and register them with the WordPress API. Call the
* run function to execute the list of actions and filters.
*
* @package Wsi
* @subpackage Wsi/includes
* @author D... |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 6.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this f... |
<?php
defined('MOLAJO') or die;
/**
* Component Display Model
*
* <API key> extends MolajoModelDisplay extends JModel extends JObject
*
* @package Molajo
* @subpackage Model
* @since 1.6
*/
class <API key> extends MolajoModelDisplay {} |
<?php
if ( !defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
do_action( '<API key>' );
<API key>( array( "crm-entity-" . $entity->logicalname ), $form->uid );
<API key>( apply_filters( "<API key>", $form->errors ) );
<API key>( apply_filters( "<API key>", $form->notices ) );
do_action( '<API key>' );
i... |
# Searches through files in file browser by name.
# 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 w... |
/** @file
*
* VirtualBox API class wrapper header for IGuestSession.
*
* DO NOT EDIT! This is a generated file.
* Generated from: src/VBox/Main/idl/VirtualBox.xidl
* Generator: src/VBox/Main/idl/apiwrap-server.xsl
*/
#ifndef GuestSessionWrap_H_
#define GuestSessionWrap_H_
#include "VirtualBoxBase.h"
#include "Wr... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <helper/time_support.h>
#include <jtag/jtag.h>
#include "target/target.h"
#include "target/target_type.h"
#include "rtos.h"
#include "helper/log.h"
#include "helper/types.h"
#include "<API key>.h"
#include "target/armv7m.h"
#include "target/cortex_m.h"
#define <A... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Windows.Forms;
using LJH.Inventory.BusinessModel;
using LJH.Inventory.BusinessModel.SearchCondition;
using L... |
# -*- coding: utf-8 -*-
# PartMgr GUI - Protected spin box
# 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
# with this program; i... |
<?php
abstract class <API key> extends <API key> {
public static function sortArrayByKey($a, $b, $sKey='order')
{
return isset($a[ $sKey ], $b[ $sKey ]) ? $a[ $sKey ] - $b[ $sKey ] : 1;
}
public static function <API key>(&$mSubject, array $aKeys)
{
$_sKey = array_shift($aKeys);
... |
namespace VB.ReCaptcha.Core.MVC
{
using Microsoft.AspNetCore.Razor.TagHelpers;
[HtmlTargetElement("ReCaptcha")]
public class ReCaptchaTagHelper : TagHelper
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
output.TagName = "div";
v... |
require 'spec_helper'
require 'switchboard/server/lib/connection'
Dir["#{Peas.root}/switchboard/clients*.rb"].each { |f| require f }
describe 'Switchboard Pea Commands', :celluloid do
describe 'Server Commands' do
describe 'Logs' do
it 'should receive and write log lines to DB' do
app = Fabricate :a... |
#ifndef __SND_SEQ_TIMER_H
#define __SND_SEQ_TIMER_H
#include <sound/timer.h>
#include <sound/seq_kernel.h>
typedef struct {
snd_seq_tick_time_t cur_tick; /* current tick */
unsigned long resolution; /* time per tick in nsec */
unsigned long fraction; /* current time per tick in nse... |
<?php
?>
<!-- post -->
<article id="post-<?php the_ID(); ?>" <?php post_class( 'clearfix' ); ?> >
<!-- entry-meta -->
<div class="grid-25 tablet-grid-25 hide-on-mobile">
<div class="entry-meta">
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages ... |
#!/usr/bin/env python
# qtfmt.py v1.10
# v1.10 : Updated to use Python 2.0 Unicode type.
# Read a document in the quotation DTD, converting it to a list of Quotation
# objects. The list can then be output in several formats.
__doc__ = """Usage: qtfmt.py [options] file1.xml file2.xml ...
If no filenames are provided, s... |
-- [Q] [A] Report to Goldshire
-- Also moved the emote to creature_text
-- Doesn't work because it's auto-accept..
-- Marshal McBride SAI
SET @ENTRY := 197;
SET @QUEST := 54;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
UPDATE `quest_template` SET `StartScript`=0,`CompleteScript`=0 WHERE `id`... |
#include "precompiled_header.hpp"
#include "wss/session_sheet_map.hpp"
#include "wss/worksheet.hpp"
#include "wss/session.hpp"
const uuid_type& session_sheet_map::<API key>( session& s, const <API key>& original_sheet, const bool <API key> /*= false */ )
{
<API key> session_sheet = worksheet::<API key>( s, original... |
{getHeader}
{if isset($sidebarType) && $sidebarType == 'home'}
{if !is_active_sidebar('sidebar-home')}
{var $fullwidth = true}
{/if}
{elseif isset($sidebarType) && $sidebarType == 'item'}
{if !is_active_sidebar('sidebar-item')}
{var $fullwidth = true}
{/if}
{else}
{if !is_active_side... |
#ifndef _Fa4Help_H
#define _Fa4Help_H
extern void Usage( WS, uint32_t Err );
extern int ProcessArgs( LPWORKSTR pWS, int argc, char **argp, uint32_t level );
typedef enum { // date styles
od_dateup = 1,
od_datedown = 2,
od_sizeup = 3,
od_sizedown = 4
}OrderStyle;
#endif /* _Fa4Help_H */
//... |
Player = FindMetaTable("Player")
resource.AddFile( "materials/saikred/melontank/orange_crosshair.png" )
resource.AddFile( "materials/saikred/melontank/UI.png" )
resource.AddFile( "materials/saikred/melontank/melon_half.png" )
resource.AddFile( "materials/saikred/melontank/melon_half_moon.png" )
resource.AddFile( "mater... |
<?php
session_start();
$memberFolder=$_SESSION['userId'];
$albumid=$_SESSION["Aid"];
?>
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>Multiple image upload</title>
<meta name="GENERATOR" content="Arachnophilia 4.0">
<meta name="FORMATTER" content="Arachnophilia 4.0">
</head>
<body bgcolor="#fff... |
/* This module provides statistics about two merged capture files, to find packet loss,
* time delay, ip header checksum errors and order check to tshark.
* It's also detecting the matching regions of the different files.
*
* The packets are compared by the ip id. MAC or TTL is used to distinct the different files.... |
using Bifrost.Slack.UI.WinPhone.Common;
using Cirrious.MvvmCross.WindowsCommon.Views;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Graphics.Display;
u... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 sts=4 ts=4 expandtab: */
#ifndef RSVG_H
#define RSVG_H
#include <glib-object.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
G_BEGIN_DECLS
#define RSVG_TYPE_HANDLE (<API key> ())
#define RSVG_HANDL... |
// This program is free software: you can redistribute it and/or modify
// the Free Software Foundation, version 2.0.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// A copy of the GPL 2.0 should have been included with the program.
/... |
#pragma once
#include <d3d12.h>
#include <cassert>
#include <wrl/client.h>
#include "Emu/Memory/vm.h"
#include "Emu/RSX/GCM.h"
using namespace Microsoft::WRL;
#define CHECK_HRESULT(expr) if (HRESULT hr = (expr)) if (FAILED(hr)) throw EXCEPTION("HRESULT = 0x%x", hr)
/**
* Send data to dst pointer without polluting cach... |
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#in... |
# postags.py
# List of function POS tags and content POS tags
# $Id: postags.py 1657 2006-06-04 03:03:05Z turian $
# Function POS tags
function = {
"AUX": 1,
"AUXG": 1,
"CC": 1,
"DT": 1,
"EX": 1,
"IN": 1,
"MD": 1,
"PDT": 1,
"POS": 1,
"PRP": 1,
"PRP$": 1,
"RP": 1,
"TO": 1,
"WDT": 1,
"WP": 1,
"WP$": 1,
"WRB": 1,
"
... |
layout: api
title: v0.6.7
categories: api
navigation:
version: v0.6.7
navigation:
- title: mapbox.map
items:
- map.smooth
- map.center
- map.zoom
- map.centerzoom
- map.getExtent
- map.setExtent
- map.setZoomRange
- map.setPanLimits
- map.setSize
- map.zoomBy
- map.zoomByAbout
- map.panBy
- ... |
#pragma once
#include <algorithm>
#include <memory>
#include <kodi/Filesystem.h>
namespace utilities
{
/**
* Compares two containers for equality based on the equality of their
* dereferenced contents (i.e. the containers should contain some kind of
* pointers).
*/
template<class Container>
bool deref... |
#ifndef <API key>
#define <API key>
#include "core/inspector/<API key>.h"
#include "public/platform/WebSize.h"
namespace WebCore {
class <API key>;
class <API key> FINAL : public <API key>
{
public:
static PassRefPtr<<API key>> create(const blink::WebSize&, double, const String&, const <API key>&, const double);
... |
package com.autentia.intra.bean.account;
import com.autentia.intra.bean.BaseBean;
import com.autentia.intra.bean.NavigationResults;
import com.autentia.intra.businessobject.AccountEntryGroup;
import com.autentia.intra.businessobject.AccountEntryType;
import com.autentia.intra.dao.SortCriteria;
import com.autentia.intra... |
<?php
namespace Magento\Framework\Interception\Fixture\Intercepted;
use Magento\Framework\Interception\Fixture\<API key>;
class InterfacePlugin
{
/**
* @param <API key> $subject
* @param \Closure $next
* @param string $param1
* @return string
* @SuppressWarnings(PHPMD.<API key>)
*/
... |
#include"client.h"
#include"sockutil.h"
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<unistd.h>
#include<errno.h>
#include<sys/signal.h>
#include<sys/select.h>
int sockFd;
void sigint_handler(int sig)
{
close(sockFd);
printf("\nConnection has closed.\n");
exit(0);
}
int main(int argc,char... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DEBUG Panel</title>
</head>
<body>
<form action="/alarm" method="post">
<input type="submit" value="alarm" />
</form>
<form action="/clear" method="post">
<input type="submit" value="clear" />
</form>
</bod... |
from datetime import datetime
import MaKaC.common.filters as filters
from MaKaC.webinterface.common.countries import CountryHolder
class AccommFilterField( filters.FilterField ):
"""Contains the filtering criteria for the track of a contribution.
Inherits from: AbstractFilterField
Attributes:
... |
var async = require('async');
var DateUtils = require('../util/DateUtils.class');
var <API key> = function(bot) {
this.bot = bot;
this.<API key> = this.bot.config.edserv.manager;
};
<API key>.prototype = {
request<API key>: function(requestor, presenter) {
var bot = this.bot;
var manager = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.