answer
stringlengths
15
1.25M
<?php $lang = array( 'addons' => 'Add-ons', 'accessories' => 'Accessories', 'modules' => 'Modules', 'extensions' => 'Extensions', 'plugins' => 'Plugins', 'accessory' ...
# ux - Micro Xylph ux C# Mono ux [Xylph](http://www.johokagekkan.go.jp/2011/u-20/xylph.html) () Xylph Xylph C ux 16 4 FM Wiki Wiki : https://github.com/nanase/ux/wiki (v0.1.5-dev) [Releases](//github.com/nanase/ux/releases) uxPlayer DLL uxPlayer [](//github.com/nanase/uxPlayer) ## TODO in v0.3-dev * - [ ] * (...
title: L.esri.Layers.TiledMapLayer layout: documentation.hbs # {{page.data.title}} Inherits from [`L.TileLayer`](http://leafletjs.com/reference.html#tilelayer) Access tiles from ArcGIS Online and ArcGIS Server as well as visualize and identify features. Is you have Feature Services published in ArcGIS Online you can cr...
import time import multiprocessing from flask import Flask app = Flask(__name__) backProc = None def testFun(): print('Starting') while True: time.sleep(3) print('looping') time.sleep(3) print('3 Seconds Later') @app.route('/') def root(): return 'Started a background process...
package forscher.nocket.page.gen.ajax; import gengui.annotations.Eager; import java.io.Serializable; public class <API key> implements Serializable { private String feld1; private String feld2; public String getEagerFeld1() { return feld1; } @Eager public void setEagerFeld1(String feld1)...
layout: single title: Vue Firebase 43 category: vf tag: [vue,node,express,vuetify,firebase,vscode] comments: true sidebar: nav: "vf" toc: true toc_label: "" toc_icon: "list" (functions) (claims) . {% include video id="x6_Q0GvDu74" provider="youtube" %}
from top.api.base import RestApi class SubusersGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.user_nick = None def getapiname(self): return 'taobao.subusers.get'
var textDivTopIndex = -1; /** * Creates a div that contains a textfiled, a plus and a minus button * @param {String | undefined} textContent string to be added to the given new textField as value * @returns new div */ function createTextDiv( textContent ) { textDivTopIndex++; var newTextDiv = document.createE...
#pragma once #include "ofMain.h" #include "ofxOsc.h" #include "VHPtriggerArea.h" #include "ofxXmlSettings.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed(int key); void keyReleased(int key); void mouseMoved(int x, i...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace MtgApiManager.Lib.Dto.Set { internal class RootSetListDto : IMtgResponse { [JsonPropertyName("sets")] public List<SetDto> Sets { get; set; } } }
tags: perl layout: post title: "Chris, meet testing" <p>I need to start writing software as if it will be released to lots of people tomorrow :) Interestingly, the potential (up to 90% I'd say) release of OpenInteract has coincided with my first reading of Kent Beck's book <a href="http://www1.fatbrain.com/asp/bookinfo...
# <API key>: true RSpec.describe Faraday::Response::RaiseError do let(:conn) do Faraday.new do |b| b.response :raise_error b.adapter :test do |stub| stub.get('ok') { [200, { 'Content-Type' => 'text/html' }, '<body></body>'] } stub.get('bad-request') { [400, { 'X-Reason' => 'because' },...
class CreateBudgetsUsers < ActiveRecord::Migration def change create_table :budgets_users do |t| t.integer :user_id t.integer :budget_id t.timestamps end end end
package org.anodyneos.xp.tagext; import javax.servlet.jsp.el.ELException; import org.anodyneos.xp.XpContext; import org.anodyneos.xp.XpException; import org.anodyneos.xp.XpOutput; import org.xml.sax.SAXException; /** * @author jvas */ public interface XpTag { void doTag(XpOutput out) throws XpException, ELExcepti...
'use strict'; module.exports = function(app, db, lib) { return { /** * Donate */ donate: function(inObj, cb) { var number, expiry, cvc, currency; try { number = parseInt(inObj.body.number); var exp = inObj.body.expiry.split('/'); expiry = { month: parseI...
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Xunit; namespace MR.AspNetCore.Jobs.Server { public class <API key> { [Fact] public async Task <API key>() { // Arrange var servic...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct <API key> { char wszCryMsg[10][65]; }; END_ATF_NAMESPACE
/* artifact generator: C:\My\wizzi\v5\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js primary source IttfDocument: c:\my\wizzi\v5\plugins\wizzi-core\src\ittf\root\legacy.js.ittf */ 'use strict'; module.exports = require('wizzi-legacy-v4');
title: "Puppet" description: "Deregister Sensu clients from the client registry if they no longer have an associated Puppet node." version: 1.0 weight: 12 **ENTERPRISE: Built-in integrations are available for [Sensu Enterprise][1] users only.** # Puppet Integration - [Overview](#overview) - [Configuration](#configura...
#!/bin/env node 'use strict'; var winston = require('winston'), path = require('path'), mcapi = require('mailchimp-api'), Parser = require('./lib/parser'), ApiWrapper = require('./lib/api-wrapper'); var date = new Date(); date = date.toJSON().replace(/(-|:)/g, '.'); winston.remove(winston.transports.Con...
+++ hook = "A list of the best podcasts that I'm listening to this year." published_at = 2016-08-28T01:13:48Z title = "Podcasts 2016" +++ After moving to the big city, I've spent a lot more time on foot over the past few years. I eventually picked up another habit that pairs with walking perfectly: podcasts. As of 2016...
module.exports = { normalizeEntityName: function() {}, afterInstall: function() { this.<API key>('jsoneditor'); } };
# Wiper Wiper allows you to recursively delete specified folders. Say that you want to delete all 'obj' folders in a certain root folder. Type in 'obj' as the folder name to delete and select the root folder. Perform a dry run to list all folders that will be affected. Hit the delete button and you're done!
import AMD from '../../amd/src/amd.e6'; import Core from '../../core/src/core.e6'; import Event from '../../event/src/event.e6'; import Detect from '../../detect/src/detect.e6'; import Module from '../../modules/src/base.es6'; import ModulesApi from '../../modules/src/api.e6'; window.Moff = new Core(); window.Moff.amd ...
<html><body> <h4>Windows 10 x64 (19042.610)</h4><br> <h2><API key></h2> <font face="arial"> QueryRemoveDevice = 0n0<br> CancelRemoveDevice = 0n1<br> RemoveDevice = 0n2<br> <API key> = 0n3<br> EjectDevice = 0n4<br> RemoveFailedDevice = 0n5<br> <API key> = 0n6<br> MaxDeviceDeleteType = 0n7<br> </fo...
archive: tag layout: archive permalink: /tag/Simpsons/ tag: Simpsons title: Archive for Simpsons
# == Schema Information # Table name: templates # id :integer not null, primary key # name :string # image :string # description :text # created_at :datetime not null # updated_at :datetime not null require 'rails_helper' RSpec.describe Template, type: :model do ...
namespace RapidFTP.Chilkat.Tests.Utilities { using System.Diagnostics; using RapidFTP.Models; using RapidFTP.Utilities; using Xunit; using Xunit.Extensions; public class UnixPathTest { [InlineData("/lv1", 1)] [InlineData("/lv1/lv2", 2)] [InlineData("/lv1/lv2/", 2)] ...
package org.real2space.neumann.evaris.core.structure; /** * Project Neumann * * @author RealTwo-Space * @version 0 * * created 2016/11/01 * added "extends Ring<F>" 2016/11/9 */ public interface Field<F> extends Ring<F> { /* * Multiply this member by an inverse of "other". */ public void div...
# coding: utf-8 import unittest from config_reader import ConfigReader class TestConfigReader(unittest.TestCase): def setUp(self): self.config = ConfigReader(""" <root> <person> <name></name> <age>15</age> </person> ...
# project/server/tests/test_user.py import datetime import unittest from flask_login import current_user from base import BaseTestCase from project.server import bcrypt from project.server.models import User from project.server.user.forms import LoginForm class TestUserBlueprint(BaseTestCase): def test_correct_logi...
inside = lambda x, y: 4*x*x+y*y <= 100 def coll(sx, sy, dx, dy): m = 0 for p in range(32): m2 = m + 2**(-p) if inside(sx + dx * m2, sy + dy * m2): m = m2 return (sx + dx*m, sy + dy*m) def norm(x, y): l = (x*x + y*y)**0.5 return (x/l, y/l) sx, sy = 0, 10.1 dx, dy = 1.4, -19.7 for I in...
# Git Back Control of Your Code ## A Simple and Straightforward Workflow for Working with Git and Github Becoming a better developer is about finding the process and workflow that works best for you and the rest of the team. I believe that version control is something all developers should use. Specifically, I think th...
// main.c // demo14 #include <stdio.h> int main() { int x = 0; double num = 0; //double, int count = 0; double per; //double printf(":"); scanf("%d", &x); while(x != 0) { num += x; count++; scanf("%d", &x); } if(count > 0) { per = num / c...
layout: default description: " " header-img: "img/404-bg.jpg" permalink: /404.html <!-- Page Header --> <header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')"> <div class="container"> <div class...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Plugwise implementation: energykit.plugwise &mdash; EnergyKit 0.1.0 documentation</title> <link rel="stylesheet" href="_static/defa...
/** * Module dependencies */ const express = require('express'); const cluster = require('cluster'); const numCPUs = require('os').cpus().length; const compression = require('compression'); const helmet = require('helmet'); const hpp = require('hpp'); const config = require('./config'); const api = require('./api'); ...
class UsersController < <API key> def new end def create user = User.new( email: params[:email], password: params[:password], <API key>: params[:<API key>]) if user.save session[:user_id] = user.id flash[:success] = "Successfully Crea...
#!/bin/sh set -e echo "mkdir -p ${<API key>}/${<API key>}" mkdir -p "${<API key>}/${<API key>}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRODUCTS_DIR}/$1" elif [ -r "${BUILT_PRODUCTS_DIR}/$(basen...
<div id="top" class="container-fluid"> <div class="navbar navbar-default navbar-fixed-top" style="border-bottom: 1px solid #666 !important;"> <h1 class="homeTitle pull-left">Books Library</h1> <a href="#/#/top" title="Top" class="btn btn-primary page-scroll home glyphicon glyphicon-plane pull-right"...
#include <vector> #include <iostream> struct point { double x; double y; }; int main() { // Generate a lot of uniformly distributed 2d points in the range -1,-1 to +1,+1. enum { numXSamples = 10000 }; enum { numYSamples = 10000 }; std::vector<point> points; points.reserve(numXSamples * numYS...
#!/usr/bin/env bash # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to # the Software, and to permit persons to whom the Software is furnished to do so, # subject to the following conditions: # copies or substant...
// RBViewController.h // Pods #import <UIKit/UIKit.h> #import "<API key>.h" @interface RBViewController : UIViewController + (instancetype)create:(<API key> *)model; - (void)update:(<API key> *)model; - (void)updateChildren:(<API key> *)model; @end
<p> Disponemos de una amplia gama de piensos fisiológicos y de prescripción veterinaria; nuestras auxiliares nutricionistas le asesorarán sobre cualquier aspecto relacionado con la alimentación de su mascota. </p> <p> Contamos con sección especializada en alimentación de animales exóticos. </p> <p> Asimismo...
class CreateVersions < ActiveRecord::Migration def change create_table :versions do |t| t.string :item_type, :null => false t.integer :item_id, :null => false t.string :event, :null => false t.string :whodunnit t.text :object t.string :locale t.datetime...
<!DOCTYPE html> <html> <head> <title>Piframe</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="robots" content="noindex"/> <meta name="viewport" content="width=device-width"/> <script type="text/javascript" src="lib/jquery/jquery-1.12.0.min.js"></script> <link rel="stylesheet" hre...
using System; using System.Drawing; using System.Windows; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Input; using MahApps.Metro.Controls; using NHotkey; using NHotkey.Wpf; using QuickHelper.ViewModels; using QuickHelper.Windows; using Application = System.Windows.Application; using ...
package com.comandante.creeper.command.commands; import com.comandante.creeper.common.FriendlyTime; import org.junit.Test; public class FriendlyTimeTest { @Test public void testFriendlyParsing() throws Exception { FriendlyTime friendlyTime = new FriendlyTime(400); System.out.println("Friendly Lo...
# React Drop-down Time Picker Time picker for ReactJS based on the [Cozi Calendar](https: [![Build Status](https: ## Installation shell $ npm install --save <API key> ## Usage javascript import TimePicker from '<API key>'; render() { <TimePicker time={this.state.time} onChange={this.handleTimeChange...
package fs.command; import fs.App; import fs.Disk; import fs.util.FileUtils; import java.util.Arrays; public class CreateFileCommand extends Command { public final static String COMMAND = "mkfile"; @Override public void execute(String[] args) { if (args.length != 2 && args.length != 3) { ...
import { A, O } from 'b-o-a'; import { State } from '../types/state'; import currentPage$ from '../props/current-page'; import signIn$ from '../props/sign-in'; import spots$ from '../props/spots'; import spotForm$ from '../props/spot-form'; import stampRallies$ from '../props/stamp-rallies'; import stampRally$ from '.....
#include "netbase.h" #include "util.h" #ifndef WIN32 #include <sys/fcntl.h> #endif #include "strlcpy.h" #include <boost/algorithm/string/case_conv.hpp> // for to_lower() using namespace std; // Settings typedef std::pair<CService, int> proxyType; static proxyType proxyInfo[NET_MAX]; static proxyType nameproxyInfo; int ...
/* Sat Dec 17 2016 R2-D2 */ .list{ } .lib-list-item{ display: block; color: #393939; border: 1px solid #ddd; border-radius: 5px; text-align: center; line-height: 2.2; } .lib-list-item:hover{ box-shadow:0px 2px 10px #c9c9c9; color: #f6eaa2; text-shadow:none; background-color: #...
'use strict'; angular.module('djds4rce.angular-socialshare', []) .factory('$FB', ['$window', function($window) { return { init: function(fbId) { if (fbId) { this.fbId = fbId; $window.fbAsyncInit = function() { FB.ini...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using System.Globalization; namespace DevTreks.Extensions { <summary> Purpose: Serialize and deserialize a food nutrition cost object. This calculator is used with inputs to ...
angular.module('myApp.toDoController', []). controller('ToDoCtrl', ['$scope', '$state', '$http', '$route', function ($scope, $state, $http, $route) { $scope.$state = $state; $scope.addToDo = function() { // Just in case... if ($scope.toDoList.length > 50) { alert("Exceeded to-do limit!!!"); ...
package com.azure.data.cosmos.internal.query; import com.azure.data.cosmos.BadRequestException; import com.azure.data.cosmos.BridgeInternal; import com.azure.data.cosmos.<API key>; import com.azure.data.cosmos.internal.DocumentCollection; import com.azure.data.cosmos.FeedOptions; import com.azure.data.cosmos.Resource; ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
import sys <API key> = 200 MAX_NUM_LINES = 10 LINEWIDTH = 80 class CmdText(object): """ Represents a command line text device. Text is split into lines corresponding to the linewidth of the device. """ def __init__(self): """ Construct empty object. """ self.num_lines...
<?php require_once (__DIR__ . '/../lib/bootstrap.php'); require_once (__DIR__ . '/lib/TestListener.php'); use PHPUnit\Framework\TestCase; use Selenide\By, Selenide\Condition, Selenide\Selenide; class ListenerTest extends TestCase { /** * @var Selenide */ protected static $wd = null; protected stat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FlatRedBall; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; namespace Anfloga.Rendering { public class BloomRenderer : IEffectsRenderer { public int Height { get; set; } public int...
#[macro_export] macro_rules! punctuator { ($lexer: ident, $p: ident) => ({ $lexer.iter.next(); Ok(Token::Punctuator(Punctuator::$p, $lexer.lo, $lexer.lo + 1)) }) } // Advance iter and hi position if pattern match #[macro_export] macro_rules! take { ($lexer: ident, $($p: pat)|*) => ( match $lex...
// This source file is part of appleseed. // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the follow...
/* from optimizations/bfs/topology-atomic.cu */ #define BFS_VARIANT "topology-atomic" #define WORKPERTHREAD 1 #define <API key> 12 // max value, see relax. #define BLKSIZE 1024 #define BANKSIZE BLKSIZE __global__ void initialize(foru *dist, unsigned int *nv) { unsigned int ii = blockIdx.x * blockDim.x +...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `benchmark` fn in crate `test`."> <meta name="keywords" con...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60) on Fri Dec 11 10:08:00 MST 2015 --> <title>ca.ualberta.cs.xpertsapp.UITests.FriendTests</title> <meta name="date" content="2015-12-11"> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" ti...
#include <stdio.h> #include <stdint.h> #include <ibcrypt/chacha.h> #include <ibcrypt/rand.h> #include <ibcrypt/sha256.h> #include <ibcrypt/zfree.h> #include <libibur/util.h> #include <libibur/endian.h> #include "datafile.h" #include "../util/log.h" int write_datafile(char *path, void *arg, void *data, struct format_des...
# Acknowledgements This application makes use of the following third party libraries: ## GreenAR Copyright (c) 2017 Daniel Grenier <seanalair@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softw...
import CommuniqueApp from './communique-app'; CommuniqueApp.open();
using System.Collections.Generic; using System.IO; using Reinforced.Typings.Fluent; using Xunit; namespace Reinforced.Typings.Tests.SpecificCases { public partial class SpecificTestCases { [Fact] public void <API key>() { /** * Specific test case with equal folde...
package com.avsystem.scex.util.function; import org.apache.commons.codec.digest.HmacAlgorithms; import org.apache.commons.codec.digest.HmacUtils; import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.StringUtils; import java.util.Collection; public class StringUtilImpl implements StringUtil...
require 'minitest_helper' require 'mocha/setup' module Sidekiq module Statistic describe 'Middleware' do def to_number(i) i.match('\.').nil? ? Integer(i) : Float(i) rescue i.to_s end before { Sidekiq.redis(&:flushdb) } let(:date){ Time.now.utc.to_date } let(:actual) do ...
<!doctype html> <!--[if IE 9 ]><html class="ie9" lang="en"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--><html lang="en"><!--<![endif]--> <head> <title>Flatastic - Checkout</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, us...
package work.notech.poker.room; import work.notech.poker.logic.Cards; import java.util.List; public class GameRoom { private Integer roomIds; private List<Integer> clientIds; private Cards cards; public Integer getRoomIds() { return roomIds; } public void setRoomIds(Integer roomIds) { ...
title: 22 Points to Go author: rami layout: lifestream categories: [Lifestream] tags: [jeddah, saudi-arabia, juve, path] image: 22-points-to-go.jpg 10 games & 22 points to go. With games against the 20th place ,19,15,14,13,11. #Juve CC:@juventiknows. {% include image.html url="/assets/images/content/lifestream/22-point...
// Take well-formed json from a sensu check result a context rich html document to be mail to // one or more addresses. // for details. package main import ( "bytes" "fmt" "github.com/codegangsta/cli" // "github.com/yieldbot/sensumailer/lib" "github.com/yieldbot/sensuplugin/sensuhandler" "gith...
<?php namespace Symfony\Component\HttpKernel\DataCollector; use Symfony\Component\HttpFoundation\Cookie; use Symfony\Component\HttpFoundation\ParameterBag; use Symfony\Component\HttpFoundation\HeaderBag; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\H...
package com.sunilson.pro4.activities; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.CompoundButton; im...
{% load staticfiles %} <!DOCTYPE html> <html> <head> <title> {% block title %}Default Title{% endblock %} </title> {% block stylesheets %} <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet"...
import nextConnect from 'next-connect' import auth from '../../middleware/auth' import { deleteUser, <API key> } from '../../lib/db' const handler = nextConnect() handler .use(auth) .get((req, res) => { // You do not generally want to return the whole user object // because it may contain sensitive field su...
<?php namespace Plumber\Tests\Deployer; use Plumber\Server\Server; class NoRsyncDeployerTest extends \<API key> { public function <API key>() { $server = new Server( 'localhost', 'julien', '/var/www/', 22 ); $deployer = new \Plumber\Deployer\NoRsyncDeployer(); $this->assertTrue( ...
!function(a){var b,c,d;return a.localStorage||(c={setItem:function(a,b,c){var d,e;return null==c&&(c=!1),d=c?-1:30,e=new Date,e.setDate(e.getDate()+d),document.cookie=""+a+"="+escape(b)+"; expires="+e.toUTCString()},getItem:function(a){return document.cookie.indexOf(-1!==""+a+"=")?unescape(document.cookie.split(""+a+"=...
import { injectReducer } from 'STORE/reducers' export default store => ({ path : 'checkHistoryList.html', getComponent(nextState, cb) { require.ensure([], (require) => { const CheckHistoryList = require('VIEW/CheckHistoryList').default const reducer = require('REDUCER/checkHistoryList').default ...
<?php declare(strict_types=1); namespace ShlinkMigrations; use Doctrine\DBAL\Exception; use Doctrine\DBAL\Platforms\MySQLPlatform; use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; use Doctrine\DBAL\Schema\SchemaException; use Doctrine\Migrations\AbstractMigration; use function is_subclass_of...
;(function() { angular.module('app.core') .config(config); /* @ngInject */ function config($stateProvider, $locationProvider, $urlRouterProvider) { $stateProvider /** * @name landing * @type {route} * @description First page for incoming users, and for default routing * ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; namespace CommonTypes { <summary> BrokerSite hides the replication in a site making the calls transparent. </summary> [Serializable] public class BrokerSiteFrontEnd : IBroker { private string sit...
import Route from '@ember/routing/route'; import { A } from '@ember/array'; import { hash } from 'rsvp'; import EmberObject from '@ember/object' export default Route.extend({ model: function() { return hash({ exampleModel: EmberObject.create(), disableSubmit: false, selectedLanguage: null, ...
import lowerCaseFirst from 'lower-case-first'; import {handles} from 'marty'; import Override from 'override-decorator'; function addHandlers(ResourceStore) { const {constantMappings} = this; return class <API key> extends ResourceStore { @Override @handles(constantMappings.getMany.done) getManyDone(pay...
<?php namespace proyecto\backendBundle\Entity; class Respuesta { /** * @var integer */ private $id; /** * @var string */ private $respuesta; /** * @var \proyecto\backendBundle\Entity\Subpregunta */ private $idSubpregunta; /** * @var \proyecto\backendBundle\...
$('.js-toggle-menu').click(function(e){ e.preventDefault(); $(this).siblings().toggle(); }); $('.nav--primary li').click(function(){ $(this).find('ul').toggleClass('active'); });
package org.spongepowered.common.mixin.core.network; import io.netty.channel.Channel; import io.netty.channel.<API key>; import io.netty.channel.local.LocalAddress; import net.minecraft.network.NetworkManager; import org.spongepowered.api.MinecraftVersion; import org.spongepowered.asm.mixin.Mixin; import org.spongepowe...
function solve(message) { let tagValidator = /^<message((?:\s+[a-z]+="[A-Za-z0-9 .]+"\s*?)*)>((?:.|\n)+?)<\/message>$/; let tokens = tagValidator.exec(message); if (!tokens) { console.log("Invalid message format"); return; } let [match, attributes, body] = tokens; let attributeVa...
""" Tests for a door card. """ import pytest from onirim import card from onirim import component from onirim import core from onirim import agent class DoorActor(agent.Actor): def __init__(self, do_open): self._do_open = do_open def open_door(self, content, door_card): return self._do_open DRAW...
'use strict'; const test = require('ava'); const hashSet = require('../index'); const MySet = hashSet(x => x); test('should not change empty set', t => { const set = new MySet(); set.clear(); t.is(set.size, 0); }); test('should clear set', t => { const set = new MySet(); set.add(1); set.clear();...
Unframed XHR Extends the `Unframed` prototype with five methods. One to send any XHR request to a url that is not yet busy for this application, eventually set a tieout and a callback or emit an application event on response. xhrSend(method, url, headers, body, timeout, callback) And four conveniences for the most comm...
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2019_08_01 module Models # Response for ListBastionHosts API service call. class <API key> include MsRestAzure ...
This script fetches level-1 PACS imaging data, using a list generated by the archive (in the CSV format), attaches sky coordinates and masks to them (by calling the convertL1ToScanam task) and save them to disk in the correct format for later use by Scanamorphos. See important instructions below. This script is part of...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sim908Connect.Lib.Constants { internal class CommandFormats { internal const string AT_CGSNBASE = "AT+CGSN"; internal const string ATE = "ATE"; internal const str...
/** @file std_streambuf.h @brief suppresses warnings in streambuf. @author HRYKY @version $Id: std_streambuf.h 337 2014-03-23 14:12:33Z hryky.private@gmail.com $ */ #ifndef <API key> #define <API key> #include "hryky/pragma.h" #pragma <API key> # include <streambuf> #pragma <API key> // defines mac...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <title>SendMessage</title> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><! if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SendMe...