answer stringlengths 15 1.25M |
|---|
#ifndef <API key>
#define <API key>
/** @file
* "Add Expression" dialog box.
* @ingroup dialog_group
*/
/** User requested the "Add Expression" dialog box by menu or toolbar.
*
* @param widget corresponding text entry widget
* @return the newly created dialog widget
*/
GtkWidget *<API key>(GtkWidget *widget);
... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>oRTP: /Users/jehanmonnier/workspaces/<API key>/linphone-iphone/submodules/linphone/oRTP/src ... |
<?php
/**
* Shows a welcome or update message after the plugin is installed/updated
*/
class <API key> {
/** @var self */
private static $instance = null;
public function add_hooks() {
add_action( 'admin_init', array( $this, 'maybe_redirect' ), 10, 0 );
add_action( 'admin_menu', array( $th... |
<?php
defined('_JEXEC') or die('Restricted access');
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<table class="adminform">
<tr>
<td width="100%">
<?php echo JText::_('COM_REDEVENT_SEARCH' );?>
<input type="text" name="search" id="search" value="<?php ec... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# progreso.py
# 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. ... |
#include "Battery.hpp"
#ifdef HAVE_BATTERY
#if (defined(_WIN32_WCE) && !defined(GNAV))
#include <windows.h>
namespace Power
{
namespace Battery{
unsigned Temperature = 0;
unsigned RemainingPercent = 0;
bool <API key> = false;
batterystatus Status = UNKNOWN;
};
namespace External{
externalstatu... |
<?php
namespace Finna\ILS\Driver;
use VuFind\Exception\ILS as ILSException;
class KohaRest extends \VuFind\ILS\Driver\KohaRest
{
/**
* Mappings from Koha messaging preferences
*
* @var array
*/
protected $<API key> = [
'Advance_Notice' => 'dueDateAlert',
'Hold_Filled' => 'pic... |
package com.github.esadmin.meta.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTabl... |
# notice is included verbatim in any distributions. No written agreement,
# and need not follow the licensing terms described here, provided that
# the new terms are clearly indicated on the first page of each file where
# they apply.
DESTDIR =
VPATH = ../../.././libgloss/libnosys
srcdir = ../../.././libgloss/libnosys
... |
\hypertarget{padlock_8h}{\section{C\-:/dev2/luambedtls/dependencies/mbedtls/include/mbedtls/padlock.h File Reference}
\label{padlock_8h}\index{C\-:/dev2/luambedtls/dependencies/mbedtls/include/mbedtls/padlock.\-h@{C\-:/dev2/luambedtls/dependencies/mbedtls/include/mbedtls/padlock.\-h}}
}
V\-I\-A Pad\-Lock A\-C\-E for H\... |
<?php
/* core/themes/stable/templates/block/<API key>.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... |
import unittest
from pyxt.mda import *
from pyxt.chargen import <API key>
class MDATests(unittest.TestCase):
def setUp(self):
self.cg = <API key>(width = 9, height = 14)
self.mda = <API key>(self.cg)
# Hijack reset so it doesn't call into Pygame during the tests.
self.reset_count = 0... |
( function($) {
} )( jQuery );
var waitForFinalEvent = (function () {
var timers = {};
return function (callback, ms, uniqueId) {
if (!uniqueId) {
uniqueId = "Don't call this twice without a uniqueId";
}
if (timers[uniqueId]) {
clearTimeout (timers[uniqueId]);
}
timers[uniqueId] = se... |
#include <asm/gpio.h>
/* Board GPIO configuration entry */
struct gpio_cfg_ent {
/* GPIO number */
int gpio_num;
/* Configure GPIO as output */
int is_output;
/* Initial output value for output */
int output_val;
};
/**
* Board GPIO Initialization
*
* @param[in] cfg
* B... |
/* ScriptData
SDName: <API key>
SD%Complete: 70%
SDComment:
SDCategory: Sunwell_Plateau
EndScriptData */
#include "precompiled.h"
#include "sunwell_plateau.h"
/* Sunwell Plateau:
0 - Kalecgos and Sathrovarr
1 - Brutallus
2 - Felmyst
3 - Eredar Twins (Alythess and Sacrolash)
4 - M'uru
5 - Kil'Jaeden
*/
static const Dial... |
package com.cluit.util.dataTypes;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import com.cluit.util.Const;
import com.cluit.util.AoP.MethodMapper;
import com.cluit.util.methods.ClusteringUtils;
import com.cluit.util.structures.<API key>;
import com.cluit.util.structures.Pair;
/**A cluste... |
SUBROUTINE STPTRS( UPLO, TRANS, DIAG, N, NRHS, AP, B, LDB, INFO )
*
* -- LAPACK routine (version 3.2) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER DIAG, TRANS, UPLO
INTEGER INFO, LDB, N, NRHS
* .... |
<?php
/**
* Plugin class.
*
*
* @package SNF_Live_Report
* @author Hampus Persson <hampus@hampuspersson.se>
*/
class SFN_Live_Report {
/**
* Plugin version, used for cache-busting of style and script file references.
*
* @since 1.0.0
*
* @var string
*/
protected $versi... |
# MSH
## Beta Version
Created by Ne02ptzero (Louis Solofrizzo), Fusiow (Ryad Kharif) and Ivory9334 (Aurelien Ardjoune)
Stable version for **MacOSX**
Work on **Linux**, but no manual completion (options & description of command)
## What's MSH ?
Msh is a colorful shell to help beginners in learning Linux, but also to con... |
# encoding: utf-8
# This program is free software; you can redistribute it and/or modify it
# by the Free Software Foundation.
# This program is distributed in the hope that it will be useful, but WITHOUT
# more details.
# with this program; if not, contact Novell, Inc.
# To contact Novell about this file by physical o... |
{
int n, dx, dy, sx, pp_inc_1, pp_inc_2;
register int a;
register PIXEL *pp;
#if defined(INTERP_RGB)
register unsigned int r, g, b;
#endif
#ifdef INTERP_RGB
register unsigned int rinc, ginc, binc;
#endif
#ifdef INTERP_Z
register unsigned int *pz;
int zinc;
register unsigned int z;
#endif... |
/* utility routines for keeping some statistics */
#include <sys/types.h>
#include <osmocore/linuxlist.h>
#include <osmocore/talloc.h>
#include <osmocore/statistics.h>
static LLIST_HEAD(counters);
void *tall_ctr_ctx;
struct counter *counter_alloc(const char *name)
{
struct counter *ctr = talloc_zero(tall_ctr_ctx, s... |
using NetworkProbe.Port.Services;
using System.Collections.Generic;
using System.Net;
using NetworkProbe.Port;
using NetworkProbe.Model;
using System.Threading.Tasks;
using System.Linq;
namespace NetworkProbe
{
public static class Probe
{
<summary>
Initiates a service scan on a single service to... |
import urllib2
def sumaDos():
print 10*20
def division(a,b):
result=a/b
print result
def areatriangulo(base,altura):
result2=(base*altura)/2
print result2
def cast():
lista=[1,2,3,"hola"]
tupla=(1,2,3)
diccinario={"key1":"Diego","key2":"Piqui","key3":"Chuy"}
for k,v in diccionario:
... |
#ifndef QGSMEASUREDIALOG_H
#define QGSMEASUREDIALOG_H
#include "ui_qgsmeasurebase.h"
#include "qgspoint.h"
#include "qgsdistancearea.h"
#include "qgscontexthelp.h"
class QCloseEvent;
class QgsMeasureTool;
class QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase
{
Q_OBJECT
public:
//! Constructor
... |
class EmailToken < ActiveRecord::Base
belongs_to :user
<API key> :<API key> :user_id
<API key> :email
before_validation(:on => :create) do
self.token = EmailToken.generate_token
end
after_create do
# Expire the previous tokens
EmailToken.update_all 'expired = true', ['user_id = ? and id != ?', s... |
#include <linux/fs.h>
#include <linux/f2fs_fs.h>
#include "f2fs.h"
#include "node.h"
#include "segment.h"
/*
* Roll forward recovery scenarios.
*
* [Term] F: fsync_mark, D: dentry_mark
*
* 1. inode(x) | CP | inode(x) | dnode(F)
* -> Update the latest inode(x).
*
* 2. inode(x) | CP | inode(F) | dnode(F)
* -> No... |
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
#ifdef __FreeBSD__
#include <sys/cdrio.h>
#endif
#include "m_option.h"
#include "stream.h"
#include "libmpdemux/demuxer.h"... |
#include "<API key>.hpp"
#include "Import.hpp"
#include "DataSource.h"
#include "DataSourceTableSync.h"
#include "DBTransaction.hpp"
#include "ImportableTableSync.hpp"
#include "<API key>.h"
#include "StopPointTableSync.hpp"
#include "<API key>.h"
#include "<API key>.hpp"
#include "<API key>.hpp"
#include "LineStopTabl... |
\file
Contains the declaration of the class OrbitalViewerBase
#ifndef ORBITALVIEWERBASE_H
#define ORBITALVIEWERBASE_H
// Forward class declarations & header files ///////////////////////////////
// Qt forward class declarations
class QHBoxLayout;
class QTimer;
// Xbrabo forward class declarations
class ColorButton;
cla... |
// ADOBE SYSTEMS INCORPORATED
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
#include "Module.h"
#include "HostAPI.h"
namespace XMP_PLUGIN
{
static bool <API key> ( const PluginAPIRef pluginAPIs )
{
// these plugin APIs are mandatory to run an XMP file handler
... |
package storm.starter.trident.homework.state;
import storm.trident.operation.TridentCollector;
import storm.trident.state.BaseStateUpdater;
import storm.trident.tuple.TridentTuple;
import java.util.ArrayList;
import java.util.List;
public class TopKStateUpdater extends BaseStateUpdater<TopKState> {
@Override
pu... |
</div>
<footer>
<p>copyright <a href="mailto:pengmaradi@gmail.com">@Xiaoling Peng</a> <a href="0763363847">call me</a></p>
</footer>
</body>
</html> |
@charset "utf-8";
#smenu_srch .iText,
#smenu_srch button {
background-color: #002a00;
}
#login_btn svg.active,
#login_window .idpwWrap .login,
#sider_nav h3 a,
#sider_nav ul.smenu_3rdlevel {
background-color: #005500;
}
#sider_nav ul.smenu_3rdlevel li a {
border-bottom: 3px solid #005500;
}
#sider_nav,
#log... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ctas: /home/antonmx/work/projects/ctascmake/image/ Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"... |
<?php
defined('GANTRY_VERSION') or die();
gantry_import('core.params.gantryparamoverride');
/**
* @package gantry
* @subpackage core.params
*/
class <API key> extends GantryParamOverride {
function store(){
global $gantry;
foreach($gantry->_setinsession as $session_var){
if ($gantry->... |
<?php
/**
* Shows basic event infos and countdowns.
*
* @param array $event_config The event configuration
* @return string
*/
function <API key>($event_config)
{
if ($event_config == null) {
return div('col-md-12 text-center', [
heading(sprintf(_('Welcome to the %s!'), '<span class="icon-i... |
"""Module computes indentation for block
It contains implementation of indenters, which are supported by katepart xml files
"""
import logging
logger = logging.getLogger('qutepart')
from PyQt4.QtGui import QTextCursor
def _getSmartIndenter(indenterName, qpart, indenter):
"""Get indenter by name.
Available inden... |
<?php
# Database Configuration
define( 'DB_NAME', 'wp_promedia' );
define( 'DB_USER', 'promedia' );
define( 'DB_PASSWORD', '<API key>' );
define( 'DB_HOST', '127.0.0.1' );
define( 'DB_HOST_SLAVE', '127.0.0.1' );
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', 'utf8_unicode_ci');
$table_prefix = 'wp_';
# Security Sal... |
#ifndef _SS_CONSTS_HPP_
#define _SS_CONSTS_HPP_
#include "StrideSearchConfig.h"
namespace StrideSearch {
Meters per second to Kilometers per hour conversion factor
static const Real MPS2KPH = 3.6;
Knots to meters per second conversion factor
static const Real KTS2MPS = 0.5144444;
Nautical miles to k... |
<?php
define('NAVBAR_TITLE', 'Cuénteselo a un amigo');
define('HEADING_TITLE', 'Háblele a un amigo sobre \'%s\'');
define('<API key>', 'Sus datos');
define('<API key>', 'Los datos de sus amigo');
define('<API key>', 'Su mensaje');
define('<API key>', 'Su nombre:');
define('<API key>', 'Su dirección e-mail:');
define('<... |
package eu.ttbox.geoping.ui.admob;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import android.view.View;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequ... |
#ifndef lgc_h
#define lgc_h
#include "lobject.h"
#include "lstate.h"
/*
** Collectable objects may have one of three colors: white, which
** means the object is not marked; gray, which means the
** object is marked, but its references may be not marked; and
** black, which means that the object and all its references a... |
package org.cohorte.utilities.security;
/**
* @author ogattaz
*
*/
public class CXPassphraseBuilder {
/**
* @param aValue
* @return
* @throws <API key>
* @throws <API key>
*/
public static IXPassphrase buildB64(final IXPassphrase aPassphrase)
throws <API key>, <API key> {... |
'''Manual check (not a discoverable unit test) for the key import,
to identify problems with gnupg, gpg, gpg1, gpg2 and so on'''
import os
import shutil
from gnupg import GPG
def setup_keyring(keyring_name):
'''Setup the keyring'''
keyring_path = os.path.join("test", "outputdata", keyring_name)
# Delete ... |
<html>
<head>
<title>case sensitivity on id</title>
<style>
#test { background-color: blue; }
#TEST { background-color: pink; }
</style>
<body>
<div id="test">Hello</div>
<div id="TEST">Goodbye</div>
</body>
</html> |
#!/usr/bin/python
"""
Since functions are function instances you can wrap them
Allow you to
- modify arguments
- modify function
- modify results
"""
call_count = 0
def count(func):
def wrapper(*args, **kw):
global call_count
call_count += 1
return func(*args, **kw)
return wrapper
def he... |
<?php
// ini_set('display_errors','1');
function <API key>($catid)
{
global $wpdb,$<API key>;
$product = $wpdb->get_row("SELECT * FROM `".<API key>."` WHERE `id`=$catid LIMIT 1",ARRAY_A);
$output = '';
$output .= "<div class='editing_this_group form_table'>";
$output .= "<p>".str_replace("[categorisation]... |
// oxygensizegrip.cpp
// bottom right size grip for borderless windows
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace gokiTagDB
{
public class Settings
{
public static float[] zoomLevels = new float[7] { .25f, .50f, .75f, 1.0f, 1.25f, 1.5f, 2.0f };
public static int[] updateIntervals = new... |
using JBB.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JBB.DAL.EF
{
public class JBInitializer : System.Data.Entity.<API key><JBContext>
{
protected override void Seed(JBContext context)
{
//base.Seed(context);
var comp... |
{{#each this}}
<dl>
<dt>ID: {{this}}</dt>
<dd><button data-sincro-id="{{this}}" type="button" class="btn btn-md btn-default <API key>"><span class="glyphicon glyphicon-send" data-sincro-id="{{this}}"></span></button></dd>
{{/each}} |
#ifndef __CCGLPROGRAM_H__
#define __CCGLPROGRAM_H__
#include <unordered_map>
#include "base/ccMacros.h"
#include "base/CCRef.h"
#include "base/ccTypes.h"
#include "platform/CCGL.h"
#include "math/CCMath.h"
NS_CC_BEGIN
/**
* @addtogroup shaders
* @{
*/
struct _hashUniformEntry;
class GLProgram;
typedef void (*GLInfoF... |
package com.tachys.moneyshare.dataaccess.db.contracts;
import android.provider.BaseColumns;
public class SettlementContract {
public SettlementContract() {
}
public static class SettlementEntry implements BaseColumns {
public static final String TABLE_NAME = "settlement";
public static final... |
<?php
namespace UmnLib\Core\XmlRecord;
class NlmCatalog extends Record
{
// Must be an id type that uniquely identifies the record,
// usually the record-creating organization's id.
public static function primaryIdType()
{
return 'nlm';
}
// Must return array( 'type' => $type, 'value' => $value ) pairs.... |
my_inf = float('Inf')
print 99999999 > my_inf
# False
my_neg_inf = float('-Inf')
print my_neg_inf < -99999999
# True |
cmd_kernel/irq/handle.o := <API key> -Wp,-MD,kernel/irq/.handle.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/include -Iinclude -I/home/benoit/kernel_android/32/es209ra/arch/arm/include -include include/linux/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wundef -Wstrict-... |
#include "fix_rigid.h"
#include <mpi.h>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "math_extra.h"
#include "atom.h"
#include "atom_vec_ellipsoid.h"
#include "atom_vec_line.h"
#include "atom_vec_tri.h"
#include "domain.h"
#include "update.h"
#include "respa.h"
#include "modify.h"
#include "group.h"
... |
// <summary>
// Defines the ResourceList type.
// </summary>
namespace TW.Resfit.Core
{
using System.Collections.Generic;
using System.Linq;
using TW.Resfit.Framework;
public class ResourceList : ListDecoratorBase<Resource>
{
public ResourceList()
{
}
public Resourc... |
package mnm.mcpackager.gui;
import java.io.File;
import javax.swing.filechooser.FileFilter;
public class JarFilter extends FileFilter {
@Override
public boolean accept(File f) {
if (f.isDirectory())
return true;
return getExtension(f).equalsIgnoreCase("jar");
}
@Override
... |
#ifndef NCMPCPP_MENU_H
#define NCMPCPP_MENU_H
#include <boost/iterator/transform_iterator.hpp>
#include <boost/range/detail/any_iterator.hpp>
#include <cassert>
#include <functional>
#include <iterator>
#include <memory>
#include <set>
#include "curses/formatted_color.h"
#include "curses/strbuffer.h"
#include "curses/w... |
package calliope.handler.post;
import calliope.Connector;
import calliope.exception.AeseException;
import calliope.handler.post.importer.*;
import calliope.constants.Formats;
import calliope.importer.Archive;
import calliope.constants.Config;
import calliope.json.JSONDocument;
import calliope.constants.Database;
import... |
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <pthread.h>
#include <errno.h>
int <API key>(
pthread_attr_t *attr,
const struct sched_param *param
)
{
if ( !attr || !attr->is_initialized || !param )
return EINVAL;
attr->schedparam = *param;
return 0;
} |
#include <QRegExp>
#include <QString>
#include <QStringList>
#include "shortener.h"
#include "network-if.h"
namespace chronicon {
Shortener::Shortener (QObject *parent)
:QObject (parent),
network (0)
{
}
void
Shortener::SetNetwork (NetworkIF * net)
{
network = net;
connect (network, SIGNAL (ShortenReply (QUuid, QS... |
<?php
require_once("../../config.php");
require_once("lib.php");
require_once($CFG->libdir.'/gradelib.php');
$id = required_param('id', PARAM_INT); // course
if (! $course = get_record("course", "id", $id)) {
error("Course ID is incorrect");
}
<API key>($course);
add_to_log($co... |
void RedboxFactory::add (Addr addr, ActionType t)
{
switch (t)
{
case ActionType::RD8 :
return add_read (addr, 1);
case ActionType::RD16 :
return add_read (addr, 2);
case ActionType::RD32 :
return add_read (addr, 4);
case ActionType::RD64 :
return add_read (addr, 8);
case Ac... |
**
// * ClassName: MainTest.java
//package com.ojdbc.sql.test;
//import java.sql.Connection;
//import java.sql.SQLException;
//import com.ojdbc.sql.ConnectionObject;
//import com.ojdbc.sql.DataBase;
//import com.ojdbc.sql.DataBaseEnum;
//import com.ojdbc.sql.DataBaseManager;
//import com.ojdbc.sql.SQLResultSet;
//impor... |
// This file is part of VideoPad.
// VideoPad is free software; you can redistribute it and/or modify
// (at your option) any later version.
// VideoPad is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// along with VideoPad; if not, write to the ... |
'use strict';
angular.module('eshttp')
.filter('unixtostr', function() {
return function(str){
var dt;
dt = Date.create(str * 1000).format('{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}');
if (dt == "Invalid Date") {
return 'N/A';
} else {
return dt;
}
};
})... |
#include "thanks.h"
// EternityProject Public message START:
- To the "developers" like franciscofranco:
Are you able to work on your own?
Also, if you want to badly copy my commits, can you at least give credits
to the proprietary of the commit you're copying?
We're an opensource community, we do this for free... but ... |
<?php
namespace PHPExiftool\Driver\Tag\Microsoft;
use PHPExiftool\Driver\AbstractTag;
class Duration extends AbstractTag
{
protected $Id = 'mixed';
protected $Name = 'Duration';
protected $FullName = 'Microsoft::Xtra';
protected $GroupName = 'Microsoft';
protected $g0 = 'QuickTime';
protected $g... |
#ifndef <API key>
#define <API key>
#include "../CppTest/cpptest.h"
#include "../Raple/Headers/Stack.h"
#ifdef _MSC_VER
#pragma warning (disable: 4290)
#endif
using Raple::Stack;
using Raple::<API key>;
using Raple::<API key>;
namespace RapleTests
{
class StackTests : public Test::Suite
{
public:
... |
# Install script for directory: /home/hscore
# Set the install prefix
IF(NOT DEFINED <API key>)
SET(<API key> "/home/root/hswow")
ENDIF(NOT DEFINED <API key>)
STRING(REGEX REPLACE "/$" "" <API key> "${<API key>}")
# Set the install configuration name.
IF(NOT DEFINED <API key>)
IF(BUILD_TYPE)
STRING(REGEX REPLAC... |
#ifndef <API key>
#define <API key>
#include <qwidget.h>
//Added by qt3to4:
#include <Q3GridLayout>
#include <list>
#include <q3frame.h>
#include <qlayout.h>
#include <qlabel.h>
class Control;
class MetaGear;
class GearControl;
class ControlPanel : public QWidget
{
public:
ControlPanel(QWidget *<API key>, MetaGear *p... |
CKEDITOR.plugins.setLang( 'colordialog', 'en-gb', {
clear: 'Clear',
highlight: 'Highlight',
options: 'Colour Options',
selected: 'Selected Colour',
title: 'Select colour'
} ); |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<link rel="stylesheet" href="../layui/css/layui.css">
<link type="text/css" rel="styleSheet" href="../st... |
{% load i18n %}
<ul class="nav nav-tabs">
<li id="tab-basic">
<a href="{% url 'settings:basic-setting' %}" class="text-center"><i class="fa fa-cubes"></i> {% trans 'Basic setting' %}</a>
</li>
<li id="tab-email" >
<a href="{% url 'settings:email-setting' %}" class="text-center"><i class="fa... |
<?php
if(!defined('kernel_entry') || !kernel_entry) die('Not A Valid Entry Point');
require_once('include/data/cls_table_view_base.php');
class <API key> extends cls_table_view_base
{
private $<API key> = null;
function __construct()
{
$a = func_get_args();
$i = func_num_args();
if (... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>CHAI3D: /home/seb/workspace/chai3d-2.0.0/src/scenegraph/CGenericObject.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tab... |
// This program is free software; you can redistribute it and/or modify it
// by the Free Software Foundation. You may not use, modify or distribute
// This program is distributed in the hope that it will be useful, but
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// with this program; if not, ... |
// 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 Software
// Foundation,... |
#include "jni.h"
#include "jni_util.h"
#include "jvm.h"
#include "jlong.h"
#include <dlfcn.h>
#include <errno.h>
#include <sys/acl.h>
#include "<API key>.h"
static void throwUnixException(JNIEnv* env, int errnum) {
jobject x = JNU_NewObjectByName(env, "sun/nio/fs/UnixException",
"(I)V", errnum);
if (x !... |
#include "TreeFactory.h"
#include "RobotFactory.h"
#include "Robot.h"
#include "kinematic/Tree.h"
#include "kinematic/Enums.h"
#include <vector>
#include <list>
using namespace matrices;
using namespace manip_core::enums;
using namespace manip_core::enums::robot;
namespace factories
{
const Vector3 unitx(1, 0, 0);
cons... |
<!DOCTYPE html>
<html lang="en">
<head>
<?php
Copyright 2015 Luna Claudio,Rebolloso Leandro.
//This file is part of ARSoftware.
//ARSoftware is free software; you can redistribute it and/or
//as published by the Free Software Foundation; either version 2
//ARSoftware is distributed in the hope that it will be useful,
... |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
#define RG_MODULE_STRING "[TrackButtons]"
#include "TrackButtons.h"
#include "TrackLabel.h"
#include "TrackVUMeter.h"
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/AudioPluginInstance.h"
#include "base/Composition.h"
#inclu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Navigation;
namespace SupCarLocator.ViewModel
{
class PageViewModelBase : BaseViewModel
{
protected NavigationContext NavigationContext;
protected NavigationSe... |
/*
* Ring initialization rules:
* 1. Each segment is initialized to zero, except for link TRBs.
* 2. Ring cycle state = 0. This represents Producer Cycle State (PCS) or
* Consumer Cycle State (CCS), depending on ring function.
* 3. Enqueue pointer = dequeue pointer = address of first TRB in the segment.
*
* ... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/hrtimer.h>
#include <linux/clk.h>
#include <mach/hardware.h>
#include <mach/iommu_domains.h>
#include <mach/iommu.h>
#incl... |
<?php
/**
* Collector event
*
* @author Sergey Kambalin <greyexpert@gmail.com>
* @package ow_system_plugins.base.bol
* @since 1.0
*/
class <API key> extends OW_Event
{
public function __construct( $name, $params = array() )
{
parent::__construct($name, $params);
$this->data = array();
... |
package org.mo.game.editor.face.apl.logic.report;
import org.mo.jfa.common.page.FAbstractFormPage;
public class FWebReportPage
extends FAbstractFormPage{
private static final long serialVersionUID = 1L;
private String _tempName;
public String getTempName(){
return _tempName;
}
public void set... |
import xml.etree.ElementTree as ET
import requests
from flask import Flask
import batalha
import pokemon
import ataque
class Cliente:
def __init__(self, execute = False, ip = '127.0.0.1', port = 5000, npc = False):
self.ip = ip
self.port = port
self.npc = npc
if (execute):
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Net;
using System.Collections;
using System.Web;
using System.Xml;
using System.Reflection;
using Mic... |
#ifndef <API key>
#define <API key>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/browser/extensions/<API key>.h"
class <API key> : public ExtensionInstallUI {
public:
<API key>();
virtual ~<API key>();
virtual void OnInstallSuccess(const extensions::Extension* extension,
... |
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/devfreq.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/pagemap.h>
#include <linux/err.h>
#include <linux/leds.h>
#include <linux/scatterlist.h>
#include <linux/log2.h>
#inc... |
<?php
global $theme_options_data;
$logo_id = $theme_options_data['thim_logo'];
// The value may be a URL to the image (for the default parameter)
// or an attachment ID to the selected image.
$logo_src = $logo_id; // For the default value
if ( is_numeric( $logo_id ) ) {
$imageAttachment = <API key>( $logo_id, 'full... |
# attack_csrf.rb
# model of a cross-site request forgery attack
require 'sdsl/view.rb'
u = mod :User do
stores set(:intentsA, :URI)
invokes(:visitA,
# user only types dest address that he/she intends to visit
:when => [:intentsA.contains(o.destA)])
end
goodServer = mod :TrustedServer do
stores... |
<?php
/** Zend_Log */
require_once 'Zend/Log.php';
/** <API key> */
require_once 'Zend/Log/Writer/Abstract.php';
class <API key> extends <API key>
{
/**
* Maps Zend_Log priorities to PHP's syslog priorities
*
* @var array
*/
protected $_priorities = array(
Zend_Log::EMERG => LOG_EME... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using SirenOfShame.Lib;
using SirenOfShame.Lib.Watcher;
using log4net;
namespace GoServices
{
public class GoBuildStatus : BuildStatus
{
private readonly IEnumerable... |
// CategoryModel.h
// healthfood
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface CategoryModel : NSObject
@property (nonatomic, retain)NSString *title;
@property (nonatomic, retain)UIImage *image;
@property (nonatomic, retain)NSArray *idArray;
-(instancetype)initWithTitle:(NSString *)title andIma... |
<?PHP // $Id: dbperformance.php,v 1.12 2008/06/09 18:48:28 skodak Exp $
// dbperformance.php - shows latest ADOdb stats for the current server
require_once('../config.php');
error('TODO: rewrite db perf code'); // TODO: rewrite
// disable moodle specific debug messages that would be breaking the frames
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.