answer stringlengths 15 1.25M |
|---|
#include <algorithm>
#include <mbedtls/error.h>
#ifndef _WIN32
#include <arpa/inet.h>
#include <unistd.h>
#endif
#include "Common/FileUtil.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/IPC_HLE/WII_IPC_HLE.h"
#include "Core/IPC_HLE/WII_IPC_HLE_Device.h"
#include "Core/IPC_HLE/WII_Socket.h" //... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../lib/ref-inde... |
#ifndef PCB_H
#define PCB_H
#include "mab.h"
#include "rsrc.h"
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <unistd.h>
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#define MAXARGS 3
#define DEFAULT_PROCESS "./process"
#define... |
body
{
background:#fffff;
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
font-size:small;
margin:8px 0 16px;
text-align:center;
}
#form_container
{
background:#fff;
border:1px solid #ccc;
margin:0 auto;
text-align:left;
width:640px;
}
#top
{
display:block;
... |
body {
background-color: #f5f5fa;
color: #b6b6b8;
font-family: 'Lato', sans-serif;
font-weight: 300;
letter-spacing: 1px;
line-height: 20px;
}
#header {
position:inherit;
background-color:black;
color:white;
text-align:left;
padding:5px;
height:200px;
width:200px;
... |
# -*- coding: utf-8 -*-
from imio.history.config import <API key>
from imio.history.interfaces import IImioHistory
from imio.history.testing import IntegrationTestCase
from plone import api
from plone.memoize.instance import Memojito
from Products.Five.browser import BrowserView
from zope.component import getAdapter
fr... |
module <API key> (
version,
getBinDir, getLibDir, getDataDir, getLibexecDir,
getDataFileName, getSysconfDir
) where
import qualified Control.Exception as Exception
import Data.Version (Version(..))
import System.Environment (getEnv)
import Prelude
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a... |
#include <linux/signal.h>
#include <linux/personality.h>
#include <linux/kallsyms.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/hardirq.h>
#include <linux/kdebug.h>
#include <linux/module.h>
#include <linux/kexec.h>
#include <linux/bug.h>
#include <linux/delay.h>
#include <linux/init.h>
#inc... |
<?php
global $wpdb, $<API key>;
function <API key>() {
$<API key> = of_get_option('<API key>', 'locations');
$labels = array(
'name' => _x( 'Locations', 'Post Type General Name', 'bookyourtravel' ),
'singular_name' => _x( 'Location', 'Post Type Singular Name', 'bookyourtrave... |
from django import template
from django.template.loader_tags import BaseIncludeNode
from django.template import Template
from django.conf import settings
from pages.plugins import <API key>, SearchBoxNode
from pages.plugins import LinkNode, EmbedCodeNode
from pages import models
from django.utils.text import <API key>
... |
from opencvBuilder import exists,generate |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("<API key>", "umiss_project.settings")
try:
from django.core.management import <API key>
except ImportError:
# The above import may fail for some other reason. Ensure that the
# issue is reall... |
package ru.ncedu.ecomm.servlets.services.passwordRecovery;
import ru.ncedu.ecomm.data.models.dao.UserDAOObject;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import static ru.ncedu.ecomm.data.DAOFactory.getDAOFactory;
public class <API key> {
private final static String ERROR_FOUND_EMA... |
DeadRinger
=======
Windows console program that wraps legacy scripts and other console programs
[: QWidget... |
%% AAPT Physics Bowl Exams Questions
%%
%% This section has XX problems
%% PhysicsBowl 2015
%%
\element{aapt}{ %% Bowl-D2
\begin{question}{bowl-2015-q10}
For the circuit shown, the three light bulbs have identical resistance $R$,
the battery is ideal, and all wires have no resistance.
\begin{center}
... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Tue Dec 13 22:42:15 CET 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class fspotcloud.test.FirefoxRemoteSuite (F-Spot Cloud Java Edition 0.40-7.5.9 Test API)
</TITLE>
<META NA... |
class <API key> < Scope
# Disclosed to the public
def is_in_scope(user)
# Will allow anyone to see
true
end
def <API key>(user, pitch_card)
is_in_scope(user)
end
def is_in_comment_scope(user, comment)
is_in_scope(user)
end
end |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Thu Oct 24 15:10:39 CEST 2013 -->
<title>Uses of Class com.veraxsystems.vxipmi.sm.states.Rakp1Waiting</title>
<meta name="date" content="2013-10-24">
<link rel="stylesheet" type="text/css" href="../../../..... |
#include "logger/Stack.hpp"
using namespace logger;
std::ostream& operator<<(std::ostream& ioOut, const Stack& stack)
{
if (stack.empty())
return ioOut;
std::deque<std::string>::const_iterator dequeIt;
for(dequeIt = stack.begin();
dequeIt != stack.end();
++dequeIt)
{
if ... |
package edu.casetools.rcase.modelio.diagrams.requirements.tools.relations;
import org.modelio.api.modelio.diagram.IDiagramGraphic;
import org.modelio.api.modelio.diagram.IDiagramHandle;
import org.modelio.metamodel.uml.infrastructure.Dependency;
import org.modelio.metamodel.uml.infrastructure.ModelElement;
import edu.c... |
#!C:\Python27\
"""th_logger.py holds logging handler and config for the Regression test"""
import logging
from testProperty import TEST_OUTPUT_PATH
test_logger = logging.getLogger('TEST_HARNESS')
handler = logging.FileHandler(TEST_OUTPUT_PATH + 'runTest.log')
formatter = logging.Formatter('%(asctime)s %(name)-10s %(lev... |
#ifndef <API key>
#define <API key>
#include <wx/event.h>
namespace ytpking
{
// TODO put it BACK into MainWindow.
enum GlobalEventId
{
<API key> = wxID_HIGHEST+1,
<API key>,
MainMenuAbout,
MainMenuImport,
MainMenuQuit,
SamplesTreeCtrl
};
}
#endif |
Imports System.Collections.Specialized
Imports System.Web
Imports vk.notification
Imports vk
Public Class auth_window
Public showform As Boolean = False
Private Sub <API key>(sender As System.Object, e As System.Windows.Forms.<API key>) Handles WebBrowser1.DocumentCompleted
Const successauthurl As Strin... |
<?php
/**
* Informs gd_sync about available entities with export/import functionality
*/
function <API key> () {
$items['entity'] = array();
return $items;
} |
package biz.dealnote.messenger.util;
import android.content.Context;
import android.text.Spannable;
import java.text.DateFormat;
import java.util.Date;
import biz.dealnote.messenger.R;
import biz.dealnote.messenger.link.internal.<API key>;
public class FormatUtil {
public static Spannable <API key>(Context context,... |
// may be copied, distributed, and modified under those terms.
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#ifndef <API key>
#define <API key>
#include <stddef.h>
class StringView;
// Custom string implementation:
// - Not a templat... |
IF Object_id('<API key>', 'P') IS NOT NULL
DROP PROC <API key>
go
CREATE PROC <API key>(@DT_SELDATE DATETIME)
AS
SET NOCOUNT ON
BEGIN
IF NOT EXISTS(SELECT NULL
FROM JobStatus
WHERE JobType = 1
AND DATEADD(dd, 0, DATEDIFF(dd, 0, RunDate)) =
... |
import { AlloyTriggers, Attachment, Debugging, Swapping } from '@ephox/alloy';
import { Cell, Fun } from '@ephox/katamari';
import { PlatformDetection } from '@ephox/sand';
import { Element, Focus, Insert, Node } from '@ephox/sugar';
import DOMUtils from 'tinymce/core/api/dom/DOMUtils';
import ThemeManager from 'tinymc... |
#ifndef _XSTRING_H
#define _XSTRING_H
#include "types.h"
#include "xapi.h"
xstrncat
// reallocates *s1, appends s2 onto *s1
xapi ixstrncat(char ** s1, const char * s2, int s2len);
xstrcat
// reallocates *s1, appends s2 onto *s1
xapi ixstrcat(char ** s1, const char * s2);
xstrcatf
// calculates size required to vprintf,... |
<ng-container *ngIf="pivotTables?.length && !(pivotData | pivotDataEmpty); else emptyCells">
<table *ngFor="let pivotTable of pivotTables; let first"
class="table <API key> table-borderless table-md"
[class.mt-4]="!first">
<tr *ngFor="let rowCells of pivotTable.cells; let rowIndex = index">
... |
#include "ObjetoCompuesto.h"
ObjetoCompuesto:: ObjetoCompuesto() {
hijos = new Objeto3D*[100000];
numHijos = 0;
m1 = new GLfloat[16];
}
ObjetoCompuesto:: ~ObjetoCompuesto() {
for(int i =0; i < numHijos; i++) {
delete hijos[i];
}
}
void ObjetoCompuesto:: dibuja() {
glMatrixMode(GL_MODELVI... |
#define G_LOG_DOMAIN "modelines"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <gtksourceview/gtksource.h>
#include "modeline-parser.h"
#define <API key> "/org/gnome/builder/modelines/language-mappings"
#define gedit_debug_message(ignored,fmt,...) g_debug(fmt,__VA_ARGS__)
/* Mappings: language nam... |
#!/usr/bin/env python
# coding=utf-8
from __future__ import print_function
def power_combinations(a, b):
for i in range(2, a):
for j in range(2, b):
yield i ** j
if __name__ == '__main__':
print(len(set(power_combinations(101, 101)))) # 9183 |
namespace RadioDld
{
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Microsoft.VisualBasic;
internal partial class Preferences : Form
{
private bool cancelClose;
private bool folderChanged;
public Preferences()
{
... |
package adams.core.base;
/**
* Encapsulates Maven artifact exclusions.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
*/
public class <API key>
extends AbstractBaseString {
private static final long serialVersionUID = <API key>;
public final static String SEPARATOR = ":";
/**
* Initializes the ... |
# -*- coding: utf-8 -*-
# Dioptas - GUI program for fast processing of 2D X-ray diffraction data
# 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 PU... |
# <API key>
extract failed ssh logins from auth.log and display them |
<?php
namespace LaDanse\ServicesBundle\Service\DTO\Callback;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\Type;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ExclusionPolicy("none")
*/
class LogCallback
{
/**
* @var... |
var express = require('express');
var reload = require('reload');
var fs = require('fs');
var wss = new require('ws').Server({port: 3030});
var app = express();
var Chopper = require('./lib/Chopper');
app.set('port', process.env.PORT || 3000);
app.set('view engine', 'ejs');
app.use(require('./routes/index'));
app.use(r... |
package org.trrusst.software.recommender;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List... |
import time
import json
import pytz
from datetime import datetime, timedelta
from django.utils import timezone
from django.conf import settings
from rest_framework import status
from rest_framework.decorators import api_view, permission_classes
from rest_framework.response import Response
from rest_framework.permission... |
# Welcome to Zuha (Test Change)
A collection of ever expanding functionality to rapidly build new sites.
Including content management, project management, invoicing, customer relationship management (CRM), ecommerce, multi-user blogs, social networking, video recording, and even more.
Built on an MVC framework (CakePHP... |
// and you are welcome to redistribute it under certain conditions; See
#endregion
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using NUnit.Framework;
public class WorldGeneratorTest
{
[Test]
public void <API key>()
{
WorldGenerator.AsteroidInfo asteroidInfo = new WorldG... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace Plasmosis
{
public partial class frmClassical : Form
{
private ... |
#define BOOST_TEST_MODULE Utils::raster test
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <utils/raster.hpp>
/* The basic functionality is tested by just
* recording the x values for every grid point. */
<API key>(basic_test) {
using Utils::raster;
using Utils::Vector3d;
using Utils::... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tethne.classes package — tethne 0.8 documentation</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" ... |
package solomonserver;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import runnables.<API key>;
import ru... |
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>Soup.AuthDomain.filter_data -- Vala Binding Reference</title>
<link href="../style.css" rel="stylesheet" type="text/css"/><script src="../scripts.js" type="text/javascript">
</script>
</head>
<body>
<div class="site_header">Soup.AuthDomai... |
#include "<API key>.h"
<API key>::<API key>(const QString &deviceName, QObject *parent) :
<API key>(deviceName, parent)
{
// Create upstream actuator.
upstreamActuator_ = new <API key>(QString("%1%2").arg(deviceName).arg("UpstreamActuator"), this);
addChildControl(upstreamActuator_);
connect( upstre... |
#ifndef APPSTATMODEL_H
#define APPSTATMODEL_H
#include <util/model/stringlistmodel.h>
class AppInfoCache;
class StatManager;
class AppStatModel : public StringListModel
{
Q_OBJECT
public:
explicit AppStatModel(QObject *parent = nullptr);
StatManager *statManager() const;
AppInfoCache *appInfoCache() con... |
package org.<API key>.evaluator.attributes.clusters.propertyValueGroups;
import org.<API key>.utils.math.NumericalTypes;
import org.<API key>.utils.math.functions.arithmetic.Div;
import org.<API key>.utils.math.functions.arithmetic.Mul;
import org.<API key>.utils.math.functions.arithmetic.SaturatingAdd;
import org.<API... |
// This file is part of the go-krypton library.
// The go-krypton library is free software: you can redistribute it and/or modify
// (at your option) any later version.
// The go-krypton library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
package ty... |
#!/usr/bin/env ruby
## GridEngine plugin for Collectd
## This is free software: you can redistribute it
## and/or modify it under the terms of the GNU General Public
## later version.
## This program is distributed in the hope that it will be
## You should have received a copy of the GNU General Public
hostname = ENV.h... |
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-10 04:19
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('article', '<API key>'),
]
operations = [
migrations.RemoveField(
model... |
export { <API key> } from './ability_scores';
export { <API key> } from './actions_toolbar';
export { ArmorViewModel } from './armor';
export { <API key> } from './character_name';
export { <API key> } from './character_portrait';
export { <API key> } from './<API key>';
export { BackgroundViewModel } from './backgroun... |
// nixieclock-firmware - Nixie Clock Main Firmware Program
// 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
#include <types.h>... |
#include "mssmUtils.h"
#include "softsusy.h"
#include <iostream>
namespace softsusy {
double sw2 = 1.0 - sqr(MW / MZ),
gnuL = 0.5,
guL = 0.5 - 2.0 * sw2 / 3.0,
gdL = -0.5 + sw2 / 3.0,
geL = -0.5 + sw2,
guR = 2.0 * sw2 / 3.0,
gdR = -sw2 / 3.0,
geR = -sw2,
yuL = 1.0 / 3.0,
yuR = -4.0 / 3.0,
ydL = 1.0 ... |
// modification, are permitted provided that the following conditions
// are met:
// documentation and/or other materials provided with the distribution.
// 3. The name of the author may not be used to endorse or promote products
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
// IMPLIED WARR... |
<?php
/**
* <API key>
*
* This class has been auto-generated by the Doctrine ORM Framework
*/
class <API key> extends Doctrine_Table
{
/**
* Returns an instance of this class.
*
* @return object <API key>
*/
public static function getInstance()
{
return Doctrine_Core::getTabl... |
# -*- coding: utf-8 -*-
# (see spyderlib/__init__.py for details)
"""IPython v0.11+ Plugin"""
from spyderlib.qt.QtGui import QHBoxLayout
# Local imports
from spyderlib.widgets.ipython import create_widget
from spyderlib.plugins import SpyderPluginWidget
class IPythonPlugin(SpyderPluginWidget):
"""Find in files Dock... |
import numpy as np
STR_NOBOND = """AU
3 1 2 1
1 0.00000000 0.00000000 0.00000000 -0.66387672 0.00000000 -0.00000000 0.34509720 3.78326969 -0.00000000 -0.00000000 3.96610412 0.00000000 3.52668267 0.00000000 -0.00000000 -2.98430053 0.00000000 -0.00000000 ... |
<div class="container">
<div ng-include="viewPath + 'views/sideNav.html'"></div>
<div class="col-md-10">
<div class="col-md-10">
<h2>
{{ subtitle }}
<small class="print-show">{{ filter.startDate|validDate: 'dd-MM-yyyy' }} to {{ filter.endDate|validDate: 'dd-M... |
package com.jmbsystems.fjbatresv.mascotassociales.photoList.ui;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.design.widget.<API key>;
import android.support.design.widget.Snackbar;
import... |
import { Task } from '../../Task';
import { MapWrapper } from '../../../geo/map/MapWrapper';
import { LayerWrapper } from '../../../geo/layers/LayerWrapper';
export class RemoveLayerTask extends Task {
constructor(private map: MapWrapper, private layer: LayerWrapper) {
super();
}
public async undo(): Promise<... |
# coding: utf-8
import os
import urllib
import numpy as np
import pickle
from Experiment import Experiment
ROOT_PATH = './full_dataset/article_4_data/grouped_ephys'
ZIPFILE_PATH = './full_dataset/article_4_data'
EXPM_PATH = './results/experiments/'
URL = 'http://microcircuits.epfl.ch/data/released_data/'
if not os.path... |
package org.safehaus.penrose.ldap;
import java.util.Map;
import java.util.TreeMap;
/**
* @author Endi S. Dewata
*/
public class RDNBuilder {
public Map<String,Object> values = new TreeMap<String,Object>();
public RDNBuilder() {
}
public boolean isEmpty() {
return values.isEmpty();
}
pu... |
<?php
declare(strict_types = 1);
namespace EssentialsPE\Tasks\AFK;
use EssentialsPE\BaseFiles\BaseTask;
use EssentialsPE\BaseFiles\BaseAPI;
use pocketmine\utils\TextFormat;
class AFKSetterTask extends BaseTask{
/**
* @param BaseAPI $api
*/
public function __construct(BaseAPI $api){
parent::__c... |
// This file is part of the Haxxis video generation system and is provided
// by voidALPHA in support of the Cyber Grand Challenge.
// Haxxis is free software: you can redistribute it and/or modify it under the terms
using UnityEngine;
using UnityEngine.EventSystems;
namespace Utility.DevCommand
{
public class <API... |
var index = require('express').Router();
var Member = require('../models/Member');
var sitemap = require('../middlewares/sitemap');
var utils = require('../middlewares/utils');
index.get('/', function (req, res) {
res.redirect('/article');
});
index.get('/lang', function (req, res) {
var setLang;
if (req.cookies.... |
typedef int block;
struct { int i, x; } ps;
struct { block t; } s;
struct { struct { block t;}ss;} s2;
union { block t;} u;
int f(block);
int (*pf)(block);
void echo(const char *s, ...)
{
block x;
int a = 42;
a += 1;
while (3)
{
block t;
int z = (int) 7;
}
}
int main()
{
block x;
while (43)
... |
package <API key>;
# This file is part of PAC( Perl Auto Connector)
# 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
$|++;
# Impor... |
#include <gmodule.h>
#include "<API key>.h"
static GHashTable *complextypes;
static GMutex mutex;
/**
* <API key>:
* @name: name of the #ShpComplextype
*
* Creates new #ShpComplextype of type @name.
*
* Returns: A new #ShpComplextype instance of type @name. Free with
* g_object_unref() when no longer needed.
*/... |
// tinyfs.c
//[reference]
// $ make all install test
// dmesg
// [ 382.940306] tinyfs_mount; -enter, dev_name=none
// [ 382.940317] tinyfs_fill_super; -enter
// [ 382.940319] tinyfs_fill_super; -exit
// [ 382.940320] tinyfs_mount; -exit
// [ 382.944703] tinyfs_lookup; -enter
// [ 382.944705] tinyfs_lookup; -exit
... |
# controller.py
# Alienfx is free software.
# You may redistribute it and/or modify it under the terms of the
# any later version.
# Alienfx is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# along with alienfx. If not, write to:
# The Free Software Founda... |
// SuperTuxKart - a fun racing game with go-kart
// This program is free software; you can redistribute it and/or
// as published by the Free Software Foundation; either version 3
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// ... |
<h1>Welcome to PatientRx</h1> |
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog',
array( // the dialog
'id'=>'dialogTimetracker',
'options'=>array(
'title'=>'Log Time',
'autoOpen'=>false,
... |
/** \file pluginLoader.h
\brief Define the plugin loader
\author alpha_one_x86
\licence GPL3, see the file COPYING */
#ifndef <API key>
#define <API key>
#include <QObject>
#include <QMessageBox>
#include <QString>
#include <QStringList>
#include <QProcess>
#include <QSet>
#ifdef Q_OS_WIN32
#ifndef NOMINMAX
... |
#include "../../inc/MarlinConfig.h"
#if HAS_TOUCH_BUTTONS
#include "touch_buttons.h"
#include "../scaled_tft.h"
#include HAL_PATH(../../HAL, tft/xpt2046.h)
XPT2046 touchIO;
#if ENABLED(<API key>)
#include "../tft_io/touch_calibration.h"
#endif
#include "../buttons.h" // For EN_C bit mask
#include "../marlinui.h" // F... |
# <API key>: true
require 'forwardable'
module Capybara
# A {Capybara::Result} represents a collection of {Capybara::Node::Element} on the page. It is possible to interact with this
# collection similar to an Array because it implements Enumerable and offers the following Array methods through delegation:
# * eac... |
#ifndef _TYPEPARSING_H__
#define _TYPEPARSING_H__
#include "../../Engine.Graphics/Interfaces/EffectTypes.h"
#include "../../Engine.Graphics/Interfaces/MeshTypes.h"
#include "../../Engine.Graphics/Interfaces/SSurfaceDesc.h"
#include <iosfwd>
namespace Engine
{
namespace Graphics
{
const char* EElemUsage_... |
/*
* Include files
*/
#include "hpl.h"
#include "util_timer.h"
#include "util_trace.h"
#ifndef HPL_dswap
void HPL_dswap
(
const int N,
double * X,
const int INCX,
double * Y,
const int I... |
#endregion
using System;
using System.Text;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Security;
using MediaFoundation.Misc;
using System.Drawing;
using MediaFoundation.EVR;
using MediaFoundation.Transform;
namespace MediaFoundation.ReadWrite
{
<summary>
Co... |
layout: labItem
title: Fact or Fake ?
lang: en
figure:
- src: labs/fakenews.png
Can you call out the fake news algorithm on historic newspaper articles ?
<!-- more -->
[Fake News Quiz](https://impresso-project.ch/fakenews/)
These fake news articles were created using the [GPT2 language model](https:
{% assign figure=... |
from django.test import TestCase
from django.utils.timezone import now
from promises.models import Promise, Category
from popolo.models import Person
from taggit.models import Tag
from ..models import TagExtraCss
nownow = now()
class <API key>(TestCase):
def setUp(self):
self.person = Person.objects.create(... |
/* This file is supposed to be used on platforms that lack <netdb.h>.
It is intended to provide definitions and prototypes needed by an
application. */
#ifndef _GL_NETDB_H
#if __GNUC__ >= 3
@<API key>@
#endif
@PRAGMA_COLUMNS@
#if @HAVE_NETDB_H@
/* The include_next requires a split double-inclusion guard. */
# @... |
<?php
header('Content-Type: text/xml');
include '../xmlbuilder.php';
if(isset($_POST['HomeUrl']) &&isset($_POST['DBHost']) && isset($_POST['DBName']) && isset($_POST['DBPw']) && isset($_POST['DBLogin'])){
if(createConfigFile($_POST['HomeUrl'],$_POST['DBHost'], $_POST['DBLogin'], $_POST['DBName'], $_POST['DBPw'])) {... |
package battlecode.world;
import battlecode.common.Direction;
import battlecode.common.GameConstants;
import battlecode.common.MapLocation;
import battlecode.common.RobotType;
import battlecode.common.TerrainTile;
import battlecode.serial.GenericGameMap;
import java.util.Arrays;
import java.util.EnumMap;
import java.ut... |
#if !defined(<API key>)
#define <API key>
#if _MSC_VER > 1000
#pragma once
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
//{{AFX_INSERT_LOCATION}}
#endif |
#ifndef <API key>
#define <API key>
#include <string>
#include <iostream>
#include <vector>
#include <map>
namespace papara {
template<typename pvec_t, typename seq_tag>
class references;
template<typename seq_tag>
class queries;
}
namespace partassign {
struct blast_hit {
std::string qs_name;
std::string ref_n... |
'use strict';
const Stack = require('./_Stack');
const baseIsEqual = require('./_baseIsEqual');
/** Used to compose bitmasks for comparison styles. */
const <API key> = 1;
const <API key> = 2;
/**
* The base implementation of `_.isMatch` without support for iteratee shorthands.
*
* @private
* @param {Object} obje... |
////////////////// DIVERSITY /////////////////////
// DIVERSITY is a tool to explore multiple ways of protein-DNA
// binding in the genome. More information can be found in the README file.
// DIVERSITY is free software: you can redistribute it and/or modify
// (at your option) any later version.
// DIVE... |
module.exports = publish
var url = require('url')
var semver = require('semver')
var Stream = require('stream').Stream
var assert = require('assert')
var fixer = require('<API key>').fixer
var concat = require('concat-stream')
var ssri = require('ssri')
function escaped (name) {
return name.replace('/', '%2f')
}
func... |
#define _BSD_SOURCE
/* This makes sure strcasecmp() is in string.h */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "pbm.h"
#include "ppa.h"
#include "ppapbm.h"
#include "cutswath.h"
#include "defaults.h"
/* Paper sizes in 600ths of an inch. */
/* US i... |
<?php
$sLangName = "Deutsch";
$iLangNr = 0;
$aLang = array(
'charset' => 'ISO-8859-15',
'<API key>' => 'JIRA Vorgänge',
'<API key>' => 'JIRA Vorgänge',
'jxjiraconnect_menu' => 'JIRA Vorgänge',
'JXJIR... |
<?php
//prohibit unauthorized access
require 'core/access.php';
$status_msg = '';
/* delete items from excludes list */
if(isset($_POST['del_exclude']) && is_numeric($_POST['del_exclude'])) {
$del_exclude = (int) $_POST['del_exclude'];
fc_delete_excludes($del_exclude);
}
if(isset($_POST['add_exclude_url'])) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.