answer
stringlengths
15
1.25M
// fetch() polyfill for making API calls. import 'whatwg-fetch'; // Object.assign() is commonly used with React. // It will use the native implementation if it's present and isn't buggy. import objectAssign from 'object-assign'; Object.assign = objectAssign;
<reference path="./move.ts" /> module GobangOnline { export enum Color { Empty, Black, White }; export function getOpponentColor(color: Color): Color { return color == Color.Black ? Color.White : Color.Black; } export function buildSquareMatrix(size:number, defaultValue:any) { var matrix = []; for (...
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <fstream> #include <functional> #include <iostream> #include <limits> #include <list> #inc...
# -*- coding: utf-8 -*- from .record import ( Metadata, Record, ) __all__ = ['Parser'] class Parser: def __init__(self, store): self.store = store def parse_record(self, metadata, line): factors = line.split('|') if len(factors) < 7: return registry, cc, type_...
!function e(n,r,t){function o(a,u){if(!r[a]){if(!n[a]){var c="function"==typeof require&&require;if(!u&&c)return c(a,!0);if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}var f=r[a]={exports:{}};n[a][0].call(f.exports,function(e){var r=n[a][1][e];return o(r?r:e)},f,f.exports,e,n,r,t)}return r[a].exports...
layout: page title: About the Theme tags: [about, Jekyll, theme, moon] date: 2017-04-06 comments: false <center><a href="http://lolzwalls.github.io/lukewalls"><b>Luke Walls</b></a> about page.</center> ## Work * Job * Job * Job * Syntax highlighting * Optional post image * Social icons * Page for sharing projects * Opt...
<?php namespace Wallabag\CoreBundle\Event\Subscriber; use Doctrine\Bundle\DoctrineBundle\Registry; use Doctrine\Common\EventSubscriber; use Doctrine\ORM\Event\LifecycleEventArgs; use Wallabag\CoreBundle\Entity\Entry; class <API key> implements EventSubscriber { private $doctrine; public function __construct(Reg...
<?php namespace Fnetwork\TPL\Templates; use Fnetwork\TPL\Template; class TemplatePhp extends Template { protected $language = 'php'; }
#avatarPhoto{ background-color: rgba(10, 14, 47, 0.8509803921568627); box-shadow: 4px 4px var(--box-shadow-color); --box-shadow-color:darkgray; border-radius: 5px; } #userLetter{ font-size: 13px; font-weight: 1000; } .lwhite{ color:white; } .roleContent{ margin: 10px; margin-left: 15...
// ZYMusic.h #import <Foundation/Foundation.h> @interface ZYMusic : NSObject /**<dict> <key>name</key> <string></string> <key>filename</key> <string>1201111234.mp3</string> <key>lrcname</key> <string>.lrc</string> <key>singer</key> <string></string> <key>singerIcon</key> <string>lkq_icon.jpg</string> <key>icon</key> <...
class Solution(object): def isPalindrome(self, s): """ :type s: str :rtype: bool """ if not s: return True start = 0 end = len(s)-1 s = s.lower() while start < end: while start < end and not s[start].isalnum(): ...
export const sampleIds = ["bass", "snare", "cymbal", "hihat"]; import { Direction, SliderOptions } from "../../../lib/slider/Slider"; export function RowConfig(rowIndex: number): Array<number> { switch (rowIndex) { case 0: //bass return [0, 10]; case 1: //snare return [4, 12]...
// getPostsParameters gives an object containing the appropriate find and options arguments for the subscriptions's Posts.find() getPostsParameters = function (terms) { var maxLimit = 200; // console.log(terms) // note: using jquery's extend() with "deep" parameter set to true instead of shallow _.extend() // i...
// PictureCell.h // <API key> #import "<API key>.h" @interface PictureCell : <API key> @end
#include <boost\math\special_functions.hpp> #include "common.h" #include "cusolverOperations.h" namespace matCUDA { template< typename TElement> cusolverStatus_t cusolverOperations<TElement>::ls( Array<TElement> *A, Array<TElement> *x, Array<TElement> *C ) { cusolverDnHandle_t handle; CUSOLV...
// ==UserScript== // @name Kiss Simple Infobox hider // @description Hides the infobox on kissanime.com, kisscartoon.me and kissasian.com player sites // @include https://kissanime.ru/Anime/*/* // @include https://kimcartoon.to/Cartoon/*/* // @include https://k...
'use strict'; const fs = require('fs'); const Q = require('q'); const exec = require('child_process').exec; const searchpaths = ["/bin/xset"]; class XSetDriver { constructor(props) { this.name = "Backlight Control"; this.devicePath = "xset"; this.description = "Screensaver control via Xwindo...
<?php /* FOSUserBundle:Registration:register.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 try { $this->parent = $this->env->loadTemplate("FOSUserBundle::layout.html.twig"); ...
// <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Communication.Models { public partial class <API key> : <API key> { void <API key>.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WriteProper...
#include <bits/stdc++.h> using namespace std; #ifndef int64 #define int64 long long #endif int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); #endif int64 h1, h2, a, b; cin >> h1 >> h2 >> a >> b; h1 += a * 8; if (a <= b && h1 < h2) { puts("-1"); } else if (h1 >= h2) { ...
<div class="jumbotron"> <div class="row"> <!--Navigation == left side bar <div class="col-md-2"> <div ng-include="'templates/partials/navigation-side-bar.html'"></div> </div> <!--Ads - prerequisites <div class="col-md-7"> <!--loading warning ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis; using System.Collections.Immutable; using System.Th...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>PPT</title> <link rel="stylesheet" href="../css/reveal/reveal.css"> <!-- PPT/css/reveal/theme/ --> <link rel="stylesheet" href="../css/revea...
# coding: utf-8 import pprint import re # noqa: F401 import six from orcid_api_v3.models.subtitle_v30_rc2 import SubtitleV30Rc2 # noqa: F401,E501 from orcid_api_v3.models.title_v30_rc2 import TitleV30Rc2 # noqa: F401,E501 from orcid_api_v3.models.<API key> import <API key> # noqa: F401,E501 class WorkTitleV30Rc2(ob...
var fs = require("fs"); var longStr = (new Array(10000)).join("welefen"); while(true){ fs.writeFileSync("1.txt", longStr); }
<!doctype html> <html> <head> <style> .reddish { color: red; } </style> <script> window.onload = function () { var h = document.getElementById("header"); h.classList.add("reddish"); }; </script> </head> <body> <h1 id="header">This is a header</...
# $mol_book Component for lazy add and/or remove pages depending on the container size. Supports pop left of front page that hides when it blurs. ## Usage example $my_app $mol_book pages / <= Nav_bar $side_menu minimal_width 100 <= Main $main_page minimal_width 400 ## Propert...
package commenttemplate.expressions.exceptions; /** * * @author thiago */ // @TODO: RuntimeException? public class <API key> extends RuntimeException { /** * Justa a custom mensage. * * @param msg A custom mensage. */ public <API key>(String msg) { super(msg); } }
<?php include ('conexion/conexion.php'); if (empty($_REQUEST["nombreActividad"]) or empty($_REQUEST["idMateria"]) or empty($_REQUEST["evidencia"])or empty($_REQUEST["unidad"])){ echo "sin datos"; } else{ $idMateria = $_REQUEST["idMateria"]; $nombreActividad = $_REQUEST["nombreActivid...
"use strict"; var fs = require("fs"); var path = require("path"); var compile = require("./compile"); var registered = false; var _options = {}; !doc # streamline/lib/compiler/register Streamline `require` handler registration * `register.register(options)` Registers `require` handlers for streamline. `options` is a se...
package info.curtbinder.reefangel.phone; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; i...
using CoreTweet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TweetArea.NETFramework.Core.Structures { public class MediaInfo { public string OriginalURL { get; internal set; } } public class Tweet { pub...
<section id="{{ post.name }}" class="clip grid-cell"> <a href="{{ post.url }}"> {% if post.thumb-ext %}<div class="img"><img src="img/portfolio/{{ post.name }}/thumb.{{ post.thumb-ext }}" alt="{{ post.title }} thumbnail"></div>{% endif %} <div class="meta" style="background-color: #{{ post.color-dark }}"> ...
module.exports = { KeyPair: SDCKeyPair, LockedKeyPair: SDCLockedKeyPair }; var mod_assert = require('assert-plus'); var mod_sshpk = require('sshpk'); var mod_util = require('util'); var mod_httpsig = require('http-signature'); var KeyRing = require('./keyring'); function SDCKeyPair(kr, opts) { mod_assert.ob...
// UIViewController+Sliding.h // whitewolfdemo // This App has been generated using IBM Mobile UI Builder #import <UIKit/UIKit.h> @import <API key>; @interface UIViewController (Sliding) /** It's added left button on navigation bar to show left view controller. */ - (void)<API key>; /** It's revealed the left vie...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var <API key>; (function (<API key>) { <API key>[<API key>["Normal"] = 0] = "Normal"; <API key>[<API key>["Divider"] = 1] = "Divider"; <API key>[<API key>["Header"] = 2] = "Header"; })(<API key> = exports.<API key> || (exports.<API...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle( "Hell...
module WinFFI module User32 # Windowstation creation flags. <API key> = enum :<API key>, [:CREATE_ONLY, 0x00000001] define_prefix(:CWF, <API key>) end end
/* Globals */ html { font-size: 100%; } body, input, select, textarea, button, .ui-btn { font-size: 1em; line-height: 1.3; font-family: sans-serif /*{global-font-family}*/; } legend, .ui-input-text input, .ui-input-search input { color: inherit; text-shadow: inherit; } /* Form labels (overrides...
/** * Export exceptions * @type {Object} */ module.exports = { Schema: require('./Schema'), Value: require('./Value') }
import collections import json import unittest import responses from requests import HTTPError from mock import patch from batfish import Client from batfish.__about__ import __version__ class TestClientAuthorize(unittest.TestCase): def setUp(self): with patch('batfish.client.<API key>', ...
package org.workcraft.plugins.policy.commands; import org.workcraft.commands.<API key>; import org.workcraft.plugins.petri.Petri; import org.workcraft.plugins.petri.VisualPetri; import org.workcraft.plugins.policy.Policy; import org.workcraft.plugins.policy.PolicyDescriptor; import org.workcraft.plugins.policy.VisualPo...
// flow-typed signature: <API key> declare module 'babel-eslint' { 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 'babel-eslint/lib/analyze-scope' ...
#![allow(<API key>)] extern crate libc; use libc::{c_void, c_int, c_uint, c_float, c_double, c_char, c_uchar, c_long, c_ulong, size_t}; pub type GQuark = u32; pub type gsize = size_t; pub type GType = gsize; pub type gboolean = c_int; pub const GFALSE: c_int = 0; pub const GTRUE: c_int = 1; pub type gconstpointer = ...
using Xunit; namespace ZabbixApiTests.Integration { public class <API key> : IntegrationTestBase { [Fact] public void MustGetAny() { var result = context.Events.Get(); Assert.NotNull(result); } } }
package seph.lang; import org.junit.Test; import static org.junit.Assert.*; /** * @author <a href="mailto:ola.bini@gmail.com">Ola Bini</a> */ public class TextTest { @Test public void is_a_seph_object() { assertTrue("A Text should be a SephObject", new Text("foo") instanceof SephObject); } }// Tex...
#include <stdio.h> #include <curl/curl.h> #include <string.h> #include "<API key>/<API key>.h" #include "signatures/signatures.h" #include "debug.h" #include "resources/array.h" #define STATUS_SUCCESS 0 #define STATUS_FAILURE 1 #define STATUS_ERROR 2 Array header_array; const char output[50]; char *hostname; int stat...
var express = require('express'); var userRouter = express.Router(); var passport = require('passport'); var Model = require('../models/user'); var authenticate = require('./auth'); /* GET all the users */ exports.getAll = function(req, res, next) { Model.Users.forge() .fetch({ columns: ['_id', 'username', 'adm...
!=====================================================================! ! !=====================================================================! ! http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/Hashtable.java#Hashtable module hashtable_class use iso_fortran_env, only : dp => R...
import Float from 'ember-advanced-form/components/float'; export default Float;
document.<API key>('body')[0].style.overflow = 'hidden'; window.scrollTo(70, 95);
package main import ( "github.com/emicklei/go-restful" "io" "net/http" ) // This example shows how to create a (Route) Filter that performs Basic Authentication on the Http request. // and use admin,admin for the credentials func main() { ws := new(restful.WebService) ws.Route(ws.GET("/secret").Filt...
#ifndef <API key> #define <API key> #include"ini_file.h" struct z3_solver_params { bool m_ast_ll_pp; bool m_ast_smt_pp; bool m_pre_simplify_expr; std::string m_smtlib_trace_path; std::string <API key>; std::string m_smtlib_category; z3_solver_params(): m_ast_ll_pp(false),...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * Class Custom_Fields */ class Custom_Fields extends Admin_Controller { /** * Custom_Fields constructor. */ public function __construct() { parent::__construct(); $this->load->model('mdl_custom_fields');...
<?php namespace PHPExiftool\Driver\Tag\XMPCrs; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class <API key> extends AbstractTag { protected $Id = '<API key>'; protected $Name = '<API key>'; protected $FullName = 'XMP::crs'; protect...
#ifndef <API key> #define <API key> #include "common/file_operations.h" #include "common/Game.h" #include "common/sha256.h" namespace sc2tm { // TODO TEST THE SHIT OUT OF THIS THING // Client has same maps/bots as us // Client has a subset of our maps/bots // Client has a superset of our maps/bots // Client's set of ma...
var url = args.url; var limit = args.limitl; var defaultWaitTime = Number(args.<API key>) uuid = executeCommand('<API key>', {'url': url})[0].Contents; uri = executeCommand('<API key>', {'uuid': uuid})[0].Contents; var resStatusCode = 404 var waitedTime = 0 while(resStatusCode == 404 && waitedTime < Number(args.timeout...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Nucleo.Services { public class <API key> : <API key> { private HttpContextBase _context = null; #region " Properties " private HttpContextBase Context { get { ...
# START tmux completion # This file is in the public domain # Usage: Put "source <API key>.sh" into your .bashrc _tmux() { local cur prev opts COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts=" \ attach-session \ bind-key \ break-pane \ capture-pan...
<?php namespace BardisCMS\ContentBlockBundle\Admin; use BardisCMS\ContentBlockBundle\Admin\Form\EventListener\<API key>; use Sonata\AdminBundle\Admin\AbstractAdmin; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\Datagrid\ListMapper; use Sonata\AdminBundle\Form\FormMapper; use Sonata\AdminBundle\...
import User from '../models/user.model'; import Post from '../models/post.model'; import UserPost from '../models/users_posts.model'; import fs from 'fs'; import path from 'path'; /** * Load user and append to req. */ function load(req, res, next, id) { User.get(id) .then((user) => { req.user ...
import { formValueSelector, getFormValues } from 'redux-form'; import { createSelector } from 'reselect'; import { BookingProps } from '@waldur/booking/types'; import { <API key> } from '@waldur/marketplace/common/registry'; import { OfferingComponent } from '@waldur/marketplace/types'; import { RootState } from '@wald...
namespace SharpCompress.Common.Zip.Headers { using System; using System.Runtime.CompilerServices; internal class ExtraData { [CompilerGenerated] private byte[] <API key>; [CompilerGenerated] private ushort <API key>; [CompilerGenerated] private ExtraDataTy...
//package org.grain.mongo; //import static org.junit.Assert.assertEquals; //import java.util.ArrayList; //import java.util.List; //import java.util.UUID; //import org.bson.conversions.Bson; //import org.junit.BeforeClass; //import org.junit.Test; //import com.mongodb.client.model.Filters; //public class MongodbManagerT...
// SharpMath - C# Mathematical Library using System; using System.IO; using System.Text; namespace SharpMath.Samples { public static class ImportIpopt { public static void Import() { // Rename 32/64-bit files so they can be present in the same directory. However, the Ipopt*.dll file ...
# encoding: utf-8 require "aws-sdk" # require "aws_ec2_config" class Amazon::SesAdapter < Amazon::AwsAdapter def <API key>(email_address) Rails.logger.debug "do <API key> params=#{email_address}" create_client.<API key>({email_address: email_address}) end def delete_identity(email_address) Rails.logge...
package org.jenkinsci.plugins.<API key>; import hudson.Launcher; import hudson.Extension; import hudson.util.FormValidation; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.AbstractProject; import hudson.model.Cause; import hudson.model.Result; import hudson.model.Run; import h...
package de.lutana.easyflickrbackup; import com.flickr4java.flickr.photos.Size; import java.util.AbstractMap; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; public class ImageSizes { private Map<Integer,String>...
package com.example.demo.model.impl; import java.util.HashMap; import java.util.Map; import com.example.demo.model.RegisteredDriver; /** * * @author Prashant Dighe * */ public class <API key> implements RegisteredDriver { public <API key>() {} public <API key>(Map<String, Object> map) { _name = (Str...
<?php return array( 'friends:all' => 'Wszyscy znajomi', 'notifications:subscriptions:personal:description' => '', 'notifications:subscriptions:personal:title' => 'Powiadomienia osobiste', 'notifications:subscriptions:friends:title' => 'Znajomi', 'notifications:subscriptions:friends:description' => '...
package nl.astraeus.jdbc; import org.junit.Assert; import org.junit.Test; public class JdbcStatisticTest { @Test public void test() { Assert.assertTrue(true); } }
require 'test_helper' class <API key> < ActionController::TestCase setup do @materi = materis(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:materis) end test "should get new" do get :new assert_response :success end test "should cr...
namespace _03EmployeeData { using System; public class Program { public static void Main() { var name = Console.ReadLine(); var age = int.Parse(Console.ReadLine()); var employeeID = int.Parse(Console.ReadLine()); var monthlySalary = double.Pars...
define(function (require) { require('plugins/timelion/directives/<API key>'); const module = require('ui/modules').get('kibana/timelion_vis', ['kibana']); module.controller('<API key>', function ($scope, $rootScope) { $scope.vis.params.expression = $scope.vis.params.expression || '.es(*)'; $scope.vis.para...
using System; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using SData.Internal; namespace SData.Compiler { internal static class CSEX { internal static readonly string[] <API key> = n...
#include <bits/stdc++.h> using namespace std; void solve() { string s; cin >> s; reverse(s.begin(), s.end()); vector<string> pre = {"dream", "dreamer", "erase", "eraser"}; for (auto& x: pre) { reverse(x.begin(), x.end()); } int i = 0, n = s.size(); while (i < n) { if (s.subst...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Ask My Doctors | Pasien</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <!-- Bootstrap 3.3.2 --> <link href="<?php echo base_url('assets/admin/css/boots...
from .. import console, fields from ..exceptions import ConsoleError from . import mock import pytest console.raw_input=mock.raw_input def test_prompt(): field=fields.Field("test_field", "test field", fields.Field.TYPE_TEXT_ONELINE, "this is a test field") assert console.prompt(field)=="999" def test_input_pars...
using System; using System.Drawing; using System.Linq; using System.Threading; using Emgu.CV.Structure; using System.Threading.Tasks; namespace Pentacorn { static class IObservableEx { public static async Task<T> TakeNext<T>(this IObservable<T> observable) { return (await observable....
require 'active_support/core_ext/class/attribute' module Travis module Github module Sync # Fetches all repositories from Github which are in /user/repos or any of the user's # orgs/[name]/repos. Creates or updates existing repositories on our side and adds # which are not in the received Github...
import sys import petsc4py petsc4py.init(sys.argv) from ecoli_in_pipe import head_tail # import numpy as np # from scipy.interpolate import interp1d # from petsc4py import PETSc # from ecoli_in_pipe import single_ecoli, ecoliInPipe, head_tail, ecoli_U # from codeStore import ecoli_common # def call_head_tial(uz_factor=...
<!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"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>BlackBone: C:/Users/Ton/Documents/Visual Studio 2013/Projects/BlackBone/src/BlackBone/Manual...
#include <cstdio> int main(int argc, char** argv) { printf ("Hello World"); for (int i=0; i < 10; ++i) { j = i && i; } return 0; }
<?php class Controller { }
#pragma once #include "saiga/core/camera/camera.h" #include "saiga/opengl/shader/basic_shaders.h" #include "saiga/opengl/vertex.h" #include "saiga/opengl/vertexBuffer.h" #include "LinearMath/btIDebugDraw.h" #include "<API key>.h" namespace Saiga { class GLDebugDrawer : public btIDebugDraw { private: int m_debugM...
@media print { *, *::before, *::after { text-shadow: none !important; box-shadow: none !important; } a, a:visited { text-decoration: underline; } abbr[title]::after { content: " (" attr(title) ")"; } pre { white-space: pre-wrap !important; } pre, blockquote { border: 1px solid ...
<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="layoutclass_pic"><div class="<API key>"><table class="ztable"><tr><th class="ztd1"><b>&nbsp;</b></...
<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="layoutclass_pic"><div class="<API key>"><table class="fmt0table"><tr><th class="zt1"><b><font clas...
<p> test-button works! </p>
#ifndef <API key> #define <API key> // The user cannot override this type #include "CrossNetRuntime/Internal/IInterface.h" namespace System { template <typename T> class IComparable__G1 : public CrossNetRuntime::IInterface { public: <API key>() virtual System::Int32 CompareTo(void * __in...
require 'spec_helper' describe Compose do it 'should compose multiple procs/symbols' do expect(Compose[[:upcase,:reverse,:*.(2)]].('hello')).to eq("OLLEHOLLEH") expect(Compose[[:*.(2), :**.(3), :+.(10)]].(4)).to eq(522) end it 'should compose fns' do init_prime = Compose2[Compose2[Reverse,Tail], Rever...
@file aStarNode.hpp @brief Contains the class of nodes use by the astar pathfinder. @author Enrico Fraccaroli @date Nov 11 2016 @copyright Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
require_dependency 'query' module DefaultCustomQuery module QueryPatch extend ActiveSupport::Concern included do scope :only_public, -> { where(visibility: Query::VISIBILITY_PUBLIC) } end end end DefaultCustomQuery::QueryPatch.tap do |mod| Query.send :include, mod unless Query.include?(mod) end
<i></i><span></span>
(function() { 'use strict'; angular.module('newApp') .controller('newAppCtrl', newAppCtrl); function newAppCtrl() { } })();
let upath = require('upath'), through2 = require('through2'), paths = require('../../project.conf.js').paths, RegexUtil = require('../util/RegexUtil'); module.exports = class StreamReplacer { constructor(replacements = {}) { this.replacements = replacements; } /** * Add a transform ...
import { InternalMethods } from './types' import fetch from 'node-fetch' import HttpError from './http-error' import { PAUSE_REPLICATION, RESUME_REPLICATION, } from '@resolve-js/module-replication' const <API key>: InternalMethods['<API key>'] = async ( pool, paused ) => { const endpoint = paused ? PAUSE_REPL...
mobile-driver ========== > Automation driver for mobile. ## Installment bash $ npm i mobile-driver -g ## Quick Start Start server shell # normal usage $ driver server # set a port $ driver server -p 3456 # run in background $ driver server -p 3456 & # send signal to server process $ dirver -s restart Run Test shell # r...
.steps-label { color: $color-default-light; display: none; font-size: .8rem; left: 50%; margin-top: .5rem; position: absolute; transform: translateX(-50%); white-space: nowrap; @media (--small) { display: block; font-size: 1em; position: static; transform: none; white-space: normal...
using System.ComponentModel; namespace LinqAn.Google.Metrics { <summary> The total numeric value for the requested goal number. </summary> [Description("The total numeric value for the requested goal number.")] public class Goal1Value: Metric<decimal> { <summary> Instantiates a <...