answer
stringlengths
15
1.25M
{% extends "base.html" %} {% block content %} <div class="row" ng-controller="HomepageController"> <div class="posts"> <ul> <div class="post" ng-repeat="post in posts"> <heading ng-bind="post.title"></heading> <content ng-bind="post.content"></content> ...
package org.hyperic.tools.ant; import java.io.<API key>; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import java.util.Properties; import java...
<!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.3.1"/> <title>wf: login_dlg Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/cs...
package com.sochat.client; import java.math.BigInteger; import java.security.<API key>; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.RSAPublicKeySpec; public class ServerPublicKey { public static PublicKey getServerPublicKey(String publicKeyModulus, String publicKeyExpo...
package main type FluxConfig struct { Iam string `toml:"iam"` Url string `toml:"url"` Port int `toml:"port"` Logdir string `toml:"logdir"` Balancer FluxCluster `toml:"cluster"` //Jwts []JwtAuth `toml:"jwt"` } type JwtAuth struct { RequiredClaims ...
using UnityEngine; using System.Collections; using System.Collections.Generic; using BeatManagement; public class <API key> : Task { private TaskManager subtaskManager; private float baseStaggerTime; private float structStaggerTime; private float terrainStaggerTime; private bool run_tasks = false; ...
<h3>Public products 1</h3>
#include <QtNetwork> #include <functional> void htmlGet(const QUrl &url, const std::function<void(const QString&)> &fun) { QScopedPointer<<API key>> manager(new <API key>); QNetworkReply *response = manager->get(QNetworkRequest(QUrl(url))); QObject::connect(response, &QNetworkReply::finished, [response, fun]{ ...
using System; using System.Collections.Generic; using System.Linq; namespace NetGore { <summary> Provides helper functions for parsing command-line switches and the arguments that go with each of those switches. </summary> public static class <API key> { <summary> The name of the...
#include<stdio.h> void heap_sort(int[], int); void build_max_heap(int[], int); void max_heapify(int[],int,int); void swap(int*, int*); void display(int[],int); int main(){ int n = 11; int a[] = {55,3,2,5,77,44,65,53,88,31,9}; display(a,n); heap_sort(a,n); display(a,n); return 0; } void heap_sort...
#include "alfe/main.h" #ifndef INCLUDED_PARSER_H #define INCLUDED_PARSER_H #include "alfe/code.h" #include "alfe/space.h" class Parser : Uncopyable { public: CodeList parseFromFile(File file) { CodeList c; parseFromFile(c, file); return c; } void parseFromString(Code code, String...
// vi: nu:noai:ts=4:sw=4 // c_defs #include <cmn_defs.h> #include <AStr.h> #include <CsvFile.h> #include <Path.h> #include <trace.h> #include <uuid/uuid.h> // M a i n int main( int argc, const char * argv[] ) { //bool ...
title: 'Wolf Creek National Fish Hatchery Open House' start: 2019-12-14T10:00:00.000Z end: 2019-12-14T14:00:00.000Z description: 'Come celebrate with our holiday open house and nature ornament workshop. Light refreshments and holiday entertainment with be provided. Make a nature themed ornament for our Christmas tree a...
#include_next <cxxabi.h>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Get Twemoji!</title> <link rel="stylesheet" href="http://ellekasai.github.io/twemoji-awesome/twemoji-awesome.css"> </head> <body> <i class="twa twa-chilli" style="-<API key> : none; font-size:200px; font-smooth: never; filter: contrast(1);" ti...
package com.elionhaxhi.ribbit.ui; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.NavUtils; import android.util.Log; import android.view.Menu; import android.view.MenuItem; imp...
<!DOCTYPE html> <html> <head> <title>Henlo World</title> <meta charset="UTF-8"> <style> body { font-family: helvetica, sans serif; text-align: center; background-color: #fceed4; padding-top: 20%; } </style> </head> <body> <div> ...
ID: 122673 post_title: Rules author: Mark post_excerpt: "" layout: page permalink: https://philoserf.com/rules/ published: true post_date: 2020-01-01 00:06:55 <h2>level one</h2> <ul><li>if it has a name do not give it another name</li> <li>if you have given it a name do not give it another name</li> <li>start with one ...
<?php namespace App\Http; class BadRequestException extends Exception { public function __construct($message = "", $code = 0, Exception $previous = null) { parent::__construct($message, $code, $previous); $this->_httpStatusCode = 400; $this->_httpStatusMessage = "Bad Request"; } }
package com.intershop.adapter.payment.partnerpay.internal.service.capture; import javax.inject.Inject; import com.google.inject.Injector; import com.intershop.adapter.payment.partnerpay.capi.service.capture.CaptureFactory; import com.intershop.api.service.payment.v1.capability.Capture; public class CaptureFactoryImpl i...
#ifndef REGTEST #include <threads.h> #include <windows.h> int mtx_lock(mtx_t *mtx) { DWORD myId = GetCurrentThreadId(); if(mtx->_ThreadId == (long) myId) { mtx->_NestCount++; return thrd_success; } for(;;) { LONG prev = <API key>(&mtx->_ThreadId, myId, 0); if(prev == 0) ...
package org.litesoft.commonfoundation.charstreams; /** * A CharSource is like a powerful version of a "char" based Iterator. */ public interface CharSource { /** * Report if there are any more characters available to get(). * <p/> * Similar to Iterator's hasNext(). */ public boolean anyRem...
package net.simpvp.Jail; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; import org.bukkit.Location; /** * Class representing the stored information about a jailed player */ public class JailedPlayer { public UUID uuid; public String playername; public String reason; p...
package org.hyperic.hq.ui.action.portlet.autoDisc; import org.hyperic.hq.appdef.shared.AIPlatformValue; import org.hyperic.hq.autoinventory.ScanStateCore; import org.hyperic.hq.autoinventory.ScanMethodState; public class <API key> extends AIPlatformValue { private ScanStateCore state = null; public <API key...
#ifndef HAVE_spiral_io_hpp #define HAVE_spiral_io_hpp #include <cstdio> #include "spiral/core.hpp" #include "spiral/string.hpp" namespace spiral { struct IoObj { const ObjTable* otable; std::FILE* stdio; bool close_on_drop; }; auto io_from_val(Bg* bg, Val val) -> IoObj*; auto io_from_obj_ptr(void* o...
package generics.p19; import java.util.Random; import utils.Generator; public class Good { private final int id; private String description; public Good(int id, String description) { this.id = id; this.description = description; } public static Generator<Good> generator = new Generat...
var Theme = (function() { var Theme = function() { }; return Theme; })(); module.exports = Theme;
# mentat-example Example app for the hapi.js microframework mentat
# -*- coding: utf-8 -*- import numpy as np from sklearn.svm import SVC def getSample(pointA, pointB, numberOfPoints): pointList = list(zip(np.random.uniform(-1,1.00,numberOfPoints),np.random.uniform(-1,1.00,numberOfPoints))) sample = np.array([(i[0], i[1], isLeft(pointA, pointB, i)) for i in pointList]) y =...
layout: page title: Advocacy date: 2013-01-08 22:41:31.000000000 -06:00 type: page published: true status: publish categories: [] tags: [] header: true The **Open Austin Policy Team** works with local governments and public agencies, in support of open government and civic technologies. * TOC {:toc} ## Candidate Questi...
const fs = require('fs'); const electron = require('electron'); const cl = require('node-opencl'); const RUN_GAMELOOP_SYNC = true; const GAMETICK_CL = true; const INIT_OPENGL = false; let canvas; // canvas dom element let gl; // opengl context let clCtx; // opencl context let glProgram; // opengl shader program...
package net.yottabyte.game; import java.awt.*; /** * @author Jason Fagan */ public class BouncyBall { private int x; private int y; private int vx; private int vy; private int radius; private int drag; private int mass; public BouncyBall(int x, int y, int vx, int vy, int radius, int ma...
// UITextView+PinchZoom.h #import <UIKit/UIKit.h> @interface UITextView (PinchZoom) @property (nonatomic) CGFloat maxFontSize, minFontSize; @property (nonatomic, getter = iszoomEnabled) BOOL zoomEnabled; @end
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>OpenJPEG: invert.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.2 --> <div class="qin...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations.Schema; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; namespace ProjetoModelo.Infra.CrossCutti...
from sqlalchemy import create_engine, Column, Integer, String, ForeignKey, Table from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship # demo many to many relationship engine = create_engine('sqlite:///manymany.db') Base = declarative_base() # Association table li...
/* @author Zakai Hamilton @component CoreJson */ screens.core.json = function CoreJson(me, { core, storage }) { me.init = function () { if (me.platform === "server") { me.request = require("request"); } }; me.loadComponent = async function (path, useCache = true) { ...
exports = module.exports = addShims; function addShims() { Function.prototype.extend = function(parent) { var child = this; var args = Array.prototype.slice.call(arguments, 0); child.prototype = parent; child.prototype = new (Function.prototype.bind.apply(parent, args))(); child.prototype.construc...
#!/usr/bin/env bash CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURRENT_DIR/helpers.sh" <API key>() { # percentage displayed in the 2nd field of the 2nd row if command_exists "pmset"; then pmset -g batt | grep -o "[0-9]\{1,3\}%" elif command_exists "upower"; then ...
package audits import scala.concurrent.Future /** Dao for storing and retrieving events */ trait EventDao { /** Write a new Event to the system */ def write(description: String): Future[Unit] }
body { text-align: center; } .clearer { clear: both; } .modal { text-align: left; } h1 { margin-bottom: 1.3em; } .alert { width: 50%; margin: auto; } #rules { margin-top: 1em; } .rule { margin: 1px 10px; padding: 10px 0; position: relative; clear: both; text-align: left; border: 1px solid tran...
<?php if(empty($_POST['tipname'])||empty($_POST['tipid'])) exit; include("../theme/language/en/language.php"); echo $_POST['tipid']."<!-|||->"; switch ($_POST['tipname']) { case 'select_mode_free': echo $lang['tip_free']; break; case 'select_mode_host': echo $lang['tip_host']; break; case 'select_m...
// UIImage+IL_ContentWithColor.h // ILDiligence #import <UIKit/UIKit.h> @interface UIImage (IL_ContentWithColor) - (UIImage *)<API key>:(UIColor *)color; @end
public class RandomColoringDiv2 { public int getCount(int maxR, int maxG, int maxB, int startR, int startG, int startB, int d1, int d2) { int colors = 0; int minR = Math.max(0, startR - d2); int minG = Math.max(0, startG - d2); int minB = Math.max(0, startB - d2); ...
import os # Application constants APP_NAME = 'job_offers' INSTALL_DIR = os.path.dirname(os.path.abspath(__file__)) LOG_FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s' LOG_NAME = os.path.join(INSTALL_DIR, 'job_offers.log') # Testing fixtures JOB_OFFER_FIXTURES = os.path.join(INSTALL_DIR, "fixtures/job_of...
package hr.element.etb.lift.http import net.liftweb.http.js._ import net.liftweb.util.Helpers._ package object js { case class Prompt(text: String, default: String = "") extends JsExp { def toJsCmd = "prompt(" + text.encJs + "," + default.encJs + ")" } case object ReloadPage extends JsCmd { def toJsCmd = ...
<!DOCTYPE html PUBLIC "- <HTML xmlns="http: <TITLE>Web Gallery - Bonaire 2007-05-10 16-37-06</TITLE> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <LINK href="assets/css/global.css" rel="stylesheet" type="text/css"> <META name="description" localizable="true" content="Created by Ap...
require '<API key>/rails' require '<API key>/sidekiq' <API key>.configure do |config| # Ignore additional exception types. # ActiveRecord::RecordNotFound, AbstractController::ActionNotFound and ActionController::RoutingError are already added. # config.ignored_exceptions += %w{ActionView::TemplateError CustomErro...
/*globals document, setTimeout, clearTimeout, Audio, navigator */ var MallardMayhem = MallardMayhem || {}; (function () { "use strict"; MallardMayhem.Duck = function (options) { var self = this; this.currentTimeout = null; this.domElement = document.createElement('span'); this.cu...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace GestionInmobiliaria.RESTServices { using GestionInmobiliaria.BusinessEntity; using GestionInmobiliaria.BusinessLogic; using System.ServiceModel.Web; ...
<?php namespace SKE\Command; use Symfony\Bundle\FrameworkBundle\Command\<API key>; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Filesyste...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Text.RegularExpressions; using System.Xml; using Diagnostics.Tracing; using Diagnostics.Tracing.Parsers; using FastSerialization; using Utilities; using System.IO; using System.Diagnostics.Tracing; namespace Diagno...
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/pages/datatables.css"> <link href="<?php echo base_url(); ?>assets/vendors/bootstrapvalidator/css/bootstrapValidator.min.css" rel="stylesheet"> <script type="text/javascript" src="<?php echo base_url(); ?>assets/vendors/bootstrapvalidator/...
package br.com.tosin.ssd.utils; public class <API key> { public static final String NORTH = "N"; public static final String SOUTH = "S"; public static final String WEST = "W"; public static final String EAST = "E"; public static final String NORTHWEST = "NW"; pub...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Reflection; using System.Windows.Forms; using IFSExplorer.Properties; namespace IFSExplorer { public partial class MainForm : Form { private static readonly Dictionary<int, i...
#!/usr/bin/env node var http = require('http'); var moment = require('moment'); var server = undefined; var threshold = undefined; var units = undefined; if (!isValid(process.argv)) { console.error('invalid arguments, expected hostname threshold and units'); process.exit(-1); } var request = http.request('http://' ...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), connect: { all: { options: { base: '.', port: 9999 }} }, jshint: { all: ['deflector.js', 'deflector.test.js', 'Gruntfile.js'] }, qunit: { ...
using System; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Subjects; using System.Threading; using System.Threading.Tasks; using BFF.<API key>.PageStorage; using MrMeeseeks.Reactive.Extensions; namespace BFF.<API key>.<API key> { internal sealed class <API key><T> : <API key><T> ...
<!DOCTYPE html> <html lang="en-US"> <head> <base href="http://localhost/wordpress" /> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Wrigley-1981 The population history of England, 1541-1871: a re | Communicating with Prisoners</title> <link rel='stylesheet' id='ortex...
#! /bin/bash ## Test of SIMPLI provisionning module source ../../../../test/test_common.sh "webstorm module provisionning - manual" ## load simpli which will do apt-get update export <API key>=1 export <API key>=1 source "${SIMPLI_DIR}/bin/index.sh" <API key> $? ## provision our stuff require offirmo/webstorm <API key>...
#!/usr/bin/python # uart-eg01.py # to run on the other end of the UART # screen /dev/ttyUSB1 115200 import serial def readlineCR(uart): line = b'' while True: byte = uart.read() line += byte if byte == b'\r': return line uart = serial.Serial('/dev/ttyUSB0', baudrate=115200, t...
#include "serverBase.h" int main(int argc, char** argv) { unsigned portNumber = 12943; if(argc >= 2) { portNumber = atoi(argv[1]); } try { asio::io_service io_service; asio::ip::tcp::endpoint endpoint(asio::ip::tcp::v4(), portNumber); TCPServer server(io_service, endpoint); ...
from rec import CourseRecord from score import RoomScore from evaluation import ScheduleEvaluation FULL_HOURS = 8 # 8:00AM - 4:00PM utilization PARTIAL_HOURS = FULL_HOURS * 0.75 HALF_HOURS = FULL_HOURS * 0.50 SPARSE_HOURS = FULL_HOURS * 0.25 class LocationScore: def __init__(self, evals=None): self.e...
package es.com.blogspot.elblogdepicodev.activiti; import java.text.MessageFormat; import java.util.HashMap; import java.util.Map; import org.activiti.engine.ProcessEngine; import org.activiti.engine.<API key>; import org.activiti.engine.ProcessEngines; import org.activiti.engine.RepositoryService; import org.activiti.e...
package ua.clinic.tests.integration; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web....
require 'google_tts/connector' require 'google_tts/query_builder' require 'google_tts/parser' require 'google_tts/mp3writer' module GoogleTts VERSION = "0.1.0" class Client include GoogleTts def initialize(connector = Connector.new, query_builder = QueryBuilder.new, mp3...
from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^red/', include('apps.red_app.urls', namespace='red_namespace')), url(r'^blue/', include('apps.blue_app.urls', namespace='blue_namespace')), url(r'^admin/', admin.site.urls), ]
using UnityEngine; using UnityEngine.SceneManagement; public class ShowModeA : MonoBehaviour { public Texture AModeTexture; public Texture BModeTexture; private <API key> <API key>; private GameController gameController; void Start () { <API key>(); InitGameController(); <API...
// This is free and unencumbered software released into the public domain. #include "model.h" #include "control.h" // for slx9 and slx9 #define NUM_ROWS 4 #define FRAMES_DATA_START 0 //#define FRAMES_DATA_LEN (NUM_ROWS*FRAMES_PER_ROW*XC6_FRAME_SIZE) #define BRAM_DATA_START FRAMES_DATA_LEN //#def...
// not_tested use std::iter; fn main() { for i in iter::range_inclusive(1u, 5) { for _ in iter::range_inclusive(1u, i) { print!("*") } println!("") } }
# Xcode Snippets ## CLI Build bash xcodebuild -list -project Project.xcodeproj xcodebuild -scheme iOS build ## CLI Test bash xcodebuild test -project Project.xcodeproj -scheme Tests -destination 'platform=iOS Simulator,name=iPad Air 2,OS=10.0' ## CLI xcrun bash xcrun -sdk iphoneos swiftc -target armv7-apple-ios10.0 mai...
# belfast-cares-app Prerequisites - NPM installed : https://nodejs.org/en/download/ - Git installed : https://git-scm.com/download/win - Java 8 JDK : http: - Android SDK : https://developer.android.com/studio/index.html Setting up your environment npm install -g cordova npm install -g ionic ionic lib update cd belfast-...
#define LOG_MODULE <API key> #include "IgmpLayer.h" #include "PacketUtils.h" #include "Logger.h" #include <string.h> #include "EndianPortable.h" namespace pcpp { IgmpLayer::IgmpLayer(IgmpType type, const IPv4Address& groupAddr, uint8_t maxResponseTime, ProtocolType igmpVer) { m_DataLen = <API key>(igmpVer, type); ...
#include "line_modification.hh" #include "buffer.hh" #include "unit_tests.hh" namespace Kakoune { static LineModification make_line_modif(const Buffer::Change& change) { LineCount num_added = 0, num_removed = 0; if (change.type == Buffer::Change::Insert) { num_added = change.end.line - change.begin....
// -*- Mode: objc -*- @import Cocoa; #import "<API key>.h" @interface <API key> : NSObject @property(readonly) <API key>* <API key>; + (<API key>*)sharedManager; - (void)save; @end
#ifndef <API key> #define <API key> #include <stdlib.h> namespace Network { class NetworkBalancer { public: /** * @brief NetworkBalancer Class constructor */ NetworkBalancer(); /** * @brief sendTroughBalancer Sends a buffer through an automatically chosen o...
from djangosanetesting.cases import HttpTestCase from django.conf import settings from django.core.urlresolvers import reverse from django.core import mail from accounts.tests import testdata class TestResetPassword(HttpTestCase): def __init__(self, *args, **kwargs): super(self.__class__, self).__init__(*ar...
/** * This is a demo class * * @author Ravi */ public class Demo { /** * This is the main method * * @param args */ public static void main(String[] args) { System.out.println("This is a demo."); } }
package com.github.alkedr.matchers.reporting.reporters; import org.junit.Test; import static com.github.alkedr.matchers.reporting.reporters.Reporters.<API key>; import static com.github.alkedr.matchers.reporting.reporters.Reporters.<API key>; public class NoOpReportersTest { @Test public void <API key>() { ...
energies = dict() energies[81] = -3.17 # Ammoniadimer.xyz energies[82] = -5.02 # Waterdimer.xyz energies[83] = -1.50 # <API key>.xyz energies[84] = -18.61 # Formicaciddimer.xyz energies[85] = -15.96 # Formamidedimer.xyz energies[86] = -20.65 # Uracildimerhbonded.xyz energies[87] = -16.71 ...
// Citadel: CfgFiles.h // For figuring out how to configure ourselves. #ifdef MAIN char *citfiles[] = { "GRPDATA.CIT", "EXTERNAL.CIT", "CONFIG.CIT", "CRON.CIT", "ROUTE.CIT", "HARDWARE.CIT", "NODES.CIT", "FILEQTMP.CIT", "DEFUSER.CIT", "CRASH.CIT", "MAILLIST.C...
<HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <link href="layout.css" charset="utf-8" type="text/css" rel="stylesheet"></link> <TITLE>SDL_CreateWindow</TITLE> </HEAD> <BODY> <script src="menu.js"></script> <div id=pagecontent> <h1>SDL_CreateWindow</h1> <p>Use this function to create a...
<!DOCTYPE html> <html lang="en-US"> <head> <base href="http://localhost/wordpress" /> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bulfinch-1827 Report of Charles Bulfinch on the Subject of Penitentiaries, | Communicating with Prisoners</title> <link rel='styleshee...
export class <API key> extends Error { constructor(unit: string, providedValue: number) { super(`Cannot create a valid time with provided ${unit} value: ${providedValue}`); } }
avatar = function(x){ this.x = x; this.y = 0; this.prevY = 0; this.velocity_x = 0; this.velocity_y = 0; this.img = loadImage("stickman.png"); this.crouch = loadImage("crouch.png"); this.width = 16; this.standingHeight=64; this.crouchHeight=44; this.height = this.standingHeigh...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * SYSTEM/FS/FAT.H * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef FAT_H_INCLUDED #define FAT_H_INCLUDED #include <FORMATTING.H> typedef struct _FAT121632_BPB { uint8_t OEMName[8];...
#include "Union.h" bool Union::contains(const Vector2D& point) const { for (auto&& figure : figures) if (figure->contains(point)) return true; return false; } Figure* Union::createCopy() const { return new Union(*this); } std::ostream &operator<<(std::ostream& os, const Union* un) { ...
from bitmovin.utils import Serializable class <API key>(Serializable): def __init__(self, <API key>: float = None, <API key>: float = None, <API key>: float = None, <API key>: float = None, <API key>: float = None, schedule_expression: str = None): super().__init__() ...
#include "com_object.hpp" #include <Windows.h> namespace pw { com_object::com_object() { CoInitializeEx(nullptr, <API key>); } com_object::~com_object() { CoUninitialize(); } }
package crashreporter.api; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Registry for API provider objects. * * @author Richard */ public class Registry { private static final Map<String, Pasteb...
package gui.dragndrop; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.input.*; import javafx.scene.layout.*; import javafx.scene.paint.Color; import javafx.stage.Stage; public class DragAndDrop extends Application { public void start(Stage stage)...
var leaderboard2 = function(data) { return data.data.sort(function(a,b){return b.points-a.points;}); }; function liCreate(name,points) { var li = $('<li>'+name+'</li>'); li.append('<span>'+points+'</span>'); } $(document).ready(function() { // var sorted = leaderboard2(data); // for (var i=0; i<sorted.length;...
package lcd2usb import ( "errors" "fmt" "github.com/schleibinger/sio" ) type cmd byte const ( cmdPrefix cmd = 0xfe cmdBacklightOn = 0x42 cmdBacklightOff = 0x46 cmdBrightnes = 0x99 // brightnes cmdContrast = 0x50 // contrast cmdAutoscrollOn ...
package com.jerry.controller; import com.jerry.model.TBanquet; import com.jerry.service.BanquetService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web....
title: Multicluster test: n/a Multicluster is a deployment model that consists of a [mesh](/docs/reference/glossary/#service-mesh) with multiple [clusters](/docs/reference/glossary/#cluster).
/** * @class Ext.dd.DragTracker * @extends Ext.util.Observable * A DragTracker listens for drag events on an Element and fires events at the start and end of the drag, * as well as during the drag. This is useful for components such as {@link Ext.slider.MultiSlider}, where there is * an element that can be dragged...
<!DOCTYPE html> <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/> <link rel="stylesheet" href="../../../../../aui/...
<?php namespace humhub\modules\content\widgets; /** * Delete Link for Wall Entries * * This widget will attached to the <API key> and displays * the "Delete" Link to the Content Objects. * * @package humhub.modules_core.wall.widgets * @since 0.5 */ class DeleteLink extends \yii\base\Widget { /** * @var...
using IronFoundry.Warden.Containers; using Xunit; namespace IronFoundry.Warden.Test { using System; public class <API key> { [Theory] [InlineData(1, "idq1ypm7dyb")] [InlineData(2, "1of9dl2qia1")] public void <API key>(int input, string expectedId) { var ha...
Pindrop {#pindrop_index} ==== [Pindrop][] is an audio engine designed with the needs of games in mind. It's not just an audio mixer, it also manages the prioritization, adjusts gain based distance, manages buses, and more. It is largely data-driven. The library user needs only to load a handful of configuration f...