answer
stringlengths
15
1.25M
'use strict'; var clear = require('es5-ext/array/#/clear') , eIndexOf = require('es5-ext/array/#/e-index-of') , setPrototypeOf = require('es5-ext/object/set-prototype-of') , callable = require('es5-ext/object/valid-callable') , d = require('d') , ee = require('eve...
'use strict'; const TYPE = Symbol.for('type'); class Data { constructor(options) { // File details this.filepath = options.filepath; // Type this[TYPE] = 'data'; // Data Object.assign(this, options.data); } } module.exports = Data;
package sodium // #cgo pkg-config: libsodium // #include <stdlib.h> // #include <sodium.h> import "C" func RuntimeHasNeon() bool { return C.<API key>() != 0 } func RuntimeHasSse2() bool { return C.<API key>() != 0 } func RuntimeHasSse3() bool { return C.<API key>() != 0 }
function collectWithWildcard(test) { test.expect(4); var api_server = new Test_ApiServer(function handler(request, callback) { var url = request.url; switch (url) { case '/accounts?username=chariz*': let account = new Model_Account({ username: 'cha...
<?php interface Container { /** * Checks if a $x exists. * * @param unknown $x * * @return boolean */ function contains($x); }
#include <usual/json.h> #include <usual/cxextra.h> #include <usual/cbtree.h> #include <usual/misc.h> #include <usual/utf8.h> #include <usual/ctype.h> #include <usual/bytemap.h> #include <usual/string.h> #include <math.h> #define TYPE_BITS 3 #define TYPE_MASK ((1 << TYPE_BITS) - 1) #define UNATTACHED ((struct J...
angular.module('appTesting').service("LoginLocalStorage", function () { "use strict"; var STORE_NAME = "login"; var setUser = function setUser(user) { localStorage.setItem(STORE_NAME, JSON.stringify(user)); } var getUser = function getUser() { var storedTasks = localStorage.getItem(S...
#include "xmlrpc_config.h" #include <stddef.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "stdargx.h" #include "xmlrpc-c/base.h" #include "xmlrpc-c/base_int.h" #include "xmlrpc-c/string_int.h" static void getString(xmlrpc_env *const envP, const char **const formatP, va_list...
// flow-typed signature: <API key> declare module 'ua-parser-js' { declare module.exports: any; } /** * We include stubs for each file inside this npm package in case you need to * require those files directly. Feel free to delete any files that aren't * needed. */ declare module 'ua-parser-js/dist/ua-parser.min'...
#include <bearssl.h> #include <s6-networking/sbearssl.h> int sbearssl_skey_to (sbearssl_skey const *l, br_skey *k, char *s) { switch (l->type) { case BR_KEYTYPE_RSA : <API key>(&l->data.rsa, &k->data.rsa, s) ; break ; case BR_KEYTYPE_EC : sbearssl_ec_skey_to(&l->data.ec, &k->data.ec, s) ; ...
@-webkit-keyframes passing-through { 0% { opacity: 0; -webkit-transform: translateY(40px); -moz-transform: translateY(40px); -ms-transform: translateY(40px); -o-transform: translateY(40px); transform: translateY(40px); } 30%, 70% { opacity: 1; ...
/* eslint-disable no-console */ const buildData = require('./build_data'); const buildSrc = require('./build_src'); const buildCSS = require('./build_css'); let _currBuild = null; // if called directly, do the thing. buildAll(); function buildAll() { if (_currBuild) return _currBuild; return _currBuild = Promis...
// RCWorkspaceCache.h #import "_RCWorkspaceCache.h" @interface RCWorkspaceCache : _RCWorkspaceCache //if multiple values are to be set, it best to get properties, set them, and then call setProperties //each call to setProperties serializes a plist @property (nonatomic, strong) NSMutableDictionary *properties; -(id)pr...
function LetterProps(o, sw, sc, fc, m, p) { this.o = o; this.sw = sw; this.sc = sc; this.fc = fc; this.m = m; this.p = p; this._mdf = { o: true, sw: !!sw, sc: !!sc, fc: !!fc, m: true, p: true, }; } LetterProps.prototype.update = function (o, sw, sc, fc, m, p) { this._mdf.o = fa...
/*! * DASSL solver library description */ #include "libinfo.h" extern void _start() { _library_ident("DAE solver library"); _library_task("interfaces to generic IVP solver"); _library_task("operations on data for included solvers"); _library_task("DASSL solver backend"); _library_task("RADAU solve...
System.register(["angular2/test_lib", "angular2/src/test_lib/test_bed", "angular2/src/core/annotations_impl/annotations", "angular2/src/core/annotations_impl/view", "angular2/src/core/compiler/<API key>", "angular2/src/core/compiler/element_ref", "angular2/src/directives/if", "angular2/src/render/dom/direct_dom_rendere...
#include "<API key>.hpp" #include "lv2/atom.h" #include "lv2/buf-size.h" #include "lv2/data-access.h" #include "lv2/instance-access.h" #include "lv2/midi.h" #include "lv2/options.h" #include "lv2/port-props.h" #include "lv2/resize-port.h" #include "lv2/state.h" #include "lv2/time.h" #include "lv2/ui.h" #include "lv2/un...
// The following are instance methods and variables var Note = Class.create({ initialize: function(id, is_new, raw_body) { if (Note.debug) { console.debug("Note#initialize (id=%d)", id) } this.id = id this.is_new = is_new this.document_observers = []; // Cache the elements this.eleme...
// Use of this source code is governed by an ISC package indexers import ( "context" "fmt" "sync" "sync/atomic" "github.com/decred/dcrd/blockchain/v4/internal/progresslog" "github.com/decred/dcrd/database/v3" "github.com/decred/dcrd/dcrutil/v4" ) // IndexNtfnType represents an index notifica...
@echo off CLS %header% echo. if not exist "Programme\HackMii Installer" mkdir "Programme\HackMii Installer" echo Downloade den HackMii Installer... start /min/wait Support\wget -c -l1 -r -nd --retr-symlinks -t10 -T30 --random-wait --reject "*.html" --reject "%2A" --reject "get.php@file=<API key>.0*" "http://boo...
// Use of this source code is governed by an ISC package wire_test import ( "bytes" "io" "reflect" "testing" "time" "github.com/davecgh/go-spew/spew" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/wire" "github.com/decred/dcrutil" ) // TestBlock tests the MsgBloc...
describe('dJSON', function () { 'use strict'; var chai = require('chai'); var expect = chai.expect; var dJSON = require('../lib/dJSON'); var path = 'x.y["q.{r}"].z'; var obj; beforeEach(function () { obj = { x: { y: { 'q.{r}': { z: 635 }, q: { ...
/* * 94 shifted lines of 72 ASCII characters. */ static const char *characters[] = { "!\"#$%&'()*+,-./0123456789:;<=>?@<API key>[\\]^_`abcdefgh", "\"#$%&'()*+,-./0123456789:;<=>?@<API key>[\\]^_`abcdefghi", "#$%&'()*+,-./0123456789:;<=>?@<API key>[\\]^_`abcdefghij", "$%&'()*+,-./0123456789:;<=>?@<API ...
#include <stdarg.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <sys/endian.h> #include <sysexits.h> #include <mpg123.h> #include "audio.h" #include "mp3.h" struct mp3 { mpg123_handle *h; int fd; int first; int rate; ...
package main import ( "testing" ) func <API key>(t *testing.T) { signature := new(signature) sample := "<API key>:1006:Exploit.CVE_2012_0779" sig := <API key>(sample, signature) if sig.Size != 1006 { t.Fatal("Error parsing HDB or HSB signature length") } if signature.SigHash != "<API...
package land.face.strife.managers; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import land.face.strife.StrifePlugin; import land.face.strife.data.champion.Champion; import land.face.strife.data.champion.LifeSkillType; import org.bukkit.entity.Player; public class CombatStatusManager { private...
-- Section: Internal Functions -- Group: Low-level event handling \i functions/pgq.batch_event_sql.sql \i functions/pgq.batch_event_tables.sql \i functions/pgq.event_retry_raw.sql \i functions/pgq.find_tick_helper.sql -- \i functions/pgq.insert_event_raw.sql \i lowlevel/pgq_lowlevel.sql -- Group: Ticker \i functions/pg...
#AtaK ##The Atari 2600 Compiler Kit AtaK, pronounced attack, is a collection of programs built to aid in the development of Atari 2600 programs. ##Programs(Planned/Developing): * AtaR(ah-tar), The **Ata**ri 2600 Assemble**r** * AtaC(attack), The **Ata**ri 2600 **C** Compiler ##Universal Features: * Programmed in C89...
/* libc/src/stdio/printf.c * Print format. */ #include <stdarg.h> #include <stdio.h> int printf(const char* restrict format, ...) { va_list ap; va_start(ap, format); int result = vfprintf(stdout, format, ap); va_end(ap); return result; }
from django import forms from django.core.exceptions import ValidationError from django.core.validators import validate_slug from django.db import models from django.utils import simplejson as json from django.utils.text import capfirst from django.utils.translation import ugettext_lazy as _ from philo.forms.fields imp...
# gulp boilerplate run `npm start` then open another termianl run `gulp watch` ,change some files for browser-syn ## Gulp tasks * gulp * gulp prod
#include <string.h> #include <stdlib.h> #include <ctype.h> #include <sys/stat.h> #include "errors.h" #include "ftpparse.h" #include "worker.h" #include "urlengine.h" #include "io.h" #include "builtin.h" /** * Builtin parsers except for the html parser which is in html.c **/ struct { const char *name; int ...
/* libc/src/stdio/__file_write.c * Write data to a file. (called from C89) */ #define write __write #include <unistd.h> #include "FILE.h" size_t __file_write(FILE* file, const unsigned char* p, size_t size) { size_t written = 0; while (written < size) { ssize_t result = write(file->fd, p, size - writt...
<?php class Time_Controller extends Website_Controller { /** * Creates a new time block on a ticket */ public function add($ticket_id) { $time = new Time_Model(); $time->ticket_id = $ticket_id; if ( ! $_POST) // Display the form { $this->template->body ...
var fusepm = require('./fusepm'); module.exports = fixunoproj; function fixunoproj () { var fn = fusepm.local_unoproj("."); fusepm.read_unoproj(fn).then(function (obj) { var inc = []; if (obj.Includes) { var re = /\ for (var i=0; i<obj.Includes.length;i++) { ...
import mod437 from './mod437'; var value=mod437+1; export default value;
<!DOCTYPE html> <html> <head> <title>Hello World!</title> <script src="lib/js/angular.min.js"></script> <script src="lib/js/angular-route.min.js"></script> <script src="lib/js/angular-animate.min.js"></script> <script src="lib/js/angular-aria.min.js"></script> <script...
const defaults = { base_css: true, // the base dark theme css inline_youtube: true, // makes youtube videos play inline the chat collapse_onebox: true, // can collapse <API key>: false, // default option for collapse <API key>: true, // d...
'use strict'; const expect = require('expect.js'); const http = require('http'); const express = require('express'); const linkCheck = require('../'); describe('link-check', function () { this.timeout(2500);//increase timeout to enable 429 retry tests let baseUrl; let <API key>; before(function (done) {...
layout: post title: More Office Interop in PowerShell As part of our team's workflow we create various data files and then generate tracking issues that we then import into our issue tracking system. We have a semi-automated process to do this which works fairly well but for some older issues we had imported I noticed ...
/* kernel/include/dennix/clock.h * System clocks. */ #ifndef _DENNIX_CLOCK_H #define _DENNIX_CLOCK_H #define CLOCK_MONOTONIC 0 #define CLOCK_REALTIME 1 #define <API key> 2 #define <API key> 3 #define TIMER_ABSTIME 1 #endif
function daysLeftThisWeek (date) { return 6 - date.getDay() } module.exports = daysLeftThisWeek
import hashlib import json import logging import os import subprocess import sys import time from collections import defaultdict from shutil import copy from shutil import copyfile from shutil import copystat from shutil import copytree from tempfile import mkdtemp import boto3 import botocore import yaml import sys fr...
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" packer build -var-file="${DIR}/packer-vars.json" "${DIR}/packer.json"
async function test(object) { for (var key in object) { await key; } }
CREATE TABLE <table-name>_nf ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `request_uri` VARCHAR(255) NOT NULL, `referrer` VARCHAR(255) DEFAULT '', `user_agent` VARCHAR(255) DEFAULT '', `created_at` TIMESTAMP, PRIMARY KEY (id) ) ENGINE = MyISAM DEFAULT CHARSET=utf8;
package minecraft import ( "testing" "vimagination.zapto.org/minecraft/nbt" ) func TestNew(t *testing.T) { biomes := make(nbt.ByteArray, 256) biome := int8(-1) blocks := make(nbt.ByteArray, 4096) add := make(nbt.ByteArray, 2048) data := make(nbt.ByteArray, 2048) for i := 0; i < 256; i++ ...
<!DOCTYPE HTML> <html lang="de"> <head> <!-- Generated by javadoc (17) --> <title>Source code</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="source: package: com.restfb.types.send, class: ListViewElement"> <meta name="generator" content="javadoc/<API key>"...
using System.Collections.Generic; namespace ConsoleDemo.Visitor.v0 { public class CommandsManager { readonly List<object> items = new List<object>(); // The client class has a structure (a list in this case) of items (commands). // The client knows how to iterate through the structure ...
var contenedor = {}; var json = []; var json_active = []; var timeout; var result = {}; $(document).ready(function() { $('#buscador').keyup(function() { if (timeout) { clearTimeout(timeout); timeout = null; } timeout = setTimeout(function() { search(); ...
<?php /** * @see <API key> */ // require_once 'Zend/Gdata/Extension.php'; class <API key> extends <API key> { protected $_rootElement = 'username'; protected $_rootNamespace = 'yt'; public function __construct($text = null) { $this-><API key>(Zend_Gdata_YouTube::$namespaces); parent::_...
# <API key> Mondrian ships with an in memory segment cache that is great for standalone deployments of Mondrian, but doesn't scale out with multiple nodes. An interface is provided for extending Mondrian with a shared Segment Cache and examples of other implementations are in the links below. In order to use Mondrian ...
module V1 class <API key> < <API key> before_action :set_event_session, only: [:create] # POST /<API key> def create @event_user_schedule = current_user.<API key>(@event_session) if @event_user_schedule.save render json: @event_user_schedule, serializer: <API key>, root: "event_user_sc...
package com.jeecg.qywx.core.service; import com.jeecg.qywx.base.entity.QywxReceivetext; /** * * @author * */ public interface <API key> { /** * * @param receiveText */ void dealTextMessage(QywxReceivetext receiveText); }
<?php namespace EugeneTolok\Telegram\Updates; use Schema; use October\Rain\Database\Updates\Migration; class <API key> extends Migration { public function up() { Schema::table('<API key>', function($table) { $table->increments('id'); }); } public function down() {...
import React from 'react'; import ons from 'onsenui'; import { Page, Toolbar, BackButton, LazyList, ListItem } from 'react-onsenui'; class InfiniteScroll extends React.Component { renderRow(index) { return ( <ListItem key={index}> {'Item ' + (index + 1)} </ListItem> ); } rend...
# docker_runner Run docker containers on the fly with ansible roles # running program Must be run with sudo privlegies example "sudo ruby drun.rb" The program launches a docker container that self-provisions based on the ROLE The ROLE value in the ruby file is the Ansible role, which will be run on the container The do...
package com.microsoft.azure.management.datafactory.v2018_06_01; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; /** * The location of Google Cloud Storage dataset. */ @JsonTypeInfo(use = JsonTypeInfo.Id.N...
<a href="/article/{{post.pk}}"> <div class="search-result post {{post.primary_section}}"> <span class="primary">{{ post.title }}</span> <div class="metadata"> <span class="date">{{post.published | date:"F j, Y"}}</span> {% for author in post.creators %} {% if ...
$js.module({ prerequisite:[ '/{$jshome}/modules/splice.module.extensions.js' ], imports:[ { Inheritance : '/{$jshome}/modules/splice.inheritance.js' }, {'SpliceJS.UI':'../splice.ui.js'}, 'splice.controls.pageloader.html' ], definition:function(){ var scope = this; var imports = scope.imp...
RSpec.describe AuthorizeIf do let(:controller) { double(:dummy_controller, controller_name: "dummy", action_name: "index"). extend(AuthorizeIf) } describe "#authorize_if" do context "when object is given" do it "returns true if truthy object is given" do expect(controller.authorize_if(tr...
namespace MyColors { partial class SimpleToolTip { <summary> Required designer variable. </summary> private System.ComponentModel.IContainer components = null; <summary> Clean up any resources being used. </summary> <param name="disposing">true if ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; ...
<?php namespace Terrific\Composition\Entity; use Doctrine\ORM\Mapping as ORM; use JMS\SerializerBundle\Annotation\ReadOnly; use JMS\SerializerBundle\Annotation\Type; use JMS\SerializerBundle\Annotation\Exclude; use JMS\SerializerBundle\Annotation\Groups; use JMS\SerializerBundle\Annotation\Accessor; /** * Terrific\Com...
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="blog,python,django,developer"> <meta name="author" content="Derek Stegelman"> ...
using System; using System.Collections; using System.Linq; using Xunit; namespace Popsql.Tests { public class SqlValuesTests { [Fact] public void <API key>() { var values = new SqlValues(); Assert.Throws<<API key>>(() => values.Add(null)); } [Fact]...
package se.dsv.waora.<API key>; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.widget.TextView; /** * <code>ConnectionActivity</code> presents UI for showing if the device ...
.highlight { background-color: black; } .highlight .hll { background-color: #404040 } .highlight .c { color: #999999; font-style: italic } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .g { color: #d0d0d0 } /* Generic */ .highlight .k { color: #6ab825; font-weight: b...
author: admin comments: true date: 2010-03-26 09:48:35+00:00 layout: post slug: <API key> title: 'What to do when Ubuntu Device-mapper seems to be invincible! ' categories: - Instructional tags: - 64-bit - hard drive - hardware - linux - lucid lynx - Ubuntu - workstation I've been trying a dozen different configuration...
'use babel'; import MapQueries from '../lib/map-queries'; // Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs. // To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit` // or `fdescribe`). Remove the `f` to unfocus the block. describe('MapQueries', () => { let workspace...
#include "TigerEngine.h" // Global variable so the objects are not lost static TIGValue *theNumberStack; static TIGValue *theStringStack; static int stackNumber; static char *stackString; TIGValue *<API key>(void) { return theNumberStack; } TIGValue *<API key>(void) { return theStringStack; } void TIGStringStar...
package com.github.kwoin.kgate.core.sequencer; import com.github.kwoin.kgate.core.message.Message; import com.github.kwoin.kgate.core.session.Session; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.annotation.Nullable; import java.io.<API key>; import java.io.IOException; import java.net.SocketEx...
module Discordrb::Webhooks # An embed is a multipart-style attachment to a webhook message that can have a variety of different purposes and # appearances. class Embed def initialize(title: nil, description: nil, url: nil, timestamp: nil, colour: nil, color: nil, footer: nil, image: nil, th...
var config = require('./config'); var express = require('express'); var superagent = require('superagent'); /** * Auth Token */ var authToken = null; var expires = 0; var expires_in = 20160; // 14 days in minutes /** * Urls */ var OAUTH = 'https: var GEOCODE = 'http://geocode.arcgis.com/arcgis/rest/services/World...
package billing // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. import ( "context" "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/tracing"...
import Immutable from 'immutable'; import * as ActionType from '../../actions/auth/auth'; const defaultState = Immutable.fromJS({ loggedIn: false, }); function authReducer(state = defaultState, action) { const { loggedIn, } = action; switch (action.type) { case ActionType.VERIFIED_LOGIN: return st...
[See html formatted version](https://huasofoundries.github.io/<API key>/MapPanes.html) MapPanes interface google.maps.MapPanes interface Properties [floatPane](#MapPanes.floatPane) **Type:**  Element This pane contains the info window. It is above all map overlays. (Pane 4). [mapPane](#MapPanes.mapPane) **Type:**  Elem...
package fr.pizzeria.admin.web; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import...
import { gql } from '@apollo/client' import avatarFragment from 'v2/components/AvatarUploader/fragments/avatar' export default gql` query AvatarCheck { me { Avatar } } ${avatarFragment} `
<html> <head> </head> <body> <h2> But Honour Them As They Honour Men </h2> Thirdly, <span class="oldenglish"> for </span> <span class="oldenglish"> the </span> worship <span class="oldenglish"> which </span> naturally men exhibite <span class="oldenglish"> to </span> Powers...
var PassThrough = require('stream').PassThrough describe('Object Streams', function () { it('should be supported', function (done) { var app = koala() app.use(function* (next) { var body = this.body = new PassThrough({ objectMode: true }) body.write({ message: 'a' }) ...
YUI.add("inputex-inplaceedit", function(Y){ var lang = Y.Lang;//, Event = YAHOO.util.Event, Dom = YAHOO.util.Dom, CSS_PREFIX = 'inputEx-InPlaceEdit-'; /** * Meta field providing in place editing (the editor appears when you click on the formatted value). * @class inputEx.InPlaceEdit * @extends inputEx.Field * @c...
// Purpose: This class defines behaviors specific to a writing system. // A writing system is the collection of scripts and // orthographic rules required to represent a language as text. namespace System.Globalization { using System; using System.Runtime.Serialization; using System....
package org.anodyneos.xp.tag.core; import javax.servlet.jsp.el.ELException; import org.anodyneos.xp.XpException; import org.anodyneos.xp.XpOutput; import org.anodyneos.xp.tagext.XpTagSupport; import org.xml.sax.SAXException; /** * @author jvas */ public class DebugTag extends XpTagSupport { public DebugTag() { ...
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <title>File: calculations.rb</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="text...
class SessionsController < <API key> before_filter :authenticate_user, :only => [:home, :profile, :setting] before_filter :save_login_state, :only => [:login, :login_attempt] def login end def login_attempt authorized_user = User.authenticate(params[:username_or_email],params[:login_password]) ...
import numpy as np import pandas as pd from pandas import Series, DataFrame from scipy.spatial import distance import matplotlib.pyplot as plt from sklearn.cluster import DBSCAN from sklearn import metrics from sklearn.datasets.samples_generator import make_blobs from sklearn.preprocessing import StandardScaler from sk...
<?php /* TwigBundle:Exception:traces.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array ...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.<API key>(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(de...
/* eslint-disable import/<API key>,import/no-unresolved */ import React, { useState } from 'react'; import { Form } from 'react-bootstrap'; import { Typeahead } from '<API key>'; /* example-start */ const options = [ 'Warsaw', 'Kraków', 'Łódź', 'Wrocław', 'Poznań', 'Gdańsk', 'Szczecin', 'Bydgoszcz', '...
{% extends "base.html" %} {% block content %} <div class="container"> <form action="" method="POST" enctype="multipart/form-data"> {{ form.hidden_tag() }} <p> Descriptive Name: {{ form.descriptive_name(size = 50) }} {% for error in form.descriptive_name.errors %} <span styl...
@extends('layouts.app') @section('content') <div class="container-fluid"> <div class="row"> <div class="panel panel-default"> <div class="panel-heading" style="padding-bottom: 40px;">PREVIEW <div class="col-xs-3 pull-right"> <a href="/ssearch"><input typ...
export default { hello : "hello" };
using System.Collections.Generic; using UnityEngine; using System; namespace AI { public class GreedyAIController : PlayerController { enum NextState { Wait, Draw, Play } private NextState nextState; Dictionary<DominoController, List<DominoController>> placesT...
package com.codenotfound.endpoint; import java.math.BigInteger; import org.example.ticketagent.ObjectFactory; import org.example.ticketagent.TFlightsResponse; import org.example.ticketagent.TListFlights; import org.example.ticketagent_wsdl11.TicketAgent; public class TicketAgentImpl implements TicketAgent { @Override...
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using openvpn.api.common.domain; using openvpn.api.core.controllers; using openvpn.api.shared; using Raven.Client; using openvpn.api.core.auth; nam...
#import "NSObject.h" @class NSString, NSURL; // Not exported @interface <API key> : NSObject { NSString *_name; long long _type; NSURL *_url; NSString *_destinationPath; NSString *_expectedChecksum; } @property(copy, nonatomic) NSString *expectedChecksum; // @synthesize expectedChecksum=_expectedChe...
name 'google_app_engine' description 'A cookbook to download and install the google app engine SDK on a Linux system.' version '1.0.0' maintainer 'Bernd Hoffmann' maintainer_email 'info@gebeat.com' license 'MIT' long_description IO.read(File.join(File.dirname(__FILE__), 'README....
TaskManager.module('ContentModule.List', function (List, App, Backbone) { 'use strict'; List.Controller = Marionette.Controller.extend({ initialize: function (options) { var tasksList = App.request('taskList'), listView = this.getView(tasksList); if (options.r...