answer
stringlengths
15
1.25M
<?php function login_user ($user, $pswd) { $ldaphost = "<fqdn of ldap host"; $ldapdomain = "<some ldap domain>"; $ldap_user_group = "<ldap group that can access>"; $ldap = ldap_connect($ldaphost, 389) or die("Could not connect to AD!"); ldap_set_option($ldap, <API key>, 3); ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0)...
#include <iostream> #include "LinkedList.h" #include <assert.h> using namespace std; void LinkedList::printAllLLElements(void) { SinglyLinkedList *temp; if(head == NULL) { cout << endl << "No elements."<< endl; return; } temp = head; do { cout << temp->data << endl; t...
/* * $Id: hbsha1.c 9724 2012-10-02 10:36:35Z andijahja $ */ #include "hbapi.h" #include "sha1.h" HB_FUNC( HB_SHA1 ) { sha1_byte digest[ SHA1_DIGEST_LENGTH ]; SHA_CTX ctx; hb_SHA1_Init( &ctx ); #if ULONG_MAX > UINT_MAX { const char * buffer = hb_parcx( 1 ); ULONG nCount ...
from django.apps import AppConfig class DataimportConfig(AppConfig): name = "intranet.apps.dataimport"
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_08) on Tue Jun 03 16:15:26 GMT-05:00 2008 --> <TITLE> Uses of Class soot.dava.toolkits.base.AST.transformations.<API key> (Soot API) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE...
#ifndef H_PCM_AUDIO #define H_PCM_AUDIO #include "pes.h" // General defines of start codes etc. #define PCM_ENDIAN_LITTLE 0 #define PCM_ENDIAN_BIG 1 #define <API key> 1 Exploded copy of the pcm audio frame header. typedef struct <API key> { } <API key>; ty...
// Fanart.h #if !defined(FANART_H_) #define FANART_H_ #include "StdString.h" #include <vector> #pragma once /brief CFanart is the core of fanart support and contains all fanart data for a specific show CFanart stores all data related to all available fanarts for a given TV show and provides functions required to manipu...
f = open("log.adv2", "w") def init(): pass def disp(text): """ use: to display text and to log what is displayed How to: disp(text to display) """ f.write("DISPLAY: " + text) print text def askq(quest): """ use: to ask a question and log it How to: var_to_set = askq(question to a...
<html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="assets/stylesheet-sa.css" /> </head> <body> <div class='intro_bhashya' id='MK_C01_I10'>इति । </div> <div class='verse' id='MK_C01_V12' type='mantra'> <div class='versetext'>अमात्रश्चतुर्थोऽव्यवहार्यः प्रपञ्चोपशमः शिवोऽद्वैत एवमोङ्कार आत्मैव संविशत्या...
<?php namespace Joomla\CMS\MVC\Model; \defined('JPATH_PLATFORM') or die; use Joomla\CMS\Cache\<API key>; use Joomla\CMS\Cache\Controller\CallbackController; use Joomla\CMS\Cache\Exception\<API key>; use Joomla\CMS\Component\ComponentHelper; use Joomla\CMS\Extension\ComponentInterface; use Joomla\CMS\Factory; use Joomla...
package extension; import java.util.Hashtable; import java.io.*; public class <API key> extends ObjectInputStream { static private Hashtable renamedClassMap; public <API key>(InputStream si) throws IOException, <API key> { super(si); } protected Class resolveClass(ObjectStreamClass v...
#include <iostream> using namespace std; struct Node { int inf; Node *next; }*start,*newptr,*save,*ptr,*rear; Node* Create_New_Node(int n) { newptr=new Node; newptr->inf=n; newptr->next=NULL; return newptr; } void Insert_End(Node *np) { if(start==NULL) start=rear=np; else { ...
package com.mypcr.function; import java.awt.FileDialog; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import j...
<?php // Setting a base path. Easy change if the code is going to be incorporated into a theme, use get_bloginfo('theme_directory') instead $base = WP_PLUGIN_URL . '/' . str_replace(basename( __FILE__), "" ,plugin_basename(__FILE__)); define('base', $base); // Setting up the Admin Page and SalsaPress options require_on...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--Converted with LaTeX2HTML 2002-2-1 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck...
#include "Platform.h" #ifdef WINDOWS #include "JavaVirtualMachine.h" #include "WindowsPlatform.h" #include "Package.h" #include "Helpers.h" #include "PlatformString.h" #include "Macros.h" #include <map> #include <vector> #include <regex> class Registry { private: HKEY FKey; HKEY FOpenKey; bool FOpen; public...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class <API key> extends CI_Model { public function __construct() { parent::__construct(); $this->load->database(); } //data is expected to be an array of adventure_id, session public function insert($data) { ...
<?php /* core/modules/system/templates/form.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context,...
#ifndef _GRID_H_ #define _GRID_H_ #include "monome.h" #include "state.h" #define SG ss->grid #define GB ss->grid.button[i] #define GBC ss->grid.button[i].common #define GF ss->grid.fader[i] #define GFC ss->grid.fader[i].common #define GXY ss->grid.xypad[i] #define GXYC ss->grid.xypad[i].common typedef enum { GRID_M...
class CmsController < <API key> def show # find page by url and section params @section = Section::find_sub_section params[:sections] @page = Page.<API key> params[:url], true, :conditions => get_conditions(@section) # if page is not found, find section by url param and then page if !@page u...
#ifndef <API key> #define <API key> #include <net/net_namespace.h> #include <linux/netfilter/nf_conntrack_common.h> #include <linux/netfilter/<API key>.h> #include <net/netfilter/nf_conntrack.h> #include <net/netfilter/nf_conntrack_extend.h> struct nf_conn_counter { u_int64_t packets; u_int64_t bytes; }; static...
<?php /** * Shop breadcrumb * * @author WooThemes * @package WooCommerce/Templates * @version 2.3.0 * @see <API key>() */ if (!defined('ABSPATH')) { exit; } if ($breadcrumb) { echo $wrap_before; foreach ($breadcrumb as $key => $crumb) { echo $before; if (!...
package org.josejuansanchez.playground.controllers; import android.content.Context; import android.os.Vibrator; import org.josejuansanchez.playground.MainActivity; import org.josejuansanchez.playground.model.Message; public class VibrateController { public final static String TAG = "VibrateController"; private ...
#include "converters.h" template <typename I, typename O> size_t resampler<I, O>::convert(const void* buf, size_t len) { I* const in = (I*)_buffer; O* const out = (O*)buf; size_t idx = 0; unsigned int error = 0; const size_t samples = len/sizeof(I); for (size_t j=0; j<samples; j+=channels) {...
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8" /> <meta name="robots" content="all" /> <meta name="author" content="w3school.com.cn" /> <link rel="stylesheet" type="text/css" href="../c5.css" /> <title>HTML &lt;b&gt; </title> </head> <body class="html" id="tags"> <div id="wrapper"> <div id="header"> <...
<!DOCTYPE html> <html> <head> <title>Tryit Editor v2.1 - Show PHP</title> <link rel="stylesheet" href="../trycss.css"> <!--[if lt IE 8]> <style> .textarea, .iframe {height:800px;} #iframeSource, #iframeResult {height:700px;} </style> <![endif] <script> (function(i,s,o,g,r,a,m){i['<API key>']=r;i[r]=i[r]||function(){ ...
/* line 2, ../scss/neat/grid/_grid.scss */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } @font-face { font-family: 'oswaldregular'; src: url("../fonts/oswald_emdash/<API key>.eot"); src: url("../fonts/oswald_emdash/<API key>.eot?#iefix") format("embedded-opentype...
<?php /** * @file * @brief Tests for Scan model */ namespace Fossology\UI\Api\Test\Models { use Mockery as M; use Fossology\UI\Api\Models\Analysis; use Fossology\UI\Api\Models\ScanOptions; use Fossology\UI\Api\Models\Reuser; use Fossology\UI\Api\Models\Decider; use Fossology\Lib\Dao\UserDao; use Fossol...
require.config({ baseUrl: './scripts', paths: { 'angular': 'vendor/angular/angular', 'angular-route': 'vendor/angular-route/angular-route' }, shim: { 'angular': { exports: 'angular' }, 'angular-route': { deps: ['angular'] } }, ...
package guitetris; import java.io.File; import java.io.IOException; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.sound.sampled.Line; import javax.sound.sampled.LineEvent; import javax.sound.sampled.LineEvent.Type; import javax.sound.s...
package com.clustercontrol.jobmanagement.bean; /** * <BR> * * @version 1.0.0 * @since 1.0.0 */ public class RunStatusConstant { public static final int START = 0; public static final int END = 1; public static final int ERROR = 2; }
#ifndef <API key> #define <API key> // How to specify (and save memory!!) // that this matrix is symmetric? struct <API key> { union { struct { double xx; double yx; double zx; double xy; double yy; double zy; double xz; double yz; double zz; } data; d...
#include "<API key>.h" #include "gtk_roccat_helper.h" #include "i18n-lib.h" // TODO add toggle handler // TODO make labels clickable #define <API key>(klass) (<API key>((klass), <API key>, <API key>)) #define <API key>(klass) (<API key>((klass), <API key>)) #define <API key>(obj) (<API key>((obj), <API key>, <API key>)...
#!/usr/bin/env ruby Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f) : Dir.chdir("..") { s.call(f) } }).call("spec/spec_helper.rb") } require 'puppet/indirector/file_bucket_file/rest' describe Puppet::FileBucketFile::Rest do it "should be a sublcass of Puppet::Indirector::REST" do ...
// $Id: globals.h 5721 2008-08-06 12:01:52Z wansti $ // SuperTux // Tobias Glaesser <tobi.web@gmx.de> // Ingo Ruhnke <grumbel@gmx.de> // This program is free software; you can redistribute it and/or // as published by the Free Software Foundation; either version 2 // This pr...
import pytest @pytest.fixture def create_repo(remote, token): repo = remote.new_repo(token) remote.modify_repo(repo, "name", "testrepo0", token) remote.modify_repo(repo, "mirror", "http: remote.modify_repo(repo, "mirror_locally", False, token) remote.save_repo(repo, token) @pytest.fixture def remove...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h" /* * real time clock and non-volatile ram */ enum { Paddr= 0x70, /* address port */ Pdata= 0x71, /* data port */ Seconds= 0x00, Minutes= 0x...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Projekt_BD { public class Pacjent { [Key] public Guid IdPacjenta { get; set; } public String Imie { get; set; } ...
<?php defined('_JEXEC') or die('Restricted access'); require_once ( JPATH_ROOT .'/components/com_community/models/models.php'); //CFactory::load( 'tables' , 'activity' ); class <API key> extends JCCModel { public function __construct() { parent::__construct(); } /** * Return an object with ...
<?php // if($_GET['reportpost'] == $post->ID) { app_report_post($post->ID); $reported = true;} ?> <script type='text/javascript'> // <![CDATA[ /* setup the form validation */ jQuery(document).ready(function ($) { $('#mainform').validate({ errorClass: 'invalid' }); }); </script> <div class="content"> ...
// QtLobby released under the GPLv3, see COPYING for details. #include "Downloader.h" #include "IDownloader.h" #include <QUrl> #include <QDebug> #include <QApplication> #include <QTimer> #include <QMutex> #include "Settings.h" #include <iostream> #define MAX_TRIES 10 enum dltype { DLTYPE_RAPID = 0, DLTYPE_HTTP = 1,...
# THOR base dir import logging import glob import os import sys # dump a few things into the THOR namespace from .xray import * # list all the files included in THOR
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>SteelBreeze Reference Manual: Member List</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="t...
#include <openbeacon.h> #ifdef ENABLE_PN532_RFID #include "pn532.h" #include "rfid.h" void rfid_reset (unsigned char reset) { GPIOSetValue (PN532_RESET_PORT, PN532_RESET_PIN, reset ? 1 : 0); } static void rfid_cs (unsigned char cs) { GPIOSetValue (PN532_CS_PORT, PN532_CS_PIN, cs ? 1 : 0); } static void rfid_tx...
<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><link rel='stylesheet' type='text/css' href='../tononkira.css' /></head><body><ul class="hira-fihirana-list"><li style="color: red;"><b>Fihirana Vaovao</b> <i>p. 145</i></li></ul>Asandrato any aminao ny fanahiko, Ray ô.</body></html>
<!doctype html public "- <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Detail view of _user_avatar.form.php</title> <link rel="stylesheet" href="../../../sample.css" type="text/css"> <link rel="stylesheet" href="../../../sample-print.css" type="text/css" media="print"> <style id="hilight" type=...
package com.dtr.oas.service; import java.util.List; import com.dtr.oas.exception.<API key>; import com.dtr.oas.exception.<API key>; import com.dtr.oas.model.Strategy; public interface StrategyService { public void addStrategy(Strategy strategy) throws <API key>; public Strategy getStrategy(int id) throws <API k...
#ifndef __SHARED_PARSER_H__ #define __SHARED_PARSER_H__ struct include_file_buffer { int line; char *config_file; char *config_save; }; void include_file(FILE *f, char *name); void save_parse_context(struct include_file_buffer *buffer, FILE *f, char *name); void <API key>(struct include_file_buffer *buffer)...
start javaw -Djava.library.path=../lib -classpath ./;<API key>.jar;../lib/NativeFmodEx.jar org.jouvieje.FmodEx.Examples.PlayList
#!/bin/bash # mak _ramsize="512" diskfile="ffs.img" _rebuild="0" _debug="0" _curses="" _logtofile="stdio" _test="0" _test_arg="" _vga="-vga std" _power="-device isa-debug-exit,iobase=0xf4,iosize=0x04" _kvm="-no-kvm" if [ ! -e "kernel" ]; then _rebuild="1" fi _test_arg_need="0" for arg in $@ do if [ "$_test_arg_need...
<?php namespace oat\taoRevision\model; use common_Exception; use common_Logger; use oat\generis\model\fileReference\<API key>; use oat\generis\model\GenerisRdf; use oat\generis\model\OntologyAwareTrait; use oat\generis\model\OntologyRdfs; use oat\oatbox\filesystem\Directory; use oat\oatbox\filesystem\File; use oat\oatb...
#pragma once #include "MapStrToID.h" #include "ScriptParser.h" #include <vector> using namespace std; class CCfgFileLoader { public: struct Session { std::string strName; CMapStrToIDMgr m_wordsMgr; std::vector<CScriptWords2*> m_vectorWords; }; public: CCfgFileLoader(void); ...
#include <linux/serial_core.h> #include <asm/io.h> #include <asm/gpio.h> #if defined(CONFIG_H83007) || defined(CONFIG_H83068) #include <asm/regs306x.h> #endif #if defined(CONFIG_H8S2678) #include <asm/regs267x.h> #endif #if defined(<API key>) || \ defined(<API key>) || \ defined(<API key>) || \ defined(<API...
<?php defined( '_JEXEC' ) or die( 'Unauthorized Access' ); // Import parent view FD::import( 'site:/views/views' ); class <API key> extends EasySocialSiteView { /** * Retrieves groups * * @since 1.0 * @access public * @param Array An array of groups */ public function ...
package com.android.W3T.app; import android.app.Activity; import android.app.PendingIntent; import android.content.Intent; import android.content.IntentFilter; import android.content.IntentFilter.<API key>; import android.os.Bundle; import android.view.KeyEvent; import android.widget.Toast; import android.nfc.NdefMessa...
# 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 "TangoCMS" authors [ "Brendan Coles <bcoles@gmail.com>", # 2011-07-27 ] version "0.1" description "TangoCMS is an open source (GNU/GPL 2.1) PHP Content Management System (CMS)." we...
<?php !defined('IN_HDWIKI') && exit('Access Denied'); class control extends base{ function control(& $get,& $post){ $this->base( & $get,& $post); $this->load("doc"); $this->load("category"); $this->load("user"); $this->load("usergroup"); $this->load("synonym"); ...
#ifndef ASTNODE_H_ #define ASTNODE_H_ #ifdef __cplusplus extern "C" { #endif #include <antlr3.h> #include <astsymboltypes.h> #ifdef __cplusplus class ASTScope; typedef ASTScope* pASTScope; #else struct ASTScope; typedef struct ASTScope* pASTScope; #endif // Keep in sync with const char* node_type_names[] !!! enum ASTNo...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Random glossary entry block &mdash; mooclms 2.6.1 documentation</title> <link rel="stylesheet" href="_static/default.css" type="tex...
package wusc.edu.pay.service.test; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.<API key>; import org.springframework.test.co...
#! /bin/bash _cryptotools_opts () { local cur prev opts COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD - 1]} CIPHERS="caesar-shift affine-shift vigenere keyword" case "$prev" in "ciphers") COMPREPLY=($(compgen -W "-d $CIPHERS" -- $cur)) ;; "-d...
/* * * fdlist.c maintain lists of certain important fds * * * */ #include "fdlist.h" #include "client.h" /* struct Client */ #include "ircd.h" /* GlobalSetOptions */ #include "s_bsd.h" /* highest_fd */ #include "config.h" /* option settings */ #include "umodes.h" #include <string.h> #include <assert.h> u...
#include <fstream> CPoint GetDesktopSize(void); void PrintTimeStamp(std::ofstream stream); CString TimeStampString();
# SMPanes Panes and widgets for displaying information (e.g. messages and sensor data) on a SmartMatrix-based display
package org.cnv.shr.sync; import java.io.IOException; import java.net.<API key>; import java.util.Iterator; import org.cnv.shr.db.h2.DbPaths2; import org.cnv.shr.mdl.PathElement; import org.cnv.shr.mdl.RemoteDirectory; import org.cnv.shr.mdl.RemoteFile; import org.cnv.shr.mdl.SharedFile; import org.cnv.shr.msg.PathList...
package com.ihaoxue.library.imagezoom.utils; import java.io.IOException; import android.content.<API key>; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.media.ExifInterface; import android.net.Uri; import android.os.Bundle; import android.provider...
<?php namespace AmapBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * PointLivraison */ class PointLivraison { /** * @var integer */ private $id; /** * @var string */ private $adresse; /** * @var string */ private $nomPointLivraison; /** * Get id ...
using OpenTK.Audio.OpenAL; using System; using System.IO; namespace bucklespring.net { public class WavData : IDisposable { public Int32 Channels { get; private set; } public Int32 BitsPerSample { get; private set; } public Int32 SampleRate { get; private set; } public Byte[] Sou...
#include "globals.h" elength_t psy_align(linesize_t linepos_start); elength_t psy_binclude(linesize_t linepos_start); elength_t psy_dsb(linesize_t linepos_start); elength_t psy_regsize(linesize_t linepos_start, int reg); elength_t psy_cpu(linesize_t linepos_start); elength_t readData(linesize_t linepos_start, TERMSIZE ...
ActiveAdmin.register Contato do # See permitted parameters documentation: # permit_params :list, :of, :attributes, :on, :model # permit_params do # permitted = [:permitted, :attributes] # permitted << :other if resource.something? # permitted # end end
//Anything above this #include will be ignored by the compiler #include "qcommon/exe_headers.h" // this include must remain at the top of every CPP file #include "client.h" #include "FxScheduler.h" vec3_t WHITE = {1.0f, 1.0f, 1.0f}; struct SEffectList { CEffect *mEffect; int mKillTime; bool mPo...
<?php /** * Set the content width based on the theme's design and stylesheet. * * Used to set the width of images and content. Should be equal to the width the theme * is designed for, generally via the style.css stylesheet. */ if ( ! isset( $content_width ) ) $content_width = 640; /** Tell WordPress to run tw...
<?php ?> <div class="centerColumn" id="<API key>"> <h1><?php echo HEADING_TITLE; ?></h1> <?php if ($accountHasHistory === true) { foreach ($accountHistory as $history) { ?> <div class="review_box"> <div class="product_info_left"> <span class="title"><?php echo TEXT_ORDER_NUMBER . $history['orders_id']; ?></span> ...
/* * Notebook: * - hugetlb needs more code * - kcore/oldmem/vmcore/mem/kmem check for hwpoison pages * - pass bad pages to kdump next kernel */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/page-flags.h> #include <linux/kernel-page-flags.h> #include <linux/sched.h> #include <linux/ksm.h> #include...
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for LengthOutOfRange. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="LengthOutOfRange"> * &lt;restri...
# SCORE MPI-parallelized cellular automaton ensemble model for the simulation of primary recrystallization phenomena in 3D A detailed documentation of the model and the program is available under: http://score.readthedocs.org/en/master/ The authors of SCORE gratefully acknowledge the financial support from the Deutsche...
/* DEBUG: section 16 Cache Manager API */ #include "squid.h" #include "base/TextException.h" #include "ipc/TypedMsgHdr.h" #include "mgr/ActionParams.h" Mgr::ActionParams::ActionParams(): httpMethod(Http::METHOD_NONE) { } Mgr::ActionParams::ActionParams(const Ipc::TypedMsgHdr &msg) { msg.getString(httpUri); S...
/* OSSAudio.cc * * Audio agent -- OSS functions * * Authors: Michal Svec <msvec@suse.cz> */ #include <unistd.h> #include <errno.h> #include <fcntl.h> #include <sys/ioctl.h> #include <linux/soundcard.h> #include <y2util/y2log.h> #include "OSSAudio.h" /** * stereo volume structure for oss volume settings */ typede...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #ifndef SPECTRUM_WIFI_PHY_H #define SPECTRUM_WIFI_PHY_H #include "ns3/antenna-model.h" #include "wifi-phy.h" #include "<API key>.h" #include "ns3/spectrum-channel.h" #include "ns3/<API key>.h" namespace ns3 { /** * \brief 802.11 PHY layer model * \ingr...
<?php /** * @file * Contains \Drupal\social_counters\Plugin\SocialCounters\Twitter. */ namespace Drupal\social_counters\Plugin\SocialCounters; use Drupal\Core\Url; use Drupal\social_counters\Plugin\<API key>; /** * Provides a Twitter social counters plugin. * @Plugin( * id = "<API key>", * label = @Translati...
<?php namespace core; use Cellular; class Helper { public static function token($len = 32, $md5 = true) { mt_srand((double)microtime() * 1000000); $chars = array( 'Q', '@', '8', 'y', '%', '^', '5', 'Z', '(', 'G', '_', 'O', '`', 'S', '-', 'N', '<', 'D', '{', '}', '[', ']',...
#if !defined(<API key>) #define <API key> #if defined ( TOUCH_PLATFORM_MTK ) #if defined ( TOUCH_MODEL_Y70 ) #define TOUCH_I2C_BUS_NUM 0 #define <API key> 0x20 #elif defined ( TOUCH_MODEL_LION_3G ) #define TOUCH_I2C_USE #define TOUCH_I2C_BUS_NUM 0 #define <API key> #define <API key> 0x20 #elif defined ( TOUCH_MODEL_M2 ...
package cn.canyin.service.impl; import java.util.List; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import cn.canyin.dao.FoodDao; import cn.canyin.model.Food; import cn.canyin.service.FoodService; public class FoodServiceImpl implements FoodService { private static ...
package com.oddlabs.tt.player; import java.util.List; import com.oddlabs.tt.model.RacesResources; import com.oddlabs.tt.model.Selectable; import com.oddlabs.tt.model.Unit; import com.oddlabs.tt.pathfinder.FindOccupantFilter; import com.oddlabs.tt.pathfinder.UnitGrid; public final strictfp class NativeChieftainAI extend...
#ifndef <API key> #define <API key> #include "Platform/Define.h" #include "Database/DatabaseEnv.h" #include <vector> class Player; class ObjectMgr; #define MAX_QUEST_LOG_SIZE 25 #define <API key> 4 #define <API key> <API key> #define <API key> 4 #define <API key> 6 #define QUEST_REWARDS_COUNT 4 #define QUEST_DEPLINK_CO...
// Black-Scholes // Analytical method for calculating European Options // Reference Source: Options, Futures, and Other Derivatives, 3rd Edition, Prentice // Hall, John C. Hull, #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #ifdef ENABLE_PARSEC_HOOKS #include <hooks.h> #endif // Multi-thr...
#include <bsp.h> #include <rtems/libio.h> #include <termios.h> #include <at91rm9200.h> #include <at91rm9200_dbgu.h> #include <at91rm9200_pmc.h> #include <rtems/bspIo.h> #include <libchip/serial.h> #include <libchip/sersupp.h> volatile int dbg_dly; /* static function prototypes */ static int dbgu_first_open(int majo...
package main import ( "runtime" "strings" "github.com/gin-gonic/gin" "go.bug.st/serial" ) func infoHandler(c *gin.Context) { host := c.Request.Host parts := strings.Split(host, ":") host = parts[0] c.JSON(200, gin.H{ "version": version, "http": "http://" + host +...
#define _GNU_SOURCE #define NETMAP_WITH_LIBS #include <poll.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <net/netmap_user.h> #include <netinet/ether.h> #include <sys/ioctl.h> #include <pico_ipv4.h> #include <pico_stack.h> #include <pico_socket.h> #define...
// C++ code generated with wxFormBuilder (version Nov 6 2013) // PLEASE DO "NOT" EDIT THIS FILE! #ifndef <API key> #define <API key> #include <wx/artprov.h> #include <wx/xrc/xmlres.h> #include <wx/intl.h> #include <wx/scrolwin.h> #include <wx/gdicmn.h> #include <wx/font.h> #include <wx/colour.h> #include <wx/settings....
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>git resources &mdash; 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 rel="stylesheet" hre...
<!DOCTYPE HTML> <! Alpha by HTML5 UP html5up.net | @n33co Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) <html> <head> <title>{{ page.title }}</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="descripti...
<?php add_action( 'wp_enqueue_scripts', '<API key>' ); function <API key>() { wp_enqueue_style( 'wpe-styles', get_stylesheet_uri() ); } add_action( 'after_switch_theme', '<API key>' ); function <API key>() { add_option('wpe_b1_theme',md5(rand())); $dir = <API key>(); require $dir . '/inc/identicon-mod.p...
#ifndef BRUSHTOOL_H #define BRUSHTOOL_H #include "stroketool.h" #include "bitmapimage.h" class BrushTool : public StrokeTool { Q_OBJECT public: explicit BrushTool( QObject *parent = 0 ); ToolType type() override; void loadSettings() override; QCursor cursor() override; void mouseMoveEvent( QMous...
/* $Id: QIArrowButtonPress.h 55401 2015-04-23 10:03:17Z vboxsync $ */ /** @file * VBox Qt GUI - QIArrowButtonPress class declaration. */ #ifndef <API key> #define <API key> /* GUI includes: */ #include "QIRichToolButton.h" #include "QIWithRetranslateUI.h" /** QIRichToolButton extension * representing arrow tool-but...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Sun May 04 12:45:13 EDT 2014 --> <TITLE> FtpHost (JFtp) </TITLE> <META NAME="date" CONTENT="2014-05-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascr...
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/ioctl.h> #include <sys/wait.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> #include <glib.h> #include "hcid.h"...
#include <libratbox_config.h> #include <ratbox_lib.h> #include <commio-int.h> #include <commio-ssl.h> #ifdef HAVE_MBEDTLS #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" #include "mbedtls/certs.h" #include "mbedtls/x509.h" #include "mbedtls/ssl.h" #include "mbedtls/net.h" #include "mbedtls/error.h" #include ...
<?php include "Php/MsgHandler.php"; ?> <html> <head> <meta charset="UTF-8"> <!--FavIcon <link rel="shortcut icon" href="Graphics/favicon.ico" type="image/x-icon"> <link rel="icon" href="Graphics/favicon.ico" type="image/x-icon"> <!--CSS <link rel="stylesheet" type="te...
<?php session_start(); include_once 'config.php'; // loads config variables include_once 'lib/query.php'; // imports queries include_once 'lib/functions.php'; $query = sprintf(TAEKWON, $CONFIG_gm_hide); $result = execute_query($query, 'taekwon.php'); caption($lang['TAEKWON_LADDER']); echo ' <table class="maintable data...