answer
stringlengths
15
1.25M
#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <sys/param.h> #include <sys/uio.h> #include <sys/time.h> #include <sys/socket.h> #include <sys/poll.h> #include <errno.h> #include <sys/wait.h> #include <sys/resour...
var express = require('express'); var path = require('path'); var tilestrata = require('tilestrata'); var disk = require('tilestrata-disk'); var mapnik = require('tilestrata-mapnik'); var dependency = require('<API key>'); var strata = tilestrata(); var app = express(); // define layers strata.layer('hillshade') .r...
#include "platform/OSXUchrKeyResource.h" #include <Carbon/Carbon.h> // OSXUchrKeyResource OSXUchrKeyResource::OSXUchrKeyResource(const void* resource, UInt32 keyboardType) : m_m(NULL), m_cti(NULL), m_sdi(NULL), m_sri(NULL), m_st(NULL) { m_resource = reinterpret_cast<const UCKeybo...
<?php include_once "srcPHP/View/View.php"; include_once "srcPHP/Model/ResearchModel.php"; class Mosaic implements View{ var $model = NULL; var $array = NULL; function Mosaic(){ $this->model = new ResearchModel("dbserver", "xjouveno", "xjouveno", "pdp"); $this->array = $this->model->getAllVid...
<?php /** * Description of Resume * * @author greg * @package */ class <API key> extends <API key> { protected $_custom = "wpjb_form_resume"; protected $_key = "resume"; protected $_model = "Wpjb_Model_Resume"; public function _exclude() { if($this->_object->getId()) { retur...
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "utility.hh" #include "packetcache.hh" #include "logger.hh" #include "arguments.hh" #include "statbag.hh" #include <map> #include <boost/algorithm/string.hpp> extern StatBag S; PacketCache::PacketCache() { d_ops=0; d_maps.resize(1024); for(auto& mc : d_maps...
<?php /** * BackPress Styles Procedural API * * @since 2.6.0 * * @package WordPress * @subpackage BackPress */ /** * Initialize $wp_styles if it has not been set. * * @global WP_Styles $wp_styles * * @since 4.2.0 * * @return WP_Styles WP_Styles instance. */ function wp_styles() { global $wp_styles; ...
// TransformPatternDlg.cpp : implementation file #include <psycle/host/detail/project.private.hpp> #include "TransformPatternDlg.hpp" #include "Song.hpp" #include "ChildView.hpp" #include "MainFrm.hpp" namespace psycle { namespace host { static const char notes[12][3]={"C-","C#","D-","D#","E-","F-","F#","G-","G...
<!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.custom.CustomAnalyzer (Lucene 5.1.0 API)</title> <meta n...
var express = require('express'), Weapon = require('../models/Weapon'), router = express.Router(); // HOMEPAGE router.get('/', function(req, res) { res.render('index', { title:'Weapons Guide | Fire Emblem | Awakening', credit: 'Matt.Dodson.Digital', msg: 'Hello Word!' }); }); // ...
#include <stdio.h> #pragma data_seg("dsec") static char greeting[] = "Hello"; #pragma code_seg("asection") void report() { printf("%s, world\n", greeting); } #pragma code_seg(".text") int main () { report(); return 0; }
function isCompatible(){if(navigator.appVersion.indexOf('MSIE')!==-1&&parseFloat(navigator.appVersion.split('MSIE')[1])<6){return false;}return true;}var startUp=function(){mw.config=new mw.Map(true);mw.loader.addSource({"local":{"loadScript":"//bits.wikimedia.org/he.wikipedia.org/load.php","apiScript":"/w/api.php"}});...
/* $Id: transaction.h,v 1.13 1997/05/28 23:19:52 viktor Exp $ */ #ifndef _TRANSACTION_H #define _TRANSACTION_H #include <dbi.h> #include <tcl.h> typedef enum {NORESTORE, RESTOREDATA, RESTORESCHEMA} RestoreMode; /* * item_class NON-NULL iff template is for a 'unameit_item' */ extern DB_OBJECT *Udb_Finish_Object( D...
<?php namespace Icinga\Module\Monitoring\DataView; class Contactgroup extends DataView { /** * {@inheritdoc} */ public function isValidFilterTarget($column) { if ($column[0] === '_' && preg_match('/^_(?:host|service)_/', $column)) { return true; } return parent:...
import configparser CONFIG_PATH = 'accounting.conf' class MyConfigParser(): def __init__(self, config_path=CONFIG_PATH): self.config = configparser.ConfigParser(allow_no_value=True) self.config.read(config_path) def config_section_map(self, section): """ returns all configuration options...
// Name: imagpnm.h // Purpose: wxImage PNM handler // RCS-ID: $Id: imagpnm.h,v 1.1 1999/12/15 22:37:51 VS Exp $ // Licence: wxWindows licence // read/write pnm image #ifndef _BG_IMAGPNM_H_ #define _BG_IMAGPNM_H_ #ifdef __GNUG__ #pragma interface "BgImagPNM.h" #endif #include <wx/image.h...
# codingInPython Github space for my experiments with programming, learning Python and git alongside. Much of what I have in here are some code examples of exercies I have been trying to complete. As of 4/6, most of the effort has been on data manipulation or rather list manipulation. 4/7 : Updated files :
<h2><?php print $node->title; ?></h2> <h3><?php print content_format('field_subtitle', $field_subtitle[0]); ?></h3> <? print l('Back', 'node/'.$node->field_case_project[0]['nid'], array('html'=>TRUE, 'attributes'=>array('class'=>'back-link'))); ?> <? print content_format('<API key>', $<API key>[0]); ?> <? print content...
package ms.aurora.browser.wrapper; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.tidy.Tidy; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.<API key>; import javax.xml.transform.Result; imp...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_43) on Tue Dec 15 22:07:49 NZDT 2015 --> <TITLE> weka.core.stemmers </TITLE> <META NAME="date" CONTENT="2015-12-15"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascri...
<html> <head> <title>Transverse Ray Aberration Diagram</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="HelpNDoc Personal Edition 4.3.1.364"> <link type="text/css" rel="stylesheet" media="all" href="css/reset.css" /> <link type="text/css" re...
#ifndef __LINUX_RCUPDATE_H #define __LINUX_RCUPDATE_H #include <linux/cache.h> #include <linux/spinlock.h> #include <linux/threads.h> #include <linux/cpumask.h> #include <linux/seqlock.h> #include <linux/lockdep.h> #include <linux/completion.h> /** * struct rcu_head - callback structure for use with RCU * @next: next...
<?php global $wp_version; if(version_compare($wp_version,'3.6.1','<')) { exit('This is plugin requice Wordpress Version 3.6 on highter. Please update now!'); } <API key>(__FILE__,'mq_register_setting'); <API key>(__FILE__,'mq_delete_setting'); function enque_register() { wp_register_script('mq_register_ajax'...
<?php class <API key>{ private $db = false; private $user; private $edit_color = '#FFFFFF'; public function __construct(){ $this->db = Connection::getDB(); $this->user = new administrator(); if($this->user->role=='pupil' || $this->user->role=='par...
.admanage-img p img{ width: 300px; height:100px; display: block; float: left; }
#include "stdinc.h" #include "s_misc.h" #include "client.h" #include "common.h" #include "irc_string.h" #include "sprintf_irc.h" #include "ircd.h" #include "numeric.h" #include "irc_res.h" #include "fdlist.h" #include "s_bsd.h" #include "s_conf.h" #include "s_serv.h" #include "send.h" #include "memory.h" static const c...
#ifndef <API key> #define <API key> #include <npm/gfx/Drawing.hpp> namespace npm { class RobotServer; class TrajectoryDrawing : public Drawing { public: TrajectoryDrawing(const RobotServer * owner); virtual void Draw(); private: const RobotServer * m_owner; }; } #endif // <API key>
#include <extconf.h> #include "rb_gsl_array.h" #include <gsl/gsl_heapsort.h> #include <gsl/gsl_sort.h> EXTERN ID RBGSL_ID_call; EXTERN VALUE cgsl_complex; int <API key>(const void *aa, const void *bb); int <API key>(const void *aa, const void *bb); int <API key>(const void *aa, const void *bb) { double *a = NULL, *b ...
#include "servercore.h" #include "servercore_p.h" #include "<API key>.h" #include "serverconnection.h" #ifdef BUILD_DBUS_SUPPORT #include "dbus/dbuscontroller.h" #endif #include "modelpool.h" #include "localserver.h" #include "tcpserver.h" #include "backend.h" #include "storagemodel.h" #include "global.h" #include "asy...
package es.uniovi.asw.gui.util.form.validator.specific; import es.uniovi.asw.gui.util.form.validator.composite.CheckAllValidator; import es.uniovi.asw.gui.util.form.validator.simple.LengthValidator; import es.uniovi.asw.gui.util.form.validator.simple.NumberValidator; public class TelephoneValidator extends CheckAllVali...
Package.describe({ summary: "Next bike list package" }); Package.on_use(function (api) { api.use(['nb','underscore', 'templating', 'nb-autocomplete', 'nb-markers', 'nb-infowindow', 'nb-directions', 'nb-geocoder', 'nb-markerlabel', 'nb-citypicker'], ['client']); api.add_files(['list.html', 'list.js'], ['client...
<?php if (!defined('IN_PHPBB')) { exit; } if (empty($lang) || !is_array($lang)) { $lang = array(); } $lang = array_merge($lang, array( 'ACP_POST_LINKS' => 'Post links', 'PL_ENABLE' => 'Tillåt inläggslänkar', 'PL_ENABLE_EXPLAIN' => 'Om tillåtna, varje länk kommer att innehålla kopier...
package com.greenpineyu.fel.function.operator; import java.lang.reflect.<API key>; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.greenpineyu.fel.Expression; import co...
function c8955148.initial_effect(c) aux.<API key>(c,72566043) --to deck local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetType(<API key>) e1:SetRange(LOCATION_GRAVE) e1:SetProperty(<API key>) e1:SetCountLimit(1,8955148) e1:SetTarget(c8955148.tdtg) ...
package gui; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.List; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.ListSelectionModel; import j...
package sabstracta; /** * Represents an or operation in the syntax tree. * */ public class Or extends <API key> { public Or(Expresion _izq, Expresion _dch) { super(_izq, _dch); } /** * Returns the instruction code. */ @Override protected String getInst() { return "or"; ...
<?php defined('JPATH_PLATFORM') or die; jimport('joomla.form.helper'); class <API key> extends JFormField { protected function getInput() { $html = array(); $provider = $this->element['provider'] ? (string)$this->element['provider'] : null; $style = $this->element['style'] ? (string)$thi...
\documentclass{report} \usepackage{hyperref} % WARNING: THIS SHOULD BE MODIFIED DEPENDING ON THE LETTER/A4 SIZE \oddsidemargin 0cm \evensidemargin 0cm \marginparsep 0cm \marginparwidth 0cm \parindent 0cm \textwidth 16.5cm \ifpdf \usepackage[pdftex]{graphicx} \else \usepackage[dvips]{graphicx} \fi \begin{document} %...
package org.oguz.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebInitParam; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpSer...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html lang="en"> <head> <meta name="description" content="Dubstep indie music"> <meta name="keywords" content="dubstep, superman, indie, hollywood, maryland, soundtrack, a boy named su, a boy named sue, heart"> <meta name="author" con...
#ifndef <API key> #define <API key> #include <IceGrid/SessionI.h> #include <IceGrid/Topics.h> #include <IceGrid/ReapThread.h> #include <IceGrid/Internal.h> namespace IceGrid { class RegistryI; typedef IceUtil::Handle<RegistryI> RegistryIPtr; class FileIteratorI; typedef IceUtil::Handle<FileIteratorI> FileIteratorIPtr; ...
package fr.npellegrin.xebia.mower.parser.model; /** * Parsed position. */ public class PositionDefinition { private int x; private int y; private <API key> orientation; public int getX() { return x; } public void setX(final int x) { this.x = x; } public int getY() { ...
# Pod::POM::Constants # DESCRIPTION # Constants used by Pod::POM. # AUTHOR # Andy Wardley <abw@kfs.org> # Andrew Ford <a.ford@ford-mason.co.uk> # This module is free software; you can redistribute it and/or # modify it under the same terms as Perl itself. # REVISION # $Id: Constants.pm 89 2013-05-30 07...
#!/usr/bin/env python3 import sys import numpy as np from spc import SPC import matplotlib.pyplot as plt def plot(files, fac=1.0): for f in files: if f.split('.')[-1] == 'xy': td = np.loadtxt(f) plt.plot(td[:, 0], np.log(1. / td[:, 1]) * fac, label=f) elif f.split('.')[-1] ==...
<?php namespace PHPExiftool\Driver\Tag\CanonVRD; use PHPExiftool\Driver\AbstractTag; class <API key> extends AbstractTag { protected $Id = 33; protected $Name = '<API key>'; protected $FullName = 'CanonVRD::Ver2'; protected $GroupName = 'CanonVRD'; protected $g0 = 'CanonVRD'; protected $g1 = 'Ca...
#include <qtopia/private/qmimetypedata_p.h> #include <qtopia/private/drmcontent_p.h> #include <QApplication> #include <QtDebug> <API key>(QIcon,unknownDocumentIcon,(QLatin1String(":image/qpe/UnknownDocument"))); <API key>(QIcon,<API key>,(DrmContentPrivate::createIcon( *unknownDocumentIcon(), ...
#include "config.h" #include <glib.h> #include <wiretap/wtap.h> #include <epan/frame_data.h> #include <epan/packet.h> #include <epan/emem.h> #include <epan/timestamp.h> /* Protocol-specific data attached to a frame_data structure - protocol index and opaque pointer. */ typedef struct _frame_proto_data { int prot...
package org.iproduct.iptpi.domain.movement; import static java.lang.Math.PI; import static java.lang.Math.abs; import static java.lang.Math.atan; import static java.lang.Math.cbrt; import static java.lang.Math.cos; import static java.lang.Math.hypot; import static java.lang.Math.min; import static java.lang.Math.pow; i...
package cn.ac.iscas.cloudeploy.v2.puppet.transform.ast; import java.util.List; public class ASTCollExpr extends ASTBase{ private Object test1; private Object test2; private String oper; private List<Object> children; private String form; private String type; public Object getTest1() { ...
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page default.php</title> <link rel="stylesheet" href="../../media/stylesheet.css" /> <scr...
package rb; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import javax.persistence.TypedQuery; import rb.helpers.<API key>; import rb.helpers.DBHandler; import rb.helpers.StemmerHelper; import rb.persistentob...
<?php class WebApplication extends CWebApplication { public $keywords; public $description; }
#ifndef __ANSI_H__ #define __ANSI_H__ #define STATE_ESC_SET 0x01 #define STATE_FONT_SET 0x02 #define STATE_NEW_LINE 0x04 #define STATE_QUOTE_LINE 0x08 #define STATE_NONE 0x00 #define STATE_UBB_START 0x10 #define STATE_UBB_MIDDLE 0x20 #define STATE_UBB_END 0x40 #define STATE_TEX_SET 0x80 enum UBBTYPE {UBB_TYPE_IM...
using System; using Server.Misc; using Server.Network; using System.Collections; using Server.Items; using Server.Targeting; namespace Server.Mobiles { public class KhaldunZealot : BaseCreature { public override bool ClickTitle{ get{ return false; } } public override bool ShowFameTitle{ get{ ret...
<?php /** * WordPress CRON API * * @package WordPress */ function <API key>( $timestamp, $hook, $args = array()) { // don't schedule a duplicate if there's already an identical event due in the next 10 minutes $next = wp_next_scheduled($hook, $args); if ( $next && $next <= $timestamp + 600 ) ret...
#!/usr/bin/env python ## engine and compatible webserver. ## Contact mailto:jeremy@jeremyherbert.net ## 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, ## ...
package pf::Switch::Motorola; =head1 NAME pf::Switch::Motorola =head1 SYNOPSIS The pf::Switch::Motorola module implements an object oriented interface to manage Motorola RF Switches (Wireless Controllers) =head1 STATUS Developed and tested on RFS7000 running OS release 4.3.0.0-059R, and RFS6000 running OS 5.2.0.0-069R....
package io.github.mzmine.util; import java.io.File; import java.util.List; import javax.annotation.Nonnull; import com.google.common.io.Files; /** * File name utilities */ public class FileNameUtil { public static @Nonnull String findCommonPrefix(@Nonnull List<File> fileNames) { if (fileNames.size() < 2) ...
#include <config.h> #ifndef IO_H #define IO_H #include "utilities.h" t_tree *Read_Tree(char **s_tree); void R_rtree(char *s_tree_a,char *s_tree_d,t_node *a,t_tree *tree,int *n_int,int *n_ext); void Read_Branch_Label(char *s_d,char *s_a,t_edge *b); void Read_Branch_Length(char *s_d,char *s_a,t_tree *tree); void Read_Nod...
/* * <API key>.c * * Code generation for function '<API key>' * * C source code generated on: Fri Apr 25 23:35:45 2014 * */ /* Include files */ #include "rt_nonfinite.h" #include "<API key>.h" /* Type Definitions */ #ifndef <API key> #define <API key> struct emxArray__common { void *data; int32_T *size; in...
.tundra .dijitDialogRtl .<API key> { right: auto; left: 5px; }
<?php locate_template( array( 'mobile/header-mobile.php' ), true, false ); ?> <?php if ( have_posts() ) { ?> <?php while ( have_posts() ) { the_post(); ?> <div <?php post_class( 'tbm-post tbm-padded' ) ?> id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <?php the_...
<?php // The name of this module define("_MI_MEDIAWIKI_NAME", "MediaWiki"); // A brief description of this module define("_MI_MEDIAWIKI_DESC", "MediaWiki For XOOPS Community"); // Configs define("_MI_MEDIAWIKI_STYLE", "Interface style"); define("<API key>", "Xoops style, MediaWiki style, or user selectable"); define("<...
#include <cpu/itp/itp0.h> #include <ctx/ctx.h> #include <vid/vid.h> unsigned short itp0_gate(const unsigned short nnn, struct cp8_ctx *cp8) { unsigned short next = 2; switch (nnn) { case 0x00e0: // INFO(Rafael): CLS cp8_vidcls(); break; case 0x00ee: ...
package nl.pelagic.musicTree.flac2mp3.cli; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.nio.file.Files; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.A...
--D function c30539496.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30539496,0)) e1:SetCategory(CATEGORY_DESTROY+<API key>) e1:SetType(<API key>) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,30539496) e1:SetTarget(c30539496.sptg) ...
/** * \file <API key>.h * \brief Definition of the thelib::<API key> class. */ #ifndef <API key> #define <API key> // ITK #include <<API key>.h> // namespace namespace thelib { /** * \brief Mask an input image (input 0) using a mask image (input 1) (parrallel). * \ingroup TheLib */ template< class T > class <API key> :...
<?php class fseLink { protected $userKey = "INSERT_USER_KEY"; //User Key protected $groupKey = "INSERT_GROUP_KEY"; //Group Key protected $groupId = "INSERT_GROUP_ID"; //Group ID /* --Define initial arrays-- */ public $memberArray = array(); public $groupArray = array(); public $aircraftArray...
<?php /** * Root directory of Drupal installation. */ define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(<API key>); <API key>();
#include <linux/types.h> #include <linux/kernel.h> #include <linux/export.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/acpi.h> #include <linux/kallsyms.h> #include <linux/dmi.h> #include <linux/pci-aspm.h> #include <linux/ioport.h> #include <linux/sched.h> #include <linux/k...
package ch.dritz.remedy2redmine; import java.io.File; import java.io.IOException; import ch.dritz.common.Config; import ch.dritz.remedy2redmine.modules.SyncModule; /** * Main class for Remedy2Redmine * @author D.Ritz */ public class Main { private static void usage(String msg) { if (msg != null) ...
package com.gilecode.langlocker; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public st...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProper...
{% include 'overall_header.html' %} <h2>{{ lang('ABOUTUS') }}</h2> <div class="panel aboutus"> <div class="inner"> <div class="content"> {{ ABOUTUS_OUTPUT }} </div> {% if TERMS_OF_USE or PRIVACY %} {% if TERMS_OF_USE and PRIVACY %} <h2>{{ lang('TERMS_USE')...
#include<stdio.h> int main() { int *p,i; int a[10]={12,23,56,1,65,67,87,34,6,23}; p=a; for(i=0;i<10;i++) { printf("%d ",(p+i)); } return 0; }
package org.iatoki.judgels.jerahmeel.user.item; public final class UserItem { private final String userJid; private final String itemJid; private final UserItemStatus status; public UserItem(String userJid, String itemJid, UserItemStatus status) { this.userJid = userJid; this.itemJid = i...
We would like to propose a manuscript submission to the *Methods* section of Ecology Letters, discussing the use of Partially Observed Markov Decision Processes (POMDP) in ecological research questions. Markov Decision Process (MDP) methods have a long history in ecology, particularly in natural resource management su...
#include <linux/kernel.h> #include <linux/slab.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/bootmem.h> /* error message prefix */ #define ERRP "mtd: " /* debug macro */ #if 0 #define dbg(x) do { printk("DEBUG-CMDLINE-PART: "); printk x; } while(0) #else #define dbg(x) #endif /* specia...
package FusionInventory::Agent::SNMP::MibSupport::Brocade; use strict; use warnings; use parent 'FusionInventory::Agent::SNMP::MibSupportTemplate'; use FusionInventory::Agent::Tools; use FusionInventory::Agent::Tools::SNMP; use constant brocade => '.1.3.6.1.4.1.1991' ; use constant serial => brocade .'.1.1.1....
#ifndef <API key> #define <API key> // $Source: /Users/acg/CVSROOT/systemc-2.3/src/sysc/packages/boost/mpl/bool.hpp,v $ // $Revision: 1.2 $ #include <sysc/packages/boost/mpl/bool_fwd.hpp> #include <sysc/packages/boost/mpl/integral_c_tag.hpp> #include <sysc/packages/boost/mpl/aux_/config/static_constant.hpp> <API key> t...
#ifndef <API key> #define <API key> /*! \file \brief Declares CommandParameter classes and the CommandParamType enum. */ #include <string> #include <stdint.h> namespace TPProto{ enum CommandParamType{ cpT_Invalid = -1, cpT_String = 0, cpT_Integer = 1, cpT_Max }; class Buf...
/* ftruncate was formerly an XOPEN extension. We define _XOPEN_SOURCE here to avoid warning if the implementation does not program ftruncate as a base interface */ #define _XOPEN_SOURCE 600 #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #include <string.h> #include <fcntl.h> #i...
#include "message-view.h" #include "adium-theme-view.h" #include "<API key>.h" #include <KTp/message-processor.h> #include <KDebug> #include <KIconLoader> #include <QLabel> #include <QResizeEvent> #include <KTp/Logger/log-manager.h> #include <KTp/Logger/pending-logger-logs.h> #include <TelepathyQt/Account> MessageView:...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_17) on Mon Jan 11 20:36:42 NZDT 2010 --> <TITLE> weka.classifiers.functions Class Hierarchy </TITLE> <META NAME="date" CONTENT="2010-01-11"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SC...
field_dict={'ROME-FIELD-01':[ 267.835895375 , -30.0608178195 , '17:51:20.6149','-30:03:38.9442' ], 'ROME-FIELD-02':[ 269.636745458 , -27.9782661111 , '17:58:32.8189','-27:58:41.758' ], 'ROME-FIELD-03':[ 268.000049542 , -28.8195573333 , '17:52:00.0119','-28:49:10.4064' ], 'ROME-FIELD-...
<?php include("config_mynonprofit.php"); include("connect.php"); //Start session session_start(); //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Sanitize the POST values $fname = htmlentities($_POST['fname']); $lname = htmlentities($_POST['lname']); $email = htmlen...
<script type="text/javascript"> jQuery(document).ready(function() { // type of media jQuery('#type').change(function() { switch (jQuery(this).val()) { case '<?php echo MEDIA_TYPE_EMAIL; ?>': jQuery('#smtp_server, #smtp_helo, #smtp_email').closest('li')...
/* * Loader. loads an a.out into the memory. */ /* The starting address for the text (code) section - 64K of code. */ #define I_ADDRESS 0x600000 /* The starting address for the data section - 64K of data. */ #define D_ADDRESS 0x800000 typedef unsigned short uint16_t; typedef unsigned long uint32_t; typedef struct { ...
<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/> <table border="1"> <tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration<...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sys/shm.h> #include "../include/RootDir.h" #include "../include/fatSupport.h" #include "../include/Shared_Info.h" #define <API key> 512 #define BLUE "\x1B[1;36m" // for listing directories as blue #define RESET "\...
<?php /** * DO NOT CHANGE */ if (!defined('IN_PHPBB')) { exit; } if (empty($lang) || !is_array($lang)) { $lang = array(); } // DEVELOPERS PLEASE NOTE // All language files should use UTF-8 as their encoding and the files must not contain a BOM. // Placeholders can now contain order information, e.g. instead of ...
<?xml version="1.0" encoding="US-ASCII"?> <!DOCTYPE html PUBLIC "- <!-- Authors: <API key> --> <dt><a name="<API key>">[<API key>]</a></dt><dd><API key>. <API key>.</dd> <!-- Authors: Ken Thompson --> <dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken Thompson. Programming techniques: Regular expressi...
# -*- coding: utf-8 -*- from scrapy.spider import Spider from scrapy.selector import Selector from kgrants.items import KgrantsItem from scrapy.http import Request import time class GrantsSpider(Spider): name = "grants" allowed_domains = ["www.knightfoundation.org"] pages = 1 base_url = 'http: start...
package co.innovate.rentavoz.services.almacen.impl; import java.io.Serializable; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import co.innovate.rentavoz.model.Tercero; import co.innovate.rentavoz.model.almace...
;(function() { /** Used to access the Firebug Lite panel (set by `run`). */ var fbPanel; /** Used as a safe reference for `undefined` in pre ES5 environments. */ var undefined; /** Used as a reference to the global object. */ var root = typeof global == 'object' && global || this; /** Method and object sh...
// <API key>.h // Selfy #import <UIKit/UIKit.h> @interface <API key> : UIViewController @end
Intermediate PHP & MySQL ===================== ![PHP](images/php.png "PHP") ![MySQL](images/mysql.png "MySQL") ![Symfony](images/symfony.png "Symfony") > This course is designed for students with a fundamental understanding of programming. > We will spend some time reviewing PHP basics, for students who ar...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace Git.Storage.Common { public enum EEquipmentStatus { <summary> </summary> [Description("")] Unused = 1, <summary> </summary> [Descri...
@title Motion Detect ]] a=6 -- columns to split picture into b=6 -- rows to split picture into c=1 d=300000 -- timeout (mSec) e=200 -- comparison interval (msec) - less than 100 will slow down other CHDK functions f=5 -- threshold (difference in cell to trigger detection) g=1 --...
body { background-image: url("http: background-size: 800px } p { color: #000000 } img { top:100%; left:100%; } a:link { color: blue; } a:hover { text-decoration: none; color: red; }