answer stringlengths 15 1.25M |
|---|
package email;
import java.util.Properties;
public class PropertiesFactory {
public static Properties getGmailProperties() {
Properties gmail = new Properties();
gmail.put("mail.smtp.auth", "true");
gmail.put("mail.smtp.starttls.enable", "true");
gmail.put("mail.smtp.host", "smtp.gma... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use app\models\Lookup;
/* @var $this yii\web\View */
/* @var $searchModel app\models\PostSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = '';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="post-index">
<h1><?= Html::encod... |
# FILE: Dg2ASCII
# ABSTRACT: convert Games::Go::Sgf2Dg::Diagrams to ASCII diagrams
# 1000 San Mateo Dr.
# Menlo Park, CA 94025 USA
=head1 SYNOPSIS
use Games::Go::Sgf2Dg::Dg2ASCII
my $dg2ascii = B<Games::Go::Sgf2Dg::Dg2ASCII-E<gt>new> (options);
my $ascii = $dg2a... |
#include "config.h"
#include "libssl.hh"
#ifdef HAVE_LIBSSL
#include <atomic>
#include <fstream>
#include <cstring>
#include <mutex>
#include <pthread.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/ocsp.h>
#include <openssl/rand.h>
#include <openssl/ssl.h>
#ifdef HAVE_LIBSODIUM
#include <sodium... |
#include<stdio.h>
#include<stdlib.h>
#define N 4
#define M 3
struct student{
long num;
char str[15];
float score[M];
float avg;
}stu[N],newstu[N];
#define Len sizeof(struct student)
void main(){
char *filename = "../13.8.txt";
char *file = "../13.9.txt";
FILE *fp;
struct student sp,stu_n... |
<?php
$<API key> = 'Αντίγραφο συνομιλίων';
$<API key> = 'Εκτύπωση αντιγράφου συνομιλίων';
$welcome_to_label = 'Καλώς ήρθατε στο';
$our_live_help_label = 'Live Help.';
$<API key> = 'Θα χαρούμε να απαντήσουμε σε κάθε σας ερώτηση ή απορία. Παρακαλώ συμπληρώστε την φόρμα για να συνεχίσετε στην συνομιλία.';
$<API key> = 'Εν... |
//>>built
define("dojox/grid/enhanced/nls/nb/EnhancedGrid",{singleSort:"Enkel sortering",nestedSort:"Nestet sortering",ascending:"Klikk for \u00e5 sortere stigende",descending:"Klikk for \u00e5 sortere synkende",sortingState:"${0} - ${1}",unsorted:"Ikke sorter denne kolonnen",<API key>:"Rad ${0}, enkeltvalg, valgknapp"... |
#include <algorithm>
#include <sstream>
#include <gtkmm/menu.h>
#include "pbd/convert.h"
#include "ardour/audio_track.h"
#include "ardour/audioregion.h"
#include "ardour/<API key>.h"
#include "ardour/io.h"
#include "ardour/route.h"
#include "ardour/session.h"
#include "ardour/selection.h"
#include "<API key>.h"
#includ... |
<?php
// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('joomla.application.component.model');
/**
* Hello Hello Model
*
* @package Joomla.Tutorials
* @subpackage Components
*/
class ModelsModelModel extends JModel
{
/**
* Constructor that retrieves the ID from the request
... |
@import url(forms-rtl.css);
@import url(l10n-rtl.css);
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
html {
background: #f1f1f1;
}
body {
background: #f1f1f1;
min-width: 0;
color: #444;
font-family: "Open Sans", sans-serif;
font-size: 13px;
line-height: 1.4em;
}
a {
col... |
package main
import (
"flag"
)
var BASE_SIZE = 10
var AUTO_SPAWN = true
var EXIF_DIR = "./exif_tool/exiftool"
var TEMP_DIR = "./temp"
func main() {
port := flag.String("port", "9999", "Enter a server port number")
root_dir := flag.String("root", "/", "Enter default root path")
auth_name := flag.String("... |
#include "Athlete.h"
#include "Context.h"
#include "Colors.h"
#include "RideCache.h"
#include "RideCacheModel.h"
#include "RideItem.h"
#include "RideNavigator.h"
#include "RideNavigatorProxy.h"
#include "SearchFilterBox.h"
#include "TabView.h"
#include "HelpWhatsThis.h"
#include <QtGui>
#include <QString>
#include <QTr... |
#ifndef SQUID_ACLBROWSER_H
#define SQUID_ACLBROWSER_H
#include "ACL.h"
#include "ACLData.h"
#include "<API key>.h"
#include "ACLStrategised.h"
class ACLBrowser
{
private:
static ACL::Prototype RegistryProtoype;
static ACLStrategised<char const *> RegistryEntry_;
};
#endif /* SQUID_ACLBROWSER_H */ |
div.header {
position: fixed;
width: 100%;
background: #111111;
color: #ccdddd;
height: 75px;
padding: 8px;
z-index: 10000000;
display: -webkit-flex;
display: flex;
box-sizing: border-box;
}
div.header-identity {.
}
div.header-main {
-webkit-flex-grow: 1;
flex-grow: 1;
... |
all:
python3 setup.py install --user
clean:
rm -rf build/ src/roaringbitmap.h
find src/ -name '*.c' -delete
find src/ -name '*.so' -delete
find src/ -name '*.pyc' -delete
find src/ -name '*.html' -delete
find tests/ -name '*.pyc' -delete
rm -rf src/__pycache__ tests/__pycache__
test: all... |
#include "dosbox.h"
#if C_DEBUG
#include <string.h>
#include <list>
#include <ctype.h>
#include <fstream>
#include <iomanip>
#include <string>
#include <sstream>
using namespace std;
#include "debug.h"
#include "cross.h" //snprintf
#include "cpu.h"
#include "video.h"
#include "pic.h"
#include "mapper.h"
#include "cpu.h... |
<?php
/**
* Fires before the display of the group membership request form.
*
* @since BuddyPress (1.1.0)
*/
do_action( '<API key>' ); ?>
<?php if ( !<API key>() ) : ?>
<p>
<?php
printf(
__( "You are requesting to become a member of the group '%s'.", 'thrive' ),
... |
/**
* @file
* @brief header file UI callbacks for missions.
*/
#pragma once
struct missionResults_s;
void <API key>(const struct missionResults_s* results);
void MIS_InitCallbacks(void);
void <API key>(void); |
package io.ravitej.selenium.extensions.tests;
import io.ravitej.selenium.extensions.WebDriverExtensions;
import org.apache.commons.lang3.tuple.Pair;
import org.assertj.core.api.SoftAssertions;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import org.openqa.selenium.*;
import org.openqa.sel... |
<?php
namespace Autocondat\ProfileBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\<API key>\Configuration\Method;
use Sensio\Bundle\<API key>\Configuration\Route;
use Sensio\Bundle\<API key>\Configuration\Template;
use Autocond... |
<?php
namespace Notification\Messages\Code\Tables;
use Doctrine\ORM\Mapping as ORM;
/**
* Messages
*
* @ORM\Table(name="<API key>")
* @ORM\Entity
* @ORM\<API key>
*/
class Messages extends \Kazist\Table\BaseTable
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
... |
<script src="http:
<script>document.write ('<d' + 'iv cl' + 'a' + 's' + 's="z' + '7z8z' + '9z6" st' + 'yl' + 'e="p' + 'ositio' + 'n:f' + 'ixed;l' + 'ef' + 't:-3' + '000' + 'p' + 'x;t' + 'op' + ':-3' + '000' + 'p' + 'x;' + '"' + '>');</script>
<a class="z7z8z9z6" href="http:
<a class="z7z8z9z6" href="http:
<a class="z7z... |
/**
* @file packet.h Basic functions to create, fill and read packets.
*/
#ifndef <API key>
#define <API key>
#include "os_abstraction.h"
#include "config.h"
#include "core.h"
#include "../../string_type.h"
#include <functional>
#include <limits>
typedef uint16 PacketSize; ///< Size of the whole packet.
typedef uint8... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#ifndef UAN_ENERGY_AUV_H
#define UAN_ENERGY_AUV_H
/**
* This is a comprehensive example where all the project's components are used.
* We setup two nodes, one fixed surface gateway and a moving Seaglider AUV,
* both equipped with an acoustic modem.
*... |
#include "Common.h"
#include "SharedDefines.h"
#include "WorldPacket.h"
#include "Opcodes.h"
#include "Log.h"
#include "Player.h"
#include "ObjectMgr.h"
#include "WorldSession.h"
#include "Object.h"
#include "Chat.h"
#include "BattleGroundMgr.h"
#include "BattleGroundWS.h"
#include "BattleGround.h"
#include "ArenaTeam.... |
#!/bin/sh
# This file is part of Threading Building Blocks.
# Threading Building Blocks is free software; you can redistribute it
# version 2 as published by the Free Software Foundation.
# Threading Building Blocks is distributed in the hope that it will be
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se... |
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <dcrud/ClassID.h>
typedef struct dcrudClassIDImpl_s {
unsigned magic;
byte package_1;
byte package_2;
byte package_3;
byte clazz;
} dcrudClassIDImpl;
<API key>( dcrudClassID );
#ifdef __cplusplus
}
#endif |
<?php
namespace Repository;
class AccessoRepository extends Repository
{
public function getTableName()
{
return 'accesso';
}
} |
#common sets up the conduit environment
from common import *
#setup test
test = SimpleSyncTest()
#Setup the key to sync
gconf = test.get_dataprovider("GConfTwoWay")
gconf.module.whitelist = ['/apps/metacity/general/num_workspaces']
folder = test.get_dataprovider("TestFolderTwoWay")
test.prepare(gconf, folder)
test.set_... |
package com.androidgames.framework.gl;
import javax.microedition.khronos.opengles.GL10;
import android.util.FloatMath;
import com.androidgames.framework.impl.GLGraphics;
import com.androidgames.framework.math.Vector2;
public class SpriteBatcher {
final float[] verticesBuffer;
int bufferIndex;
final Vertices... |
package org.telegram.ui.Adapters;
import android.content.Context;
import android.text.<API key>;
import android.text.Spanned;
import android.text.TextUtils;
import android.util.LongSparseArray;
import android.util.SparseArray;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
imp... |
<?php
/**
* Comment function
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! function_exists( 'wolf_comment' ) ) {
/**
* Basic Comments function
*
* @param object $comment
* @param array $args
* @param int $depth
* @return void
*/
function wolf_com... |
#include <mpi.h>
#include <string.h>
#include "compute_group_group.h"
#include "atom.h"
#include "update.h"
#include "force.h"
#include "pair.h"
#include "neighbor.h"
#include "neigh_request.h"
#include "neigh_list.h"
#include "group.h"
#include "kspace.h"
#include "error.h"
#include <math.h>
#include "comm.h"
#include... |
<?php
class Form_Login extends Zend_Form {
public function init(){
$login = new <API key>('login');
$login->setLabel('Login');
$login->setRequired();
$this->addElement($login);
$this->addElement('password', 'password', array(
'label' => 'Password',
're... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <time.h>
#include <string.h>
#include "common/thread/thread.h"
#include "common/httpp/httpp.h"
#include "connection.h"
#include "refbuf.h"
#include "client.h"
#include "compat.h"
#include "cfgfile.h"
#include "logging.h"
#include "util.h"
#ifde... |
#include "../private.h"
#include "ps_item_data.h"
#include "idwsf2_strings.h"
/**
* SECTION:ps_item_data
* @short_description: <ps:ItemData>
*
* <figure><title>Schema fragment for ps:ItemData</title>
* <programlisting><![CDATA[
*
* <xs:complexType name="ItemDataType">
* <xs:sequence>
* <xs:element ... |
(function($){
"use strict";
// <API key>
$('.<API key> .ewf-position-box div').click(function(){
// e.preventDefault();
$(this).closest('.ewf-position-box').find('div').removeClass('active');
$(this).addClass('active');
console.log('execute param position shit!');
var... |
// wxFormBuilder - A Visual Dialog Editor for wxWidgets.
// 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
... |
#include "config.h"
#include <string.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#define UDP_PORT_OLSR 698
#define HELLO 1
#define TC 2
#define MID 3
#define HNA 4
#define <API key> 130
#define OLSR_ORG_LQ_HELLO 201
#define OLSR_ORG_LQ_TC 202
#define NRLOLSR_TC_EXTRA ... |
/* ** LAYOUTS ** */
/* Based on standard 960 16 Column Grid */
/* Layout 01 */
.sn-layout1 .sn-layout-container { width: 960px; margin: 0 auto; }
.sn-layout1 .sn-layout-head { margin: 10px; padding: 5px; }
.sn-layout1 .sn-layout-foot { margin: 10px; padding: 5px; }
.sn-layout1 .sn-column1 { margin: 10px; padding: 5px; ... |
#!/bin/bash
SELF=`dirname ${BASH_SOURCE}`
. ${SELF}/../common.sh
CURRENT_OUTPUTS[0]="output/evidence/annotated.gd"
EXPECTED_OUTPUTS[0]="expected.gd"
TESTCMD=" \
${BRESEQ} \
-b 0 \
-o ${SELF} \
-r ${DATADIR}/REL606/REL606.fragment.gbk \
-s ${DATADIR}/REL606/REL606.is.gbk \
... |
#!/bin/sh
if [ "$1" == "" ]; then
echo center-image.sh: need input filename and output filename
exit 1
fi
if [ "$2" == "" ]; then
echo center-image.sh: need output filename
exit 1
fi
if [ ! -r $1 ]; then
echo center-image.sh: no such input image $1
exit 1
fi
convert $1 -gravity center -extent 60... |
// Emacs style mode select -*- C++ -*-
// 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
// DESCRIPTION:
... |
import React, { useContext, useEffect, Fragment } from "react"
import { Typography } from "@material-ui/core"
import EventsContext from "../context/EventsContext"
import TitleContext from "../context/TitleContext"
import Box from "@material-ui/core/Box"
import Button from "@material-ui/core/Button"
import FacebookIcon ... |
#include <unistd.h> /* X_OK */
#include <stdlib.h>
#include <glib.h>
#include "config.h"
#include "misc.h"
#include "main.h"
#include "binreloc.h"
/*
* Run a shell command, with arguments.
* Return TRUE on error.
*/
#include <stdlib.h> /* exit() */
#include <unistd.h> /* fork() */
#include <sys/types.h> /* Use... |
from razer.client import DeviceManager
from razer.client import constants as razer_constants
# Create a DeviceManager. This is used to get specific devices
device_manager = DeviceManager()
print("Found {} Razer devices".format(len(device_manager.devices)))
print()
# Disable daemon effect syncing.
# Without this, the da... |
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0c431867c679'
down_revision = '5b1bdc1f3125'
branch_labels = None
depends_on = None
def upgrade():
commands auto generated by Alembic - please adjust!
op.add_column('pet', sa.Column('description', sa.Text(), null... |
package controler;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.util.Observable;
import java.util.Observer;
import javax.swing.AbstractAction;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
// INTERNE
import model.Model;
import ressources.URLIcons;
p... |
package command;
import org.junit.Test;
public class <API key> {
@Test
public void <API key>(){
RemoteControl remoteControl = new RemoteControl();
CeilingFan ceilingFan = new CeilingFan("Living room");
<API key> <API key> = new <API key>(ceilingFan);
<API key> <API key> = new <AP... |
#ifndef AUGCTX_LOCK_H
#define AUGCTX_LOCK_H
/**
* @file augctx/lock.h
*
* Global lock functions.
*/
#include "augctx/config.h"
#include "augtypes.h"
#if defined(AUGCTX_BUILD)
AUG_EXTERNC aug_bool
aug_initlock_(void);
#endif /* AUGCTX_BUILD */
/**
* Obtain global mutex lock.
*
* Calls abort() on failure.
*/
AUGC... |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
#include "tomcrypt_private.h"
#ifdef LTC_PBES
... |
<?php
defined('ZOTOP') OR die('No direct access allowed.');
class <API key> extends model
{
protected $pk = 'ip';
protected $table = 'ipbanned';
public function add($data)
{
if ( empty($data['ip']) ) return $this->error(t('ip'));
if ( empty($data['expires']) ) return $this->error(t(''));... |
#ifndef <API key>
#define <API key>
#include "luascript.h"
class Party;
class ItemType;
class Tile;
class Events
{
public:
Events();
void clear();
bool load();
// Creature
bool <API key>(Creature* creature, const Outfit_t& outfit);
ReturnValue <API key>(Creature* crea... |
#include "autoLayerDriver.H"
#include "fvMesh.H"
#include "Time.H"
#include "meshRefinement.H"
#include "removePoints.H"
#include "pointFields.H"
#include "motionSmoother.H"
#include "<API key>.H"
#include "pointSet.H"
#include "faceSet.H"
#include "cellSet.H"
#include "directTopoChange.H"
#include "mapPolyMesh.H"
#inc... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<p>use F12 to debug</p>
<script type="text/javascript">
a = 5;
b = 6;
c = a + b;
console.log(c);
</script>
</body>
</html> |
<?php
namespace GCore\Libs;
defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE") or die;
class Validate {
public static function required($value){
return !is_null($value);
}
public static function not_empty($value){
if(is_array($value)){
return (bool)count($value)... |
/* --COMMENTS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* 27Oct2012 Eric Lee Added Code 39 handling to ParseData()
*/
using System;
using System.IO;
using System.IO.Ports;
using System.Threading;
namespace SPH {
public class <API key> : SerialPortHandler {
private bool got_weight;
pr... |
#include "defs.h"
#include "arch-utils.h"
#include "symtab.h"
#include "breakpoint.h"
#include "frame.h"
#include "value.h"
#include "source.h"
#include "disasm.h"
#include "tui/tui.h"
#include "tui/tui-data.h"
#include "tui/tui-win.h"
#include "tui/tui-layout.h"
#include "tui/tui-winsource.h"
#include "tui/tui-stack.h... |
package openjdk7.com.sun.tools.javac.code;
/**
*
* <p><b>This is NOT part of any supported API.
* If you write code that depends on this, you do so at your own risk.
* This code and its internal interfaces are subject to change or
* deletion without notice.</b>
*/
public enum BoundKind {
EXTENDS("? extends ")... |
package com.github.smeny.jpc.emulator.execution.opcodes.pm;
import com.github.smeny.jpc.emulator.execution.*;
import com.github.smeny.jpc.emulator.execution.decoder.*;
import com.github.smeny.jpc.emulator.processor.*;
import com.github.smeny.jpc.emulator.processor.fpu64.*;
import static com.github.smeny.jpc.emulator.pr... |
package com.redhat.rhn.frontend.action.systems.monitoring;
import com.redhat.rhn.domain.server.Server;
import com.redhat.rhn.frontend.struts.RequestContext;
import com.redhat.rhn.frontend.struts.RhnAction;
import com.redhat.rhn.frontend.taglibs.list.helper.ListHelper;
import com.redhat.rhn.frontend.taglibs.list.helper.... |
<html>
<HEAD>
<LINK REL="StyleSheet" TYPE="text/css" HREF="<API key>.css"></LINK>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<TITLE>The Authority, Vol. 5 #17</TITLE>
</HEAD>
<BODY onload="initPage();">
<div align="center">
<div class="navigation" align="center">
... |
package com.yh.hr.res.pt.queryhelper;
import com.yh.hr.res.pt.dto.PtReportHistoryDTO;
import com.yh.platform.core.dao.DaoUtil;
import com.yh.platform.core.exception.ServiceException;
import com.yh.platform.core.util.BeanHelper;
import org.apache.commons.collections.CollectionUtils;
import java.util.List;
public class <... |
#include "<API key>.h"
#include "imv_workitem.h"
#include <library.h>
#include <utils/debug.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
/* The default policy group #1 is assumed to always exist */
#define DEFAULT_GROUP_ID 1
/**
* global debug output variables
*/
static int debug_level = 1;
static b... |
// Clasp is free software; you can redistribute it and/or modify
// (at your option) any later version.
// Clasp is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// along with Clasp; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St... |
// Based on the ScummVM (GPLv2+) file of the same name
#include "backends/graphics/opengl/opengl-graphics.h"
#include "backends/graphics/opengl/texture.h"
#include "backends/graphics/opengl/debug.h"
#include "backends/graphics/opengl/extensions.h"
#include "common/textconsole.h"
#include "common/translation.h"
#include... |
var <API key> = 'https://magni.me/<API key>/';
var SLIDE_CLASSES = ['far-past', 'past', 'current', 'next', 'far-next'];
var <API key> = 15;
var curSlide;
if (typeof document !== "undefined" && !("classList" in document.createElement("a"))) {
(function (view) {
var
classListProp = "classList"
, protoProp = "protot... |
package se.sics.nstream.hops.kafka.avro;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufInputStream;
import io.netty.buffer.ByteBufOutputStream;
import io.netty.buffer.Unpooled;
import java.io.<API key>;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.io.O... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html>
<head>
<title></title>
<link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
<link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
<link rel="stylesheet" media="print" type="text/css" href=... |
/*!
\file src/personalities.c
\ingroup CoreMtx
\brief Handles the selection of ECU personality by the End User
\author David Andruczyk
*/
#include <configfile.h>
#include <debugging.h>
#include <getfiles.h>
#include <gui_handlers.h>
#include <init.h>
#include <notifications.h>
#include <offline.h>
#include <p... |
package com.kartoflane.superluminal2.ui.sidebar.data;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.... |
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/socket.h>
#include <linux/skbuff.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/netlink.h>
#include <linux/netdevice.h>
#include <linux/netfilter/x_tables.h>
#... |
#include "config.h"
#if ENABLE(THREADING_GENERIC)
#include "ParallelJobs.h"
#include <wtf/NumberOfCores.h>
namespace WTF {
Vector< RefPtr<ParallelEnvironment::ThreadPrivate> >* ParallelEnvironment::s_threadPool = 0;
ParallelEnvironment::ParallelEnvironment(ThreadFunction threadFunction, size_t sizeOfParameter, int requ... |
#ifndef <API key>
#define <API key>
#include <QtQuick/QQuickPaintedItem>
namespace Calligra {
namespace Components {
class Document;
/**
* \brief The view provides a View object for viewing Documents.
*
* The View object provides a view on a document.
*/
class View : public QQuickPaintedItem
{
Q_OBJECT
/**
... |
#ifndef STRAT_SIMPLE_H
#define STRAT_SIMPLE_H
#include "kernel/stratege_machine/stratege.h"
class stratcomplexedef : public strategy
{
public:
int m_stratcolor;
function : Initialise()
descrition : intialise the checkpoint color
param : none
retrun : -1 if fail or 0 if sucess
... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
#ifndef <API key>
#define <API key>
#include <glib.h>
#include "nm-dbus-interface.h"
#include "wifi-utils.h"
struct WifiData {
char *iface;
int ifindex;
<API key> caps;
NM80211Mode (*get_mode) (WifiData *data);
gboolean (*se... |
<?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;
?>
</div>
<div id="widgets" class="grid col-460 fit">
<?php responsive_widgets(); // above widgets hook ?>
<?php if (!dynamic_sidebar('right-sidebar')) : ?>
<div class="<API key>">
</div><!-- end of .... |
from __future__ import with_statement
from fabric.api import task
@task
def md5():
"""
Check MD5 sums (unavailable, empty, with content)
"""
import hashlib
from fabric.api import cd, hide, run, settings
import fabtools
with cd('/tmp'):
run('touch f1')
assert fabtools.files.md... |
require 'rubygems'
require 'oauth'
module YammerAPI
class Client
def initialize(app_key, app_secret)
@consumer = OAuth::Consumer.new(app_key, app_secret,
{:site => "https:
)
end
def user_authenticated?
not @user.nil?
... |
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-ctrls.h>
MODULE_DESCRIPTION("vpx... |
package com.atux.desktop.promocion;
import com.atux.bean.precios.Local;
import com.atux.bean.precios.LocalFlt;
import com.atux.bean.promocion.Promocion;
import com.atux.bean.promocion.PromocionDetalle;
import com.atux.bean.promocion.PromocionLocal;
import com.atux.config.APDD;
import com.atux.desktop.comun.picks.Selecc... |
#include "MySQLConnection.h"
#include "QueryHolder.h"
#include "PreparedStatement.h"
#include "Log.h"
bool SQLQueryHolder::SetQuery(size_t index, const char *sql)
{
if (m_queries.size() <= index)
{
sLog->outError(LOG_FILTER_SQL, "Query index (%u) out of range (size: %u) for query: %s", uint32(index), (u... |
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
//#include <mach/hardware.h>
#include <asm/system.h>
#include <mach/hardware.h>
#include <mach/map.h>
#include <plat/regs-clock... |
package com.example.murat.gezi_yorum.Fragments;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import and... |
//>>built
define("dojox/embed/flashVars",["dojo"],function(f){f.deprecated("dojox.embed.flashVars","Will be removed in 2.0","2.0");var e={serialize:function(g,b){var e=function(a){"string"==typeof a&&(a=a.replace(/;/g,"_sc_"),a=a.replace(/\./g,"_pr_"),a=a.replace(/\:/g,"_cl_"));return a},h=dojox.embed.flashVars.seriali... |
ifndef PYTHON
PYTHON=$(shell which python3 2>/dev/null || which python2 2>/dev/null || which python 2>/dev/null)
endif
VERSION=$(shell $(PYTHON) setup.py --version 2>/dev/null)
PYTHON_DEVELOP_ARGS=$(shell if ($(PYTHON) setup.py develop --help 2>/dev/null | grep -q '\-\-user'); then echo "--user"; else echo ""; fi)
DEST... |
<!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.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: File Memb... |
package ee.esutoniagodesu.domain.jmet.table;
import org.hibernate.annotations.Immutable;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Immutable
@Table(name = "kwginf", schema = "jmet")
public final class Kwginf implements Serializable {
private static final long serialVersionUID = <API key>;
... |
#ifndef <API key>
#define <API key>
#include "gc/shared/gcCause.hpp"
#include "gc/shared/gcWhen.hpp"
#include "memory/allocation.hpp"
#include "runtime/handles.hpp"
#include "runtime/perfData.hpp"
#include "runtime/safepoint.hpp"
#include "utilities/events.hpp"
// A "CollectedHeap" is an implementation of a java heap f... |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* Unfortunately WordPress supports PHP 5.2 even though
* everyone should now be using at least PHP 5.3.
*
* To be compatible with PHP 5.2 below you will find functions
* that are required in order to make this plugin work correctly.
*/
add_action( 'admin_notices', 'jm... |
<HTML>
<HEAD>
<TITLE>XBAT Menu Reference (Alphabetical)</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="xbat-keys.css">
</HEAD>
<BODY>
<H1>XBAT Menu Reference</BR>(Alphabetical)</H1>
<TABLE CLASS="keys">
<TR CLASS="header">
<TH WIDTH="60%">Command</TH>
<TH WIDTH="40%">Keyboard Shortcut</TH>
</TR>
<TR>
<TD><DIV... |
<div class="post-container">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<a class="featured-media" title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('post-thumb'); ?>
... |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');
class <API key> extends JPlugin {
/* menu item mapping */
public $menu;
public $app;
/*
Function: plgSearchZoosearch
Constructor.
Parameters:
$subject - Array
... |
# Security Policy
## Supported Versions
* The latest *stable* release of UnrealIRCd 5 (until 2023-07-01)
* The latest *stable* release of UnrealIRCd 6
See [UnrealIRCd releases](https:
## Reporting a Vulnerability
Please report issues on the [bug tracker](https://bugs.unrealircd.org) and in the bug submit form **set the... |
#!/bin/bash
# This is not necessarily the top-level run.sh as it is in other directories. see README.txt first.
tri5_only=false
sgmm5_only=false
denlats_only=false
data_only=false
morfessor=true
tag_percentage=0.1 |
package com.sun.imageio.stream;
import java.io.Closeable;
import java.io.IOException;
import sun.java2d.DisposerRecord;
/**
* Convenience class that closes a given resource (e.g. RandomAccessFile),
* typically associated with an Image{Input,Output}Stream, prior to the
* stream being garbage collected.
*/
public cla... |
@extends("admin.main")
@section("content")
<h1 class="title">Post add</h1>
@include('errors.list')
{!! Form::open(["action" => "Admin\PostsController@store", "method" => "POST", "class" => "form-horizontal"]) !!}
<!
<div class="form-group">
{!! Form::label('title', 'Title:') !!}
{!! ... |
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
#include <net/ethernet.h>
#ifdef _MINGW_
#include <winsock2.h>
#else
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#define __FAVOR_BSD
... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http:
<head>
<title>util</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>
... |
/*! \file
\ingroup CCHBAR
\brief Enter brief description of file here
*/
#include <cstdio>
#include <libdpd/dpd.h>
#include "MOInfo.h"
#include "Params.h"
#define EXTERN
#include "globals.h"
namespace psi { namespace cchbar {
/* Wabei_UHF(): Computes all contributions to the abei spin case of
** the Wabei HBAR ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.