answer
stringlengths
15
1.25M
goog.provide('ol.DrawEvent'); goog.provide('ol.DrawEventType'); goog.provide('ol.interaction.Draw'); goog.require('goog.asserts'); goog.require('goog.events'); goog.require('goog.events.Event'); goog.require('ol.Collection'); goog.require('ol.Coordinate'); goog.require('ol.Feature'); goog.require('ol.FeatureOverlay'); ...
import six import json import unittest from unittest import TestCase from rejson import Client, Path rj = None port = 6379 class ReJSONTestCase(TestCase): def setUp(self): global rj rj = Client(port=port, decode_responses=True) rj.flushdb() def <API key>(self): "Test basic JSONSe...
from palm.base.model_factory import ModelFactory from palm.base.model import Model class CutoffModelFactory(ModelFactory): """CutoffModelFactory""" def __init__(self): pass def create_model(self, parameter_set): return CutoffModel(parameter_set) class CutoffModel(Model): """CutoffModel""...
<?php namespace PhpSsrs\<API key>; class ListDependentItems { /** * * @var string $ItemPath * @access public */ public $ItemPath = null; /** * * @param string $ItemPath * @access public */ public function __construct($ItemPath = null) { $this->ItemPath = $ItemPath; } }
// distance.js - Distance mixins for Paths var _ = require('underscore'); var R = require('./constants').EARTHRADIUS; var units = require('./units'); var flipCoords = require('./flipcoords'); // Area conversions (from sqmeters) var convertFuncs = { sqmeters: function (a) { return a; }, sqmiles: function (a) {...
#ifndef SINGLETON_T_H #define SINGLETON_T_H #pragma once #ifndef assert #include <assert.h> #endif template <typename T,bool delay_create=true> class CSingleTon_t { protected: CSingleTon_t() { } ~CSingleTon_t() { } public: static T* GetInstance() { static T _instance; ret...
#!/usr/bin/python import StringIO import urllib import urllib2 from lxml import etree class NcaaGrabber: def __init__(self): self.ncaaUrl = 'http://web1.ncaa.org' self.ncaaStatsSite = self.ncaaUrl+'/football/exec/rankingSummary' # self.ncaaTeamList2008 = self.ncaaUrl+'/mfb/%d/Internet/ranking...
from <API key> import <API key> class SurveyInstance(object): def __init__(self, survey_object, **kwargs): self._survey = survey_object self.kwargs = kwargs #not sure what might be passed to this #does the survey object provide a way to get the key dicts? self._keys = [c.name for c i...
Accuracy of exchange prices 1) Accuracy of all exchange prices select cast(1/odds*100 as int) as predicted_prob,(cast(sum(cast(win_flag as int)) as real)/COUNT(*))*100 as true_prob,COUNT(*) as sample_size from dbo.betfair_data group by cast(1/odds*100 as int) order by predicted_prob 2) Accuracy of starting pric...
""" Script to fetch historical data (since 2011) for matches (global, public). Gives results in a chronological order (ascending), as they happened. """ from __future__ import print_function from dota2py import api from time import sleep as wait_for_next_fetch def <API key>(<API key>=None, matches_requested=500, ...
#include <fstream> #include <memory> #include <unordered_set> #include <vector> #include <string> #include <random> #include <iostream> #include <algorithm> #include <cassert> #include <chrono> #include <string> // libbf #include "BaseBloomFilter.hpp" #include "KBF1.hpp" #include "KBF2.hpp" #include "KBFSparse.hpp" #in...
<!DOCTYPE HTML PUBLIC "- <html> <head> <title>org.gradle.language.jvm.plugins (Gradle API 2.1)</title> <meta name="keywords" content="org.gradle.language.jvm.plugins package"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css"...
package com.github.ansell.dwca; import org.xml.sax.Attributes; import com.github.ansell.dwca.<API key>.CoreOrExtension; public class DarwinCoreField implements ConstraintChecked, Comparable<DarwinCoreField> { // Constants for compareTo method private static final int BEFORE = -1; private static final int AF...
ROOT=../.. FLAGS_COMMON= #-test.v # Actually, we should've used -test.parallel=1 here, but for some reason # it doesn't work. Instead, we use the undocumented flag -p=1, see # for details. FLAGS_INTEGRATION=-p=1 DCFLAGS= V=@ ifeq ("$(VERBOSE)","1") V= endif .PHONY: all up down unit-tests integration-tests all: unit-t...
class Hh < Formula desc "Bash and zsh history suggest box" homepage "https://github.com/dvorka/hstr" url "https://github.com/dvorka/hstr/archive/1.21.tar.gz" sha256 "<SHA256-like>" head "https://github.com/dvorka/hstr.git" bottle do cellar :any sha256 "<SHA256-like>" => :sierra sha256 "<SHA256-l...
#include "config.h" #if ENABLE(MATHML) #include "MathMLSpaceElement.h" #include "RenderMathMLSpace.h" namespace WebCore { using namespace MathMLNames; MathMLSpaceElement::MathMLSpaceElement(const QualifiedName& tagName, Document& document) : MathMLElement(tagName, document) { } Ref<MathMLSpaceElement> MathMLSpaceEl...
<!DOCTYPE HTML PUBLIC "- <!-- * PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * --> <!-- * i.e. only iterate & print data where possible. Thanks, Jez. * --> <html> <head> <!-- Generated by groovydoc (2.3.6) on Mon Nov 24 10:51:33 CET 2014 --> <title>JvmLibrarySpec (Gradle API 2.2.1)</title> ...
from llvmlite import binding as ll from llvmlite import ir from warnings import warn from numba.core import config, serialize from numba.core.codegen import Codegen, CodeLibrary from numba.core.errors import <API key> from .cudadrv import devices, driver, nvvm import ctypes import numpy as np import os import subproces...
Lou Jost's [diversity](http://dx.doi.org/10.1111/j.2006.0030-1299.14714.x) [measures](http: found in the **Diversity.Jost** package. # Usage Accessing the main functionality in the package is simple: julia_skip using Diversity.Jost # Load community to study diversities = jostβ(community, [0, 1, 2]) @contents @autodocs ...
## Allure ![allure start image](img/allure2.png)
<md-input-container class="term-selector"> <md-select ng-model="tvm.selectedTermAbbrev" ng-change="tvm.changeTerm()" aria-label="Select Term"> <md-option ng-repeat="term in tvm.terms" ng-selected="tvm.termIsSelected(term)" value="{{term.abbrev}}"> {{term.name}} </md-option> </md-select> </md-input-con...
title: Vue definePropertyProxy date: 2020-07-20 10:01:37 tags: - Vue categories: - - - Vue # Vue defineProperty Proxy vue2 vue3 ## vue2 defineProperty ts interface Props { // true // false configurable: boolean; // true // false enumerable: false; // true // false value: any; // true...
#ifndef TEST_H_ #define TEST_H_ #ifdef __cplusplus extern "C" { #endif #include <h8sdk/unit_test.h> #if defined(TEST_SOUND) || defined(TEST_MUSIC) #if SOUND_MAX_PRONOUNCE < 3 #error "Please define the SOUND_MAX_PRONOUNCE >= 3." #endif #endif #define TEST_FAILURE(x) _printf("*** Failed: %s\r\n", (x)); void main(void); s...
#include "unittest.hpp" #include "rice/global_function.hpp" using namespace Rice; TESTSUITE(GlobalFunction); SETUP(GlobalFunction) { ruby_init(); } namespace { bool <API key> = false; void method_to_wrap(Object self) { <API key> = true; } int <API key>; void method_with_args(Object self, int arg) { ...
#ifndef MEMORY_INCLUDED #define MEMORY_INCLUDED extern void *compat_malloc(size_t size); extern void *compat_calloc(size_t nelem, size_t size); extern void *compat_realloc(void *ptr, size_t size); #ifndef NDEBUG #include <stdlib.h> #include <assert.h> #define mem_init memory_init() #define mem_done memory...
//this files contains the information about the each application of aws module.exports={ cloudfront: { player: "We use JWPlayer as the embeded video player and you can change to another", bucket: "This directory is where your uploaded video file been distributed by cloudfront", bbucket: "Thi...
#! /usr/bin/env phantomjs // Convenience function: wait for some value from lookup fn, call ready // callback with value when available. function waitFor(lookup, ready) { var result, interval; interval = setInterval(function() { result = lookup(); if (result !== undefined && result !== null) { ...
package pointer import "time" func DefaultBool(value *bool, defaultValue bool) *bool { if value == nil { return &defaultValue } return value } func DefaultDuration(value *time.Duration, defaultValue time.Duration) *time.Duration { if value == nil { return &defaultValue } return v...
package org.mapfish.print.processor; import org.mapfish.print.output.Values; import org.mapfish.print.processor.AbstractProcessor.Context; import java.util.IdentityHashMap; import java.util.Set; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * Contains information shared a...
class Toot < Formula include Language::Python::Virtualenv desc "Mastodon CLI & TUI" homepage "https://toot.readthedocs.io/en/latest/index.html" url "https://files.pythonhosted.org/packages/0f/80/<API key>/toot-0.28.0.tar.gz" sha256 "<SHA256-like>" license "GPL-3.0-only" revision 1 head "https://github.c...
using UnityEngine; namespace EA4S.Assessment { public interface IAnswer { <summary> Access the GameObject of this answer </summary> GameObject gameObject { get; } <summary> Is this a correct answer? </summary> bool IsCorrect(); <summary> ...
#ifndef HC_H_ #define HC_H_ #include <assert.h> #include <vector> #include <utility> using namespace std; enum Command { MOVE_W, MOVE_E, MOVE_SW, MOVE_SE, ROT_C, ROT_CC, }; #define PF(p) p.x, p.y struct Pos { int x, y; Pos() : x(-1), y(-1) {} Pos(int x0, int y0) : x(x0), y(y0) {} explicit Pos(pair<i...
require 'json' f = File.read("#{File.dirname(__FILE__)}/../../public/context.json") RELATORS ||= JSON.parse(f)['@context'].select { |k,v| (v['@id'] || '').start_with? 'mrel:' }.keys
<?php // Hindi return [ 'code' => 'hi', 'iso2' => 'hi', 'iso3' => 'hin', 'timezone' => 'Asia/Calcutta', 'title' => 'Hindi', ];
#ifndef TREE_CHECK #error "This file should only be included by treecheck.c" #endif // TODO: big comment explaining what's going on ROOT(program, module); RULE(program, IS_SCOPE // path -> PACKAGE HAS_DATA // program_t ZERO_OR_MORE(package), TK_PROGRAM); RULE(package, IS_SCOPE // name -> entity HAS_DATA ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_102) on Wed May 16 11:00:29 JST 2018 --> <title>JMTRandom 0.1.0 API</title> <script type="text/javascript"> targetPage = "" + window.location.search; if (targetPage != "" && targetPage != "undefined") targ...
#include "stdafx.h" #include "LMCore.h" #include "LMDebug.h" #include "ExceptionHandling.h" #if PLATFORM_WINDOWS #include "<API key>.h" #endif // PLATFORM_WINDOWS namespace Lightmass { FString InstigatorUserName; /** Crash reporter URL, as set by AutoReporter.exe after being launched by <API key>(). */ static FString G...
# modification, are permitted provided that the following conditions are met: # documentation and/or other materials provided with the distribution. # * Neither the name of Intel Corporation nor Carnegie Mellon University, # nor the names of their contributors, may be used to endorse or # promot...
#ifndef INCLUDE_HISTORY_H_ #define INCLUDE_HISTORY_H_ #include <common.h> #include <graph.h> namespace gbolt { class History { public: History(int max_edges, int max_vertice) : edge_size_(0) { edges_ = new ConstEdgePointer[max_edges + 1]; has_edges_ = new bool[max_edges + 1](); has_vertice_ = new bool[ma...
#!/usr/bin/env bash MASON_NAME=wagyu MASON_VERSION=0.1.0 MASON_HEADER_ONLY=true . ${MASON_DIR}/mason.sh function mason_load_source { mason_download \ https://github.com/mapbox/wagyu/archive/${MASON_VERSION}.tar.gz \ <SHA1-like> <API key> export MASON_BUILD_PATH=${MASON_ROOT}/.build/wagyu-${M...
using System; using System.Linq; using Saritasa.Tools.Messages.Abstractions; namespace Saritasa.Tools.Messages.Common { <summary> Message pipeline extensions. </summary> public static class <API key> { <summary> Add middlewares to pipeline. </summary> <param name="pip...
package eu.matejkormuth.fbrepostbot.facebook; import com.google.common.base.Charsets; import com.google.common.io.CharStreams; import org.apache.http.HttpEntity; import org.apache.http.NameValuePair; import org.apache.http.client.entity.<API key>; import org.apache.http.client.methods.<API key>; import org.apache.http....
var onReady = require('kwf/commonjs/on-ready'); window.$ = require('jquery'); //leak for qunit $(function() { $('#show').click(function() { $('.foo').show(); onReady.callOnContentReady(document.body, { action: 'show' }); }); $('#hide').click(function() { $('.foo').hide(); onR...
// tipsy, facebook style tooltips for jquery // version 1.0.0a (function($) { function maybeCall(thing, ctx) { return (typeof thing == 'function') ? (thing.call(ctx)) : thing; } function Tipsy(element, options) { this.$element = $(element); this.options = options; this.enable...
#include "<API key>.h" #include "<API key>.h" #include "<API key>.h" #include "<API key>.h" namespace <API key> { /** The section of the ini file we load our settings from */ static const FString SettingsSection = TEXT("SourceControl.<API key>"); } const FString& <API key>::GetProvider() const { return Provider; } ...
cask "deezer" do version "5.10.0" sha256 "<SHA256-like>" url "https://www.deezer.com/desktop/download/artifact/darwin/x64/#{version}" name "Deezer" desc "Music player" homepage "https: livecheck do url "https: strategy :header_match end auto_updates true depends_on macos: ">= :yosemite" ap...
#ifndef PCMP_COMMON_H #define PCMP_COMMON_H #define pcmp_likely(x) __builtin_expect(!!(x), 1) #define pcmp_unlikely(x) __builtin_expect(!!(x), 0) #if !defined(PCMP_AVX2) && defined(__AVX2__) # define PCMP_AVX2 1 #endif #if !defined(PCMP_SSE42) && defined(__SSE4_2__) # define PCMP_SSE42 1 #endif #include <stdint.h> #ifd...
package main import "strings" type code_section interface { Code() bool } type para string func (para) Code() bool { return false } type code string func (code) Code() bool { return true } type Article struct { Title string Intro []para GoCode, ReflectCode []code_sect...
class Smake < Formula desc "Portable make program with automake features" homepage "https://s-make.sourceforge.io/" url "https://downloads.sourceforge.net/project/s-make/smake-1.2.5.tar.bz2" sha256 "<SHA256-like>" livecheck do url :stable end bottle do sha256 "<SHA256-like>" => :catalina sha25...
// buffer.go // Use of this source code is governed by a BSD-style // Package buffer contains helper functions for writing and reading basic // types into and out of byte slices. package buffer // Stdlib imports. import ( "errors" ) // Data type sizes. const ( BYTE_SIZE = 1 UINT8_SIZE = 1 UINT16_SI...
#!/bin/bash set -e repo=$1 name=$2 src=$3 if [ -z "$repo" ]; then echo "You need to supply a repository name" exit 1 fi if [ -z "$name" ]; then echo "You need to supply a package name" exit 1 fi if [ -z "$src" ]; then echo "You need to supply a source" exit 1 fi #if [ -d "src/packages/$repo/$name" ]; then #...
// Dev console var evaluateBtn = $4.id('devcon-eval-btn'), expressionTextBox = $4.id('<API key>'), resContainer = $4.id('devcon-res'), helpPopWrapper = $4.id('devcon-help'), helpBtn = $4.id('devcon-help-btn'), helpCloseBtn = $4.id('<API key>'); var HistoryNavigate = { ...
{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-} module Acid (loadSet, addExperiment) where import Control.Monad.Reader import Control.Monad.State import Data.Acid import Data.SafeCopy import Data.Time.LocalTime (ZonedTime(..)) import Data.Typeable import qualified Data...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Linq; using System.Windows.Forms; using DevExpress.Utils; using DevExpress.Utils.Drawing; using DevExpress.XtraEditors; using DevExpress.XtraEditors.Drawing; using bv.com...
#board { margin-left: 20px; margin-right: 20px; border: 5px solid grey; } .pexeso-card { display: inline-block; margin: 5px; border: 1px solid black; } .pexeso-card img { width: 100px; height: 100px; } .pexeso-card .back { display: block; } .pexeso-card .front { display: none; } .pexeso-card.turned ...
"""Defines "parency links" between two "persons", and a user interface to manage them. This module is probably useful in combination with :mod:`lino_xl.lib.households`. .. autosummary:: :toctree: choicelists models """ from lino.api import ad, _ class Plugin(ad.Plugin): "Extends :class:`lino.core.plugin....
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2017-11-26 15:14 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('generic', '<API key>'), ...
require 'db/sqlite3' require 'models/data_types' require 'models/<API key>' require 'simple' require 'jdbc_common' class SQLite3SimpleTest < Test::Unit::TestCase include SimpleTestMethods include <API key> include <API key> include DirtyAttributeTests include <API key> include <API key> if ar_version("3.1")...
# modification, are permitted provided that the following conditions are met: # and/or other materials provided with the distribution. # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # CONTRIBUTORS BE LIABLE FOR ANY DIRE...
#include "vgsasm.h" int parse_int(struct line_data* line, int i) { unsigned int v; if (line[i].toknum < 2) { sprintf(line[i].error, "syntax error: required argument was not specified"); return -1; } if (2 < line[i].toknum) { sprintf(line[i].error, "syntax error: extra argument wa...
# Business List for San Diego County. This list of businesses is published by the San Diego Office of the Treasurer. The businesses listed in the file have locations across the US, but usually have some presence in San Diego, such as a San Diego location or an owner that lives in San Diego part time. Unfortunately, the...
#include <mscorlib/System/Security/Cryptography/<API key>.h> #include <mscorlib/System/<API key>.h> #include <mscorlib/System/IO/<API key>.h> #include <mscorlib/System/<API key>.h> #include <mscorlib/System/<API key>.h> namespace mscorlib { namespace System { namespace Security { nam...
namespace Humidifier.KinesisFirehose { using System.Collections.Generic; using DeliveryStreamTypes; public class DeliveryStream : Humidifier.Resource { public static class Attributes { public static string Arn = "Arn" ; } public override string AWSTypeName ...
#!/bin/bash HIGU_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" DATA_DIR="$HIGU_DIR/test/data" WORK_DIR="$( mktemp -d )" export PYTHONPATH="$WORK_DIR/lib" export MKDB_LIB_PATH="$WORK_DIR/lib.db" clean() { rm -f *.png
/* 162 */ #include <string.h> #include <stdlib.h> #include <stdio.h> #include "euler.h" #define N 1000 int main(int argc, char **argv) { char t[N] = {0}; int s, i = 0, nt = 0; while (1) { s = i * (i + 1) / 2; if (s > N) break; t[s] = 1; i++; } char *to...
#ifndef <API key> #include "Utils.hh" namespace Utils { using std::string; using std::lower_bound; #ifdef UTILS_OS_WINDOWS string basename( char const * const path ) { static char drive[100]; static char dir[1024]; static char fname[256]; static char ext[128]; errno_t e = _sp...
<?php namespace MB\validators; class Required extends \MB\Validator { public function isValid( $value ) { $status = false; if( !empty( $value ) ) { $status = true; } return $status; } public function getErrorMessage( $fieldName ) { return __( "%s: зн...
class Syncthing < Formula desc "Open source continuous file synchronization application" homepage "https://syncthing.net/" url "https://github.com/syncthing/syncthing.git", :tag => "v1.3.3", :revision => "<SHA1-like>" head "https://github.com/syncthing/syncthing.git" bottle do cellar :any...
#include "config.h" #include <sys/types.h> #include <sys/socket.h> #include <errno.h> #include <math.h> #include <poll.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include "vtc.h" #include "vct.h" #include "vgz.h" #include "vnum.h" #include "vre.h" #include "vtcp.h" #define MAX_HDR...
chrome.extension.sendMessage({}, function(response) { var <API key> = setInterval(function() { if (document.readyState === "complete") { clearInterval(<API key>); var seconds10 = document.getElementById("thebutton-s-10s"); seconds10.addEventListener("DOMSubtreeModified", function(){ ...
// Package al provides a golang audio library based on OpenAL. Official OpenAL // documentation can be found online. Just prepend "AL_" to the function // or constants found in this package. // These bindings were based on the OpenAL header files found at: // Refer to the orginal header files and official OpenAL docume...
\hypertarget{structmdhim__t}{\section{mdhim\-\_\-t Struct Reference} \label{structmdhim__t}\index{mdhim\-\_\-t@{mdhim\-\_\-t}} } {\ttfamily \#include $<$mdhim.\-h$>$} \subsection*{Public Attributes} \begin{DoxyCompactItemize} \item M\-P\-I\-\_\-\-Comm \hyperlink{<API key>}{mdhim\-\_\-comm} \item M\-P\-I\-\_\-\-Comm \hy...
using System; using System.Drawing; using System.Linq; using System.Windows.Forms; using aGrader.Properties; using aGrader.sourceCodes; namespace aGrader { public partial class LanguageSelection : Form { public LanguageSelection() { InitializeComponent(); } private vo...
// // 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 ...
cask v1: '<API key>' do version '1.0.1' sha256 '<SHA256-like>' url "http://www.polycom.co.uk/content/dam/polycom/common/documents/firmware/PPCIPmac_v#{version}.dmg.zip" name 'People + Content IP' homepage 'http://www.polycom.co.uk/products-services/<API key>/<API key>/people-content-ip.html#stab1' license :...
#ifndef INTERFACE_HPP #define INTERFACE_HPP #include <array> #include <vector> #include <string> #include <sstream> #include <stdint.h> #include "util.hpp" /*! Represents one hardware interface. * This struct includes all necessary information * to characterize one ethernet port */ struct Interface { std::array<...
# Usage instructions * [Get-GacAssembly](Get-GacAssembly.md) Gets the assemblies in the GAC (alias gga) * [Get-GacAssemblyFile](Get-GacAssemblyFile.md) Gets the FileInfo of assemblies in the GAC * [<API key>](<API key>.md) Gets the InstallReference of assemblies in the GAC * [Add-GacAssembly](Add-GacAssembly.md) Adds t...
/** * UB-RIA-UI 1.0 * * @ignore * @file * @author wangyaqiong, liyidong(srhb18@gmail.com) */ define( function (require) { var Control = require('esui/Control'); var lib = require('esui/lib'); var ui = require('esui'); require('esui/Panel'); require('esui/Overlay'); ...
#include <Python.h> #include <datetime.h> #include <dynd/types/string_type.hpp> #include <dynd/types/bytes_type.hpp> #include <dynd/types/strided_dim_type.hpp> #include <dynd/types/cfixed_dim_type.hpp> #include <dynd/types/var_dim_type.hpp> #include <dynd/types/base_struct_type.hpp> #include <dynd/types/date_type.hpp> ...
#!/bin/bash ROOT=$(dirname $0) # Get RKQC path export RKQC_PATH=${ROOT}/rkqc if [ $(echo $PATH | grep ${RKQC_PATH} | wc -l) -eq 0 ]; then export PATH=$PATH:$RKQC_PATH fi function show_help { echo "Usage: $0 [-hv] [-rqfRTFckdso] [-l #] [-P #] [-D <pass_name>] <filename>.scaffold [args]*" echo " -r Gener...
<?hh // partial // Because of PSR HTTP Message namespace Titon\Http\Server; use Psr\Http\Message\StreamableInterface; use Titon\Http\Http; use Titon\Http\Stream\MemoryStream; use Titon\Type\Xml; /** * Output XML as the response by converting any type of resource to XML. * * @package Titon\Http\Server */ class XmlRe...
(function() { var G = glocal.Promise; console.log('main context : ', G.context) G.context.test = true; G.resolve('tututu') .delay(100) .glocalize('shloup', true) //.slog("slog 1 : ") .clog() //.elog() //.delay(500) .glocalize('br', 'fe') //.slog("s...
title: "Ansible for the impatient sysadmin ‍/‍ (part 2)" date: 2018-08-08T19:05:38+02:00 draft: true featured_image: "/images/ansible-2.png" description: "A no fluff guide to start using Ansible for automation. Part 2 - Using Ansible to execute ad-hoc commands on servers" toc: true tags: ["Ansible", "sysadmin", "Automa...
// ES5 15.4.4.21 // http://es5.github.com/#x15.4.4.21 if (!Array.prototype.reduce) { var toObject = require('./_toObject'); Array.prototype.reduce = function reduce(fun /*, initial*/) { var self = toObject(this), length = self.length >>> 0; // If no callback function or if callback i...
#include <stdio.h> #include <stdlib.h> #include <signal.h> #include <sys/time.h> #include <sys/select.h> #include <errno.h> #include <syslog.h> #include <string.h> #include "smbftpd.h" /* * Get value from set by username and transfer the value into * bps (bits per second). */ off_t <API key>(struct opt_set *set, con...
using System; using Moq; using NUnit.Framework; using XenAdmin.Diagnostics.Hotfixing; using XenAPI; namespace XenAdminTests.UnitTests.Diagnostics { [TestFixture, Category(TestCategories.SmokeTest)] public class HotFixFactoryTests : <API key> { private const string id = "test"; public HotFixF...
/** * Members view model */ var app = app || {}; app.on2tClients = (function () { 'use strict' var locals, mapOptions; // map center var center = new google.maps.LatLng(40.589500, -8.683542); // marker position var factory = new google.maps.LatLng(40.589500, -8.683542); var clientViewM...
#ifndef <API key> #define <API key> #include "game/Propeller.h" #include "editorbackend/CSharp/CSharpInstance.h" #include "engine/sys/GameWindow.h" <API key>(editor, <API key>); namespace editor { // separated window to run the game in class GameView : public CSharpInstance { private: PrimaryGam...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; using nScanty.Data; namespace nScanty { // Note: For instructions on enabling IIS6 or IIS7 classic mode, public class MvcApplication : System.Web.HttpA...
#ifndef MUTEX_H #define MUTEX_H #include <string.h> #include <limits.h> #if defined WIN32 || defined _WIN32 || defined WINCE #ifndef _WIN32_WINNT // This is needed for the declaration of <API key> in winbase.h with Visual Studio 2005 (and older?) #define _WIN32_WINNT 0x0500 #endif #include <windows.h> #undef ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('servo', '<API key>'), ] operations = [ migrations.AddField( model_name='orderstatus', name='duration', ...
class Gitup < Formula desc "Update multiple git repositories at once" homepage "https://github.com/earwig/git-repo-updater" url "https://github.com/earwig/git-repo-updater.git", :revision => "<SHA1-like>", :tag => "v0.4.1" bottle do cellar :any_skip_relocation sha256 "<SHA256-like>" => :high_sie...
using System; using System.Collections.Generic; using NUnit.Framework; using LZ4.Tests.Helpers; // ReSharper disable InconsistentNaming namespace LZ4.Tests { [TestFixture] public class ConformanceTests { #region consts private const int MAXIMUM_LENGTH = 1 * 10 * 1024 * 1024; // 10MB ...
function allowDrop(ev) { ev.preventDefault(); } function drag(ev) { if(globals.drawing_line === true){ cancelLines(null); } ev.dataTransfer.setData("Text",ev.target.src); } function drop(ev) { ev.preventDefault(); var data_img=ev.dataTransfer.getData("Text"); var container = docu...
#include "TracepointThreadBar.h" #include <GteVector.h> #include <absl/strings/str_format.h> #include <memory> #include <utility> #include "App.h" #include "Batcher.h" #include "CaptureViewElement.h" #include "ClientData/CaptureData.h" #include "ClientProtos/capture_data.pb.h" #include "ClientServices/<API key>.h" #inc...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>mango.image.median_filter &mdash; mango 0.9.8 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text...
module Autoparts module Packages class MongoDB < Package name 'mongodb' version '2.6.1' description 'MongoDB: A cross-platform document-oriented NoSQL database system' category Category::DATA_STORES source_url 'http://fastdl.mongodb.org/linux/<API key>.6.1.tgz' source_sha1 '<SH...
class Yq < Formula desc "Process YAML documents from the CLI" homepage "https://github.com/mikefarah/yq" url "https://github.com/mikefarah/yq/archive/v4.18.1.tar.gz" sha256 "<SHA256-like>" license "MIT" head "https://github.com/mikefarah/yq.git", branch: "master" livecheck do url :stable regex(/^v...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('simsoexp', '<API key>'), ] operations = [ migrations.RemoveField( model_name='results', name='metrics', ...
<?php namespace Swagger\Client\Model; use \ArrayAccess; use \Swagger\Client\ObjectSerializer; class Service implements ModelInterface, ArrayAccess { const DISCRIMINATOR = null; /** * The original name of the model. * * @var string */ protected static $swaggerModelName = 'Service'; ...