answer stringlengths 15 1.25M |
|---|
import * as React from 'react';
import * as Constants from './constants';
import { IContextMenuTrigger } from './interfaces';
import { ContextMenuHelper } from './helper';
interface Props {
id: string;
args?: null | undefined | number | string;
}
interface State {
}
export class Trigger extends React.PureCompon... |
import React from 'react';
import {connect} from 'react-redux';
import Component from '../components/terms';
import {goTo} from '../modules/navigation/actions';
function mapStateToProps(state) {
return {};
}
const mapDispatchToProps = (dispatch, ownProps) => {
return {
goTo(path) {
dispatch(goTo(path));
... |
#pragma once
#include <VoxieClient/VoxieClient.hpp>
#include <QtCore/QSharedPointer>
#include <QtCore/QtGlobal>
#include <QtDBus/QDBusVariant>
namespace vx {
class MMapHandle;
class HandleHolder;
class MapHolder;
class VOXIECLIENT_EXPORT MappedBuffer {
QSharedPointer<MMapHandle> mmapHandle;
QSharedPointer<HandleHol... |
require "test_helper"
class <API key> < ActionView::TestCase
def test_sanity
flunk "Need real tests"
end
end |
(function() { 'use strict';
angular.module('metricapp')
.controller('QuestionModalCtrl', QuestionModalCtrl);
QuestionModalCtrl.$inject = ['$location', '$uibModalInstance', '$window', '<API key>', '<API key>'];
function QuestionModalCtrl($location, $uibModalInstance, $window, <API key>, <API key>) {
var ctrl = t... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
use ::{BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode};
use ::RegType::*;
use ::instruction_def::*;
use ::Operand::*;
use ::Reg::*;
use ::RegScale::*;
fn korw_1() {
run_test(&Instruction { mnemonic: Mnemonic::KORW, operand1: Some(Direct(K7)), operand2: Some(Direct(K6)), ope... |
AP::SmsExtension::Sms::config_account({:phone_number => "1234", :<API key> => "howdy {{title}}"})
class ActionController::Base
def authenticate_admin!
end
end |
using System;
namespace Abstraction
{
abstract class Figure
{
public abstract double CalcPerimeter();
public abstract double CalcSurface();
}
} |
<!DOCTYPE html>
<html xmlns="http:
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Hugo 0.18.1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>Docker... |
<!DOCTYPE html>
<!
Created using JS Bin
http://jsbin.com
Copyright (c) 2017 by adrienjoly (http://jsbin.com/yisari/2/edit)
Released under the MIT license: http:
<meta name="robots" content="noindex">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<!-- initialize google lo... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","<API key>.html"],['2897',"Tlece.Recruitment.Models.TleceAccount Namespace","<API key>.html"],['2907',"LoginResponseDto Class","<API key>.html"],['2908',"Properties","<API key>--.html"],['2910',"JwtToken Property","<API key>.html"]]; |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: <API key>.cpp
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-72a.tmpl.cpp
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: malloc Allocate data using malloc()
* GoodSource: Allocate data on the stack
* Sinks:
* GoodSink: ... |
'use strict';
describe('myApp.searchview module', function() {
beforeEach(module('myApp.searchview'));
describe('searchview controller', function(){
it('should ....', inject(function($controller) {
//spec body
var view1Ctrl = $controller('SearchCtrl');
expect(view1Ctrl).toBeDefined();
}));... |
require 'goliath'
require 'goliath/api'
require 'goliath/websocket'
module GrapeApe
class Server < ::Goliath::API
def initialize(opts = {})
@api = opts.delete(:api)
end
def response(env)
@api.call(env)
end
end
end |
/**
* The `Chain` type class extends the `Apply` type class with a `chain` operation which composes computations in
* sequence, using the return value of one computation to determine the next computation.
*
* Instances must satisfy the following law in addition to the `Apply` laws:
*
* 1. Associativity: `F.chain(... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-template: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Management.DataFactory.Models
{
using System.Collections;
using System.Collections.Generic;
u... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>automata: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
// WARNING
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace Shopping.DemoApp.iOS
{
[Register (... |
#!/usr/bin/env node
'use strict'
/**
* json2xml module
* @module json2xml
* @see module:index
*/
const commander = require('commander')
const fs = require('fs')
const path = require('path')
const XMLLite = require('../lib/index')
// xml2json
commander
.command('xml2json [xml]')
.description('converting xml to j... |
#include "stdafx.h"
#include "LafsFlat.h"
#include "FormattingException.h"
#include <Windows.h>
#include <sstream>
#include <fstream>
using namespace DarkOsFormat;
const unsigned int LafsFlat::LAFS_NAME_SIZE = 6;
const unsigned int LafsFlat::<API key> = 128;
const unsigned int LafsFlat::LAFS_JUMP_MAXLEN = 31;
const uns... |
using System;
using System.IO;
//using NUnit.Framework;
using LE;
namespace LETest {
// [TestFixture]
public class KeyReadTest {
// [Test]
public void testRead() {
string srcGameDir = Config.Root["Game:SourceGamePath"];
if (srcGameDir == null) {
// Assert.... |
// IKEngine.cpp: implementation of the IKEngine class.
#include "IKCommon.h"
#include "IKUtil.h"
#include "IKEngine.h"
#include "IKMessage.h"
#include "IKMsg.h"
#include "IKControlPanel.h"
#include "IKFile.h"
#ifdef PLAT_MACINTOSH
#include "IKMsg.h"
#endif
#include "SharedMemory.h"
#include "LegacyIK.h"
#ifdef PLAT_MAC... |
class User(object):
def __init__(self, **kwargs):
self.id = kwargs.get('id', 1)
self.name = kwargs['name']
self.admin = kwargs['admin']
pass
@property
def is_admin(self):
return self.admin
class Article(object):
def __init__(self, **kwargs):
self.author = ... |
"use strict"
// Imports databinding.js
function CvarTreeViewModel(cvar, desc) {
this.cvar = new Property(cvar);
this.name = new Property(cvar.split(".").pop());
this.expand = new Property(false);
this.leaf = new Property(false);
this.navigate = new Event();
}
CvarTreeViewModel.prototype.poke = funct... |
# plot-csv
Plot some types of charts using selected columns of CSV files
Project dependencies:
* matplotlib
* numpy
* prettyplotlib (to be removed: deprecated)
* brewer2mpl |
import Ember from 'ember';
import PaperNavContainer from './paper-nav-container';
export default Ember.Component.extend({
tagName: 'md-sidenav-toggle',
classNames: ['<API key>'],
toggle: true,
navContainer: Ember.computed(function() {
return this.nearestOfType(PaperNavContainer);
}),
click: function() {... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Coverage report</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.debounce.m... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zf: 15 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>idt: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... |
from bz2 import BZ2Decompressor
from enum import Enum
from functools import partial
from lzma import LZMADecompressor
import zlib
class Compression(Enum):
bzip2 = ('.bz2', BZ2Decompressor)
gzip = ('.gz', partial(zlib.decompressobj, zlib.MAX_WBITS | 16))
lzma = ('.lzma', LZMADecompr... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fsets: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
@(field: play.api.data.Field, args: (Symbol, Any)*)(implicit handler: views.html.helper.FieldConstructor, lang: play.api.i18n.Lang, messages: play.api.i18n.Messages)
@import scala.util.Try
@import helper.dates._
@import helper._
@import play.api.i18n.Messages
@input(field, args: _*) { (id, name, value, htmlArgs) =>
... |
using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class <API key> : LuaObject {
[<API key>(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
UnityEngine.Rendering.<API key> o;
o=new UnityEngine.Renderin... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class CI_DB_result
{
/**
* Connection ID
*
* @var resource|object
*/
public $conn_id;
/**
* Result ID
*
* @var resource|object
*/
public $result_id;
/**
* Result Array
*
... |
// <API key>.h
// 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 following conditions:
// all copi... |
# HubiquitusJS
Use a simple API to connect to a hNode and do Publish Subscribe using the
*Hubiquitus* protocol. It is compatible with your **web app** and your
**Node.JS** project.
To communicate with the server it can use
[socket.io](http://socket.io/). To use it's full potential, use it with
[hubiquitus-node](https:/... |
#! /bin/bash
# piSnapshot - Installation
set -e
my_path=$0
my_basename=${my_path
# check if script was run as root
if [ "$EUID" -ne 0 ]; then
>&2 echo "$my_basename must be run as root. Try 'sudo $my_path'."
exit 1
fi
cd $(dirname "$0")
bin_dir=/usr/local/bin/
etc_dir=/usr/local/etc/
cp -vt "$bin_dir" piSnapsho... |
package edu.uib.info310.search.builder.ontology;
import com.hp.hpl.jena.rdf.model.Model;
public interface RecordDataSource extends Runnable {
public Model getRecordModel(String albumUri, String album, String artistName);
public void run();
public void setAlbum(String album);
public void setAlbumUri(Stri... |
from . import (
Application,
Category,
Course,
Designation,
Major,
Project,
Requirement,
User,
Year,
)
Application = Application.Application
Category = Category.Category
Course = Course.Course
Designation = Designation.Designation
Major = Major.Major
Project = Project.Project
Require... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>rem: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="... |
/* the norm */
#<API key> {
position:fixed;
top:20px;
right:20px;
width:auto;
z-index:9999;
}
#<API key>.top-left {
left: 20px;
right: auto;
}
#<API key>.bottom-right {
top: auto;
left: auto;
bottom: 20px;
right: 20px;
}
#<API key>.bottom-left {
top: auto;
right: auto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace StudentGrading.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... |
def <API key>(request_ctx, account_id, search_term=None,
include=None, per_page=None, **request_kwargs):
if per_page is None:
per_page = request_ctx.per_page
include_types = ('avatar_url', 'email', 'last_login', 'time_zone')
utils.<API key>(include, include_types)
path ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert-64: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
// EditorScrollView.h
// CoreTextEditor
// 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 fo... |
FROM golang:onbuild
RUN go install github.com/smancke/guble/guble-cli
ENTRYPOINT ["/go/bin/app"]
VOLUME ["/var/lib/guble"]
EXPOSE 8080 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Mobx</title>
<style type="text/css">
.input {
padding: 15px;
border: 1px solid #ccc;
font-siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>math-classes: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>error-handlers: 12 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-template: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>simple-io: 29 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... |
<?php
use Nette\Application\Routers\RouteList,
Nette\Application\Routers\Route;
/**
* Router factory
*
* @author Patrick Kusebauch
* @version 2.10, 18. 11. 2014
*/
class RouterFactory
{
/**
* Registers routes for modules
*
* @return Nette\Application\IRouter
*/
public function createRou... |
#include <bits/stdc++.h>
#define FOR(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
#define REP(i,n) FOR(i,0,n)
#define RER(i,n) FOR(i,0,(n+1))
#define pb push_back
#define mp(a,b) make_pair((a),(b))
#define mset(m,v) memset(m,v,sizeof(m))
using namespace std;
typedef vector<int> vi;
typedef pair<int, int>... |
define(["jquery"], function($) {
var RegisterModule = (function() {
/*
* TO DO:
* initialized all dom requirements, do event-triggered functionality.
*
*/
init = function() {
/* dont allow any keys to be accepted except on numeric keys and backspace, ta... |
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ./core/src/java/org/apache/lucene/search/Rescorer.java
#include "J2ObjC_header.h"
#pragma push_macro("<API key>")
#ifdef <API key>
#define <API key> 0
#else
#define <API key> 1
#endif
#undef <API key>
#if __has_feature(nullability)
#pragma clang diagnost... |
module Dirt
# Roles are part of the DCI system design paradigm. They decorate a model object to extend its
# behaviour for the context of a single interaction.
class Role
# Takes the decorated object.
def initialize(decorated)
@decorated = decorated
end
# Attempts to run the missing method o... |
# Echo Middleware
Set of middlewares created for the Echo framework.
## Sub-Packages
* [Gorelic](./gorelic) – [ – [ – [ – [ – [![g... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ieee754: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sv" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Easter</source>
<translation>Om Easter</translation>
</message>
... |
import Ember from 'ember';
import MagicShowRoute from '<API key>/mixins/magic-show-route';
export default Ember.Route.extend(MagicShowRoute, {}); |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>weak-up-to: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>concat: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>historical-examples: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... |
using System;
using System.Linq;
using Foosinator.Models;
using Mindscape.LightSpeed;
using Mindscape.LightSpeed.Linq;
using Mindscape.LightSpeed.Querying;
namespace Foosinator.Services
{
public class GameService
{
readonly LightSpeedContext<<API key>> _context = new LightSpeedContext<<API key>>("Databa... |
export function <API key>(data) {
// we will work on the list itself (an ordered array of objects) when a
// mapping is done, we add a 'wekan' field to the object representing the
// imported member
const membersToMap = data.members;
// auto-map based on username
membersToMap.forEach(importedMember => {
... |
Copyright (c) 2017 Martin Schurrer
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 Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sub... |
import angular from 'angular';
import uiRouter from 'angular-ui-router';
import routes from './sy.routes.js';
import ScrollYController from './sy.controller.js';
export default angular.module('app.components.basic.scroll-y', [uiRouter])
.config(routes)
.controller('ScrollYController',ScrollYController)
.nam... |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 12.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existe... |
/* SPIFFS layout
*
* spiffs is designed for following spi flash characteristics:
* - only big areas of data (blocks) can be erased
* - erasing resets all bits in a block to ones
* - writing pulls ones to zeroes
* - zeroes cannot be pulled to ones, without erase
* - wear leveling
*
* spiffs is also me... |
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;
} else if (typeof define === 'function' && define.amd) {
define('highcharts/indicators/chaikin', ['highcharts', 'highcharts/modules/stock'], fun... |
(function(window, document, undefined) {
'use strict';
// Source: module.js
angular.module('mgcrea.ngStrap', [
'mgcrea.ngStrap.modal',
'mgcrea.ngStrap.aside',
'mgcrea.ngStrap.alert',
'mgcrea.ngStrap.button',
'mgcrea.ngStrap.select',
'mgcrea.ngStrap.datepicker',
'mgcrea.ngStrap.timepicker',
'mgcrea.ngStr... |
[](https://david-dm.org/afonsopacifer/react-pomodoro#info=devDependencies)
> Pomodoro timer for developers.

## Features
- **Add t... |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import bottle
from situation_change import *
timeline = EventTimeLine()
registry = PersonRegistry(timeline)
read_registry = <API key>()
timeline.add_subscriber(read_registry)
timeline.add_subscriber(BasicLogger())
app = bottle.Bottle()
@app.route('/')
def index():
retur... |
module SimpleFormClass
class Base
<API key> = [ :attributes, :attributes=, :valid?, :save ]
extend ActiveModel::Callbacks
extend ActiveModel::Naming
include ActiveModel::Conversion
include ActiveModel::Validations
include ActiveModel::Serialization # TODO: remove?
include ActiveModel::Nami... |
// TmxMap.cpp
// modification, are permitted provided that the following conditions are met:
// documentation and/or other materials provided with the distribution.
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE A... |
/* global describe, it, require */
'use strict';
// MODULES //
var // Expectation library:
chai = require( 'chai' ),
// Module to be tested:
mean = require( './../lib/array.js' );
// VARIABLES //
var expect = chai.expect,
assert = chai.assert;
// TESTS //
describe( 'typed-array mean', function tests() {... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><API key>: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
<?php
/* TwigBundle:Exception:exception_full.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("TwigBundle::layout.html.twig", "TwigBundle:Exception:exception_... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>param-pi: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<form name='taskForm' novalidate>
<div class="modal-header">
<h2 class="modal-title" id="modal-title">{{$ctrl.kind}} task<span ng-if='$ctrl.task.name'> — {{$ctrl.task.name}}</span></h2>
</div>
<div class="modal-body container-fluid" id="modal-body">
<div class='col-md-1'>Required:</div... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>relation-algebra: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>nfix: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
# Front-end Specifications
- [x] [HTML/CSS ](<API key>.md)
- [x] [JavaScript ](<API key>.md)
- [ ] [AngularJS ](<API key>.md)
- [ ] [JSON ](json.md)
- [ ] [](<API key>.md)
- [x] [EDM () ](edm-spec.md)
- [ ] [SEO ](seo.md) |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quickchick: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
import unittest
from clandestined import RendezvousHash
class <API key>(unittest.TestCase):
def <API key>(self):
rendezvous = RendezvousHash()
self.assertEqual(0, len(rendezvous.nodes))
self.assertEqual(1361238019, rendezvous.hash_function('6666'))
def test_init(self):
nodes = ['... |
<menu class="app-menu">
<button class="app-more" (click)="toggleDrawer()"><svg viewBox="0 0 24 24" width="24" height="24" preserveAspectRatio="xMidYMid meet"><g><path d="M3 <API key>"></path></g></svg></button>
<h1>{{ 'Files' | translate }}</h1>
</menu>
<section class="app-main">
<respond-dropzone (onAdd)="li... |
#include "Base64Transcoder.h"
#include <math.h>
#include <string.h>
const u_int8_t kBase64EncodeTable[64] = {
'A', 'B', 'C', 'D',
'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L',
'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T',
'U', 'V', 'W', 'X',
'Y', ... |
{% set page.title = "Verily Challenge" %}
{% extends '../layout.html' %}
{% block navigation %}
{% endblock %}
{% block main %}
<style>
body{
background-color:black;
}
.section{
padding-top:45px;
padding-bottom:45px;
font-size: 20px;
... |
#include "Containers.hpp"
#include <limits>
unsigned <API key>(std::vector<unsigned int>::const_iterator begin, const std::vector<unsigned int>::const_iterator end, unsigned int target_value, int current_depth, int target_depth) {
current_depth++;
if (current_depth > target_depth) {
return 0;
}
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>itauto: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ails: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... |
#define KNOB1 0
#define KNOB2 1
#define BUTTON1 2
#define BUTTON2 3
#define BUTTON3 4
#define STAT1 7
#define STAT2 6
#include "WProgram.h"
void setup();
void loop ();
void noteOn(byte cmd, byte data1, byte data2);
void blink();
void playNote(byte note, byte velocity);
char button(char button_num);
byte incoming... |
/* Ross Baehr
R@M 2017
ross.baehr@gmail.com
*/
#ifndef _RGB_MUTEX_H_
#define _RGB_MUTEX_H_
#include <FreeRTOS.h>
#include <semphr.h>
extern SemaphoreHandle_t rgb_mutex;
#endif |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>Isaiah 66 (ASV)</title>
<link href="../../../build/mobile.css" rel="stylesheet" />
<script src="../../../build/mobile.js"></script>
</head>
<body dir="ltr" class="sect... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: <API key>.c
Label Definition File: <API key>.strings.label.xml
Template File: sources-sink-52c.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data using a connect socket (client side)
* GoodSource: Fixed string
* Sink: w32_e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.