answer
stringlengths
15
1.25M
/* Accordion directive */ app.directive('<API key>', ['$compile', function($compile) { return { restrict: 'EA', scope: { type: '@', headers: '=', accData: '=', selAcc: '=', customClass:'=' }, link: function(scope, elem, attr...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.comci.bigbib; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import javax.xml.bind.annotation.XmlAccessType; import j...
module Admin::BaseHelper include ActionView::Helpers::DateHelper def subtabs_for(current_module) output = [] AccessControl.project_module(current_user.profile.label, current_module).submenus.each_with_index do |m,i| current = (m.url[:controller] == params[:controller] && m.url[:action] == params[:acti...
<?php namespace Editionista\WebsiteBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\<API key>\Configuration\Template; use Sensio\Bundle\<API key>\Configuration\Route; use Sensio\Bundle\<API key>\Configuration\Method; use Symfony\Bundle\Fra...
package io.questions.model.questionnaire import io.questions.model.questionnaire.Element.{ Parent, Primitive } trait ElementValues { implicit class ElementValuesSyntax(e: Element) { def parent: Element.Parent = e match { case p: Parent => p case x => throw new <API key>(s"Expected a Parent. Go...
using System; using System.Reflection; namespace Light.DataCore { abstract class DynamicFieldMapping : FieldMapping { public static DynamicFieldMapping <API key> (PropertyInfo property, <API key> mapping) { DynamicFieldMapping fieldMapping; Type type = property.PropertyTy...
class Solution { public: int findRadius(vector<int>& houses, vector<int>& heaters) { sort(houses.begin(), houses.end()); sort(heaters.begin(), heaters.end()); auto radius = 0; auto idx = 0; for (auto house : houses) { auto current = abs(house - heaters[idx]); ...
<div *ngIf="user"> <div class="page-header"> <h2>{{user.name}}</h2> </div> <ul class="list-group"> <li class="list-group-item">Username: {{user.username}}</li> <li class="list-group-item">Email: {{user.email}}</li> </ul> </div>
from django.conf.urls import patterns, include, url import views urlpatterns = patterns('', url(r'^logout', views.logout, name='logout'), url(r'^newUser', views.newUser, name='newUser'), url(r'^appHandler', views.appHandler, name='appHandler'), url(r'^passToLogin', views.loginByPassword, name='passToLog...
/* * This file was autogenerated by the GPUdb schema processor. * * DO NOT EDIT DIRECTLY. */ package com.gpudb.protocol; import java.util.LinkedHashMap; import java.util.Map; import org.apache.avro.Schema; import org.apache.avro.SchemaBuilder; import org.apache.avro.generic.GenericData; import org.apache.avro.gen...
module Dragoman module Mapper def localize locales = I18n.available_locales unscoped_locales = [I18n.default_locale] scoped_locales = locales - unscoped_locales scope ':locale', shallow_path: ':locale', defaults: {dragoman_options: {locales: scoped_locales}} do yield end ...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace NugetCompare.UI.Properties { using System; <summary> A strongly-typed resource class, for looking up local...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>infotheo: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
<?php if(!defined('BASEPATH')) die; class MY_Controller extends CI_Controller { public $session; public $user; function __construct(){ parent::__construct(); $this->output->set_header('X-Powered-By: ' . config_item('system_vendor')); $this->output->set_header('X-Deadpool: ' . con...
'use strict'; var logx = require('logx'); function *logger() { var log = 'Method: '.gray + this.req.method.red; log += ' Url: '.gray + this.req.url.red; logx.info(log); yield this.next(); } module.exports = logger;
package com.highstock.config import scalajs.js, js.`|` import com.highcharts.CleanJsObject import com.highcharts.HighchartsUtils._ /** * @note JavaScript name: <code><API key></code> */ @js.annotation.ScalaJSDefined class <API key> extends com.highcharts.<API key> { /** * <p>CSS class name of the guide box in...
using UnityEngine; using System.Collections; public class GravitySwitch : MonoBehaviour { public float GravityStrength; float momentum; float click; public bool GameState; bool GravityState; public GameObject Explosion; public GameObject[] Jets; public GameObject[] CharacterPieces; p...
<h1>Most Viewed</h1> <table class="table table-hover"> <thead> <tr> <th>Tool ID</th> <th>Tool Name</th> <th>Tool Description</th> <th>Extent</th> <th>Rating</th> ...
import sys import pytest from opentracing.ext import tags from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from <API key>.client_hooks import mysqldb as mysqldb_hooks from <API key>.request_context import span_in_context from .sql_common import metadata, User <API key> = 'MySQLdb is not comp...
// Write a boolean expression that returns if the bit at position p (counting from 0) // in a given integer number v has value of 1. Example: v=5; p=1 -> false. using System; class BitInIntegerCheck { static void Main() { int v = 8; int p = 3; // => if( v & ( 1 << p ) == 1 << p ) ...
<header role="banner" id="top"> <div class="mdj-header"> <div style="flex-grow: 2;"> <div class="mdj-card"> <div class="mdj-card--photo"> <a href="{{ site.baseurl }}/"><img class="<API key>" src="/assets/mdjablonski-white.jpg"></a> </div> ...
package com.example.lit.habit; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Parcel; import android.os.Parcelable; import android.util.Base64; import android.util.Log; import com.example.lit.exception.<API key>; import com.example.lit.exception.<API key>; import com.example.li...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Privacy Policy</title> <style> body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 1em; } </style> </head> <body> <h2>P...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M2 21.5c0 .28.22.5.49.5h13.02c.27 0 .49-.22.49-.5V20H2v1.5zM15.5 16H11v-2H7v2H2.5c-.28 0-.5.22-.5.5V18h14v-1.5c0-.28-.22-.5-.5-.5zm4.97-.55c.99-1.07 1.53-2.48 1.53-3.94V2h-6v9.47c0 1.48.58 2.92 1....
# 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::DataMigration::Mgmt::V2018_07_15_preview module Models # Results for query analysis comparison between the source and target class <A...
import {MdSnackBar} from '@angular/material'; export abstract class CommonCrudService { constructor(private snackBar: MdSnackBar) { } // todo refactor crud operations to here (use metadata?) <API key>(opName: string): (res: boolean) => void { return (res) => { let text; if (res) { text =...
package org.vitrivr.cineast.core.util.audio.pitch.tracking; import java.util.LinkedList; import java.util.List; import org.apache.commons.math3.stat.descriptive.SummaryStatistics; import org.vitrivr.cineast.core.util.audio.pitch.Pitch; /** * This is a helper class for pitch tracking. It represents a pitch contour, tha...
package com.company; import java.util.Scanner; public class EvenPowersOf2 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.nextLine()); int num = 1; for (int i = 0; i <= n ; i+=2) { System.out.println(nu...
#ifndef __TUI_UTIL_H__ #define __TUI_UTIL_H__ #include "cocos2d.h" #include "TuiMacros.h" NS_TUI_BEGIN using namespace std; /** * @brief the tool * */ class TuiUtil{ public: /** * @brief use name to create the animation * * @param name * @param delay * @param iLoops Whether loop * @...
# Jrails-ui module ActionView module Helpers module JavaScriptHelper def hash_to_jquery(hash) '{'+hash.map { |k,v| [k, case v.class.name when 'String' "' when 'Hash' hash_to_jquery(v) else v.to_...
package de.bluewhale.sabi.webclient.rest.exceptions; import de.bluewhale.sabi.exception.ExceptionCode; import de.bluewhale.sabi.exception.MessageCode; import de.bluewhale.sabi.exception.TankExceptionCodes; /** * MessageCodes that may arise by using the Tank Restservice * * @author schubert */ public enum TankMessag...
package okeanos.data.services.entities; import javax.measure.quantity.Power; import org.jscience.physics.amount.Amount; public interface Price { double <API key>(Amount<Power> consumption); }
<?php namespace Shop\MainBundle\Data; use Doctrine\Common\Persistence\ObjectRepository; use Shop\MainBundle\Entity\Settings; /** * Class <API key> * @package Shop\MainBundle\Data */ class <API key> { /** * @var ObjectRepository */ protected $settingsRepository; /** * @var Settings|null ...
<!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...
var builder = require("botbuilder"); var botbuilder_azure = require("botbuilder-azure"); const notUtils = require('./notifications-utils.js'); module.exports = [ function (session) { session.beginDialog('<API key>'); }, function (session, results) { var pair = results.response; sessi...
#ifndef _PSW_H_INCLUDED_ #define _PSW_H_INCLUDED_ #define PSW_I_DISABLE 0x00000000 #define PSW_I_ENABLE 0x00010000 #define PSW_U_ISP 0x00000000 #define PSW_U_USP 0x00020000 #define PSW_PM_SUPER 0x00000000 #define PSW_PM_USER 0x00100000 #define PSW_IPL_MIN 0x00000000 #define PSW_IPL_MAX 0x0f000000 #endif...
#ifndef vinstant_h #define vinstant_h /** @file */ #include "vtypes.h" #include "vstring.h" class VCodePoint; class VInstant; class VDate; class VTimeOfDay; class VDateAndTime; class VInstantFormatter; /** A VDuration is a length of time. It is most useful in conjunction with VInstant as the proper type to use when add...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Terra.WebUI.Models.AccountViewModels { public class LoginViewModel { [Required] [EmailAddress] public string Email { get; set; } ...
package com.ruenzuo.weatherapp.adapters; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.ruenzuo.weatherapp.R; import com.ruenzuo.weath...
<?php include __DIR__.'/../lib/SALT.php'; /** An example of using the SALT Secure Storage API to store then use a stored Credit Card */ use \SALT\Merchant; use \SALT\<API key>; use \SALT\CreditCard; use \SALT\PaymentProfile; // connection parameters to the gateway $url = 'https://test.salt.com/gateway/creditcard/proces...
package tehnut.resourceful.crops.compat; import mcp.mobius.waila.api.*; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; import net.minecraft.util.math....
<?php namespace SunCat\<API key>\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; /** * DI extension * * @author suncat2000 <niko...
import _ from 'lodash'; /** * Represents a channel with which commands can be invoked. * * Channels are one-per-origin (protocol/domain/port). */ class Channel { constructor(config, $rootScope, $timeout, contentWindow) { this.config = config; this.$rootScope = $rootScope; this.$timeout =...
import { NO_ERRORS_SCHEMA } from '@angular/core'; import { inject, async, TestBed, ComponentFixture } from '@angular/core/testing'; // Load the implementations that should be tested import { AppComponent } from './app.component'; import { AppState } from './app.service'; describe(`App`, () => { });
export function getName(value) { if (value == 0) { return ""; } if (value == 1) { return ""; } throw "invalid route direction"; } export function getValue(name) { if (name == "") { return 0; } if (name == "") { return 1; } throw "invalid route dire...
# reactjs-program A collection of ReactJS examples. Requirements 1) NodeJS & npm 2) python (optional, used for serving up HTTP) Getting Started You can view the examples through any HTTP server. The following assumes use of [Python's SimpleHTTPServer] (https://docs.python.org/2/library/simplehttpserver.html#<API key>) ...
#ifndef VIEWER_H #define VIEWER_H #include "common.h" #include "drawable.h" #include "controller.h" class Viewer { public: bool glfw_is_up; GLFWwindow* window; GLuint VertexArrayID; int width; int height; Controller controls; std::vector<Drawable *> drawables; Viewer(); void add( Drawable *d) { ...
// config/database.js module.exports = { 'secret': 'puneetvashisht', 'url' : 'mongodb://localhost/userdb' // looks like mongodb://<user>:<pass>@mongo.onmodulus.net:27017/Mikha4ot };
import { <API key>, <API key>, } from 'actions/search'; import { <API key> } from 'utils/reducer/actions-handlers'; const actionHandlers = {}; export function <API key>(state, searchResultsList) { return searchResultsList.reduce((acc, result) => { return { acc, [result.id]: result, }; }, {})...
/** specified=*(N): you have had a specifier added to you (internal). 0 = no, new ones have to score higher than old specifier=[_]: you are capable of being used in situation where we need to know what to do with you (external). bare noun: has no specifier added, but if it *were* to be used as an NP then the valu...
import { autoinject } from 'aurelia-framework'; import { Customers } from './customers'; import { Router } from 'aurelia-router'; @autoinject() export class List { heading = 'Customer management'; customerList = []; customers: Customers; router: Router; constructor(customers: Customers, router: Router) { ...
# Chokidar CLI [![Build Status](https: Fast cross-platform command line utility to watch file system changes. The underlying watch library is [Chokidar](https://github.com/paulmillr/chokidar), which is one of the best watch utilities for Node. Chokidar is battle-tested: > It is used in > [brunch](http://brunch.io), > [...
The MIT License (MIT) Copyright (c) 2014 Christophe Van Neste 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, merg...
var $ = require('jquery') var Widget = require('../../widget') var plugin = require('../../plugin') var TreeNode = require('./treenode') var Tree = Widget.extend({ options: { 'labelField': null, 'labelFunction': null, 'childrenField': 'children', 'autoOpen': true }, events: { 'click li': '_onS...
#!/bin/sh _now=$(date +"%m_%d_%Y_%H_%M_%S") PATH=$PATH:/usr/local/bin export PATH cd $HOME/Code/newspost/crawlers/crawlers && $HOME/Installs/envs/newspost/bin/scrapy runspider spiders/huffingtonpost.py -o feeds/huffingtonpost-$_now.json wait cd $HOME/Code/newspost/crawlers/crawlers && $HOME/Installs/envs/newspost/bin/s...
# Image Widget ?> GitPitch widgets greatly enhance traditional markdown rendering capabilities for slide decks. The image widget extends traditional markdown image syntax with support for positioning, sizing, transformations, and filters. Widget Paths All paths to image files specified within [PITCHME.md](/conventions/...
#include "test/test.h" #include <iostream> namespace { void help() { std::cout << "Usage: testalgo -a" << std::endl; std::cout << " testalgo <test-case-name>" << std::endl; std::cout << std::endl; std::cout << "Options:" << std::endl; std::cout << " -a Run all test cases" << std::endl...
function solve(args) { function biSearch(array, searchedNumber, start, end) { for (var i = start; i <= end; i += 1) { if (+array[i] === searchedNumber) { return i; } } return -1; } var data = args[0].split('\n'), numberN = +data.shift()...
#!/usr/bin/env node var pluginlist = [ ]; var exec = require('child_process').exec; function puts(error, stdout, stderr) { console.log(stdout); } pluginlist.forEach(function(plug) { exec("cordova plugin add " + plug, puts); });
// <auto-generated> // This code was generated from a template. // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // </auto-generated> namespace DynThings.Data.Models { using System; using Syst...
const path = require('path'); require('dotenv').config(); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const ExtractTextPlugin = require('<API key>'); const { AureliaPlugin } = require('<API key>'); const { optimize: { CommonsChunkPlugin }, ProvideP...
title: The Coliseum author: rami layout: lifestream categories: [Lifestream] tags: [oakland, california, usa, instagram] image: the-coliseum.jpg {% include image.html url="/assets/images/content/lifestream/the-coliseum.jpg" description="The Coliseum Oakland Athletics" %}
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Enjoying The New</title> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600"> <link rel="stylesheet" href="/style.css"> <link re...
# rustual-boy-www A basic landing page/blog for [Rustual Boy](https://github.com/emu-rs/rustual-boy). ## running locally 1. Update/install dependencies by running: `npm install` from the repo directory (safe to only do this once per pull) 2. Run the site: `node app` The site will be available on [localhost:3000](http:/...
#!/bin/env/python # coding: utf-8 import logging import os import time import uuid from logging import Formatter from logging.handlers import RotatingFileHandler from multiprocessing import Queue from time import strftime import dill from .commands import * from .processing import <API key> class TaskProgress(object): ...
<html><body> <h4>Windows 10 x64 (18362.329)</h4><br> <h2><API key></h2> <font face="arial"> +0x000 Size : Uint4B<br> +0x004 Action : Uint4B<br> +0x008 Flags : Uint4B<br> +0x00c OperationStatus : Uint4B<br> +0x010 ExtendedError : Uint4B<br> +0x014 TargetDetailedError...
package com.rebuy.consul; import com.ecwid.consul.v1.ConsulClient; import com.ecwid.consul.v1.QueryParams; import com.ecwid.consul.v1.Response; import com.ecwid.consul.v1.agent.model.NewService; import com.ecwid.consul.v1.catalog.model.CatalogService; import com.rebuy.consul.exceptions.<API key>; import org.junit.Befor...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml...
<?php namespace LeadCommerce\Shopware\SDK\Query; use LeadCommerce\Shopware\SDK\Util\Constants; class CustomerQuery extends Base { /** * @var array */ protected $methodsAllowed = [ Constants::METHOD_CREATE, Constants::METHOD_GET, Constants::METHOD_GET_BATCH, Constants::M...
**Blight** **School** necromancy; **Level** druid 4, sorcerer/wizard 5 **Casting Time** 1 standard action **Components** V, S, DF **Range** touch **Target** plant touched **Duration** instantaneous **Saving Throw** [Fortitude](../combat#_fortitude) half; see text; **[Spell Resistance](../glossary#_spell-resistance)** y...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package test.thread; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util....
// **NOTE** This file was generated by a tool and any changes will be overwritten. namespace Microsoft.Graph { using System; using System.Collections.Generic; using System.IO; <summary> The interface <API key>. </summary> public partial interface <API key> { <summary> Bui...
// Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.eventhubs.generated; import com.azure.core.util.Context; /** Samples for ConsumerGroups ListByEventHub. */ public final class <API key> { /* * x-ms-original-file: specification/eventhub/resource-manager/Microsoft.Even...
/** @jsx m */ import m from 'mithril'; import { linkTo, hrefTo } from '@storybook/addon-links'; const Main = { view: vnode => ( <article style={{ padding: 15, lineHeight: 1.4, fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif', backgroundColor:...
from simtk.openmm import app import simtk.openmm as mm from simtk import unit def findForce(system, forcetype, add=True): """ Finds a specific force in the system force list - added if not found.""" for force in system.getForces(): if isinstance(force, forcetype): return force if add==True: system.a...
namespace InControl { using System; // @cond nodoc [AutoDiscover] public class <API key> : <API key> { public <API key>() { Name = "8Bitdo SNES30 Controller"; Meta = "8Bitdo SNES30 Controller on Android"; DeviceClass = InputDeviceClass.Controller; ...
#pragma once #include "Component.h" #include "Transform.h" #include "CubeMesh.h" using namespace Beans; class PlayerController : public Component, public Utilities::AutoLister<PlayerController> { public: PlayerController(GameObject* owner); REFLECT_CLASS; static void <API key>(double dt); void Update(double dt)...
package context import ( "github.com/Everlane/evan/common" "github.com/satori/go.uuid" ) // Stores state relating to a deployment. type Deployment struct { uuid uuid.UUID application common.Application environment string strategy common.Strategy ref string sha1 s...
window.Lunchiatto.module('Transfer', function(Transfer, App, Backbone, Marionette, $, _) { return Transfer.Layout = Marionette.LayoutView.extend({ template: 'transfers/layout', ui: { receivedTransfers: '.received-transfers', submittedTransfers: '.submitted-transfers' }, behaviors: { ...
body { font-family: Arial, Verdana, "Times New Roman", Times, serif; } div.pages { font-weight: bold; } a.page, span.page { padding: 4px 6px; } a.page { margin: 0 3px; border: 1px solid #ddd; text-decoration: none; color: #0063dc; } a.page:hover { border: 1px solid #003366; background-color: #0063dc; ...
layout: post title: "Leetcode (48, 64, 542) Matrix Series" category: Leetcode tags: Leetcode * content {:toc} Leetcode Matrix Series ## Leetcode 48. Rotate Image * [Leetcode 48. Rotate Image](https://leetcode.com/problems/rotate-image/#/description) You are given an n x n 2D matrix representing an ima...
package analytics import ( "fmt" elastic "gopkg.in/olivere/elastic.v3" ) //Elasticsearch stores configuration related to the AWS elastic cache isntance. type Elasticsearch struct { URL string IndexName string DocType string client *elastic.Client } //Initialize initializes the analyti...
'use strict'; var i18n = require('./i18n.js') i18n.add_translation("pt-BR", { test: 'OK', greetings: { hello: 'Olá', welcome: 'Bem vindo' } }); i18n.locale = 'pt-BR'; console.log(i18n.t('greetings.hello')); console.log(i18n.t('greetings.welcome')); console.log("Hallo"); // Example 2 i18n.add_translation("...
/** * @flow */ /* eslint-disable */ 'use strict'; /*:: import type { ReaderFragment } from 'relay-runtime'; export type ReactionContent = "CONFUSED" | "EYES" | "HEART" | "HOORAY" | "LAUGH" | "ROCKET" | "THUMBS_DOWN" | "THUMBS_UP" | "%future added value"; import type { FragmentReference } from "relay-runtime"; declare...
require 'bio-ucsc' describe "Bio::Ucsc::Hg19::<API key>" do describe "#find_by_interval" do context "given range chr1:1-100,000" do it "returns an array of results" do Bio::Ucsc::Hg19::DBConnection.default Bio::Ucsc::Hg19::DBConnection.connect i = Bio::GenomicInterval.parse("chr1:1-1...
# EETetris EETetris, a monogame application to play tetris in a style that looks like EE. Based off of an EE world ( PWNLqCFExbbUI ) # How to play 1) Download it from the releases 2) Know your hotkeys To make the tetris piece move left/right, <-- A | D --> (Arrow keys apply) To rotate the piece left ( 90 degrees counte...
<!doctype html> <html> <head> <title>Code coverage report for wizard/test/wizardSpecs.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="content-language" content="en-gb"> <link rel='stylesheet' href='../../prettify.css'> <style type='text/css'> ...
require File.expand_path("../../../test_helper", __FILE__) describe Redcarpet::Render::HTMLAbbreviations do before do @renderer = Class.new do include Redcarpet::Render::HTMLAbbreviations end end describe "#preprocess" do it "converts markdown abbrevations to HTML" do markdown = <<-EOS.str...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateList extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('modelList', function(Blueprint $table) { $ta...
type: docs order: 10 title: "Transloadit" module: "@uppy/transloadit" permalink: docs/transloadit/ category: "File Processing" tagline: "manipulate and transcode uploaded files using the <a href='https://transloadit.com'>transloadit.com</a> service" The `@uppy/transloadit` plugin can be used to upload files to [Translo...
module Tire module Model module Persistence # Provides infrastructure for storing records in _Elasticsearch_. module Storage def self.included(base) base.class_eval do extend ClassMethods include InstanceMethods end end module ClassM...
class ItemsController < <API key> def create item = Item.new(item_params) item.user_id = @user.id if item.save render json: item, status: 201 else render json: item.errors, status: 422 end end def destroy item = find_item item.d...
#ifndef QHTTPMULTIPART_H #define QHTTPMULTIPART_H #include <QtCore/QSharedDataPointer> #include <QtCore/QByteArray> #include <QtCore/QIODevice> #include <QtNetwork/QNetworkRequest> QT_BEGIN_NAMESPACE class QHttpPartPrivate; class QHttpMultiPart; class Q_NETWORK_EXPORT QHttpPart { public: QHttpPart(); QHttpPart(...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Killer : MonoBehaviour { public Transform RobotPlayer; public GameObject Robot; public Text GameOVER; // Use this for initialization void Start() { RobotPlayer = GetComponent<Transform>(); } void FixedUpd...
module Linter class Base def self.can_lint?(filename) self::FILE_REGEXP === filename end def initialize(hound_config:, build:, <API key>:) @hound_config = hound_config @build = build @<API key> = <API key> end def file_review(commit_file) attributes = <API key>(commit...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Lighthouse: lapack/dsprfs.f File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" sr...
<?php namespace FluentDOM\Query { use FluentDOM\Query; use FluentDOM\TestCase; require_once __DIR__.'/../../TestCase.php'; class <API key> extends TestCase { protected $_directory = __DIR__; /** * @group Traversing * @group TraversingFind * @covers \FluentDOM\Query::parents */ pu...
(function() { 'use strict'; angular .module('app.match') .run(appRun); appRun.$inject = ['routerHelper']; /* @ngInject */ function appRun(routerHelper) { routerHelper.configureStates(getStates()); } function getStates() { return [{ state: 'match', config: { url: '/match...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-docu', templateUrl: './docu.component.html', styleUrls: ['./docu.component.scss'] }) export class DocuComponent implements OnInit { constructor() { } ngOnInit() { } }
using System; using System.Linq; using Cresce.Datasources.Sql; using Cresce.Models; using NUnit.Framework; namespace Cresce.Business.Tests.Integration.Sql { [TestFixture] internal class <API key> : SqlTests { private <API key> _repository; private Patient _patient; public <API key>()...