answer stringlengths 15 1.25M |
|---|
#include "stdinc.h"
#include "DCPlusPlus.h"
#include "ZUtils.h"
#include "Exception.h"
#include "ResourceManager.h"
const double ZFilter::<API key> = 0.9;
ZFilter::ZFilter() : totalIn(0), totalOut(0), compressing(true) {
memset(&zs, 0, sizeof(zs));
if(deflateInit(&zs, 3) != Z_OK) {
throw Exception(STRIN... |
#ifndef NO_TORRENT_SYSTEM
#ifdef _MSC_VER
#ifndef NOMINMAX
#define NOMINMAX
#endif // NOMINMAX
#include <winsock2.h>
#endif // _MSC_VER
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include <wx/intl.h>
#include <wx/choice.h>
#include <wx/statbox.h>
#include <wx/event.h>
#include <wx/regex... |
#ifndef TOUCHPANEL_H__
#define TOUCHPANEL_H__
/* Pre-defined definition */
/* Register */
#define FD_ADDR_MAX 0xE9
#define FD_ADDR_MIN 0xDD
#define FD_BYTE_COUNT 6
#define CUSTOM_MAX_WIDTH (720)
#define CUSTOM_MAX_HEIGHT (1280)
//#define TPD_UPDATE_FIRMWARE
#define TPD_HAVE_BUTTON
#define TPD_BUTTON_H... |
<?php
//add a button to the content editor, next to the media button
//this button will show a popup that contains inline content
add_action('<API key>', '<API key>');
//add some content to the bottom of the page
//This will be shown in the inline modal
if(is_admin()){
add_action('admin_footer', '<API key>');
}
//actio... |
/*
* @test <API key>
* @compile -J-XX:+<API key> -J-XX:+WhiteBoxAPI <API key>.java
* @compile -J-XX:+<API key> -J-XX:+WhiteBoxAPI <API key>.java
* @run main/othervm -XX:+<API key> -XX:+WhiteBoxAPI <API key>
* @author igor.ignatyev@oracle.com
*/
public class <API key> extends <API key> {
public static void mai... |
struct ConfigTable
{
unsigned char address;
unsigned char subaddress;
unsigned char data;
};
static const struct ConfigTable <API key>[] PROGMEM =
{
{ 0x98, 0xF4, 0x80 }, // CEC
{ 0x98, 0xF5, 0x7C }, // INFOFRAME
{ 0x98, 0xF8, 0x4C }, // DPLL
{ 0x98, 0xF9, 0x64 }, // KSV
{ 0x98, 0xFA... |
<!DOCTYPE html><html lang="en-us" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Source Themes Academic 4.8.0">
<meta name="author" content="Isabela Le Bras">
<meta nam... |
#ifndef UAE_AUDIO_H
#define UAE_AUDIO_H
#define PERIOD_MAX ULONG_MAX
extern void aud0_handler (void);
extern void aud1_handler (void);
extern void aud2_handler (void);
extern void aud3_handler (void);
extern void AUDxDAT (int nr, uae_u16 value);
extern void AUDxDAT_addr (int nr, uae_u16 value, uaecptr addr);
extern voi... |
#include "MapManager.h"
#include "Log.h"
#include "GridStates.h"
#include "CellImpl.h"
#include "Map.h"
#include "DBCEnums.h"
#include "DBCStores.h"
#include "GridMap.h"
#include "VMapFactory.h"
#include "World.h"
#include "Policies/SingletonImp.h"
#include "Util.h"
char const* MAP_MAGIC = "MAPS";
char const* M... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="HandheldFriendly" content="true"/>
<!--<meta name="MobileOptimized" content="320"/>-->
<title>Hello H5+</title>
<... |
<?php declare(strict_types=1);
namespace mglaman\PHPStanDrupal\Rules\Drupal;
use Drupal\Core\Extension\<API key>;
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Rules\RuleErrorBuilder;
use PHPStan\<API key>;
use PHPStan\Type\ObjectType;
class LoadIncludes extends LoadIncludeBase
{
public function getNo... |
# linux/arch/arm/boot/compressed/Makefile
# create a compressed vmlinuz image from the original vmlinux
OBJS =
plus_sec := $(call as-instr,.arch_extension sec,+sec)
# Ensure that MMCIF loader code appears early in the image
# to minimise that number of bocks that have to be read in
# order to load it.
ifeq ($... |
package edu.jas.gbufd;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
//import junit.framework.Test;
//import junit.framework.TestCase;
//import junit.framework.TestSuite;
import e... |
#include "private.h"
const float LeafSpreadAnim::kDurationFactor = 1.67;
LeafSpreadAnim::LeafSpreadAnim (CompWindow *w,
WindowEvent curWindowEvent,
float duration,
const AnimEffect info,
const CompRect &icon) :
Animation::Animation (w, curWindowEvent, ... |
/* used by gnome-font-viewer and sushi */
SushiFontWidget {
padding: 6px 12px;
}
.<API key> {
border-radius: 0;
}
.nautilus-desktop.<API key> {
color: white;
text-shadow: 1px 2px 3px alpha(@dark_shadow, 0.9)
}
.nautilus-desktop.<API key>:active {
color: @theme_fg_color;
}
.nautilus-desktop.<API key>... |
<?php
/**
* Sets the body-tag class attribute.
*
* Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
*/
function <API key>($left, $right) {
if ($left != '' && $right != '') {
$class = 'sidebars';
}
else {
if ($left != '') {
$class = 'sidebar-left';
}
if ($right != '')... |
#ifndef <API key>
#define <API key>
#include <string>
#include "content/public/browser/<API key>.h"
#include "content/public/browser/navigation_details.h"
namespace content {
struct <API key>;
struct <API key>;
struct <API key>;
class InterstitialPage;
class <API key>;
class RenderViewHost;
class SiteInstance;
class We... |
package com.swayam.ims.webapp.controller.trx;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
/**
*
* @author paawak
*/
public abstract class TrxFormController impl... |
<?php
if ( !defined( 'ABSPATH' ) ) {
exit;
}
$rowWidth = 0;
foreach ( $cells as $cell ) {
$rowWidth += (int)$cell['width'];
}
if ( $rows ) { ?>
<table class="mscrm-listview table">
<thead>
<tr>
<?php foreach ( current( $rows ) as $cellName => $cell ) {
$cellWidth ... |
#ifndef <API key>
#define <API key>
#include <U2Test/XMLTestUtils.h>
#include <U2Core/IOAdapter.h>
#include <QDomElement>
namespace U2 {
class Document;
class GObject;
class LoadDocumentTask;
class SaveDocumentTask;
class <API key>;
class GTest_LoadDocument : public GTest {
Q_OBJECT
public:
<API key>(GTest_Load... |
<?php
/**
* Options for the bibtex plugin
*
* @author Till Biskup <till@till-biskup>
*/
$meta['_basic'] = array('fieldset');
$meta['sqlite'] = array('onoff');
$meta['citetype'] = array('multichoice','_choices' => array('alpha','apa','authordate','numeric'));
$meta['file'] = array('string');
$meta['pdfdir'] = array(... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
//#include <php.h>
#include "ffmpeg_tools.h"
#if <API key> >= 52
#include <swscale.h>
/* {{{ ffmpeg_img_convert()
* wrapper around ffmpeg image conversion routines
*/
int img_convert(AVPicture *dst, int dst_pix_fmt,
AVPicture *src, int src_pix_fmt, int src_width... |
<?php
namespace Finna\Auth;
use VuFind\Exception\Auth as AuthException;
class Suomifi extends Shibboleth
{
/**
* Set configuration.
*
* @param \Zend\Config\Config $config Configuration to set
*
* @return void
*/
public function setConfig($config)
{
// Replace Shibboleth... |
/*
** At least two bugs have slipped in because we changed the MEMORY_DEBUG
** macro to SQLITE_DEBUG and some older makefiles have not yet made the
** switch. The following code should catch this problem at compile-time.
*/
#ifdef MEMORY_DEBUG
# error "The MEMORY_DEBUG macro is obsolete. Use SQLITE_DEBUG instead."
#e... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<!-- HTML file produced from file: UserManual.tex --
-- on Emacs 21.1 (patch 4) "Arches" XEmacs Lucid, Sun Apr 30 20:50:10 2000 -->
<HEAD>
<TITLE>Tao User Manual -- Using pitches - pitches.tao</TITLE>
<link rel=stylesheet href="../../taomanual.css" typ... |
// clang-format off
#include "fft3d.h"
#include "remap.h"
#include <cstdlib>
#include <cmath>
#if defined(_OPENMP)
#include <omp.h>
#endif
#ifdef FFT_KISS
/* include kissfft implementation */
#include "kissfft.h"
#endif
#define MIN(A,B) ((A) < (B) ? (A) : (B))
#define MAX(A,B) ((A) > (B) ? (A) : (B))
void fft_3d(FFT_DA... |
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using java.awt.peer;
using java.awt.@event;
namespace ikvm.awt
{
internal class WindowsRobot : RobotPeer
{
Screen screen;
internal WindowsRobot(java.awt.GraphicsDevice device)
{
... |
# - Try to find the GLIB2 libraries
# Once done this will define
# GLIB2_FOUND - system has glib2
# GLIB2_INCLUDE_DIR - the glib2 include directory
# GLIB2_LIBRARIES - glib2 library
# For details see the accompanying <API key> file.
if(GLIB2_INCLUDE_DIR AND GLIB2_LIBRARIES)
# Already in cache, be silent
set(... |
<?php
class WCML_sensei{
function __construct(){
global $sitepress;
add_action( '<API key>', array( $sitepress, '<API key>' ) );
add_action( '<API key>', array( $sitepress, '<API key>' ) );
add_action( 'save_post', array( $this, 'save_post_actions' ), 100, 2 );
add_action( '<... |
# package imports
from openpyxl.reader.strings import read_string_table
from openpyxl.tests.helper import compare_xml
def <API key>(datadir):
datadir.join('reader').chdir()
src = 'sharedStrings.xml'
with open(src) as content:
assert read_string_table(content.read()) == [
'This is cell A1... |
// CHDK palette colors for the s90
// Define color values as needed in this file.
#include "palette.h"
#include "platform_palette.h"
// Playback mode colors
unsigned char ply_colors[] =
{
COLOR_TRANSPARENT, // Placeholder for script colors
COLOR_BLACK, // Placeholder for script c... |
<?
<?
require_once('../include/errorhandler.php');
require_once('../include/sessioninfo.php');
require_once('../include/common.php');
require_once('../include/config.php');
require_once('../include/db_functions.php');
require_once('../library/departemen.php');
require_once('../include/getheader.php');
$departemen=$_REQ... |
define(['jquery', 'util.tooltips', 'helper.boxes', 'modules/panel'], function($, tooltips, panel) {
/* Grid */
tourStepsGrid = [
{
beginning: true,
title: 'Welcome to the Blox Visual Editor!',
content: '<p>If this is your first time in the Blox Visual Editor, <strong>... |
using System.Diagnostics;
using System.Xml.Serialization;
namespace IDF.Utilities.ProcLaunch
{
public class ProcInfo
{
[XmlAttribute]
public string Path { get; set; }
[XmlAttribute]
public string WorkingDir { get; set; }
[XmlAttribute]
public string Arguments { get; set; }
[XmlAttribute]... |
<ng-include src="'js/editor/properties-panel/<API key>.html'"></ng-include>
<div class="form-group">
<label for="width">
<translate>Width</translate>
<i class="fa fa-info-circle" tooltip-placement="top-right"
uib-tooltip="{{ 'Specify the number of columns of the element. All elements can ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>libmbim-glib Reference Manual: Annotation Glossary</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="... |
alert('local'); |
#ifndef <API key>
#define <API key>
#include <boost/nocopyable.hpp>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/message.h>
#include <google/protobuf/descriptor.h>
class KafkaProducer :
public boost::nocopyable
{
public:
template<typename MessageT>
void Push(std::string strTopic, s... |
<?php
namespace Stormpath\Authc\Api;
use Stormpath\Resource\ApiKey;
use Stormpath\Resource\Application;
class AuthenticatorResult
{
protected $application;
protected $apiKey;
protected $accessToken;
public function __construct(Application $application, ApiKey $apiKey, $accessToken = null)
{
... |
# vim: ts=2 sw=2 expandtab
package Data::Transform::Identity;
use strict;
use Data::Transform;
use vars qw($VERSION @ISA);
$VERSION = '0.01';
@ISA = qw(Data::Transform);
sub new {
my $type = shift;
my $self = bless [ [] ], $type;
return $self;
}
sub clone {
my $self = shift;
my $clone = bless [ [] ], ref $sel... |
// Camera - SX150IS - platform_camera.h
// This file contains the various settings values specific to the SX150IS camera.
// This file is referenced via the 'include/camera.h' file and should not be loaded directly.
// If adding a new settings value put a suitable default in 'include/camera.h',
// along with documentat... |
package com.moon.threadlocal;
import org.junit.Test;
public class SequenceA implements Sequence{
private static int number=0;
@Override
public int getNumber(){
number=number+1;
return number;
}
} |
#include <linux/device.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/serial_8250.h>
#include <linux/serial_core.h>
#include <linux/serial_reg.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>numpy.polynomial.laguerre.lagint — NumPy v1.10 Manual</title>
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css">
<link r... |
<!DOCTYPE html>
<html>
<head>
<script src="../../ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).slideToggle();
});
$("button").click(function(){
$("p").unbind();
});
});
</script>
</head>
<body>
<p>This is a pa... |
<?php
namespace Eventum\Controller;
use Auth;
use AuthCookie;
use Eventum\Controller\Helper\MessagesHelper;
use Setup;
use User;
class SignupController extends BaseController
{
/** @var string */
protected $tpl_name = 'signup.tpl.html';
/** @var string */
private $cat;
/**
* {@inheritdoc}
... |
# simpleSound.py
# Plays audio files on Linux and Windows.
# Written Jan-2008 by Timothy Weber.
import platform
if platform.system().startswith('Win'):
from winsound import PlaySound, SND_FILENAME, SND_ASYNC
elif platform.system().startswith('Linux'):
from wave import open as waveOpen
from ossaudiodev impor... |
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# (at your option) any later version.
import os
import sys
if os.name == "nt" or sys.platform == "darwin":
from quodlibet.plugins import <API key>
raise <API key>
import dbus
from quodlibet import _
from quodlibet imp... |
#include "../ProtocolCommand.h"
//#include <sqlite3.h>
using namespace org::esb::net;
using namespace org::esb::hive;
using namespace std;
class CreateHive:public ProtocolCommand {
private:
Socket * socket;
public:
~CreateHive () {
} CreateHive (TcpSocket * socket) {
this->socket = socket;
... |
<?php
namespace SimpleCalendar\plugin_deps;
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__ . '/sgs_LT.php'; |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web.Http.Description;
using Sudoku.Areas.HelpPage.Models;
namespace Sudoku.Areas.... |
#include "input_manager.hpp"
#include "interface.hpp"
#include "video.hpp"
#include <vlc_meta.h>
/* include the toolbar graphics */
#include "bitmaps/prev.xpm"
#include "bitmaps/next.xpm"
#include "bitmaps/playlist.xpm"
/* IDs for the controls */
enum
{
SliderScroll_Event = wxID_HIGHEST,
DiscMenu_Event,
Dis... |
<?php
/**
* Load our components using a static wrapper
*/
namespace MakeitWorkPress\WP_Components;
use WP_Error as WP_Error;
defined( 'ABSPATH' ) or die( 'Go eat veggies!' );
class Build {
/**
* Renders generic template for an atom or molecule.
*
* @param string $type The type, either a mo... |
<!DOCTYPE html>
<html>
<head>
<title>Asterisk Project : Asterisk 12 Recordings REST API</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body class="theme-default aui-theme-default">
... |
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_demux.h>
#include <vlc_charset.h>
#include "playlist.h"
struct demux_sys_t
{
char *psz_prefix;
char *(*pf_dup) (const char *);
};
static int Demux( demux_t *p_demux);
static void parseEXTINF( char *psz_string, char **ppsz_art... |
#!/usr/bin/env python
# testlibbind_ns_msg.py - Unit tests for the libbind ns_msg wrapper
# This file is part of Strangle.
# Strangle is free software; you can redistribute it and/or modify
# (at your option) any later version.
# Strangle is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS F... |
<?php
// notin to do here |
package com.oracle.truffle.r.nodes.builtin.base;
import static com.oracle.truffle.r.nodes.builtin.CastBuilder.Predef.stringValue;
import static com.oracle.truffle.r.runtime.RError.Message.<API key>;
import static com.oracle.truffle.r.runtime.builtins.RBehavior.PURE;
import static com.oracle.truffle.r.runtime.builtins.R... |
#! /usr/bin/env python3
'''
given a list of stock price ticks for the day, can you tell me what
trades I should make to maximize my gain within the constraints of the
market? Remember - buy low, sell high, and you can't sell before you
buy.
Sample Input
19.35 19.30 18.88 18.93 18.95 19.03 19.00 18.97 18.97 18.98
'''
im... |
<?php
require(dirname(__FILE__) . '/../config.php');
if (!class_exists('FannieAPI')) {
include($FANNIE_ROOT.'classlib2.0/FannieAPI.php');
}
if (basename(__FILE__) != basename($_SERVER['PHP_SELF'])) {
return;
}
$dbc = FannieDB::get($FANNIE_OP_DB);
include($FANNIE_ROOT.'auth/login.php');
$name = checkLogin();
if ... |
package com.yao.app.java.nio.pipe;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.Pipe;
public class Test {
public static void main(String[] args) {
try {
Pipe pipe = Pipe.open();
Thread t1 = new Thread(new MessageOutput(pipe));
Thread t2... |
# LiveQ - An interactive volunteering computing batch system
# 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
... |
# Makefile for the WatchDog device drivers.
# Only one watchdog can succeed. We probe the ISA/PCI/USB based
# watchdog-cards first, then the architecture specific watchdog
# drivers and then the architecture independent "softdog" driver.
# This means that if your ISA/PCI/USB card isn't detected that
# you can fall back... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using System.Data;
namespace Schoolxm.html
{
<summary>
Home
</summary>
public class Home : IHttpHandler, <API key>
{
public void ProcessRequest(HttpContext context)
{
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <CL/cl.h>
unsigned char *read_buffer(char *file_name, size_t *size_ptr)
{
FILE *f;
unsigned char *buf;
size_t size;
/* Open file */
f = fopen(file_name, "rb");
if (!f)
return NULL;
/* Obta... |
<?php $count=0; ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<section id="post-<?php the_ID(); ?>" <?php ++$count%2 ? post_class( 'archive col-1-2' ) : post_class( 'archive col-1-2 reverse' ); ?>>
<?php the_post_thumbnail( '<API key>' ); ?>
... |
<?php defined('_JEXEC') or die('Restricted access'); ?>
<div class="item">
<a href="javascript:ImageManager.populateFields('<?php echo $this->_tmp_img->path_relative; ?>')">
<img src="<?php echo $this->baseURL.'/'.$this->_tmp_img->path_relative; ?>" width="<?php echo $this->_tmp_img... |
#include <linux/vmalloc.h>
#include <asm/io.h>
#include <asm/pgalloc.h>
static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
unsigned long phys_addr, unsigned long flags)
{
unsigned long end;
address &= ~PMD_MASK;
end = address + size;
if (end > PMD_SIZE)
... |
/*
* 'fork.c' contains the help-routines for the 'fork' system call
* (see also entry.S and others).
* Fork is rather simple, once you get the hang of it, but the memory
* management can be a bitch. See 'mm/memory.c': 'copy_page_range()'
*/
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/unistd.h>... |
import random
import time
from flask import (
request,
session,
flash,
redirect,
url_for,
Response,
render_template,
)
from NossiPack.Cards import Cards
from NossiPack.User import Userlist
from NossiPack.VampireCharacter import VampireCharacter
from NossiPack.krypta import DescriptiveError
f... |
#include "floatScalar.H"
#include "IOstreams.H"
#include <sstream>
#define Scalar floatScalar
#define ScalarVSMALL floatScalarVSMALL
#define readScalar readFloatScalar
#include "Scalar.C"
#undef Scalar
#undef ScalarVSMALL
#undef readScalar |
#pragma once
#include <pjsua2\endpoint.hpp>
namespace Nequeo {
namespace Net {
namespace Android {
namespace PjSip
{
typedef void(*<API key>)(const pj::<API key>&);
typedef void(*<API key>)(const pj::<API key>&);
typedef void(*<API key>... |
<?php
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
use Joomla\Component\Actionlogs\Administrator\Helper\ActionlogsHelper;
/** @var PrivacyViewRequest $this */
HTMLHelper::_('behavior.formvalidator');
HTMLHelper::_('behavior.keepalive');
?>
<form ac... |
# This file is part of WhatWeb and may be subject to
# web site for more information on licensing and terms of use.
Plugin.define do
name "ExtremeWare"
authors [
"Brendan Coles <bcoles@gmail.com>", # 2011-11-21
]
version "0.1"
description "Extreme Networks ExtremeWare device"
website "http:
# ShodanHQ results as at 2... |
<?php get_header(); ?>
<div id="content" class="grid_9 <?php echo of_get_option('blog_sidebar_pos') ?>">
<?php include_once (TEMPLATEPATH . '/title.php');?>
<?php
if (have_posts()) : while (have_posts()) : the_post();
// The following determines what the post format is ... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of Virtaal.
# 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
"""... |
HAVE_UART = y
CROSS_COMPILE ?=mips-linux-gnu-
CC = $(CROSS_COMPILE)gcc
LD = $(CROSS_COMPILE)ld
OBJCOPY = $(CROSS_COMPILE)objcopy
drop-sections := .reginfo .mdebug .oomment .note .pdr .options .MIPS.options
strip-flags := $(addprefix --remove-section=,$(drop-sections))
HEX_CFLAGS += -Iinclude
HEX_CFLAGS += -nostdin... |
<?php
namespace JasPhp;
use JasPhp;
Class Jasper {
public static function makeJasperReport($module, $report, $parameters) {
//print "java -jar ../lib/java/jasphp.jar $module $report $parameters";exit;
exec("java -jar ../lib/java/dist/jasphp.jar $module $report $parameters", $return);
//print_r($return);ex... |
<?php
/**
* This class contains all functions for creating a database for teachpress
* @package teachpress\core\installation
* @since 5.0.0
*/
class TP_Tables {
/**
* Install teachPress database tables
* @since 5.0.0
*/
public static function create() {
global $wpdb;
self::add... |
(function ($) {
function getCsrf<API key>(callback) {
$
.get(Drupal.url('rest/session/token'))
.done(function (data) {
var csrfToken = data;
callback(csrfToken);
});
}
function patchImageFullShot(csrfToken, file, fid) {
//do... |
#ifndef __DGAPROC_H
#define __DGAPROC_H
#include <X11/Xproto.h>
#include "pixmap.h"
#define <API key> 0x00000001
#define DGA_FILL_RECT 0x00000002
#define DGA_BLIT_RECT 0x00000004
#define DGA_BLIT_RECT_TRANS 0x00000008
#define <API key> 0x00000010
#define DGA_INTERLACED 0x00010000
#define D... |
<?php
namespace eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased;
use eZ\Publish\API\Repository\LocationService;
use eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Depth as DepthMatcher;
use eZ\Publish\API\Repository\Values\Content\Location;
use eZ\Publish\API\Repository\Repository;
class DepthTest extends Base... |
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
define Image/Prepare
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
rm -f $(KDIR)/loader.gz
$(MAKE) -C lzma-loader \
BUILD_DIR... |
// Full calculator example demonstrating Phoenix
// This is discussed in the "Closures" chapter in the Spirit User's Guide.
// [ JDG 6/29/2002 ]
#include "stdafx.h"
#include <boost/spirit/core.hpp>
#include <boost/spirit/attribute.hpp>
#include <boost/spirit/phoenix/functions.hpp>
#include <iostream>
#include <strin... |
/** @file
* PDM - Pluggable Device Manager, Common Instance Macros.
*/
#ifndef <API key>
#define <API key>
/** @defgroup grp_pdm_ins Common PDM Instance Macros
* @ingroup grp_pdm
* @{
*/
/** @def PDMBOTHCBDECL
* Macro for declaring a callback which is static in HC and exported in GC.
*/
#if defined(IN_RC) ... |
body {border:0; margin:0; padding:0; font-size:12pt}
a {color:#000; text-decoration:none;}
h1, h2, h3 {page-break-after:avoid; page-break-inside:avoid;}
table {border-collapse: collapse; border-width:1px; border-style:solid;}
th, td {display:table-cell; border-width:1px; border-style:solid;}
hr {display:block; height:2... |
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/file.h>
#include <linux/uio.h>
#include <linux/smp_lock.h>
#include <linux/fsnotify.h>
#include <linux/security.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include <linux/pagemap.h>
#include <linux/splice.h>
#include ... |
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# This library is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# You should have received a copy of the GNU Lesser General P... |
#!/bin/sh
test_description='git apply --whitespace=strip and configuration file.
'
. ./test-lib.sh
test_expect_success setup '
mkdir sub &&
echo A >sub/file1 &&
cp sub/file1 saved &&
git add sub/file1 &&
echo "B " >sub/file1 &&
git diff >patch.file
'
# Also handcraft GNU diff output; note this h... |
#include "config.h"
#if ENABLE(WML)
#include "WMLInputElement.h"
#include "EventNames.h"
#include "FormDataList.h"
#include "Frame.h"
#include "HTMLNames.h"
#include "KeyboardEvent.h"
#include "MappedAttribute.h"
#include "<API key>.h"
#include "TextEvent.h"
#include "WMLDocument.h"
#include "WMLNames.h"
#include "WMLP... |
// This file is part of the Sussex Effective Field Theory for
// Large-Scale Structure platform (LSSEFT).
// LSSEFT is free software: you can redistribute it and/or modify
// (at your option) any later version.
// LSSEFT is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR P... |
# 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 Software... |
/*!
\file ifxmips_pci.c
\ingroup IFX_PCI
\brief pci bus driver source file
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <asm/paccess.h>
#include <a... |
#ifndef AnalysisTool_h
#define AnalysisTool_h 1
#include "StackingTool.hh"
#include <sstream> // stringstream
using namespace std;
class AnalysisTool {
public:
AnalysisTool();
virtual ~AnalysisTool();
virtual void PrintTool();
virtual bool getInterest();
virtual bool getInterest(int particle, in... |
body{
font-family: 'open_sansregular';
}
.header {
background: url(../images/bgo.jpg);
min-height: 600px;
}
.header-right {
background: url(../images/handpico.png) no-repeat 100% 101%;
height: 600px;
}
.pricing-grid ul li a:hover,.footer ul li a:hover, .copy-right a:hover {
color:#DB7734;
}
... |
<?php
/**
* The header template file.
* @package PaperCuts
* @since PaperCuts 1.0.0
*/
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php languag... |
<?php
session_start();
$exercise = $_SESSION['exercise'];
if($_POST){
unset($exercise[$_POST['id']]);
$_SESSION['exercise'] = $exercise;
header('Location: ./');
}
$workout = $exercise[$_REQUEST['id']];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA... |
<?php
/**
* Validate form
*
* @param array $form definition
* @param array $data filtered
* @return boolean | array ('fildname'=>'error message')
*/
function validateForm($form, $datafiltered)
{
$validatedata = null;
foreach ($form as $key => $form_field) {
// if ($form[$key]['validation'] != null... |
# woyuchengying.github.io
* [](
* [](
* [](
* [](
* [](
* [](
* [](
* [WEB](#web)
* [](
* [](
* [NoSQL](#nosql)
* [PostgreSQL](#postgresql)
* [MySQL](#mysql)
* [](
* [](
* [](
* [Web](#web)
* [](
* [](
* []( |
<?php module_head("The KDevelop $k_series_version Team");?>
<h4>Main Developers: <a href="mailto:team at kdevelop.org">team at kdevelop.org</a></h4>
<a href="mailto:bernd at physik.hu-berlin.de">Bernd Gehrmann</a> Initial idea and architecture, much initial source code
<br>
<a href="mailto:caleb at aei-tech.com">Caleb ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.