answer stringlengths 15 1.25M |
|---|
# AUTOGENERATED FILE
FROM balenalib/etcher-pro-debian:jessie-run
ENV NODE_VERSION 14.15.4
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
<API key> \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver... |
// Code generated by go-swagger; DO NOT EDIT.
package name_services
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"... |
from parsl.channels import SSHChannel
from parsl.providers import SlurmProvider
from parsl.launchers import SrunLauncher
from parsl.config import Config
from parsl.executors.ipp import IPyParallelExecutor
from parsl.executors.ipp_controller import Controller
# This is an example config, make sure to
# replace th... |
package org.restler.http.security.authentication;
public interface <API key> {
/**
* Returns the last authentication token assigned to the context.
*
* @return a token
*/
Object <API key>();
} |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ILogger.IsEnabledFor Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN... |
export default {
"<API key>": "100:",
// File lock dialog duration
"15_min_duration": "15",
// File lock dialog duration
"1_day_duration": "1",
// File lock dialog duration
"1_hour_duration": "1",
// File lock dialog duration
"1_month_duration": "1"
} |
/**
* <API key>.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201602;
public class <API key> implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap... |
using Assets.Scripts.Utilities.Health;
using Assets.Scripts.Utilities.Mana;
namespace Assets.Scripts
{
class BaseAliveObject : BaseObject
{
protected BaseHealth Health;
public float CurrentHealth { get { return Health.CurrentHealth; } }
public bool IsAlive { get { return Health.CurrentHe... |
package com.<API key>;// TODO change pkg name before uploading
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Toast;
public class Solution extends Activity {
@Override
public void onCreate(Bundle save... |
package com.blankj.utilcode.util;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Application;
import android.os.Bundle;
import android.support.annotation.NonNull;
import java.util.LinkedList;
import java.util.List;
public final class Utils {
@SuppressLint("StaticFieldLeak")
... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
<summary>
<API key> Data Structure.
</summary>
[Serializable]
public class <API key> : AopObject
{
<summary>
</summary>
[XmlElement("begin_date")]
public string BeginDate { get; set; }
... |
/* global define, window, setInterval: false */
define(['../TrackingInfo', '../Stopwatch'], function(TrackingInfo, Stopwatch) {
'use strict';
/**
* Automatically collects and persists resource timing data
* to any registered collectors. This includes anything
* downloaded by the site or by the us... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Sun Mar 17 11:03:40 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildfly.swarm.config.undertow.servlet_container.<API key> (BOM: * : All 2.4.0.Fina... |
# -*- coding: utf-8 -*-
""" Implements a Class for Representing a Simulated Senate Election. """
from collections import Counter
from random import random
from random import seed as set_seed
from time import asctime
from time import localtime
from aus_senate_audit.senate_election.<API key> import BaseSenateElection
cla... |
package com.fruits.jdkapi.nio.reactor;
/**
* @author TomHornson@hotmail.com
*
*/
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import com.fruits.jdkapi.nio.NIOConstants;
import com.fruits.jdkap... |
# AUTOGENERATED FILE
FROM balenalib/generic-debian:jessie-run
ENV NODE_VERSION 15.10.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
<API key> \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pg... |
# Azure Virtual Machine Extension for Docker
This repository contains source code for the Microsoft Azure Docker Virtual
Machine Extension.
The source code is meant to be used by Microsoft Azure employees publishing the
extension and the source code is open sourced under Apache 2.0 License for
reference. You can read t... |
<?php defined('BASEPATH') OR exit('No direct script access allowed');
// sidebar
$lang['widgets:available_title'] = 'Widgets disponibles';
$lang['widgets:widget_area_wrapper'] = 'Zones disponibles';
$lang['widgets:instructions'] = 'Glisser-déposer pour installer le widget';
$lang['widgets:instances'] = 'Instances';
$la... |
import {Observable} from '../Observable';
import {Operator} from '../Operator';
import {Subscriber} from '../Subscriber';
import {Subscription} from '../Subscription';
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items.
* If a comparat... |
from cloudman.cloudman.models import <API key>,TopLevelAllocation,<API key>
from cloudman.cloudman.models import ProjectAllocation,Project,ProjectMetadata,<API key>,GroupAllocation
from cloudman.cloudman.models import <API key>
from cloudman.cloudman.commonFunctions import getKSI2K,getPercent,<API key>
from settings im... |
package com.store.catalog.model;
import com.store.catalog.common.exception.CheckException;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
public final class Customer implements AbstractBean {
pu... |
author: "Y. Yang and M. Maheswaran"
title: "Heuristics for Resource Provisioning in Computing Utilities Using Dedicated and Non-Dedicated Resources"
journal: "1st Workshop on Dynamic Provisioning and Resource Management"
location: "(held in conjunction with International Conference on High Performance Computing) (CD-Ro... |
Test Document Generator/Permutator for Apache OpenOffice
===
OpenOffice contains a word processor (Writer), a spreadsheet (Calc), a presentation application (Impress), a drawing application (Draw), a formula editor (Math), and a database management application (Base).
OpenOffice's default file format is the OpenDocumen... |
<?php
use DTS\eBaySDK\Trading\Types\<API key>;
class <API key> extends \<API key>
{
private $obj;
protected function setUp()
{
$this->obj = new <API key>();
}
public function testCanBeCreated()
{
$this->assertInstanceOf('\DTS\eBaySDK\Trading\Types\<API key>', $this->obj);
}
... |
package com.hwh.dao.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate4.HibernateTemplate;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transact... |
#!/bin/bash
set -e
rm -rf bazel-bin/tools
read -ra BAZEL_BUILD_OPTIONS <<< "${BAZEL_BUILD_OPTIONS:-}"
BAZEL_BUILD_OPTIONS+=("--<API key>=all")
TOOLS="$(dirname "$(dirname "$(realpath "$0")")")"
# to satisfy dependency on run_command
export PYTHONPATH="$TOOLS"
# protoxform fix test cases
PROTO_TARGETS=()
protos=$(bazel ... |
package com.report.web.admin.filter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.apache.shiro.... |
package com.ibm.janusgraph.utils.generator.bean;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class EdgeMapBean {
public Map<String, Object> maps = new HashMap<>();
public EdgeMapBean(String labelName){
this.maps.put("[EdgeLabel]", labelName);... |
import java.util.*;
import java.util.regex.*;
import java.text.*;
import java.math.*;
import java.awt.geom.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;
public class StreetWalking {
public long minTime(int XX, int YY, int walkTime, int sneakTime) {
long X = (long) XX;
long Y =... |
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using startupconnector.Models;
namespace startupconnector.DAL
{
public class StartupConnectorDB : DbContext
{
public StartupConnectorDB() : base("StartupConnectorDB")
{
}
public DbSet<StartupCard> ... |
layout: post
title: SVN in Practice
date: 2018-11-27 09:14:43 +0800
categories: [Devops]
tags: [devops, in-practice, sh]
published: true
excerpt: SVN
# svncommitis scheduled for addition, but is missing
SVN/"add"
SVN "missing"
revert all
$ svn info
* any list
{:toc} |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/>
<link rel="stylesheet" href="../../../../../aui/... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Mon Jun 27 14:13:42 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildfly.swarm.config.jca.<API key> (WildFly Swarm: Public javadocs 1.0.0.Final AP... |
.label-field-pair label {
color:#444444;
display:block;
float:left;
font-size:14px;
font-weight:600;
margin:0 100px 10px;
padding-top:10px;
width:250px;
} |
## Overview
twoscreen is an Android example app that lets you load images on your phone and display them on a second screen (TV) using the Android Presentation API. This is how Chromecast enabled apps work.
The Presentation API lets your app control every aspect of the remote display independently from the Android devi... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Wed Jun 10 23:20:35 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.apache.solr.cloud.Overseer (Solr 5.2.1 API)</title>
<meta name="date" content="... |
package javax.swing.text;
import java.awt.*;
import java.lang.ref.SoftReference;
import javax.swing.event.*;
/**
* View of plain text (text with only one font and color)
* that does line-wrapping. This view expects that its
* associated element has child elements that represent
* the lines it should be wrapping. ... |
using BoletoNet.EDI.Banco;
using BoletoNet.Excecoes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI;
[assembly: WebResource("BoletoNet.Imagens.748.jpg", "image/jpg")]
namespace BoletoNet
{
<Author>
Samuel Schmidt - Sicredi Nordeste RS / Felipe Eduardo - RS
</Author>
... |
#include "unique_store.hpp"
#include "buffer_type.hpp"
namespace vespalib::datastore {
using namespace btree;
<API key>(AtomicEntryRef, NoAggregated, uniquestore::<API key>::INTERNAL_SLOTS);
<API key>(AtomicEntryRef, BTreeNoLeafData, NoAggregated, uniquestore::<API key>::LEAF_SLOTS);
} |
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
# Note that this schema.rb definition is the authoritative sourc... |
package com.mesosphere.sdk.specification.yaml;
import com.github.mustachejava.<API key>;
import com.github.mustachejava.Mustache;
import com.github.mustachejava.MustacheFactory;
import com.mesosphere.sdk.offer.CommonTaskUtils;
import org.apache.commons.collections.map.HashedMap;
import org.apache.commons.io.FileUtils;
... |
{% extends 'core/wide.html' %}
{% load staticfiles %}
{% load compress %}
{% load i18n %}
{% block headextra %}
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static 'tap/css/examples.scss' %}" />
{% endcompress css %}
{% endblock %}
{% block htmlargs %}version="XHTML+RDFa 1.1" xmlns=... |
"""Script to add DNS records to TinyDNS"""
import logging
import os
import subprocess
DEFAULT_NS_TTL = 600
DEFAULT_TTL = 60
DEFAULT_WEIGHT = 10
DEFAULT_PRIORITY = 10
_LOGGER = logging.getLogger(__name__)
class TinyDnsClient(object):
"""Helper class to call tinyDNS"""
def __init__(self, dns_path):
self.d... |
# KubernetesJsClient.<API key>
## Properties
Name | Type | Description | Notes
**group** | **String** | Group to map volume access to Default is no group | [optional]
**readOnly** | **Boolean** | ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. | [optional]
**regi... |
<!DOCTYPE html>
<html>
<head>
<title>Calculation Graph</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.7.0/vis.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.7.0/vis.min.css">
<script src="<API key>.js"></script>
</head>
<body>
<div id="graph"></d... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>WebdavFileSystem.StreamToFileWriter (xenon-2.3.0 2.6.1 API for Xenon developers)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src... |
# Data architecture
Design pattern for a data architecture. To put it simple, this is a standard to build a scalable & universal data architecture.
## Requirements
* work in multiple environments (node and browser)
* scalable and interchangable
## Definitions
* app: an application (node server, or client browser) that ... |
package tweetharvest
import (
"time"
"golang.org/x/net/context"
"google.golang.org/appengine/datastore"
"google.golang.org/appengine/log"
)
const tweetKey string = "Tweets"
const tweetKeyID string = "default_tweetstore"
//GetAllNewTweets queries the datastore and gets all tweets created since the last
/... |
//>>built
define("dojox/editor/plugins/nls/nb/Preview",{preview:"Forh\u00e5ndsvis"});
//# sourceMappingURL=Preview.js.map |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class MovingObject : MonoBehaviour
{
public bool isMoving = false;
public float moveTime = 0.1f;
public LayerMask blockingLayer;
private BoxCollider2D boxCollider;
private Rigidbody2D rigidBody;
privat... |
# standard library modules, , ,
import logging
# version, , represent versions and specifications, internal
from yotta.lib import version
# access_common, , things shared between different component access modules, internal
from yotta.lib import access_common
logger = logging.getLogger('access')
# a GitCloneVersion rep... |
<?php
//000000086400a:1:{i:1;a:2:{s:7:"role_id";s:1:"1";s:9:"role_name";s:15:"";}}
?> |
package org.nightcrawler.infrastructure.crawler.retriever;
import java.net.URL;
import java.util.function.Function;
import org.asynchttpclient.AsyncHandler;
import org.asynchttpclient.AsyncHttpClient;
import org.asynchttpclient.Response;
import org.nightcrawler.domain.crawler.retriever.PageRetriever;
import org.nightcr... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ru">
<head>
<title>Uses of Class org.apache.poi.ss.usermodel.charts.LayoutMode (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (l... |
extern crate llvm_opt;
use llvm_opt::{P};
#[derive(Clone, Copy, Debug)]
pub struct X;
#[inline(never)]
fn calc(v: f32) -> P<X> {
let a = P::<X>::new(v * 1.234_f32);
let b = P::<X>::new(5.0_f32);
a / b
}
fn main() {
let v: f32 = std::env::args().nth(1).unwrap().parse().unwrap();
let c = calc(v);
... |
package au.gov.amsa.geo.adhoc;
import java.io.BufferedWriter;
import java.io.File;
import java.io.<API key>;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atom... |
<br/><hr><br/>
<p>Rumus menghitung b : </p>
<img src ="images/rumusb.jpg" width="600px" height="150px" />
<br><br><br>
<table>
<tr>
<th></th>
<th></th>
<th>(<?php echo $sigman; ?>)</th>
<th>(<?php echo $sigmaxy; ?>)</th>
<th>-</th>
<th>(<?php echo $sigmax; ?>)... |
package org.hibernate.test.util;
import junit.framework.TestCase;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.hibernate.util.StringHelper;
/**
* todo: describe StringHelperTest
*
* @author Steve Ebersole
*/
public class StringHelperTest extends TestCase {
public StringHelperTest(St... |
layout: docs
title: "{{ title|striptags|e }}{{ titlesuffix }}"
{%- macro relbar() %}
<div class="related">
<h3>{{ _('Navigation') }}</h3>
<ul>
{%- for rellink in rellinks %}
<li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
<a href="{{ pathto(rellink[0... |
package com.github.jobson.scripting.functions;
import com.github.jobson.TestHelpers;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public final class <API key> {
@Test(expected = RuntimeException.class)
public void <API key>() throws Exception {
final ToStringFunction ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Wed Jan 04 17:08:06 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Advertise (Public javadocs 2017.1.1 API)</title>
<meta name="date" content="2017-01-04">
<link rel="sty... |
package com.rn_coursera;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import java.util.Arrays;
import java.util.List;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered f... |
<?php
namespace Command\Serve;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class ServeCommand extends Command
{... |
""" urls.py
URL dispatch, route mappings
"""
from flask.ext import restful
from mail_safe_test import app
from mail_safe_test.resources.oauth import login, oauth_callback, logout, verify
from mail_safe_test.resources.user import UserAPI, AdminUserAPI, AdminUserListAPI
from mail_safe_test.resources.contact import Contac... |
"use strict";
/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
/*global window: false, jQuery: false */
// Munge the primitives - Paul Irish tip
var TRUE = true,
FALSE = false,
NULL = null;
(function($, window, undefined) {
/... |
/*Import Global Compulsory CSS Files*/
@import url(app.css);
@import url(ie8.css);
@import url(blocks.css);
@import url(plugins.css);
/*Import CSS Plugins*/
@import url(plugins/animate.css);
@import url(plugins/box-shadows.css);
@import url(plugins/style-switcher.css);
/*Import Headers*/
@import url(headers/header-defa... |
package com.woorea.openstack.nova.model;
import java.io.Serializable;
import java.util.Calendar;
import com.fasterxml.jackson.annotation.JsonRootName;
@JsonRootName("cloudpipe")
public class Cloudpipe implements Serializable {
private String projectId;
private String internalIp;
private String publicIp;
... |
package JKernelMachines.fr.lip6.density;
import java.util.ArrayList;
/**
* Density estimator based on training exemples.
* @author dpicard
*
*/
public interface DensityFunction<T> {
public void train(T e);
public void train(ArrayList<T> e);
public double valueOf(T e);
} |
package org.dynmap.fabric_1_16_4.mixin;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.chunk.WorldChunk;
import org.dynmap.fabric_1_16_4.event.BlockEvents;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm... |
//File: $RCSfile: CoreExportWizard.java,v $
package org.xtuml.bp.io.core;
import java.io.File;
import java.io.<API key>;
import java.lang.reflect.<API key>;
import java.util.List;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.dialogs.IDialogSettings;
import o... |
#ifndef MATCHALLDOCSQUERY_H
#define MATCHALLDOCSQUERY_H
#include "Query.h"
namespace Lucene
{
A query that matches all documents.
class LPPAPI MatchAllDocsQuery : public Query
{
public:
@param normsField Field used for normalization factor (document boost). Null if nothing.
MatchAllDocsQ... |
# -*- coding:utf-8 -*-
from typing import List
import tensorflow as tf
import numpy as np
from hanlp.components.<API key> import RNNLanguageModel
from hanlp_common.constant import PAD
from hanlp.utils.io_util import get_resource
from hanlp.utils.tf_util import copy_mask, hanlp_register, <API key>
from hanlp_common.util... |
package HTTPClient;
public class ModuleException extends Exception
{
/**
* Constructs an ModuleException with no detail message. A detail
* message is a String that describes this particular exception.
*/
public ModuleException()
{
super();
}
/**
* Constructs an ModuleExcepti... |
# -*- encoding: utf-8 -*-
class ContainerManager
CONTAINER_PREFIX = 'cf'.freeze
attr_reader :backend, :credentials, :syslog_drain_port, :<API key>
def initialize(attrs)
validate_attrs(attrs)
@backend = attrs.fetch('backend')
@credentials = Credentials.new(attrs.fetch('credentia... |
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http:
<body>
<wicket:extend>
<wicket:child/>
<span wicket:id="addBranchPanel"></span>
<div wicket:id="branchesTable"></div>
<form wicket:id="findMergesForm">
<button wicket:id="findMerges" type="submit" wicket:message="value:findMerges">Find me... |
package com.antonyjekov.nevix.common;
import android.os.AsyncTask;
import com.antonyjekov.nevix.common.contracts.FailCallback;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
import org.apache.http.util.ByteArrayBuffer;
import... |
#ifndef DATA_SOURCE_H
#define DATA_SOURCE_H
#include <vector>
class ConfigFile;
class Mesh;
class DataSource {
public:
DataSource(const ConfigFile& config_);
~DataSource();
void populate(Mesh * const mesh_);
private:
const ConfigFile& _config;
bool _debug;
int _n_dimensions;
std::vector<double> _subregi... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# function:
import os
import os.path
import sys
import argparse
from PIL import Image
def CutImage(filein, fileout, width, height, type):
'''
# width*height
filein:
fileout:
width:
height:
type:png, gif, jpeg...
'''
img = Image.open(fil... |
package name.marmac.bankanalyzer.importers.statements.ch.bcv.processors;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.<API key>;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import name.marmac.bankanalyzer.model.to.transactions.TransactionTOType;
import name.... |
# AUTOGENERATED FILE
FROM balenalib/odroid-ux3-ubuntu:bionic-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVittie <smcv@pseudorand... |
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.AppConfiguration.Models
{
public partial class <API key>
{
internal static <API key> <API key>(JsonElement element)
{
IReadOnlyList<Opera... |
<!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>continue — CMake 3.3.2 Documentation</title>
<link rel="stylesheet" href="../_static/cmake.css" type="text/css" />
<link re... |
body {
overflow-x: hidden;
font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.text-muted {
color: #1D1E1E;
}
.text-primary {
color: #fed136;
}
p {
font-size: 14px;
line-height: 1.75;
}
p.large {
font-size: 16px;
}
a,
a:hover,
a:focus,
a:active,
a.active {
outline:... |
package com.kris.pojo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TbItemParamExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public TbItemParamExample() {
oredCriteria = new ArrayList<Criteri... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/>
<link rel="stylesheet" href="../../../../../aui/... |
import { Observable } from '../../Observable';
import { exhaust as higherOrder } from '../../operators/exhaust';
import { ObservableInput } from '../../types';
export function exhaust<T>(this: Observable<ObservableInput<T>>): Observable<T>;
export function exhaust<T, R>(this: Observable<T>): Observable<R>;
/**
* Conve... |
#ifndef STM32F10X_CL
#include "usb_lib.h"
void SetCNTR(uint16_t wRegValue)
{
_SetCNTR(wRegValue);
}
uint16_t GetCNTR(void)
{
return(_GetCNTR());
}
void SetISTR(uint16_t wRegValue)
{
_SetISTR(wRegValue);
}
uint16_t GetISTR(void)
{
return(_GetISTR());
}
uint16_t GetFNR(void)
{
return(_GetFNR());
}
void SetDADDR... |
// <API key>.h
// YuWa
#import <Foundation/Foundation.h>
@interface <API key> : NSObject
@property (nonatomic,copy)NSString * fans;
@property (nonatomic,copy)NSString * title;
@property (nonatomic,copy)NSString * info;
@property (nonatomic,copy)NSString * total;
@end |
.ff0{font-family:sans-serif;visibility:hidden;}
@font-face{font-family:ff1;src:url(f1.woff)format("woff");}.ff1{font-family:ff1;line-height:1.589369;font-style:normal;font-weight:normal;visibility:visible;}
@font-face{font-family:ff2;src:url(f2.woff)format("woff");}.ff2{font-family:ff2;line-height:1.695312;font-style:n... |
define([
'flight/lib/component',
'configuration/plugins/registry'
], function(defineComponent, registry) {
'use strict';
return defineComponent(AddItem);
function AddItem() {
this.after('initialize', function() {
this.add();
});
this.add = function() {
... |
package org.asterisque;
import java.nio.charset.Charset;
import java.util.UUID;
import java.util.concurrent.ThreadFactory;
// Asterisque
/**
* @author Takami Torao
*/
public final class Asterisque {
private Asterisque() { }
/**
* URI asterisque
*/
public static final String ID = "asterisque";
... |
package pl.grzegorz2047.survivalcg.mysql;
import pl.grzegorz2047.survivalcg.managers.MysqlManager;
public abstract class Query {
protected final MysqlManager mysql;
public Query(MysqlManager mysql){
this.mysql = mysql;
}
} |
# AUTOGENERATED FILE
FROM balenalib/artik710-fedora:36-build
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast majority o... |
- users
- create (assume flexy htpasswd)
- delete (assume flexy htpasswd)
- login
- logout
- project
- create
- delete
- check
- modify (create secret)
- app
- build
- scale up
- scale down
- create (not used)
- visit
- ds and ss
- create
- delete
- scale ... |
# -*- coding:utf-8 -*-
import os,sys
from unittest import TestCase
from tests.utils.utils import utils
s = sys.path.append(utils().buildPath(os.getcwd())+"/vagrant/optraj.istic.univ-rennes1.fr/src/")
from interfacebdd.ShuttleDAO import ShuttleDAO
from interfacebdd.CarDAO import CarDAO
from system.Car import Car
from in... |
"use strict";
var crx = require('crx');
var path = require('path');
var required_properties = ['manifest_version', 'name', 'version'];
var homeDir = process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE;
var filename_template = "<%= pkg.name %>-<%= manifest.version %>.crx";
/**
* Resolve the home directo... |
<ion-view view-title="About">
<ion-content>
{{version}}
</ion-content>
</ion-view> |
package com.xinqihd.sns.gameserver.admin.action.game;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.SwingUtilities;
import com.xinqihd.sns.gameserver.admin.gui.MainPanel;
import com.xinqihd.sns.gameserver.admin.gui.TaskTipPanel;
import com.xinqihd.sns.gameserver.admin.security... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Fri Jun 16 09:55:14 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.topology.jgroups Class Hierarchy (Public javadocs 2017.6.1 API)</title>
<meta name="dat... |
<?php
class Surveys extends DashboardController{
protected $gender;
function __construct()
{
parent::__construct();
$this->load->model('M_Dashboard');
$this->gender = $this->M_Dashboard->getGender();
}
function index(){
$data = [
'preferred_kit' => ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.