answer stringlengths 15 1.25M |
|---|
/* Javadoc style sheet */
/*
Overall document style
*/
body {
background-color:#ffffff;
color:#353833;
font-family:Arial, Helvetica, sans-serif;
font-size:76%;
margin:0;
}
a:link, a:visited {
text-decoration:none;
color:#4c6b87;
}
a:hover, a:focus {
text-decoration:none;
color:#bb7a2... |
<?php
/**
* @file
* Contains \Drupal\Core\Lock\<API key>.
*/
namespace Drupal\Core\Lock;
/**
* @defgroup lock Locking mechanisms
* @{
* Functions to coordinate long-running operations across requests.
*
* In most environments, multiple Drupal page requests (a.k.a. threads or
* processes) will execute in parall... |
def freq_month(obj):
if obj is None or obj == []:
return
months = {1: 'jan',
2: 'feb',
3: 'mar',
4: 'apr',
5: 'may',
6: 'jun',
7: 'jul',
8: 'aug',
9: 'sep',
10: 'oct',
... |
#include "mysqlrad.h"
//Table Variables
//Table Variables
//uTemplate: Primary Key
static unsigned uTemplate=0;
//cLabel: Short label
static char cLabel[33]={""};
//uTemplateSet: Short label
static unsigned uTemplateSet=0;
static char <API key>[256]={""};
//uTemplateType: Short label
static unsigned uTemplateType=0;
st... |
<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (isset($_GET['products_id']) && <API key> > 0 && <API key> > 0) {
$<API key> = $db->Execute(sprintf(SQL_ALSO_PURCHASED, (int)$_GET['products_id'], (int)$_GET['products_id']));
$<API key> = $<API key>->RecordCount();
$row = 0;
$col = 0;
$list... |
<?php
namespace Magento\Framework\Css\PreProcessor\File\FileList;
use Magento\Framework\View\File\FileList\CollateInterface;
/**
* File list collator
*/
class Collator implements CollateInterface
{
/**
* Collate source files
*
* @param \Magento\Framework\View\File[] $files
* @param \Magento\Fr... |
package org.lastbamboo.common.util.mina.decode.binary;
import org.littleshoot.mina.common.ByteBuffer;
import org.littleshoot.mina.filter.codec.<API key>;
import org.littleshoot.util.mina.DecodingState;
/**
* Decoding state for reading a single unsigned int.
*/
public abstract class <API key> implements DecodingState
... |
package org.opennms.netmgt.config.datacollection;
import java.io.Reader;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.... |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
// Import Joomla! libraries
jimport( 'joomla.application.component.view');
require_once( JPATH_COMPONENT.'/helpers/content.php' );
require_once( JPATH_COMPONENT.'/helpers/profiletypes.php' );
class <API key> extends JViewLegacy {
protected $it... |
/*
* Support for unit tests of CUnit framework
*
* 12-Aug-2004 Initial implementation. (JDS)
*
* 02-May-2006 Added <API key> hooks. (JDS)
*/
/** @file
* CUnit internal testingfunctions (implementation).
*/
/** @addtogroup Internal
@{
*/
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#includ... |
#ifndef _PDISKSEL_H
#define _PDISKSEL_H
#ifdef __cplusplus
extern "C" {
#endif
/*@
@ requires valid_read_string(cmd_device);
@ requires \valid_read(list_disk);
@ requires valid_disk(list_disk->disk);
@ requires \valid(list_search_space);
@ requires \separated(cmd_device, list_disk, list_search_space);
@ ens... |
#include "test_cvs.h"
#include <QtTest/QtTest>
#include <QUrl>
#include <KIO/DeleteJob>
#include <cvsjob.h>
#include <cvsproxy.h>
#include <tests/autotestshell.h>
#include <tests/testcore.h>
#define CVSTEST_BASEDIR "/tmp/kdevcvs_testdir/"
#define CVS_REPO CVSTEST_BASEDIR "repo/"
#define CVS_IMPOR... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include <errno.h>
#include <f... |
#!/usr/bin/env python
import unittest
from werkzeug.exceptions import NotFound, Forbidden
from tests.logic_t.layer.LogicLayer.util import generate_ll
class <API key>(unittest.TestCase):
def setUp(self):
self.ll = generate_ll()
self.pl = self.ll.pl
def <API key>(self):
# given
t1 ... |
<?php
namespace eZ\Bundle\<API key>\Controller;
use eZ\Bundle\<API key>\LegacyResponse\<API key>;
use eZ\Publish\Core\MVC\Legacy\Kernel\URIHelper;
use eZ\Publish\Core\MVC\Legacy\Templating\LegacyHelper;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use eZ\Publish\C... |
#include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/notifier.h>
#include <linux/err.h>
#include <linux/power_supply.h>
#include <linux/thermal.h>
#include "power_supply.h"
/* exported for the APM Power driver, APM emulation */
stru... |
# zabbix-slack
Zabbix alert script for sending notifications to a Slack webhook (python requests) |
<?php
defined('_JEXEC') or die('Restricted access');
/**
* Surveyforce Component Controller
*/
class <API key> extends JControllerLegacy {
/**
* display task
*
* @return void
*/
public function __construct($config = array()){
parent::__construct($config);
}
public function ... |
package org.mo.com.io;
public class FLinkInput
{
} |
<?php
require_once CLASS_EX_REALDIR . 'page_extends/frontparts/bloc/<API key>.php';
/**
* .
*
* @package Page
* @author Designup.jp
* @version 1.1
*/
class <API key> extends <API key>
{
/**
* Page .
*
* @return void
*/
public function init()
{
parent::init();
}
/**... |
#ifndef AUGUTILPP_LOG_HPP
#define AUGUTILPP_LOG_HPP
#include "augutilpp/config.hpp"
#include "augctxpp/exception.hpp"
#include "augutil/log.h"
#include "augctx/defs.h" // AUG_MAXLINE
#include <string>
namespace aug {
inline void
vformatlog(char* buf, size_t& n, clockref clock, unsigned level,
con... |
<?php
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
/**
* Item Controller
*/
class <API key> extends JControllerForm
{
/**
* @var string The prefix to use with controller messages.
*/
protected $text_prefix = 'NN';
// Parent class access checks are s... |
#include "precompiled.hpp"
#include "c1/c1_Compilation.hpp"
#include "c1/c1_Instruction.hpp"
#include "c1/<API key>.hpp"
#include "c1/c1_LIRAssembler.hpp"
#include "c1/c1_MacroAssembler.hpp"
#include "c1/c1_ValueStack.hpp"
#include "ci/ciInstance.hpp"
#include "runtime/os.hpp"
void LIR_Assembler::patching_epilog(Patchi... |
-- Unban a player banned with Punkbuster.
-- From kmod script.
-- params is parameters passed from et_ClientCommand function.
-- * params["arg1"] => guid
function execute_command(params)
params.say = "chat"
if params.nbArg < 2 then
printCmdMsg(params, "Useage: unban [guid]\n")
else
if ton... |
define(function () {
return {
customerAccount: ['<API key>', function (<API key>) {
return <API key>.getCurrent();
}]
};
}); |
<ul class="lang-switch nav navbar-nav navbar-right">
<li role="heading"><span class="nav-plain-text">Language:</span></li>
<li><a {% if page.lang contains 'en' %} class="active-lang"{% endif %} href="
{% if page.url contains '/fr' %}{{ page.url | remove_first:'/fr' }}
{% elsif page.url contains ... |
#include "array"
#include "cmath"
#include "cstdlib"
#include "iostream"
#include "limits"
#include "cubature.h"
bool good_solution(
const double integral,
const double exact,
const double max_relative_error
) {
if (
std::fabs(integral - exact)
> max_relative_error * std::max(std::fabs(i... |
#ifndef _LINUX_JBD2_H
#define _LINUX_JBD2_H
/* Allow this file to be included directly into e2fsprogs */
#ifndef __KERNEL__
#include "jfs_compat.h"
#define JBD2_DEBUG
#define jfs_debug jbd_debug
#else
#include <linux/types.h>
#include <linux/buffer_head.h>
#include <linux/journal-head.h>
#include <linux/stddef.h>
#incl... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Components.Aphid.Parser
{
public class <API key> : SerializationBinder
{
private const string _prefix = "System.Collections.Generic.List`1[[";
public override Type BindToType(string assemblyName, string... |
#ifndef BOOKMARK_H
#define BOOKMARK_H
#include "stanzaextension.h"
#include "jid.h"
namespace Jreen {
//XEP-0048
class BookmarkPrivate;
/*! For ease-of-use in a Jabber client, it is desirable to have a way to store shortcuts
* to various services and resources (such as conference rooms and web pages) as "bookmarks"
* t... |
# export AWS_ACCESS_KEY="Your-Access-Key"
# export AWS_SECRET_KEY="Your-Secret-Key"
today=`date +"%d-%m-%Y","%T"`
logfile="/awslog/<API key>.log"
# Grab all Instance IDs for REBOOT action and export the IDs to a text file
sudo aws ec2 describe-instances --filters Name=tag:reboot-time,Values=18-00 Name=tag:bash-profile,... |
<?php
global $<API key>;
?>
<div id="ts-settings-files" class="tab-content">
<div class="<API key>">
<div class="<API key> <API key>"><i class="dashicons-download"></i>External Files Settings</div>
<div class="<API key>">
<div class="<API key> ts-vcsc-critical" style="margin-top: 10p... |
#ifndef <API key>
#define <API key>
#include "ObjectGridLoader.h"
#include "UpdateData.h"
#include <iostream>
#include "Corpse.h"
#include "Object.h"
#include "DynamicObject.h"
#include "GameObject.h"
#include "Player.h"
#include "Unit.h"
namespace MaNGOS
{
struct VisibleNotifier
{
Camera& i_camera;
... |
#! /bin/sh
# This program is free software; you can redistribute it and/or modify
# the Free Software Foundation; either version 2, or (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
# Make sure empty... |
package com.app.labeli;
import com.app.labeli.member.Member;
import net.tools.*;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.Vi... |
require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb')
given "a message exists" do
Message.all.destroy!
request(resource(:messages), :method => "POST",
:params => { :message => { :id => nil }})
end
describe "resource(:messages)" do
describe "GET" do
before(:each) do
@response = request(re... |
<?php
if (isset($_POST['_wpcf7_mail_sent'])) {
$expire=time()+60*60*24*30*2;
setcookie("surveySent2", "true", $expire, '/');
}
?><!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head profile="http://gmpg.org/xfn/11">
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv="Content-Typ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
<summary>
An AND gate class to store the correct image and
calculate the appropriate output
</summary>
public class AndGate : Gate
{
<summary>
Constructor
</summary>
public AndGate()
{
... |
<?php
$social_channels = $view_data['settings']['right_tab']['social_channels'];
$bar_layout_design = $view_data['settings']['right_tab']['bar_layout_design'];
$call_to_action = $view_data['settings']['right_tab']['call_to_action'];
$visibility_settings = $view_data['settings']['right_tab']['visibility_... |
import os
from collections import OrderedDict
from .sqldatabase import SqlDatabase
from .retrieve_core_info import retrieveCoreInfo
# Root class that all SQL table updaters derive from
class SqlTableUpdater():
def __init__(self, tableName, tableColumns=[], coreInfo={}):
self.tableName = tableName
se... |
#ifndef BUS_H
#define BUS_H
extern uint8_t device_address;
void bus_interface_init(void);
void bus_init(void);
void __attribute__((noreturn)) bus_mainloop(void);
#endif |
#ifndef ICALBYDAYMASK_H
#define ICALBYDAYMASK_H
#import <Foundation/NSObject.h>
#import "iCalRecurrenceRule.h"
typedef enum {
<API key> = 0x001, // order
<API key> = 0x002, // 2^(order - 1)
<API key> = 0x004,
<API key> = 0x008,
<API key> = 0x010,
<API key> = 0x3ff,
<API key> ... |
package teammates.test.cases.action;
import org.testng.annotations.Test;
import teammates.common.datatransfer.DataBundle;
import teammates.common.datatransfer.attributes.<API key>;
import teammates.common.datatransfer.attributes.<API key>;
import teammates.common.datatransfer.attributes.<API key>;
import teammates.comm... |
#ifndef _INCLUDED_emserr_h
#define _INCLUDED_emserr_h
#include "types.h"
#include "status.h"
#if defined(__cplusplus)
extern "C" {
#endif
extern tibems_status
<API key>(
tibemsErrorContext* errorContext);
extern tibems_status
<API key>(
tibemsErrorContext errorContext);
extern tibems_status
<AP... |
# accounts/authentication.py
import requests
import logging
from django.conf import settings
from django.contrib.auth import get_user_model
logger = logging.getLogger(__name__)
User = get_user_model()
PERSONA_VERIFY_URL = 'https://verifier.login.persona.org/verify'
#DOMAIN = 'localhost'
class Persona<API key>(object):
... |
#!/bin/bash
for jobdir in $(ls -l|grep ^d|awk '{print $9}');do
# Determine job type
jobtype=$(echo $jobdir|cut -d '-' -f4)
case $jobtype in
absperm)
sub="qsub -lwalltime=08:00:00 -lnodes=1:ppn=8 -N $jobdir -M tor@numericalrocks.com /home/steel/runscript-absperm.sh"
;;
rwabsperm)
... |
#ifndef MIDI_CHUNK_H
#define MIDI_CHUNK_H
#include <ostream>
#include <istream>
#include <vector>
#include "midi.h"
namespace MIDI
{
class Chunk
{
public:
char id[4];
u32 size;
u8* data;
Chunk();
Chunk(const char *i, const u32 s, const u8 *p = NULL);
Chunk(std::i... |
#include <iostream>
#include <fstream>
#include <iterator>
#include <string>
#include <set>
#include <stdio.h>
#include <algorithm>
using namespace std;
typedef unsigned long long U64;
typedef int S32;
typedef unsigned int U32;
typedef struct tag_things
{
U64 nCode;
S32 nLongitude;
S32 nLatitude;
U32... |
import os
import sys
import subprocess
testP = {
"2005": [
{
"date": "2005-10-17",
"videos": [
"http:
"http://thecolbertreport.cc.com/videos/w9dr6d/first-show",
"http://thecolbertreport.cc.com/videos/63ite2/<API key>",
"http://thecolbertreport.cc.com/videos/2hvbwp/<API ... |
<?php
defined('_JEXEC') or die('Restricted access');
require_once(JPATH_SITE.DS.'components'.DS.'com_youtubegallery'.DS.'includes'.DS.'render.php');
require_once(JPATH_SITE.DS.'components'.DS.'com_youtubegallery'.DS.'includes'.DS.'misc.php');
$listid=(int)$params->get( 'listid' );
$themeid=(int)$params->get( 'themeid' ... |
<?php
$absolute_path = __FILE__;
$path_to_file = explode( 'wp-content', $absolute_path );
$path_to_wp = $path_to_file[0];
require_once( $path_to_wp.'/wp-load.php' );
$to = isset($_POST['to'])?trim($_POST['to']):'';
$name = isset($_POST['name'])?trim($_POST['name']):'';
$email = isset($_POST['email'])?trim($_POST['email... |
<html lang="en">
<head>
<title>abbr - GNU Texinfo 4.8</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Texinfo 4.8">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Indicating.html#Indicating" titl... |
/* $Id: http_client.h 3227 2010-06-29 13:43:05Z ming $ */
#ifndef <API key>
#define <API key>
/**
* @file http_client.h
* @brief Simple HTTP Client
*/
#include <pj/activesock.h>
#include <pjlib-util/types.h>
PJ_BEGIN_DECL
/**
* @defgroup PJ_HTTP_CLIENT Simple HTTP Client
* @ingroup PJ_PROTOCOLS
* @{
* This conta... |
using System;
namespace Server.Items
{
public class StatuetteDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowStatuettes{ get{ return true; } }
public override int TargetMessage{ get{ return 1049777;... |
#include <iconv.h>
#include <string.h>
#include "ass_mp.h"
#include "mp_global.h"
#include "mp_msg.h"
#include "libmpdemux/stheader.h"
#include "sub/isdbsubdec.h"
#include "libavutil/avstring.h"
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#undef AV_NOPTS_VALUE
#define AV_NOPTS_VALUE ((signed)INT64_C(... |
<?php # -*- coding: utf-8 -*-
namespace W2M\Test\Unit\Import\Iterator;
use
W2M\Import\Iterator,
W2M\Test\Helper,
SimpleXMLElement;
class TermIteratorTest extends Helper\MonkeyTestCase {
public function test_current() {
$sxml = new SimpleXMLElement( '<root/>' );
$iterator_mock... |
// This program is free software: you can redistribute it and/or modify
// the Free Software Foundation, version 2.0 or later versions.
// 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 w... |
'use strict';
angular.module('sbAdminApp')
.controller('CustomerListCtrl', function ($scope, $http, $rootScope, $stateParams, $location) {
$scope.page = {itemsPerPage: 20};
$scope.iForm = {pageSize : $scope.page.itemsPerPage};
$scope.showLevel = true;
if ($stateParams.searchFounder =... |
.itemmoex{
float: left;
padding: 10px;
}
.moexname {
float:left;
}
.moexvalue {
float: left;
font-size: 24px;
line-height: 30px;
margin-left: 10px;
}
.moexdif {
float: left;
clear: left;
margin-left: 40px;
}
.moexlegend {
clear: left;
font-size: 12px;
color:#999;
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <time.h>
int main(void)
{
int handle;
char msg[] = "This is a test";
char ch[50];
int n;
/* create a file */
handle = open("hello.txt", O_CREAT | O_RDWR, 0777);
/... |
# INSTALL PROCEDURE (for Debian linux)
for copy/paste on terminal use ctrl+shift+v (you must activate terminal shortcut keys)
# COMMANDS (when install is finished)
SSH CONNECT: ssh *user@serverip* -p *portnumber*
REMOTE CONNECT: mysql -h *serverip* -P *mariadbport* -u root -p
DUMP: mysqldump -h *serverip* -P *... |
#!/usr/bin/env lua
-- -*-lua-*-
-- $Id: pm_led.lua $
-- Created: Wed Mar 13 09:38:57 2013 mstenber
-- Last modified: Mon Sep 30 13:33:12 2013 mstenber
-- Edit time: 21 min
-- This is used to indicate the pm.lua state to external parties. Two
-- notifications are currently supported:
-- 'pd' indicates there is... |
# -*- coding: utf-8 -*-
import random
from operator import attrgetter
import pytest
from cfme import test_requirements
from cfme.cloud.provider import CloudProvider
from cfme.cloud.provider.azure import AzureProvider
from cfme.cloud.provider.ec2 import EC2Provider
from cfme.cloud.provider.gce import GCEProvider
from cf... |
#nav-drop {
margin-left: 50px; }
#navbar > li {
display: inline;
float: left;
margin-left: 30px; }
#navbar > ul > li > a {
color: #fff;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.4); }
#navbar > li > a:hover {
background: none; }
#navbar {
margin-top: 105px;
background: none;
border: none;
box-shadow: n... |
(function() {
tinymce.PluginManager.requireLangPack('kotofey_shortcodes');
tinymce.create('tinymce.plugins.kotofey_shortcodes', {
init : function(ed, url) {
ed.addCommand('<API key>', function() {
ed.windowManager.open({
file : url + '/interface.php',
... |
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/spinlock.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsi_transport.h>
#include <linux/libat... |
#include "common.h"
#include "font.h"
#ifdef PSP_BUILD
#include <pspctrl.h>
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspgu.h>
#include <psppower.h>
#include <psprtc.h>
static float *screen_vertex = (float *)0x441FC100;
static u32 *ge_cmd = (u32 *)0x441FC000;
static u16 *psp_gu_vram... |
#ifndef __ASM_ARM_IRQ_H
#define __ASM_ARM_IRQ_H
#include <mach/irqs.h>
#ifndef irq_canonicalize
#define irq_canonicalize(i) (i)
#endif
#ifndef NR_IRQS
#define NR_IRQS 128
#endif
/*
* Use this value to indicate lack of interrupt
* capability
*/
#ifndef NO_IRQ
#define NO_IRQ ((unsigned int)(-1))
#endif
/*
* ... |
package com.lj.learning.dao;
// THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS
// KEEP INCLUDES - put your custom includes here
// KEEP INCLUDES END
/**
* Entity mapped to table "SHEET".
*/
public class Sheet implements java.io.Serializable {
private Long id;
/** Not-null value. */
... |
Beans - Atom Snippet Plugin
=================
This package adds support for Beans related snippets in the Atom editor.
* [Issues](https://github.com/ThemeButler/<API key>/issues)
## Current snippets available:
* [Add Attribute](#add-attribute)
* [Remove Attribute](#remove-attribute)
* [Replace Attribute](#replace-attri... |
#ifndef NET_HTTP_HTTP_<API key>
#define NET_HTTP_HTTP_<API key>
#pragma once
#include <map>
#include <string>
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "net/base/net_export.h"
#include "net/http/http_auth.h"
#include "net/http/<API key>.h"
class GURL;
namespace net {
class BoundNetLog;
class HostRe... |
object-diff
========
A tool for comparing java objects |
#ifndef MDP4_H
#define MDP4_H
extern struct mdp_dma_data dma2_data;
extern struct mdp_dma_data dma_s_data;
extern struct mdp_dma_data dma_e_data;
extern struct mdp_dma_data dma_wb_data;
extern unsigned int mdp_hist_frame_cnt;
extern struct completion mdp_hist_comp;
extern boolean mdp_is_in_isr;
extern uint32 mdp_intr_m... |
package Net::Gopher::Response;
=head1 NAME
Net::Gopher::Response - Class encapsulating Gopher responses
=head1 SYNOPSIS
use Net::Gopher;
my $response = $ng->request($request);
if ($response->is_success) {
if ($response->is_menu) {
# you can use as_menu() to parse Gopher menus:
my @items = $res... |
<?php
/**
* This houses all the code to integrate with X
*/
class <API key> {
/**
* Theme integrations should provide a stylesheet function returning the stylesheet name
* This will be matched with get_stylesheet() to determine if the integration will load
*/
public static function stylesheet()... |
/*
* $Id: hppcl.h,v 1.5 2008-07-27 03:22:41 haley Exp $
*/
#ifndef _hppcl_
#define _hppcl_
#define HPPCL_RESET "E"
#define HPPCL_PORTRAIT "&l0O"
#define HPPCL_LANDSCAPE "&l1O"
#define HPPCL_ENCODING ""
#define HPPCL_START "1A"
#define HPPCL_END "B"
#define HPPCL_EJEC... |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<div class="jbBoxTopLeft"><div class="jbBoxTopRight"><div class="jbBoxTop">
<div class="jbTextHeader"><?php echo JText::_('<API key>'); ?></div>
</div></div></div>
<div class="jbBoxOuter"><div class="jbBoxInner">
<div class="jbLeft jbMa... |
<HTML
><HEAD
><TITLE
>Audio</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="SDL Reference"
HREF="reference.html"><LINK
REL="PREVIOUS"
TITLE="SDL_JoystickClose"
HREF="sdljoystickclose.html"... |
<nav>
<ul>
<li><a href="">Usuaris</a></li>
</ul>
</nav> |
#ifndef LMP_FORCE_H
#define LMP_FORCE_H
#include "pointers.h"
#include <map>
#include <string>
namespace LAMMPS_NS {
class Force : protected Pointers {
public:
double boltz; // Boltzmann constant (eng/degree-K)
double hplanck; // Planck's constant (energy-time)
double mvv2... |
public class ValueGenerator {
} |
package remasterkit;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.border.TitledBorder;
import javax.swing.bo... |
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>
#include "posixtest.h"
void handler(int signo)
{
}
int main()
{
struct sigaction act;
act.sa_handler = handler;
act.sa_flags = 0;
sigemptyset(&act.sa_mask);
sigaddset(&act.sa_mask, SIGSTOP);
if (... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
from <API key> import USERNAME, PASSWORD, OMERO_WEB_HOST, \
SERVER_NAME
session = requests.Session()
# Start by getting supported versions from the base url...
api_url = '%s/api/' % OMERO_WEB_HOST
print "Starting at:", api_url
r = session.get(api_url)
# ... |
CREATE FUNCTION [dbo].[<API key>]
(
@fd DATETIME,
@td DATETIME,
@campusid INT,
@pledges BIT,
@nontaxded BIT,
@includeUnclosed BIT,
@tagid INT,
@fundids VARCHAR(MAX)
)
RETURNS TABLE
AS
RETURN
(
SELECT
p.FamilyId,
p.PeopleId,
c.ContributionDate AS Date,
CASE WHEN fa.HeadOfH... |
package com.algebraweb.editor.client;
import com.google.gwt.user.client.ui.Button;
/**
* A button for the control panel. Will be styled accordingly.
*
* @author Patrick Brosi
*
*/
public class ControlPanelButton extends Button {
public ControlPanelButton(String desc) {
super();
this.addStyleNam... |
<?php
interface AccesoDAO{
/**
* Get Domain object by primry key
*
* @param String $id primary key
* @Return Acceso
*/
public function load($id);
/**
* Get all records from table
*/
public function queryAll();
/**
* Get all records from table ordered by field
... |
#python imports
import sys
import os
import time
import datetime
import subprocess
import json
import requests
from termcolor import colored
#third-party imports
#No third-party imports
#programmer generated imports
from logger import logger
from fileio import fileio
def POE(POE):
if (POE.logging == True):
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
* {
margin: 0;
padding: 0;
}
body {
font-size: 12px;
line-height: 1.7;
}
li {
list-style: none;
}
#content {
... |
// QueenMaxima, a chess playing program.
// 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 th... |
<?php
/*
* Comments cell type.
* Displays form and coments
*
*/
if( !function_exists('<API key>') )
{
function <API key>() {
if ( function_exists('<API key>') ) {
<API key> ( 'comments-cell',
array (
'name' => __('Comments', 'ddl-lay... |
<?
class CategoryID extends Handler {
protected $REST_vars;
protected $DBs;
protected $User;
// RUN //
public function run() {
switch ( $this->REST_vars["method"] ) {
case "get":
$this->get();
break;
... |
<?php
/**
* Controllo se il file viene richiamato direttamente senza
* essere incluso dalla procedura standard del plugin.
*
* @package SZGoogle
*/
if (!defined('SZ_PLUGIN_GOOGLE') or !SZ_PLUGIN_GOOGLE) die();
$HTML = <<<EOD
<h2>Documentation</h2>
<p>With this feature you can place on its website a widget that dis... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport
*/
#import <iWorkImport/GQDRStrokePattern.h>
#import <iWorkImport/XXUnknownSuperclass.h>
#import <iWorkImport/iWorkImport-Structs.h>
__attribute__((visibility("hidden")))
@interface G... |
#ifndef MANGOS_MAP_H
#define MANGOS_MAP_H
#include "Common.h"
#include "Platform/Define.h"
#include "Policies/ThreadingModel.h"
#include "ace/RW_Thread_Mutex.h"
#include "ace/Thread_Mutex.h"
#include "DBCStructure.h"
#include "GridDefines.h"
#include "Cell.h"
#include "Object.h"
#include "Timer.h"
#include "SharedDefin... |
const fs = require('fs');
const util = require('../../util');
// test equality
function equal(a, b, options) {
if (a === b) {
return options.fn(this);
}
return options.inverse(this);
}
// great than
function gt(a, b, options) {
if (a >= b) {
return options.fn(this);
}
return options.inverse(this);
}... |
<?php
/**
* @file
* Definition of Drupal\views_ui\ViewUI.
*/
namespace Drupal\views_ui;
use Drupal\views\ViewExecutable;
use Drupal\Core\Database\Database;
use Drupal\Core\TypedData\<API key>;
use Drupal\views\Plugin\views\query\Sql;
use Drupal\views\Plugin\Core\Entity\View;
use Drupal\views\<API key>;
/**
* Stores... |
#ifndef LINUX_HARDIRQ_H
#define LINUX_HARDIRQ_H
#include <linux/preempt.h>
#include <linux/lockdep.h>
#include <linux/ftrace_irq.h>
#include <asm/hardirq.h>
/*
* We put the hardirq and softirq counter into the preemption
* counter. The bitmask has the following meaning:
*
* - bits 0-7 are the preemption count (max ... |
<?php
/*
* Description : front page video search page layout
*/
?> |
// m25pxx.c
// SPI flash driver for Numonyx M25Pxx devices and compatibles.
//
// This file is part of eCos, the Embedded Configurable Operating System.
// eCos is free software; you can redistribute it and/or modify it under
// Software Foundation; either version 2 or (at your option) any later
// version.
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.