answer stringlengths 15 1.25M |
|---|
#include <linux/fs.h>
#include <linux/syscalls.h>
#include <linux/kobject.h>
#include <linux/string.h>
#include <linux/sysfs.h>
#include <linux/module.h>
#include <linux/init.h>
#include <plat/lge_nvdata_handler.h>
#define MAX_SIZE 100
static int offset;
static char <API key>[MAX_SIZE];
static char <API key>[MAX_SIZE];... |
<?php
/**
* The Template for displaying product archives, including the main shop page which is a post type archive.
*
* Override this template by copying it to yourtheme/woocommerce/archive-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'A... |
<a rel="nofollow" href="http:
-
## 20200727_04.md [PostgreSQL - openapi - ](20200727_04.md)
## 20200727_03.md [PostgreSQL 14 preview - - seqscan io chunk, IO , ](20200727_03.md)
## 20200727_02.md [PostgreSQL ()hook - login "trigger"](20200727_02.md)
## 20200727_01.md [PostgreSQL COPY SQLbinary](20200727_0... |
(function () {
"use strict";
WinJS.UI.Pages.define("/views/torrents.html", {
// This function is called whenever a user navigates to this page. It
// populates the page elements with the app's data.
ready: function (element, options) {
var appName = 'mainApp';
ang... |
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-h501.c */
/* ../../tools/asn2wrs.py -p h501 -c ./h501.cnf -s ./<API key> -D . -O ../../... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (version 1.7.0_60) on Mon Jan 23 13:30:44 COT 2017 -->
<title>Constant Field Values</title>
<meta name="date" content="2017-01-23">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<scri... |
<?php die("Access Denied"); ?>#x#s:4492:" 1451372503
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<script type="text/javascript">
var siteurl='/';
var tmplurl='/templates/ja_mendozite/';
var isRTL = false;
</script>
<base href="http://zon.com.tw/zh/component/mailto/" />
<meta http-equiv="content-... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.10.29 at 06:46:24 PM CET
package org.jvnet.ogc;
import java.util.ArrayList;
import jav... |
#include <windef.h>
#include <winsvc.h>
#include <wine/debug.h>
<API key>(spoolsv);
static VOID CALLBACK ServiceMain(DWORD argc, LPWSTR *argv);
static WCHAR ServiceName[] = L"Spooler";
static <API key> ServiceTable[] =
{
{ServiceName, ServiceMain},
{NULL, NULL}
};
<API key> ServiceStatusHandle;
SERVICE_STATUS S... |
/**
* This class is generated by jOOQ
*/
package schema.information_schema.tables.records;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(
value = {
"http:
"jOOQ version:3.5.4"
},
comments = "This class is generated by jOOQ"
)
@java.lang.SuppressWarnings({ "all", "... |
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "MapManager.h"
#include "Chat.h"
#include "Common.h"
#include "Language.h"
#include "CellImpl.h"
#include "GridNotifiers.h"
class vipcommands : public CommandScript
{
public:
vipcommands() : CommandScript("vipcommands") { }
ChatCommand* GetCommands() const
... |
# seven-wonders-back
## Development prerequisites
You have to install the following tools :
* [Java 7](http:
* [Maven 3](https://maven.apache.org/download.cgi)
**NOTE** : You may have to add several paths to the PATH variable on Windows.
## Getting started
In order to run the applications, you have to follow these step... |
package com.sun.javafx.css;
import com.sun.javafx.util.Logging;
import javafx.css.CssMetaData;
import javafx.css.ParsedValue;
import javafx.css.StyleConverter;
import javafx.css.Styleable;
import sun.util.logging.PlatformLogger;
import sun.util.logging.PlatformLogger.Level;
import java.io.DataInputStream;
import java.i... |
<?php get_header(); ?>
<div class="title">
<h2><?php _e('Error 404 - File Not Found'); ?></h2>
</div>
<div <?php post_class(); ?>>
<p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.'); ?></p>
<?php include (TEMPLATEPATH . "/search... |
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/regulator/consumer.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include "../iio.h"
#include "../sysfs.h"
#include "../... |
<div class="container" id="mainContent">
<div id="topOfPage">
</div>
<h1>
Submit Feedback
</h1>
<br>
<form action="/page/<API key>" method="post" name="<API key>">
<input name="fsname" type="hidden" value="First Session">
<input name="courseid" type="hidden" value="IFSubmitUiT.CS2104">
<inpu... |
#include <stdio.h>
#include <string>
#include <vector>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <wcg_api.h>
void dfs(std::string &digits, std::vector<std::string> &dict, int index, char *res){
if(index == (int)digits.size()){
fprintf(stdout, "%s\n", res);
return;
}
std::... |
<?php
namespace Drupal\feeds\Plugin\QueueWorker;
use Drupal\feeds\Event\FeedsEvents;
use Drupal\feeds\Event\InitEvent;
use Drupal\feeds\Event\ProcessEvent;
use Drupal\feeds\FeedInterface;
use Drupal\feeds\Result\<API key>;
use Drupal\feeds\StateInterface;
/**
* @QueueWorker(
* id = "feeds_feed_process",
* title ... |
<?php
namespace PHPExiftool\Driver\Tag\XMPPlus;
use PHPExiftool\Driver\AbstractTag;
class CreditLineRequired extends AbstractTag
{
protected $Id = 'CreditLineRequired';
protected $Name = 'CreditLineRequired';
protected $FullName = 'XMP::plus';
protected $GroupName = 'XMP-plus';
protected $g0 = 'XMP'... |
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <errno.h>
#include <unistd.h>
#include <inttypes.h>
#include <string.h>
#include <libkmod.h>
#include <getopt.h>
static const char cmdoptions_short[] = "lh";
static const struct option cmdoptions[] = {
{"load-resources", no_argument, 0, 'l'},
{... |
#ifndef DRAW_POWERBUTTON_H
#define DRAW_POWERBUTTON_H
inline int <API key>()
{
return 160;
}
inline int <API key>()
{
return 64;
}
inline void <API key>(cairo_t *cr, int val)
{
cairo_pattern_t *pattern;
cairo_matrix_t matrix;
cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
pattern = <API key>(91.92... |
<?php
defined('JPATH_BASE') or die;
/**
* Transform api output
*
* @package Redcore
* @subpackage Api
* @since 1.4
*/
class <API key> extends <API key>
{
/**
* Method to transform an internal representation to an external one.
*
* @param mixed $definition Field definition.
*... |
<?php
namespace PHPixie\ORM\Relationships\Type\OneTo\Side;
abstract class Config extends \PHPixie\ORM\Relationships\Relationship\Implementation\Side\Config
{
public $ownerModel;
public $itemModel;
public $ownerKey;
public $itemOwnerProperty;
public $onDelete;
protected function processConfig($co... |
#include <cmath>
#include "contact_force.hh"
/*
* TODO: discuss threading VS static
*/
//using namespace BG;
using namespace Coordinates;
using namespace Geometry;
// local structure for intersection (overlapping) data.
// !members` declaration order supposed to be optimized by memory
struct CollisionData
{
vector<... |
//Write a program that converts upper case or lower case to upper, depending on the name it is invoked with, as found in argv[0]
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#define MAX 50
int main(int argc, char *argv[])
{
int i;
if (argc == 1)
{
printf("No string t... |
/**
* <API key>.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
*/
package tudu.web.ws.axis;
public class <API key> extends org.apache.axis.client.Stub implements tudu.web.ws.axis.AxisTuduLists {
private java.util.Vector cachedSerClasses =... |
<div class="container">
<?php echo form_open('admin/create', array('class' => 'form editor')); ?>
<?php echo validation_errors('<div class="alert alert-danger">', '</div>'); ?>
<div><input type="text" class="form-control" name="title" value="<?php echo set_value('title'); ?>" size="50" placeholder="... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ru">
<head>
<title>Uses of Class org.apache.poi.ss.formula.ptg.DeletedRef3DPtg (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (l... |
#include <test-double-vlen8.h>
#include "libm-test.c" |
/* The classes below are not exported */
#pragma GCC visibility push(hidden)
class LigthLibrairiePriv
{
public:
void HelloWorldPriv(const char *);
};
#pragma GCC visibility pop |
## -*- mode: python; 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 PURP... |
#!/bin/bash
vagrant ssh -c '/vagrant/server-scripts/headlessx.sh' |
#pragma once
#include "AbstractModule.h"
#include <assert.h>
#include <memory>
#include <shared_mutex>
#include <string>
#include <unordered_map>
namespace visor {
/**
* called from HTTP threads so must be thread safe
*/
template <typename ModuleType>
class AbstractManager
{
static_assert(std::is_base_of<Abstract... |
using System;
using FluentAssertions;
using FreelanceManager.Events.Account;
using FreelanceManager.ReadModel.EventHandlers;
using FreelanceManager.ReadModel.Repositories;
using FreelanceManager.Tools;
using Xunit;
namespace FreelanceManager.ReadModel.<API key>
{
public class <API key> : Specification
{
... |
<?php
/*
* WBAvatar Config Sample
*/
define( 'IMAGEDIR', '' );
define( 'AKEY', '' );
define( 'ASEC', '' );
define( 'RURL', '' ); |
# -*- 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 with this program; if not, write to the Free Soft... |
#!/usr/bin/perl
# Produced at the Lawrence Livermore National Laboratory.
# Written by Jeff Long <long6@llnl.gov>, et. al.
# LLNL-CODE-640252
# This file is part of Lorenz.
# This program is free software; you can redistribute it and/or modify it
# Free Software Foundation) version 2, dated June 1991.
# This program is... |
#include <inttypes.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <string.h>
#include <stdio.h>
#include "ambilight.h"
void cmdGetStatus(uint8_t argc, char** argv)
{
unsigned int status;
volatile uint8_t* address = <API key>;
status = *address;
printf_P(PSTR("status: %d\n"), status);
} |
package com.test.manager;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
class GuiMain extends JFrame {
private static fi... |
/*
Forces backgrounds to span full width,
even if there is horizontal scrolling.
Increase this if your layout is wider.
Note: IE6 works fine without this fix.
*/
.container_24 {
margin-left: auto;
margin-right: auto;
width: 960px;
}
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .gri... |
package org.parallelzero.hancel.services;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import org.parallelzero.hancel.Config;
import java.util.Calendar;
public class <A... |
.row { padding:15px 0 15px 0; border-bottom:1px dotted #dfdfdf; }
.row p { margin:0; padding:0; }
.row label { vertical-align:middle; }
.row p.note { font-size:11px; color:#777; clear:both; }
.row p.value { font-size:11px; color:#333; clear:both; }
.multicheckbox, .input_radio { float:left; margin:0 10px 10px 5px; wid... |
#ifndef _REISER_FS_I
#define _REISER_FS_I
#include <linux/list.h>
struct <API key>;
typedef enum {
<API key> = 0x0001,
<API key> = 0x0002,
<API key> = 0x0004,
i_nopack_mask = 0x0008,
<API key> = 0x0010,
<API key> = 0x0020,
i_has_xattr_dir = 0x0040,
i_data_log = 0x0080,
i_ever_mapped ... |
/*
* DEFS: include file for hack programs.
*/
#include <stdinc.h>
#include <vectmath.h>
#include <assert.h>
/*
* GLOBAL: pseudo-keyword for storage class.
*/
#if !defined(global)
# define global extern
#endif
/*
* NODE: data common to BODY and CELL structures.
*/
typedef struct {
short type; ... |
<?php
/**
* Helper functions for handling AJAX requests
*
* @since 1.0.0
* @package <API key>
* @subpackage <API key>/includes
* @author Yaron Guez <yaron@trestian.com>
*/
/**
* Ajax helper class
*/
class Um_Raf_Ajax {
/**
* Return response for WP ajax
*
* @param string $message Response mes... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/cpu.h>
#include <linux/jiffies.h>
#include <linux/kernel_stat.h>
#include <linux/mutex.h>
#include <linux/hrtimer.h>
#include <linux/tick.h>
#include <linux/ktime.h>
#include <linux/sched.h>
#include <... |
#!/bin/bash
set -e
IMAGES=$1
ISO=${IMAGES}/iso
mkdir -p ${ISO}/boot
cp ${IMAGES}/bzImage ${ISO}/boot/bzImage
ROOTFS=/tmp/root
mkdir -p ${ROOTFS}
tar xJf ${IMAGES}/rootfs.tar.xz -C ${ROOTFS}
cd ${ROOTFS}
find | cpio -H newc -o | xz -9 -C crc32 -c > ${ISO}/boot/initrd
mkdir -p ${ISO}/boot/isolinux
cp /usr/lib/syslinux/is... |
#include "qgsproviderregistry.h"
#include <QString>
#include <QDir>
#include <QLibrary>
#include "qgis.h"
#include "qgsdataprovider.h"
#include "qgslogger.h"
#include "qgsmessageoutput.h"
#include "qgsmessagelog.h"
#include "qgsprovidermetadata.h"
#include "qgsvectorlayer.h"
#include "qgsproject.h"
#include "providers/... |
package org.ssanalytics.snapshotplugin.domainModel.crawlerData.contract.superInterfaces;
public interface IBaseDomain {
// public Long getTimestamp();
public String getSnapshotId();
public String getChecksum();
public String getAccountId();
} |
#include <stdio.h>
#include <stdlib.h>
#include "suma.h"
int main(int argc, const char **argv){
double op[2];
printf("Este programa suma.\n\n");
for(int i=0; i<2; i++){
printf("operando %i: ", i+1);
scanf(" %lf", &op[i]);
}
printf(" RESULTADO = %.2lf \n",
suma(op[0], op[1... |
/**
* A BufferedStore maintains a sparsely populated map of pages corresponding to an extremely large server-side dataset.
*
* Use a BufferedStore when the dataset size is so large that the database and network latency, and client memory requirements
* preclude caching the entire dataset in a regular {@link Ext.dat... |
//algo de tri alphabetique
void tri_alphabeticAZ(unsigned int minimun, unsigned int maximum)
{
//unsigned int longueur;
unsigned int tampon,ligne1,ligne2;
unsigned int min;
//tri des dossiers en premier
for (ligne1=minimun;ligne1<maximum-1;++ligne1){
min=ligne1;
for (ligne2=ligne1+1;... |
#ifndef OLEOH
#define OLEOH
extern void oleo_read_file (FILE *, int);
extern void oleo_write_file (FILE *, struct rng *);
extern int oleo_set_options (int, char *);
extern void oleo_show_options (void);
#endif |
<!DOCTYPE html>
<html>
<head>
<title>Intrebarea6.</title>
<link rel="stylesheet" type="text/css" href="../Css/ResponsiveDesign.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js"></script>
</head>
<body>
... |
#ifndef QCURSORPROPERTY_H
#define QCURSORPROPERTY_H
#include "qenumproperty.h"
class XmlNode;
class KERNEL_EXPORT QCursorProperty : public QEnumProperty
{
Q_OBJECT
public:
QCursorProperty(QAbstractProperty* parent=0);
protected:
void makeValue(XmlNode *xml);
void writeValue(XmlNode *xml);
};
#endi... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "classes/databasemanager.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
DatabaseManager *databaseManager() const;
void se... |
# IMAP repository support
# <jgoerzen@complete.org>
# 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 t... |
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/spinlock.h>
#include "tpm.h"
enum tpm_const {
TPM_MINOR = 224, /* officially assigned */
TPM_BUFSIZE = 2048,
TPM_NUM_DEVICES = 256,
};
enum tpm_duration {
TPM_SHORT = 0,
TPM_MEDIUM = 1,
TPM_LONG = 2,
TPM_UNDEFINED,
};
#defin... |
<?php
defined('_JEXEC') or die('Restricted access');
$align = $this->app->jbitem->getMediaAlign($item, $layout);
$tabsId = $this->app->jbstring->getId('tabs');
$bootstrap = $this->app->jbbootstrap;
$rowClass = $bootstrap->getRowClass();
?>
<?php if ($this->checkPosition('title')) : ?>
<h1 class="item-tit... |
package com.oracle.truffle.r.test.builtins;
import org.junit.Test;
import com.oracle.truffle.r.test.TestBase;
// Checkstyle: stop line length check
public class <API key> extends TestBase {
@Test
public void testmakeunique1() {
assertEval("argv <- list(c('A', 'B', 'C', 'D', 'E', 'F'), '.'); .Internal(ma... |
/* ScriptData
SDName: <API key>
SD%Complete: 60
SDComment: Missing Multishot, Totems, Windfury, Whirlwind
SDCategory: Coilfang Resevoir, Serpent Shrine Cavern
EndScriptData */
#include "precompiled.h"
#include "serpent_shrine.h"
enum
{
SAY_AGGRO = -1548021,
SAY_GAIN_BLESSING ... |
#ifndef QGFXLINUXFB_QWS_H
#define QGFXLINUXFB_QWS_H
#ifndef QT_NO_QWS_LINUXFB
#include "qgfx_qws.h"
class QLinuxFb_Shared
{
public:
volatile int lastop;
volatile int optype;
volatile int fifocount; // Accel drivers only
volatile int fifomax;
volatile int forecol; // Foreground colour cacheing
... |
/* #define DEBUG */
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/clk.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#in... |
/*! \file
*
* \brief String manipulation dialplan functions
*
* \author Tilghman Lesher
* \author Anothony Minessale II
* \ingroup functions
*/
#include "asterisk.h"
<API key>(__FILE__, "$Revision$")
#include <regex.h>
#include <ctype.h>
#include "asterisk/module.h"
#include "asterisk/channel.h"
#include "asteri... |
// <API key>: GPL-2.0-or-later
#include "inputwidget.h"
#include <QLinkedList>
#include <QMessageLogContext>
#include <QRegularExpression>
#include <QSize>
#include <QString>
#include <QtGui>
#include <QtWidgets>
#include "../configuration/configuration.h"
static constexpr const int MIN_WORD_LENGTH = 3;
static const QR... |
<?php
namespace Magento\SalesRule\Test\Unit\Model\Service;
/**
* Class <API key>
*
* @SuppressWarnings(PHPMD.<API key>)
*/
class <API key> extends \PHPUnit\Framework\TestCase
{
/**
* @var \Magento\SalesRule\Model\Service\<API key>
*/
protected $model;
/**
* @var \<API key>
*/
pro... |
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include "net_driver.h"
#include "bitfield.h"
#include "efx.h"
#include "nic.h"
#include "regs.h"
#include "io.h"
#include "workarounds.h"
/* This is set to 16 for a good reason. In summary, ... |
<p>
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php esc_html_e( 'Title:', '<API key>' ); ?>
<input type="text" class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" value="<?php echo esc_... |
#include "socket.h"
#ifndef __MINGW32__
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#endif
#include <errno.h>
#if defined(TCP_FASTOPEN) && !defined(SOL_TCP) && defined(IPPROTO_TCP)
#define SOL_TCP IPPROTO_TCP
#endif
int socket_fastopen(int s) {
#if defined(SOL_TCP) &&... |
<?xml version='1.0' encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-
<html lang="en" xml:lang="en" xmlns="http:
<head>
<link href="cpip.css" rel="stylesheet" type="text/css" />
<title>File: /Users/paulross/dev/Python-3.6.2/Include/floatobject.h</title>
</head>
<body>
<h1>File: /Users/paulross/dev/Python-3.... |
<?php
if (!@include_once("./incl/auth.inc.php"))
include_once("../incl/auth.inc.php");
if ($AllowCreateFolder && isset($_GET['create']) && isset($_POST['directory_name']))
{
$umask = umask(0);
if (!is_valid_name(stripslashes($_POST['directory_name'])))
print "<font color='#CC0000'>$<API key></font>";
else if (fil... |
<?php
if (isset($_POST['<API key>'])) {
echo "Submitted";
}
$data = $this->data;
?>
<form action="" method="post" id="grab-from-site-form" class="type-form">
<div class="<API key>">
<label for="fromSite">From Site</label>
<select name="fromSite" id="fromSite">
<option value=""></opti... |
# GemRB - Infinity Engine Emulator
# 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;... |
#! /usr/bin/env python
import ppplot
import numpy as np
from optparse import OptionParser ### TBR by argparse
# inputs and options
parser = OptionParser()
parser.usage = \
'''
asciiplot.py [options] text file(s)
-- default is col2 for field and col1 for coord
-- this can be set with -x and -y options
(or use --swap ... |
<?php $captcha_word = 'F8HV'; ?> |
#ifndef <API key>
#define <API key>
#include <boost/ptr_container/ptr_list.hpp>
#include "mdxblock.hpp"
namespace wc3lib
{
namespace mdlx
{
/**
* Some MDX blocks are structured like:
* byte[4] MDX block name
* long32 group members count / group members bytes;
* ... group members list
* This class pro... |
<?php
class <API key> extends <API key>
{
function data()
{
$this->data =
'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<dc:subject>Feed Category</dc:subject>
</channel>
</rss>';
... |
using System.Web.Http;
using System.Web.Mvc;
namespace ProjectName.Presentation.Areas.HelpPage
{
public class <API key> : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
public override void Reg... |
#include <stdio.h>
#include <stdlib.h>
#define MAX 100
/*
* The pq[0] is the number of elements in the heap.
*/
int pq[MAX+1];
int N = 0; // Number of elements in the PQ
void swap(int *a, int *b)
{
int temp = *b;
*b = *a;
*a = *b;
}
/* Move the value at index k to satisfy the heap property */
void swim(in... |
package org.rubato.math.module;
public interface ProductFreeModule extends FreeModule {
public int getFactorCount();
public Ring[] getFactors();
public Ring getFactor(int i);
} |
<?php
ini_set("display_errors", 0);
require 'jsonwrapper.php';
list($usec, $sec) = explode(" ", microtime());
define('_SC_START', ((float) $usec + (float) $sec));
// Set flag that this is a parent file
define('_JEXEC', 1);
define(''/'', DIRECTORY_SEPARATOR);
$x = realpath(dirname(__FILE__) . '/' . ".." . '/' . ".." . '... |
// Cyphesis Online RPG Server and AI Engine
// 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... |
#upload{
margin:30px 200px; padding:15px;
font-weight:bold; font-size:1.3em;
font-family:Arial, Helvetica, sans-serif;
text-align:center;
background:#f2f2f2;
color:#3366cc;
border:1px solid #ccc;
width:150px;
cursor:pointer !important;
-moz-border-radius:5px; -<API key>:5px;
}
.d... |
#ifdef PAIR_CLASS
PairStyle(airebo/intel,PairAIREBOIntel)
#else
#ifndef <API key>
#define <API key>
#include "pair.h"
#include "fix_intel.h"
#include "pair_airebo.h"
namespace LAMMPS_NS {
template<class flt_t, class acc_t>
struct <API key>;
class PairAIREBOIntel : public PairAIREBO {
public:
PairAIREBOIntel(class LA... |
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package Clovemix
*/
get_header(); ?>
<div class="cont... |
<?php
?>
<?php
$modifer = 'none';
if ( is_404() ) {
$modifer = '404';
} elseif ( is_search() ) {
$modifer = 'search';
}
?>
<article class="article article--<?php echo esc_attr( $modifer ); ?>">
<div class="entry">
<div class="entry__content">
<?php if ( is_404() ) : ?>
<p... |
<?php
// no direct access
defined('_JEXEC') or die;
?>
<ul class="menu">
<?php
require JModuleHelper::getLayoutPath('<API key>', $params->get('layout', 'default').'_items');
?></ul> |
/*
* $Id: snmp_api_util.h 17 2008-01-16 09:25:35Z slavik $
*/
#ifndef <API key>
#define <API key>
/*
* snmp_api_util.h - API management.
* Didier DESIDERIO (SINFOR) - November 26th, 1997
*/
#define PACKET_LENGTH 4500
/*
* A list of all the outstanding requests for a particular session.
*/
struct request_list {
... |
#!/bin/bash
source experiment/run-library.sh
manifest="${PARAM_manifest:-conf/contperf/manifest.zip}"
inventory="${PARAM_inventory:-conf/contperf/inventory.ini}"
private_key="${PARAM_private_key:-conf/contperf/id_rsa_perf}"
<API key>="${<API key>:-8}"
<API key>="${<API key>:-1200}"
<API key>="${<API key>:-https://regis... |
import argparse
from erv import create_app
# Create the flask app.
app = create_app()
# Run the app
if __name__ == '__main__':
# Define the arguments.
parser = argparse.ArgumentParser()
parser.add_argument(
'--host',
default='0.0.0.0',
help='Host to bind to: [%(default)s].')
pars... |
package com.flickr4java.flickr.stats;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Domain {
/**
* Logger.
*/
@SuppressWarnings("unused")
private static Logger _log = LoggerFactory.getLogger(Domain.class);
public Domain() {
}
public Domain(String name, Long view... |
<!--div class="<API key> md-whiteframe-z1">
<table id="table" class="table table-hover table-bordered">
<thead>
<tr>
<th>
<th>state</th>
<th>Year</th>
<th>rate_class</th>
<th>num_oil_wells</th>
<th>oil_prod_BBL</th>
... |
INSERT INTO `secObjectName` (`objectName`, `description`, `orgapplicable`) VALUES ('_admin.schedule.curprovider_only','allow provider with non-admin role to create schedule templates and assign to themselves', 0); |
<?php
class <API key> extends Google_Collection
{
protected $collection_key = 'entries';
protected $<API key> = array(
);
protected $entriesType = '<API key>';
protected $entriesDataType = 'array';
public function setEntries($entries)
{
$this->entries = $entries;
}
public function getEntries()
{... |
<?php
/* @DEPRECATED */
defined('_JEXEC') or die;
require_once dirname(__DIR__) . '/assignment.php';
class <API key> extends RLAssignment
{
public function passPageTypes()
{
return $this->passByPageTypes('com_easyblog', $this->selection, $this->assignment);
}
public function passCategories()
... |
#ifndef _VIKING_UIBUILDER_H
#define _VIKING_UIBUILDER_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
/* Parameters (for I/O and Properties) */
typedef union {
gdouble d;
guint32 u;
gint32 i;
gboolean b;
const gchar *s;
GdkColor c;
GList *sl;
} VikLayerParamData;
typedef enum {
<API key>=0,
<API key>,
<API key... |
Object
===
Starting base to develop the JSON convertion.
The goal here is to make a codec converter for a json into any json node type. Here I began for jsons into forms, but I planed to make jsonParams able to convert jsons into everything (I am actually thinking about changing the template parameter behavior).
I plan... |
# Makefile for the touchscreen drivers.
# Each configuration option enables a list of files.
wm97xx-ts-y := wm97xx-core.o
obj-$(<API key>) += 88pm860x-ts.o
obj-$(<API key>) += ad7877.o
obj-$(<API key>) += ad7879.o
obj-$(<API key>) += ad7879-i2c.o
obj-$(<API key>) += ad7879-spi.o
obj-$(<API key>) += ad... |
#ifndef __XFS_QUOTA_H__
#define __XFS_QUOTA_H__
struct xfs_trans;
/*
* The ondisk form of a dquot structure.
*/
#define XFS_DQUOT_MAGIC 0x4451
#define XFS_DQUOT_VERSION (u_int8_t)0x01 /* latest version number */
/*
* uid_t and gid_t are hard-coded to 32 bits in the inode.
* Hence, an 'id' in a dquot is... |
#ifndef _REGS_H
#define _REGS_H
#define TBD 0
struct XENA_dev_config {
u64 general_int_status;
#define GEN_INTR_TXPIC s2BIT(0)
#define GEN_INTR_TXDMA s2BIT(1)
#define GEN_INTR_TXMAC s2BIT(2)
#define GEN_INTR_TXXGXS s2BIT(3)
#define GEN_INTR_TXTRAFFIC s2BIT(8)
#... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.