text
stringlengths
3
1.05M
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace APIViewWeb.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] ...
<div class="modal-header"> <button type="button" class="close" ng-click="mas.cancel()"> <span class="pficon pficon-close"></span> </button> <h4 class="modal-title">Response Time Alert Settings</h4> </div> <div class="modal-body hk-alert-settings"> <div class="row"> <div class="col-sm-9"> <p>Confi...
typedef enum { ATEventDateStart, ATEventDateEnd, } ATEventDate; @class ATEvent; @interface ATEventManager : NSObject { } + (ATEventManager *)sharedATEventManager; + (NSDictionary *)dictionaryWithJson:(NSString *)jsonString; + (ATEvent *)eventWithEventObject:(id)eventObject; + (NSString *)stringForDispDescrip...
<?php /** * Created by PhpStorm. * User: device * Date: 23.02.16 * Time: 9:45 */ namespace AppBundle\Repository; use Doctrine\ORM\EntityRepository; class CategoryRepository extends EntityRepository { public function findCountCategories() { return $this->createQueryBuilder('category') ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; namespace SceneNavi.OpenGLHelpers { class ScreenWorldConversion { public static Vector3d WorldToScreen(Vector3d pos) {...
/** * Calendar class. Manages time, seasons and random events of the game */ dojo.declare("com.nuclearunicorn.game.Calendar", null, { game: null, seasons: [ { name: "spring", title: "Spring", modifiers:{ "catnip" : 1.5 } }, { name: "summer", title: "Summer", modifiers:{ "catnip" : 1.0 } ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. ...
import { IConfigSettings } from '../../common'; import { Hash } from '../services/hash'; import { IVersionInfoService } from '../version/IVersionInfoService'; import { IServer } from './../IServer'; import { IResource } from './IResource'; import { IResourceManager } from './IResourceManager'; import { UriTemplate } fr...
package org.optaplanner.examples.dinnerparty.domain; import java.util.List; import org.optaplanner.examples.common.domain.AbstractPersistable; import com.thoughtworks.xstream.annotations.XStreamAlias; @XStreamAlias("Table") public class Table extends AbstractPersistable { private int tableIndex; private...
'use strict' // ------------------------------------------------------------------------------ // Requirements // ------------------------------------------------------------------------------ const utils = require('../utils') // ------------------------------------------------------------------------------ // Help...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package main /* Generate slack token: https://api.slack.com/web */ import ( "fmt" "net/url" "os" pagerduty "github.com/PagerDuty/go-pagerduty" "github.com/bluele/slack" "github.com/fatih/color" "github.com/tbruyelle/hipchat-go/hipchat" ) func (n *Notifier) Run(message string, isAlert bool) { switch n.Name {...
package OAuth::Lite2::Formatter::XML; use strict; use warnings; use parent 'OAuth::Lite2::Formatter'; use Try::Tiny; use XML::LibXML; use Carp (); sub name { "xml" } sub type { "application/xml" } sub format { my ($self, $hash) = @_; my $xml = '<?xml version="1.0" encoding="UTF-8"?>'; $xml .= '<OAuth>';...
require 'spec_helper' require 'git' require_relative 'fixtures/versionfiles' describe Autoversion::CLI do # Borrowing capture_io from minitest until I have # time to move over to minitest fully. def capture_io require 'stringio' captured_stdout, captured_stderr = StringIO.new, StringIO.new Mutex....
StringTableEntry assetLooseIdSignature = StringTable->insert( ASSET_ID_SIGNATURE ); StringTableEntry assetLooseFileSignature = StringTable->insert( ASSET_LOOSEFILE_SIGNATURE ); //----------------------------------------------------------------------------- ConsoleType( assetLooseFilePath, TypeAssetLooseFilePath, size...
package org.knowm.xchange.wex.v3; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.util.Arrays; import java.util.List; import java.util.Map; import org.junit.Test; im...
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavi...
import os, sys, shutil, subprocess assert os.path.isfile("setup.py") and open(".git/description").read().strip() == "Nuitka Staging" nuitka_version = subprocess.check_output("./bin/nuitka --version", shell = True).strip() branch_name = subprocess.check_output("git name-rev --name-only HEAD".split()).strip() assert b...
using System; using System.Linq; using WebAPI.Common.Abstractions; using WebAPI.Domain; using WebAPI.Domain.Addresses; namespace WebAPI.API.Commands.Address { /// <summary> /// Pechmines style. Doesn't work that well. /// </summary> public class ParseAddressCommand2 : Command<AddressBase> { ...
layout: default title: Teile permalink: /teile/ --- - Hydraulikschläuche: http://www.heinrichskau.de/
Poetry-Bot ========== brit-a-z.txt was downloaded from http://www.curlewcommunications.co.uk/wordlist.html The license for that file reads: >These files are provided "as is" without any warranty. They may be used and copied freely for non-commercial purposes provided that this notice is included. Downloading of the fi...
package com.icode.validation; import java.lang.annotation.Annotation; import java.util.Collection; import java.util.Iterator; import com.icode.validation.validators.annotation.Valid.ValidateIsValid; import com.icode.validation.validators.base.BasePropertyValidator; /** * <p> * The <code>IsValidValidator</code> va...
namespace pw::unit_test { // Refer to one test in static_library_archived_tests.cc. Do not refer to any // tests in static_library_missing_archived_tests.cc, though; those tests are // expected to be lost because they are not referenced. PW_UNIT_TEST_LINK_FILE_CONTAINING_TEST(StaticLibraryArchivedTest, Test1); // Cou...
require 'gsl/matrix' module GSL module Matrix class Complex class Float < FFI::Struct include Functions end end end end
#ifndef VERTEXATTRIBUTEBINDING_H_ #define VERTEXATTRIBUTEBINDING_H_ #include "Ref.h" #include "VertexFormat.h" namespace gameplay { class Mesh; class Effect; /** * Defines a binding between the vertex layout of a Mesh and the vertex * input attributes of a vertex shader (Effect). * * In a perfect world, this cl...
using System; using System.Net; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; namespace h0wXD.Net { public static class IPEndPointHelper { private static readonly Regex EndPointRegex = new Regex(@"^(?<ip>(?:\[[\da-fA-F:]+\])|(?:\d{1,3}\.){3}\d{1,3}):(?<port>\d+)?$", Rege...
@interface YuWaTests : XCTestCase @end @implementation YuWaTests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown { // Put teardown code here. This method is called after the invocation of each test me...
title: Expectation Maximization Algorithm localeTitle: خوارزمية تعظيم التوقع --- #### واقترح ريدينج: * https://en.wikipedia.org/wiki/Expectation٪E2٪80٪93maximization\_algorithm * http://www.nature.com/nbt/journal/v26/n8/full/nbt1406.html * http://www.cc.gatech.edu/~dellaert/em-paper.pdf
class Timestamp def self.get(format = "%Y-%m-%d %H:%M:%S") time = Time.new time.strftime(format) return time end end
import * as plugins from './smartfile.plugins.js'; import * as interpreter from './smartfile.interpreter.js'; import { Smartfile } from './smartfile.classes.smartfile.js'; import * as memory from './smartfile.memory.js'; /*=============================================================== ============================ Ch...
<?xml version="1.0"?> <!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"> <module name="Checker"> <property name="fileExtensions" value="java, properties, xml" /> <!-- Checks that a package-info.java file exists for each packa...
package clair import ( "github.com/vmware/harbor/src/common/models" "strings" ) // ParseClairSev parse the severity of clair to Harbor's Severity type if the string is not recognized the value will be set to unknown. func ParseClairSev(clairSev string) models.Severity { sev := strings.ToLower(clairSev) switch sev...
<?php namespace Google\Service\Vision; class GoogleCloudVisionV1p4beta1DominantColorsAnnotation extends \Google\Collection { protected $collection_key = 'colors'; protected $colorsType = GoogleCloudVisionV1p4beta1ColorInfo::class; protected $colorsDataType = 'array'; /** * @param GoogleCloudVisionV1p4bet...
""" Django settings for example_project project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ import os import sys # Used to sys.path.insert(0, '../../django-h...
<?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20150331185117 extends AbstractMigration { /** * @param Schema $schema */ public function up(Schema...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="ApiGen 2.8.0" /> <title>Namespace FOS\RestBundle\EventListener | seip</title> <script type="text/javascript" src="resources/combined.js?784181472"></script> <script type="text/javas...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_execl_65a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-65a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: connect_socket Read data usi...
package com.tle.core.db import java.util.UUID import com.tle.core.db.migration.DBSchemaMigration import com.tle.core.db.tables.CachedValue import com.tle.core.db.types.DbUUID import io.doolse.simpledba.Iso import io.doolse.simpledba.jdbc.JDBCIO import io.doolse.simpledba.jdbc.sqlserver._ object SQLServerSchema ...
@interface EllipseViewController () { SAAnimationLayer *animationLayer_; } @end @implementation EllipseViewController - (void)viewDidLoad { [super viewDidLoad]; SAGradient *gradient = [SAGradient gradient:@[(id)CGColorFromRGBA(1,0,0,1), (id)CGC...
====================================================== Field Type Expansion in the Data Formatter Function ====================================================== The specifications of the formatter functions provided in this sample are described. For an overview of the formatter functions and more information on basi...
package com.carrotsearch.hppcrt; /** * Methods and constants inspired by the article * "Broadword Implementation of Rank/Select Queries" by Sebastiano Vigna, January 30, 2012: * <ul> * <li>algorithm 1: {@link #rank9(long)}, count of set bits in a <code>long</code> * <li>algorithm 2: {@link #select9(long, int)...
package stroom.processor.impl; import stroom.dashboard.expression.v1.ValuesConsumer; import stroom.datasource.api.v2.AbstractField; import stroom.datasource.api.v2.DataSource; import stroom.docref.DocRef; import stroom.docrefinfo.api.DocRefInfoService; import stroom.entity.shared.ExpressionCriteria; import stroom.p...
import unittest, time, sys, random sys.path.extend(['.','..','py']) import h2o, h2o_cmd, h2o_glm, h2o_hosts, h2o_browse as h2b, h2o_import as h2i class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): global localhost lo...
var JiraApi = require('jira').JiraApi; var q = require('q'); var Jira = function (config) { var jira_config = config.jira_connection; var questionIdField = config.issue_template.tracking_field; if (questionIdField.startsWith("customfield_")) { questionIdField = "cf[" + questionIdField.split("_")[...
package com.proxijobs.model; public class AdvancedSearch extends QuickSearch { //TODO }
 import numpy as np from dialent.common.metrics import Metrics ######################################################################################### class TagData: """Utility object that contains data regarding a set of objects currently processed by EvaluationMatrix""" def __init__(self, tag, obje...
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS...
using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Osu.Judgements; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Osu.Objects { /// <summary> /// Note that this should not be used for timing correctness. /// See <see cref="SliderEventType.LegacyLastTi...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> org.apache.jmeter.examples.testbeans.example2 (Apache JMeter API) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">...
declare namespace create { interface JenkinsAPI { info(callback: (err: Error, data: any) => void): void; build: { get(name: string, n: number, callback: (err: Error, data: any) => void): void; log(name: string, callback: (err: Error, data: any) => void): void; log...
require 'test_helper' begin require 'mongoid' require 'mongoid_test_helper' class MongoidTest < Test::Unit::TestCase def test_geocoded_check p = Place.new(*venue_params(:msg)) p.location = [40.750354, -73.993371] assert p.geocoded? end def test_distance_to_returns_float p = Place.new(*venue_pa...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close_54b.c Label Definition File: CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close.label.xml Template File: source-sinks-54b.tmpl.c */ /* * @description * CWE: 775 Missing Release of Fi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
var button = document.getElementById('handian-btn'); if (button) { console.log('handian-btn exist'); button.style.position = "fixed"; } var button = document.getElementById('handian-input'); if (button) { console.log('handian-btn exist'); button.style.position = "fixed"; } //---> ---------------------...
'use strict'; app.controller("cadastroPessoaCtrl", function($scope, $http, $location, cadastroPessoaService) { var self = this; self.pessoa={id:null,nome:'',idade:'',cpf:''}; self.pessoas=[]; self.listPessoa = function(){ cadastroPessoaService.list() .then( function(d...
module Issues::Validation extend ActiveSupport::Concern included do validates :status, presence: true, inclusion: { in: :next_status } validates :description, pdf_encoding: true validate :requires_comment, if: :status_changed? validate :has_final_tag validate :user_can_modify end private ...
<!DOCTYPE html> <html> <head> <title>content.coffee</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <link rel="stylesheet" media="all" href="docco.cs...
package com.erevacation.magiclist; import java.util.HashMap; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.view.View; import android.view.animation.Interpolator; import android.widget.ListView; public class Animation { public static void animateNewState(String clicked...
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <translate android:duration="400" android:fromXDelta="100%p" android:toXDelta="0%" android:fromYDelta="0%" android:toYDelta="0%" android:fillAfter="true" android:in...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
package org.apache.hadoop.hbase.rest.client; import com.google.protobuf.Descriptors; import com.google.protobuf.Message; import com.google.protobuf.Service; import com.google.protobuf.ServiceException; import java.nio.charset.StandardCharsets; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hba...
const expect = require('chai').expect; const knex = require('knex'); const massAssignment = require('..'); const bookshelf = require('bookshelf')(knex({ client: 'sqlite3', connection: { filename: 'test/test.sqlite' }, useNullAsDefault: true })); const config = { directory: 'test/migrations' }; describe(...
<td-layout #layout> <td-navigation-drawer sidenavTitle="Muse Writer" name="Firstname Lastname" email="firstname.lastname@company.com"> <md-nav-list> <ng-template let-item let-last="last" ngFor [ngForOf]="routes"> <a md-list-item [routerLink]="[item.route]" (click)="layout.close()"><md-icon>{{item.ic...
<div id="main" class="palm-hasheader palm-body-text"> <div id="spinner" x-mojo-element="Spinner"></div> <div id="filterField" x-mojo-element="FilterField"></div> <div id="menu" x-mojo-element='List'></div> </div>
<?php /** * Day View Content * The content template for the day view. This template is also used for * the response that is returned on day view ajax requests. * * Override this template in your own theme by creating a file at [your-theme]/tribe-events/day/content.php * * @package TribeEventsCalendar * @since ...
package io.silverspoon.bulldog.cubieboard.gpio; import io.silverspoon.bulldog.core.Signal; import io.silverspoon.bulldog.core.gpio.Pin; import io.silverspoon.bulldog.core.gpio.event.InterruptListener; import io.silverspoon.bulldog.cubieboard.CubieboardPin; import io.silverspoon.bulldog.linux.gpio.LinuxDigitalInput; im...
import { SpyObject } from './spyobject'; import { JhiLanguageService } from 'ng-jhipster'; import Spy = jasmine.Spy; export class MockLanguageService extends SpyObject { getCurrentSpy: Spy; fakeResponse: any; constructor() { super(JhiLanguageService); this.fakeResponse = 'pt-br'; ...
// // FolderViewController.m // upnpxdemo // // Created by Bruno Keymolen on 02/07/11. // Copyright 2011 Bruno Keymolen. All rights reserved. // #import "FolderViewController.h" #import "MediaServerBasicObjectParser.h" #import "MediaServer1ItemObject.h" #import "MediaServer1ContainerObject.h" #import "PlayBack.h"...
A library of helpers that creates a higher level abstraction over encryption, hashing, and encoding. This includes some utilities around managing the hashing of passwords. ## Get It ``` Install-Package Hallmanac.CryptoHelpers ``` There are two versions of this library to support the Full .NET Framework and the .NET ...
package com.comze.sanman00.lang; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; public final class LanguageSyntax implements ISyntax { private static final LanguageSyntax INSTANCE = new LanguageSyntax(); private static boolean variableValueContext = false; private st...
package housing; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; import org.apache.commons.math3.random.MersenneTwister; /************************************************************************************************** * This represents a household who receiv...
package es.cesga.hadoop.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler; import org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler; import org.springframework.boot.bind.RelaxedPropertyResolver; import org.spr...
import pytest import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import numpy.testing as npt from .. import rcmod, palettes, utils from ..conftest import has_verdana class RCParamTester: def flatten_list(self, orig_list): iter_list = map(np.atleast_1d, orig_list) flat_l...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_05) on Fri Dec 23 12:54:43 EST 2005 --> <TITLE> ProcHandleShippingGroupUpdateModification (ATG Java API) </TITLE> <META NAME="keywords" CONTENT="atg...
# Brest Validator ## About Validator wrapper around [REST API library](https://www.npmjs.org/package/brest). ## How do I use it? ### 1. Install from package manager ```bash $ npm install brest-validator --save ``` ### 2 Setup #### 2.1 Application file In your application file, once you've created Brest instance ...
package lse; import java.io.*; import java.util.*; /** * This class builds an index of keywords. Each keyword maps to a set of documents in * which it occurs, with frequency of occurrence in each document. Once the index is built, * the documents can searched on for keywords. */ public class LittleSearchEngine { ...
package io.github.nasso.test.ui; import java.io.IOException; import java.util.function.Consumer; import org.joml.Vector2f; import io.github.nasso.nhengine.core.Game; import io.github.nasso.nhengine.core.GameWindow; import io.github.nasso.nhengine.core.Nhengine; import io.github.nasso.nhengine.data.TextureIO; import ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="ro"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:24 EEST 2014 --> <title>Uses of Interface net.sf.jasperreports.engine.JRDatasetRun (JasperReports 5.6.0 API)</t...
from django.apps import AppConfig class ResourceConfig(AppConfig): name = 'resource'
using System; using System.Text; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Gallio.Framework; using MbUnit.Framework; using $mvcprojectnamespace$; using $mvcprojectnamespace$.Controllers; namespace $safeprojectname$.Controllers { /// <summary> /// Summary description for H...
(function () { 'use strict'; function FitbitService() { var service = {}; var today = null; var fitbit = {}; var tokenFile = 'fb-token.json'; /** * Persist the fitbit token. */ var persist = { read: function (filename, cb) { fs.readFile(filename, { encoding: 'utf8', flag:...
Enabled by default | Supports autocorrection --- | --- Enabled | No This cop makes sure that accessor methods are named properly. ### Example ```ruby # bad def set_attribute(value) ... # good def attribute=(value) # bad def get_attribute ... # good def attribute ... ``` ### References * [https://github.com/bbat...
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="./chain-logo.png"/> <meta name="apple-mobile-web-app-capable" content="yes"/> <title>Don't break the chain</title> <link rel="icon" href="./ch...
import os from onadata.settings.local_settings import XML_VERSION_MAX_ITER from onadata.apps.fsforms.models import FInstance from django.core.management.base import BaseCommand import re import datetime def check_version(instance, n): for i in range(n, 0, -1): p = re.compile('<_version__00{0}>(.*)</_versio...
int Radiobox_Create (Uint32 * name) { assert(name != 0); return UserInterface::Get().CreateWidget(Widget::eRadiobox, name); } /// @brief Sets up a radiobox with a given count of options, one of which is chosen /// @param name Name used to reference the radiobox /// @param count Number of options to assign to the ra...
<!DOCTYPE html> <html> <head></head> <body> <script> window.opener.location.reload(); window.close(); </script> </body> </html>
const { body } = require('express-validator/check'); const post = require('./post'); module.exports = (router, app) => { const Validator = app.get('Validator'); router.route('/login/token') .post([ body([['data', 'attributes', 'token']], 'Token is required.').not().isEmpty(), ], Validator.validateRe...
package org.earthtime.UPb_Redux.listeners; import java.awt.Color; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.Map; import javax.swing.JLabel; import org.earthtime.dialogs.DialogEditor; import org.earthtime.dialogs.UPbReduxColorChooser; /** * * @author James F. Bowring *...
package top.cardone.func.v1.usercenter.area; import com.google.common.base.Charsets; import com.google.common.collect.Maps; import com.google.gson.Gson; import top.cardone.ConsumerApplication; import lombok.extern.log4j.Log4j2; import lombok.val; import org.apache.commons.io.FileUtils; import org.junit.Assert; import ...
package com.twitter.algebird.caliper import com.google.caliper.{ SimpleBenchmark, Param } import com.twitter.algebird.HyperLogLogMonoid import com.twitter.bijection._ import java.nio.ByteBuffer class HllBatchCreateBenchmark extends SimpleBenchmark { @Param(Array("5", "10", "17", "25")) val bits: Int = 0 @Param...
<!-- HTML header for doxygen 1.8.15--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" con...
.cke_skin_office2003 .cke_button_source .cke_icon { background-position: 0 0; } .cke_skin_office2003 .cke_button_docProps .cke_icon { background-position: 0 -16px; } .cke_skin_office2003 .cke_button_newpage .cke_icon { background-position: 0 -48px; } .cke_skin_office2003 .cke_button_preview .cke_icon { backgrou...
/* @import "compass/reset"; */ body { background-image: url('/assets/images/background.jpg?1339958724'); color: #4d4b4a; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0px; padding: 0px; background-color: #e5e2db; background-repeat: repeat; } * { margin: 0; padding: 0; } #container ...
// // SourceListItem.h // PXSourceList // // Created by Alex Rozanski on 08/01/2010. // Copyright 2010 Alex Rozanski http://perspx.com // // Adapted to VLC media player by Felix Paul Kühne // #import <Cocoa/Cocoa.h> /*An example of a class that could be used to represent a Source List Item Provides a title, an...
import plivohelper from time import sleep # URL of the Plivo REST service REST_API_URL = 'http://127.0.0.1:8088' API_VERSION = 'v0.1' # Sid and AuthToken SID = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' AUTH_TOKEN = 'YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY' # Define Channel Variable - http://wiki.freeswitch.org/wiki/Channel_Vari...
package com.lightbend.lagom.internal.javadsl.persistence import akka.actor.{ Actor, ActorLogging, Props, Status } import akka.cluster.sharding.ShardRegion.EntityId import akka.stream.javadsl.Source import akka.stream.scaladsl.{ Keep, RestartSource, Sink } import akka.stream.{ KillSwitch, KillSwitches, Materializer, ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
import os import sys from random import randint from time import sleep import curses if sys.version_info.major >= 3: xrange = range class CursesScreen(): def __enter__(self): self.stdscr = curses.initscr() curses.cbreak() curses.noecho() self.stdscr.keypad(1) self.stdscr.nodelay(1) return self.stdscr ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.confluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.azure.res...
require 'test_helper' class BlogControllerTest < ActionController::TestCase include Devise::TestHelpers fixtures :all setup do @comment = comments(:one) @posting = postings(:one) @episode = episodes(:one) @user = users(:one) BlogEntry.create(:blog_entry_id => @posting.id, :blog_entry_ty...