answer
stringlengths
15
1.25M
{% extends "bootstrap/base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block styles %} {{ super () }} <link rel="stylesheet" href="{{ url_for('rentport.static', filename='css/rentport_style.css') }}"> {% endblock %} {% block navbar %} {% set active_page="rentport.pay_rent"|default('rentport.home') ...
using System; using System.IO; using System.IO.Compression; using System.Linq; using Nancy; using Nancy.Bootstrapper; using NLog; using NzbDrone.Common.EnvironmentInfo; namespace Lidarr.Http.Extensions.Pipelines { public class <API key> : <API key> { private readonly Logger _logger; public int O...
enum TYPES { SCRIPTGROUP = 0, ANIMSYS = 1010200, STATICAIPOINTS = 1000046, BOUNDEDAREAS = 1000053, PATROLS = 1000067, STATICAIPOINSEXPORT = 1000068, CLIMBINGAREAS...
#ifndef SETUP_WLD_SCENE_H #define SETUP_WLD_SCENE_H #include <vector> #include <graphics/gl_color.h> class IniProcessing; struct <API key> { std::string imgFile; bool animated; int frames; int framedelay; int x; int y; }; struct WorldMapSetup { void init(IniProcessing &engine_ini); void ...
package ar.gov.rosario.siat.rec.view.struts; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import...
<?php $L['<API key>'] = 'Web proxy statistieken'; $L['Lightsquid_Tags'] = 'Grafische analyse statistiek Squid Web Proxy'; $L['Lightsquid_Title'] = 'Web Proxy Statistiek'; $L['Settings_title'] = 'Instellingen'; $L['Settings_label'] = 'Instellingen'; $L['Lang_label'] = 'Taal'; $L['BigFileLimit_label'] = 'Rapporteer besta...
/** * Tests of our statistical diagram computing attributes. */ package test.junit.org.<API key>.evaluator.attributes.functions.aggregation2D;
var xForRefIcon = 0; var yForRefIcon = 0; var xForSubDiagramIcon = 0; var yForSubDiagramIcon = 0; var xForTransIcon = 0; var yForTransIcon = 0; var fileLinks = []; var folderLinks = []; var urlLinks = []; var diagramLinks = []; var shapeLinks = []; var subdiagramLinks = []; var fromTransitorLinks = []; var toTransitorL...
_database.animation_attack = { sprites = { { file = "resource/sprite/FX_General.png", x = 15, y = 0 }, { file = "resource/sprite/FX_General.png", x = 16, y = 0 }, { file = "resource/sprite/FX_General.png", x = 17, y = 0 }, }, draw = function (animation) local proto = game.dat...
/** * @date 2017 * Unit tests for interface/StandardCompiler.h. */ #include <string> #include <boost/test/unit_test.hpp> #include <libsolidity/interface/StandardCompiler.h> #include <libsolidity/interface/Version.h> #include <libsolutil/JSON.h> #include <test/Metadata.h> using namespace std; using namespace solidity...
using namespace std; struct _Course{ string CourseCode; int Point; int Score; _Course(string CourseCode){ this->CourseCode = CourseCode; this->Score = 0; this->Point = 0; } void setCourse(string CourseCode, int Score, int Point){ this->CourseCode = CourseCode; ...
#include "config.h" #include <string.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <gegl.h> #include "libgimpbase/gimpbase.h" #include "libgimpconfig/gimpconfig.h" #include "plug-in-types.h" #include "config/gimpcoreconfig.h" #include "core/gimp.h" #include "pdb/gimppdb.h" #include "pdb/gimppdbcontext.h" #include "gim...
#include <cxxtest/TestSuite.h> #include <string.h> #include "ckfilesystem/iso.hh" using namespace ckfilesystem; class IsoTestSuite : public CxxTest::TestSuite { public: void <API key>() { unsigned char buffer[256]; TS_ASSERT_EQUALS(<API key>(buffer, ckT(""), CHARSET_ISO), 0); TS_ASSERT_E...
var request = require('request'); var cheerio = require('cheerio'); var admin = require("firebase-admin"); //var serviceAccount = require("<API key>.json"); admin.initializeApp({ credential: admin.credential.cert("<API key>.json"), databaseURL: "https://tehillim-17559.firebaseio.com" }); // As an admin, the app...
#ifndef <API key> #define <API key> #include <ui/LayoutBase.h> namespace ilixi { //! An abstract base class for widgets which store and maintain various child widgets. /*! * Containers are used to store widgets and align them using a Layout. */ class ContainerBase : public Widget { friend class Application; f...
import { FormsEpidemiologia } from '../modules/forms/forms-epidemiologia/<API key>'; async function run(done) { const fichas = FormsEpidemiologia.find({ active: { $exists: false } }).cursor(); for await (const ficha of fichas) { const _id = ficha.id; const $set = { active: true }; await ...
<?php /** * This is a Athena pagecontroller. * */ // Include the essential config-file which also creates the $athena variable with its defaults. include(__DIR__.'/config.php'); // Do it and store it all in variables in the Athena container. $athena['title'] = "Hello World"; $athena['header'] = <<<EOD <img class='si...
#include <QDebug> #include "layoutmodel.h" LayoutModel::LayoutModel() { width=200; height=200; nrows=2; nsegs=12; nseg = new int[nrows]; nseg[0] = 5; nseg[1] = 7; rowheight = new int[nrows]; rowheightpx = new int[nrows]; rowheight[0] = 4; rowheight[1] = 4; rowheightmax=8;...
// input_properties_py.hpp // blockscipy #ifndef <API key> #define <API key> #include "method_tags.hpp" #include <blocksci/chain/block.hpp> struct AddInputMethods { template <typename FuncApplication> void operator()(FuncApplication func) { using namespace blocksci; func(property_tag, "value",...
var _ = require('lodash'); var doFacesIntersect = require('./face-intersection').doFacesIntersect; function flatMeshIntersects(mesh){ var numFaces = mesh.faces.length; for (var i = 0; i < numFaces; ++i) { var firstFace = _.map(mesh.faces[i].vertices, function(vertexIndex){ return mesh.vertic...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Prasatec.Cu2Com.Data { public sealed class UserResetCollection : Raden.ICollection<UserReset> { private const int DEFAULT_LIMIT = 25; public Use...
// written by Chong Wang, chongw@cs.princeton.edu // This file is part of slda. // slda is free software; you can redistribute it and/or modify it under // option) any later version. // slda is distributed in the hope that it will be useful, but WITHOUT // for more details. // along with this program; if not, write to ...
package megamek.common.weapons; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.Vector; import megamek.common.Aero; import megamek.common.AmmoType; import megamek.common.BattleArmor; import megamek...
package org.ebookdroid.core; import android.graphics.Rect; import android.graphics.RectF; import com.foobnix.model.AppBook; import org.ebookdroid.common.settings.SettingsManager; import org.ebookdroid.common.settings.types.DocumentViewMode; import org.ebookdroid.common.settings.types.PageAlign; import org.ebookdroid.ui...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Apr 06 23:09:09 CEST 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package com.googlecode.fspotcloud.client.data (F-Spot Cloud Java Edition 0.12-beta API) </TITLE> <META NA...
def main(): """Instantiate a DockerStats object and collect stats.""" print('Docker Service Module') if __name__ == '__main__': main()
#include "diskio.h" #include <string.h> #include <LUFA/Drivers/USB/Class/MassStorage.h> #include "../DataflashManager.h" #include "../../DiskHost.h" /* Initialize Disk Drive */ DSTATUS disk_initialize (void) { return RES_OK; } /* Read Partial Sector ...
# ScratchABit - interactive disassembler # 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, but # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU import capstone import _any_caps...
package gui; import java.awt.Dimension; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.text.DecimalFormat; import java.text.NumberFormat; impor...
<?php class <API key> extends <API key> { function __construct() { parent::__construct( __('Animated Image (Pootle)', 'siteorigin-panels'), array( 'description' => __('An image that animates in when it enters the screen.', 'siteorigin-panels'), 'defau...
package com.infox.sysmgr.entity.base; import java.io.Serializable; public class BaseField implements Serializable { private static final long serialVersionUID = 1L; private int hashCode = Integer.MIN_VALUE; // fields private java.lang.String name; private java.lang.String fieldType; private java...
package org.drugis.mtc.presentation.results; import java.beans.PropertyChangeEvent; import java.beans.<API key>; import javax.swing.table.AbstractTableModel; import org.drugis.mtc.Parameter; import org.drugis.mtc.presentation.<API key>; import org.drugis.mtc.presentation.MTCModelWrapper; import org.drugis.mtc.summary.Q...
<!DOCTYPE html PUBLIC "- <html> <!-- This file redirects to the location of a node or anchor --> <head> <title>GNU Octave: XREFfilemarker</title> <meta name="description" content="GNU Octave: XREFfilemarker"> <meta name="keywords" content="GNU Octave: XREFfilemarker"> <meta name="resource-type" content="document"> <met...
angular.module('app.travels', ['pascalprecht.translate']) .controller('TravelsCtrl', function($scope, $http, $ionicModal, $timeout, $ionicLoading, $filter) { $scope.loadMorePagination = true; $scope.travels = []; $scope.page = 0; $scope.doRefresh = function() { /* travels refresh: */ $http...
#ifndef __cplusplus #include <stdbool.h> #endif #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "lzlib.h" /* Compresses 'size' bytes from 'data'. Returns the address of a malloc'd buffer containing the compressed data and its size in '*out_sizep'. In ...
<div id="help-template" class="outer"> <h2 class="head">Welcom to: System module</h2> <h4 class="odd">Description</h4> <p class="even">For administration of core settings of the site.</p> </div>
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProper...
#include "hv4d.h" namespace pagmo { namespace util { namespace hv_algorithm { Compute hypervolume /** * @param[in] points vector of points containing the D-dimensional points for which we compute the hypervolume * @param[in] r_point reference point for the points * * @return hypervolume. */ double hv4d::compute(st...
#pragma once #include "FieldDataVisualizer.h" #include "HMesh.h" #include "<API key>.h" #include <STACCATO_Enum.h> #include <vtkSmartPointer.h> #include <vtkAnimationScene.h> #include <vtkUnstructuredGrid.h> class vtkActor; class vtkDataSetMapper; class vtkWarpVector; class vtkLookupTable; class <API key>; class vtkAni...
<?php namespace BES\ContactBundle\Entity; use Doctrine\ORM\Mapping as ORM; use SKCMS\ContactBundle\Entity\ContactMessage as BaseMessage; /** * ContactMessage * * @ORM\Table() * @ORM\Entity(repositoryClass="BES\ContactBundle\Entity\<API key>") */ class ContactMessage extends BaseMessage { /** * @var intege...
SET(<API key> /usr/local /usr /opt ) FIND_PATH(<API key> argtable2.h HINTS PATH_SUFFIXES include PATHS ${<API key>} ) FIND_LIBRARY(ARGTABLE2_LIBRARY argtable2 HINTS PATH_SUFFIXES lib64 lib PATHS ${<API key>} ) if(<API key> AND ARGTABLE2_LIBRARY) ...
#!/usr/bin/python """Perform preprocessing and generate raytrace exec scripts for one focal plane. For documentation using the python_control for ImSim/PhoSim version <= v.3.0.x, see README.v3.0.x.txt. For documentation using the python_control for ImSim/PhoSim version == v.3.2.x, see README.txt. The behavior of this s...
#ifndef LEDSET_H #define LEDSET_H #include <QHash> #include "constants.h" #include "LedSetIterator.h" #include "Led.h" namespace AnimatorModel { class Animation; class LedSet : public QObject { Q_OBJECT public : explicit LedSet(QObject *parent); void addLed(Led& led); void removeLed(Led& led); void ...
# Example made by OssiLehtinen from svgpathtools import svg2paths, wsvg import numpy as np import uArmRobot import time #Configure Serial Port #serialport = "com3" # for windows serialport = "/dev/ttyACM0" # for linux like system # Connect to uArm myRobot = uArmRobot.robot(serialport,0) # user 0 for firmware ...
#ifndef _TSYSERROR_H_ #define _TSYSERROR_H_ #include <TNamed.h> #include <Rtypes.h> class TList; class TGraphErrors; class TSysError : public TNamed { public: enum EType { kNone = 0, kMean, kMinStdDev, kRelativeErrorMCSum, kAbsoluteDevFromRef, kMaxValueFromBin, <API key>, <API key>,<API key>, <API key>, kNumTyp...
<?php // It is free software: you can redistribute it and/or modify // (at your option) any later version. // It is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the defined('MOODLE_INTERNAL') || die; class <API key> extends <API key> { /** * Defin...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Newegg.Oversea.Silverlight.ControlPanel.Core.Bas...
#ifndef _DEV_SETUP_H_ #define _DEV_SETUP_H_ #include<stdlib.h> #include<stdio.h> #include<unistd.h> #include<sys/wait.h> #define exe_length 10 #define ip_route "10.0.0.0/24" int run_ip_set(char *arg[]); int set_up_dev(char *dev); #endif /*_DEV_SETUP_H_*/
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0) on Sat Jul 30 16:24:40 CEST 2011 --> <title>Uses of Class ch.intertec.storybook.view.manage.dnd.<API key></title> <meta name="date" content="2011-07-30"> <link rel="stylesheet" type="text/css" href="../../../../....
\RequirePackage{snapshot} \documentclass{article} \usepackage{datetime2} \listfiles \begin{document} This PDF was created on \today. \DTMnow. \end{document}
# -*- coding: utf-8 -*- # This file is part of lai-client. # lai-client is free software: you can redistribute it and/or modify # as published by the Free Software Foundation. # lai-client is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the import pymongo fr...
#include <stdbool.h> #include <stdint.h> #include <platform.h> #include "drivers/system.h" #include "drivers/bus_i2c.h" #include "drivers/sensor.h" #include "drivers/accgyro/accgyro.h" #include "drivers/accgyro/accgyro_adxl345.h" // ADXL345, Alternative address mode 0x53 #define ADXL345_ADDRESS 0x53 // Registers #d...
from matplotlib import pyplot as plt path = "C:/Temp/mnisterrors/chunk" + str(input("chunk: ")) + ".txt" with open(path, "r") as f: errorhistory = [float(line.rstrip('\n')) for line in f] plt.plot(errorhistory) plt.show()
#include "VS_RendererSimple.h" class vsRendererPretty : public vsRendererSimple { typedef vsRendererSimple Parent; unsigned int m_offscreenTexture; public: vsRendererPretty(); virtual ~vsRendererPretty(); virtual void PreRender(); virtual void RenderDisplayLis...
package com.adamroughton.crowdhammer.master.state; public enum MasterStateType { START, SCENARIO_RUN_START, SET_UP_PHASE, TEST_PHASE_PREP, TEST_PHASE_EXEC, SHUT_DOWN, ERROR }
require 'nil/file' require 'nil/http' class Rune attr_reader :id, :name, :description def initialize(id, name, description) @id = id @name = name @description = description end end def processTier(tier) host = 'http://na.leagueoflegends.com' url = "#{host}/runes/#{tier}" puts "Downloading tier #...
<?php ?> </div> </div>
package com.gildedgames.aether.client.renderer.tile_entities; import com.gildedgames.aether.client.models.entities.tile.ModelPresent; import com.gildedgames.aether.common.items.blocks.ItemBlockPresent; import com.gildedgames.aether.common.tiles.TileEntityPresent; import net.minecraft.client.renderer.GlStateManager; imp...
using KotaeteMVC.Context; using KotaeteMVC.Models.Entities; using KotaeteMVC.Models.ViewModels; using KotaeteMVC.Models.ViewModels.Base; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace KotaeteMVC.Service { public class LikesService : UsersService { public L...
<! To change this template, choose Tools | Templates and open the template in the editor. <html> <head> <title>About View3D</title> <link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8...
<?php global $_MODULE; $_MODULE = array(); $_MODULE['<{paypal}prs011><API key>'] = 'Fare nuova connessione'; $_MODULE['<{paypal}prs011><API key>'] = 'Connessione non riuscita con metodo CURL'; $_MODULE['<{paypal}prs011><API key>'] = 'Connessione con metodo CURL riuscita'; $_MODULE['<{paypal}prs011><API key>'] = 'Invio ...
#import "./WebKitAvailability.h" #import "_WKLayoutMode.h" #import "_WKFindDelegate.h" #import "_WKFindOptions.h" #import "_WKInputDelegate.h" #import "_WKAttachment.h" #import "NSTextFinderSPI.h" typedef NS_ENUM(NSInteger, _WKPaginationMode) { <API key>, <API key>, <API key>, <API key>, <API key>, ...
module Robotics.Thingomatic.Config where data PrinterConfig = Config { extSpeed::Double, extTemp::Int, platTemp::Int, layer::Double } deriving(Show,Read,Eq) defaultConfig = Config {extSpeed = 1.98, extT...
package net.sourceforge.cilib.problem.boundaryconstraint; import net.sourceforge.cilib.entity.Entity; import net.sourceforge.cilib.entity.Property; import net.sourceforge.cilib.type.types.Numeric; import net.sourceforge.cilib.type.types.Types; import net.sourceforge.cilib.type.types.container.Vector; /** * Once the en...
tabwm {#tawbm_page} ====== (pronounced "tab wim") `tabwm` is a compositing tiling window manager with a sensible touch-based UI suitable for use on a tablet computer (like the Surface Pro).
#ifndef PROJECTUPDATER_H #define PROJECTUPDATER_H #include "project.h" // CLASS ProjectUpdater // Module used for detecting if a project needs to be updated according to // the engine version. class ProjectUpdater : public QObject { Q_OBJECT public: ProjectUpdater(Project* project, QString previous); vir...
<?php namespace AramisAuto\EmailController\MessageStrategy; use AramisAuto\EmailController\Event\MessageEvent; class NullMessageStrategy extends <API key> { public function execute() { $event = new MessageEvent($this->getMessage()); $this->getEventDispatcher()->dispatch($this->success(), $event)...
# We calculate the flatness with the Roche model # calculate omk knowing omc and vice-versa from numpy import * from scipy.optimize import root # we have to solve a cubic equation a-J2*a**3=1+J2+0.5*omk**2 def eps(omk): return omk**2/(2+omk**2) def om_k(omc): khi=arcsin(omc) return sqrt(6*sin(khi/3)/omc-2) ...
package org.monstercraft.irc.ircplugin.event.events; import java.util.EventListener; import org.monstercraft.irc.ircplugin.event.EventMulticaster; import org.monstercraft.irc.ircplugin.event.listeners.IRCListener; import org.monstercraft.irc.plugin.wrappers.IRCServer; public class <API key> extends IRCEvent { priva...
#include <iostream> #include <ostream> #include <limits> #include <stdlib.h> #include <sstream> #include "common.hpp" #include "GlobalData.hpp" using namespace std; std::string <API key>() { return "idpglobal"; // NOTE: this string is also used in idp_intern.idp } std::string <API key>() { return "idpintern"; }...
package sc.ndt.editor.fast.fastfst; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>nTEC Sres</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link sc.ndt.editor.fast.fastfst.nTEC_Sres#getValue ...
package Net::DNS::RR::X25; # $Id: X25.pm 1528 2017-01-18 21:44:58Z willem $ our $VERSION = (qw$LastChangedRevision: 1528 $)[1]; use strict; use warnings; use base qw(Net::DNS::RR); =head1 NAME Net::DNS::RR::X25 - DNS X25 resource record =cut use integer; use Net::DNS::Text; sub _decode_rdata { ## decode rdat...
swanhart-tools =========== This is where you can find most open source tools written and primarily maintained by Justin Swanhart Shard-Query - MPP scaleout for MySQL with window functions and support for complex SQL (basically open source RedShift) * Shard-Query website: http://shardquery.com Flexviews * Incrementa...
#!/usr/bin/env python import sys import os output_dir = "<API key>" if not os.path.exists(output_dir): sys.stderr.write("Creating dir [%s]...\n" % (output_dir)) os.makedirs(output_dir) prefix = "/home/cbreeze/for_Alex" suffix = "<API key>.bed" marks = [ '1_TssA', '2_TssAFlnk', '3_TxFlnk', ...
package com.oryx.core.converter; import com.vaadin.data.util.converter.Converter; import org.apache.log4j.Logger; import javax.xml.datatype.<API key>; import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.<API key>; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date...
import { parseProgrammes, parseSubjects, parseCourses, } from "@education-data/parser"; import { join } from "path"; import { writeFileSync } from "fs"; import { format } from "date-fns"; import { sv } from "date-fns/locale"; import { sourceDirectory, outputDirectory, <API key> } from "./cfg"; async function main...
<?php namespace cmsgears\cart\common\models\resources; // Yii Imports use Yii; use yii\db\Expression; use yii\behaviors\TimestampBehavior; // CMG Imports use cmsgears\core\common\config\CoreGlobal; use cmsgears\cart\common\config\CartGlobal; use cmsgears\core\common\models\interfaces\base\IAuthor; use cmsgears\core\com...
/** * @file * MJPEG decoder. */ #include "libavutil/imgutils.h" #include "libavutil/avassert.h" #include "libavutil/opt.h" #include "avcodec.h" #include "dsputil.h" #include "mjpeg.h" #include "mjpegdec.h" #include "jpeglsdec.h" static int build_vlc(VLC *vlc, const uint8_t *bits_table, const uin...
<?php // This file is part of eTraxis. namespace App\Controller; use KnpU\OAuth2ClientBundle\Client\ClientRegistry; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; /** * OAuth2 controller. * * @Route("/o...
package adams.gui.goe; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JComponent; import javax.swing.JPopupMenu; import javax.swing.JSpinner; import javax.swing.SpinnerNumberModel; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import adams.gui.c...
#!/usr/bin/env python # -*- encoding: utf-8 -*- from ._common import * from .rethinkdb import RethinkDBPipe from .mongodb import MongoDBPipe
// This file is part of DuinoCube. // DuinoCube is free software: you can redistribute it and/or modify // (at your option) any later version. // DuinoCube is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // Contains sprite definitions. #ifndef __SPRITE...
# Install script for directory: /Users/WilliamSinclair/Documents/jeff-launcher/backend/src/Utilities # Set the install prefix if(NOT DEFINED <API key>) set(<API key> "/usr/local") endif() string(REGEX REPLACE "/$" "" <API key> "${<API key>}") # Set the install configuration name. if(NOT DEFINED <API key>) if(BUILD_...
package fi.pyramus.dao.users; import java.util.Date; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; import fi.pyramus.dao.PyramusEntityD...
local S = technic.getter technic.<API key>("freezing", { description = S("Freezing") }) function technic.<API key>(data) data.time = data.time or 5 technic.register_recipe("freezing", data) end local recipes = { {"bucket:bucket_water", { "default:ice", "bucket:bucket_empty" } }, {"bucket:bucket_river_wa...
using System.Threading.Tasks; namespace Yavsc.Services { public interface ISmsSender { Task SendSmsAsync(TwilioSettings settings, string number, string message); } }
<?php namespace <API key>\modules; use <API key>\classes\MultisiteMigration; use <API key>\classes\<API key>; if (! defined('ABSPATH')) { exit; } /** * This module allows a new site to be created in the network with a specified blog ID * * @class <API key> * @version 1.0 * @package MULTIS...
package com.stt.util2; import java.util.UUID; public class UUIDUtil { /** * "-" * @return */ public static String randomUUID(){ return UUID.randomUUID().toString(); } /** * "-" * @return */ public static String randomUUID2(){ return noSplit(randomUUID())...
#!/bin/sh if [ $# -lt 1 ]; then cat <<EOF Usage: blackbox_group.sh PREFIX EOF exit 1; fi PREFIX="$1" shift 1 . `dirname $0`/../../../testprogs/blackbox/subunit.sh rm -rf $PREFIX/simple-dc mkdir -p $PREFIX testit "simple-dc" $PYTHON $BINDIR/samba-tool domain provision --server-role="dc" --domain=FOO --realm=foo.example....
#include "mesh_chunk_builder.h" #include "mesh_chunk_vertices.h" #include "chunk.h" #include "color.h" #include "voxel.h" using minecpp::MeshChunkBuilder; using minecpp::MeshChunkVertices; using minecpp::RGBA8; void MeshChunkBuilder::<API key>(unsigned componentIndex) noexcept { while (!lightsPlace[componentIndex]....
package be.neutrinet.ispng.security; import be.neutrinet.ispng.vpn.Users; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import org.apache.log4j.Logger; import java.sql.SQLException; import java.util.UUID; @DatabaseTable(tableName = "session_tokens") public class SessionToken ...
<?php declare(strict_types = 1); namespace EssentialsPE; use EssentialsPE\BaseFiles\BaseAPI; use EssentialsPE\BaseFiles\BaseCommand; use EssentialsPE\Commands\AFK; use EssentialsPE\Commands\Antioch; use EssentialsPE\Commands\Back; use EssentialsPE\Commands\BreakCommand; use EssentialsPE\Commands\Broadcast; use Essentia...
import React, { Component } from 'react'; import { Link } from 'react-router-dom' import { CSSTransition } from '<API key>'; class Nav extends Component { constructor(props) { super(props); this.state = { menuActive: false } this.handleClick = this.handleClick.bind(this); } handleClick() { ...
using GIELIE.Data.Interfaces; using System; namespace GIELIE.Data.DTO.Models { public class Category : ICategory { public Guid CategoryId { get; set; } public string Description { get; set; } } }
package demo.designpatterns.simplefactory; public class MobileFactory { public Mobile getMobile(String title) throws Exception { if (title.equalsIgnoreCase("nokia")) { return new Nokia(); } else if (title.equalsIgnoreCase("motorola")) { return new Motorola(); } else {...
#ifndef <API key> #define <API key> #import <GNUstepBase/GSVersionMacros.h> #import <AppKit/NSControl.h> @class NSString; @class NSArray; @class NSCell; @class NSMatrix; @class NSScroller; //@class NSBox; #if OS_API_VERSION(<API key>, GS_API_LATEST) enum <API key> { <API key>, <API key>, <API key> }; typedef NSUI...
/** * Contains methods for working with device using the MODBUS protocol over * RS232 */ package kernel.modbus;
package problem0137 func singleNumber(nums []int) int { var ans int32 for i := 0; i < 32; i++ { cnt := 0 for _, num := range nums { if (num & (1 << uint(i))) > 0 { cnt++ } } if cnt%3 == 1 { ans |= 1 << uint(i) } } ...
<!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.17"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>BlenderFDS: Member Li...
/* * Orthos backend functions. Mostly inspired by slim DM code. * Big thanks to Per Liden, Simone Rota and Johannes Winkelmann. * * [exa] */ #include "sys.h" #include "settings.h" //#define _GNU_SOURCE #include <sys/types.h> #include <sys/time.h> #include <sys/wait.h> #include <errno.h> #include <unistd.h> #includ...