text stringlengths 3 1.05M |
|---|
import logging
import optparse
from zillion.utils import cmdline
logger = logging.getLogger(__name__)
def main():
parser = optparse.OptionParser()
options, args = parser.parse_args()
logger.debug("foo")
logger.debug("foo", 1)
logger.debug("foo: %s", 1)
logger.debug("foo: %s %s", 2, 3, 4)
... |
pyenv for Docker / Run as normal user.
build newest python 2.x version.
# Build
```
docker build -t ziozzang/pyenv .
```
|
package me.mrdaniel.npcs.catalogtypes.npctype;
import org.spongepowered.api.entity.EntityTypes;
public class NPCTypes {
public static final NPCType BAT = new NPCType("Bat", "bat", EntityTypes.BAT);
public static final NPCType BLAZE = new NPCType("Blaze", "blaze", EntityTypes.BLAZE);
public static final NPCType CA... |
package org.mockitousage.bugs.injection;
import static org.junit.Assert.*;
import java.lang.reflect.Field;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
@RunWith(MockitoJUnitRunner.class)
public class In... |
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([HTAppDelegate class]));
}
}
|
<?php
/**#@+ @ignore */
require_once("ID3/Frame/AbstractText.php");
/**#@-*/
/**
* The <i>Internet radio station owner</i> frame contains the name of the owner
* of the internet radio station from which the audio is streamed.
*
* @package php-reader
* @subpackage ID3
* @author Sven Vollbeh... |
package com.streamsets.pipeline.stage.origin.logtail;
import com.google.common.base.Joiner;
import com.streamsets.pipeline.api.Config;
import com.streamsets.pipeline.api.StageException;
import com.streamsets.pipeline.api.StageUpgrader;
import com.streamsets.pipeline.api.impl.Utils;
import com.streamsets.pipeline.conf... |
@interface RadioModel : NSObject
@property (nonatomic, strong) NSString *albumCoverUrl290;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) NSNumber *playsCounts;
@property (nonatomic, strong) NSNumber *tracks;
@property (nonatomic, strong) NSString *intro;
@property (nonatomic, strong) N... |
<?php
namespace Modules\Filemanager;
use \Module as Module;
(defined('BASEPATH')) OR exit('No direct script access allowed');
/**
* Content Module
*
* @link http://pagestudiocms.com
* @author PageStudioCMS Dev Team
* @package Modules
*/
class Details extends Module
{
public static function... |
function trans = rotationOz(varargin)
%ROTATIONOZ return 4x4 matrix of a rotation around z-axis
%
% TRANS = rotationOz(THETA);
% Returns the transform matrix corresponding to a rotation by the angle
% THETA (in radians) around the Oz axis. A rotation by an angle of PI/2
% would transform the vector [1 0 0] into... |
<?php
/**
* UploadBin - Site for sending files.
*
* @package uploadbin
* @author Olle@Johansson.com and Mattias Johansson
* @uses HTTP/Upload.php
* @uses HTTP/Download.php
* @uses Zend/Filter/Input.php
* @uses Zend/Db.php
* @uses Zend/Config/Xml.php
* @uses Zend/Service/Akismet.php
* @uses Zend/Auth.php
* @... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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... |
RailsWithCrystal::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for th... |
package org.apache.ode.utils;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.AddressingConstants;
import org.apache.axis2.util.JavaUtils;
import org.apache.axis2.client.Options;
import org.apache.axis2.transport.http.HTTPConstants;
import org.apache.axis2.transport.http.HttpTransportProperties... |
<?php
namespace Bazinga\Bundle\HateoasBundle\Tests\DependencyInjection;
use Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle;
use Bazinga\Bundle\HateoasBundle\DependencyInjection\Compiler\UrlGeneratorPass;
use Bazinga\Bundle\HateoasBundle\Tests\TestCase;
use Bazinga\Bundle\HateoasBundle\Tests\Fixtures\SimpleObject;
... |
<?php
namespace Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\Config\Resource\FileResource;
use Symfony\Component\Config\Util\XmlUtils;
use Symfony\Component\DependencyInjection\DefinitionDecorator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyI... |
import unittest
from unittest import mock
from airflow import DAG, configuration
from airflow.contrib.operators.dingding_operator import DingdingOperator
from airflow.utils import timezone
DEFAULT_DATE = timezone.datetime(2017, 1, 1)
class TestDingdingOperator(unittest.TestCase):
_config = {
'dingding_... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/BeautifulEasySummer.iml" filepath="$PROJECT_DIR$/BeautifulEasySummer.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/a... |
require 'yaml'
require 'drubelt/utils/common_utils'
module Drubelt
module Sites
class Config
def self.load(file, placeholders)
@config ||= YAML::load_file(File.join(Utils::CommonUtils.sites_dir, file))
default_placeholders = {SITES_DIR: Utils::CommonUtils.sites_dir}
Utils::CommonU... |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0
Version: 3.3.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://them... |
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Image Cache Server</display... |
<?php
/**
* @author Richard.Gooding
*/
use Packaged\Mappers\DoctrineMapper;
/**
* @Entity
*/
class PartAnnotatedMapper extends DoctrineMapper
{
public $id;
public $username;
/**
* @Column(type="string")
*/
public $displayName;
public $createdOn;
/**
* @Column(type="datetime")
*/
public $... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/license... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".radioprogram.android.ui.ProgramListScreen">
<ListV... |
<?php
namespace NF\PlatformBundle\Entity;
/**
* MontantCategorieRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class MontantCategorieRepository extends \Doctrine\ORM\EntityRepository
{
}
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was not generated by a tool. but for stylecop suppression.
// </auto-generated>
//------------------------------------------------------------------------------
using Moq;
using System;
using System.Co... |
package mil.nga.giat.mage.sdk.login;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import mil.nga.giat.mage.sdk.connectivity.ConnectivityUtility;
import mil.nga.giat.mage.sdk.datastore.user.Event;
import mil.nga.giat.mage.sdk.datastore.user.EventHelper;
import mil.nga.giat.mage... |
<?php
use yii\db\Schema;
use yii\db\Migration;
class m151108_193400_extend_status_table_for_slugs extends Migration
{
public function up()
{
$tableOptions = null;
if ($this->db->driverName === 'mysql') {
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB';
}
... |
<?xml version="1.0" encoding="UTF-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="hello" msgid="1740533743008967039">"Hola, món; ActivitatDeProva"</string>
<string name="app_name" msgid="1203877025577761792">"Ús co... |
'use strict';
module.exports = {
app: {
title: 'Cashew Forum',
description: 'Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js',
keywords: 'MongoDB, Express, AngularJS, Node.js'
},
port: process.env.PORT || 3000,
templateEngine: 'swig',
sessionSecret: 'MEAN',
sessionCollection: 'sessions'... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
/* @WebProfiler/Collector/memory.html.twig */
class __TwigTemplate_1b6dd5a71125c85565641b66ad7181d5071790496e1d5a5467e28c0ca051c535 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->parent = ... |
package metrics
import (
"regexp"
"strings"
"github.com/mackerelio/mackerel-agent/util"
)
// FilesystemGenerator is common filesystem metrics generator on unix os.
type FilesystemGenerator struct {
IgnoreRegexp *regexp.Regexp
UseMountpoint bool
}
// Generate the metrics of filesystems
func (g *FilesystemGener... |
package tetra.logic;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class MatrixGetSetBlocksTest {
Matrix matrix;
Block block;
@Before
public void setUp() {
matrix = new Matrix(20, 10);
block = new Block(1010);
}
@Test
public voi... |
import {Observer, Subscriber, Cleanup} from './Observer';
export class Subscription<T> {
public isUnsubscribed: boolean;
public isStopped: boolean;
public cleanup: Cleanup;
constructor(private subscriber: Subscriber<T>, destination: Observer<T>) {
this.isUnsubscribed = false;
this.isStopped = false;
... |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Label.<init> - nlpengine</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">nlpengine</a> / <a href="../index.html">edu.umn.nlpengine</a> / <a href="index.html">Label</a> / <a href="./-init-.html">... |
select 1; |
#ifndef IVW_EXAMPLEPROGRESSBAR_H
#define IVW_EXAMPLEPROGRESSBAR_H
#include <modules/example/examplemoduledefine.h>
#include <inviwo/core/common/inviwo.h>
#include <inviwo/core/ports/imageport.h>
#include <inviwo/core/processors/processor.h>
#include <inviwo/core/processors/progressbarowner.h>
namespace inviwo {
/... |
<script type="text/javascript" src="<?php echo plugins_url(); ?>/wp-tabular/js/admin/jquery.tablednd_0_5.js"></script>
<script>
jQuery(document).ready(function() {
// Initialise the table
jQuery("#pricetable").tableDnD();
});
$("#pricetable tr").hover(function() {
$(this.cel... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Tue Jun 01 14:31:51 BST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ExtendedHandler (Jena Fram... |
<?php
/* WebProfilerBundle:Profiler:toolbar_js.html.twig */
class __TwigTemplate_2cda9ec97e7eac2a178dca404cf02732 extends Twig_Template
{
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div id=\"sfwdt";
echo twig_escape_filter($this->env, $this->... |
create table MT_T_CERTIFICATE (
constraint PK_CERTIFICATE primary key ( id )
);
CREATE SEQUENCE MT_SEQ_CERTIFICATE
INCREMENT 1 MINVALUE 1
MAXVALUE 9223372036854775807 START 1000000
CACHE 1;
-------MT_INS_CERTIFICATE--------------------
CREATE OR REPLACE FUNCTION MT_INS_CERTIFICATE() RETURNS TRIGGER... |
sudo yum update -y
sudo yum install -y make wget gcc make g++ kernel-devel file tar \
which systemd kmod
rm -rf dkms-2.*.noarch.rpm
wget http://rpmfind.net/linux/epel/7/ppc64le/d/dkms-2.3-4.20170313git974d838.el7.noarch.rpm
sudo rpm -ivh `ls -1 dkms-2.*.noarch.rpm`
# Download the source repository
rm -rf cuda-rep... |
Client library for FabricAdminClient
## Installation and Usage
```bash
npm install --save @datafire/azure_azsadmin_macaddresspool
```
```js
let azure_azsadmin_macaddresspool = require('@datafire/azure_azsadmin_macaddresspool').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
re... |
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="p5.js a JS client-side library for creating graphic and interactive ... |
<!DOCTYPE html>
<html>
<head>
<title>Leaflet debug page</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="../../dist/leaflet.css" />
<link rel="stylesheet" href="../css/mobile.css" />
<script src="../leaflet-include.js"></script>
</head>
<b... |
package ua.com.fielden.platform.web.centre;
import static java.lang.String.format;
import static ua.com.fielden.platform.error.Result.successful;
import com.google.inject.Singleton;
import ua.com.fielden.platform.error.Result;
import ua.com.fielden.platform.security.user.User;
/**
* Default implementation for {@li... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mem. Amer. Acad. Arts, ser. 2 16(1): 178 (1931)
#### Original name
Cucujomyces reynoldsii Thaxt., 1931
### Remarks
null |
Start a reactor that serves your files, and a process that compiles the code when the sources change:
elm reactor && find src | entr -r elm make src/main.elm --output public/elixoids.dev.js
Open the browser:
http://localhost:8000/public/dev.html
## Production build
```bash
elm make src/Main.elm --optimize ... |
.class final Landroid/support/v4/content/AsyncTaskLoader$LoadTask;
.super Landroid/support/v4/content/ModernAsyncTask;
.source "AsyncTaskLoader.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/content/AsyncTaskLoad... |
mkdir -p "${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}"
mkdir -p "${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}"
mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources/WebKitLegacy"
# If we didn't build WebCore, use the production copy of the headers
if [ ! -d "${WEBCORE_PRIVATE_HEADERS_DIR}" ]; then
export WEBC... |
for i in eng userdebug user; do
add_lunch_combo cm_armemu-${i}
done
|
package org.nd4j.linalg.api.ops.random.impl;
import lombok.NonNull;
import org.nd4j.autodiff.samediff.SDVariable;
import org.nd4j.autodiff.samediff.SameDiff;
import org.nd4j.common.base.Preconditions;
import org.nd4j.imports.NoOpNameFoundException;
import org.nd4j.linalg.api.buffer.DataType;
import org.nd4j.linalg.a... |
"""
proxy of zerotest proxy server
"""
import signal
import tempfile
import time
from subprocess import Popen
import requests
from tests.mock import pickup_port
from zerotest.utils.url_helper import urljoin
class Proxy(object):
def __init__(self):
self.port = None
self._process = None
_... |
package org.apache.causeway.viewer.restfulobjects.client;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Optional;
import javax.ws.rs.core.GenericType;
impor... |
{% extends "layout.html" %}
{% block body %}
<form method="post">
{% include 'group_fields.html' %}
<p><label>UUID:<br><input id="uuid" name="uuid" type="text"></label></p>
<p><label>Meta.attributes:<input id="meta" name="meta" type="text"></label></p>
<input type="submit" formaction="/update/group" val... |
from vantage import utils
from vantage.task import load_meta
def list_tasks_cmd(env, *args):
utils.loquacious("Running __tasks command", env)
print_names(env, utils.get_plugins_dir(env), "plugins")
print_names(env, utils.get_task_dir(env), "project")
def print_names(env, dir_, name):
if dir_.is_dir... |
package com.microsoft.azure.management.resources.v2019_07_01.implementation;
import com.microsoft.azure.management.resources.v2019_07_01.Provider;
import com.microsoft.azure.arm.model.implementation.IndexableRefreshableWrapperImpl;
import rx.Observable;
import java.util.List;
import com.microsoft.azure.management.re... |
package demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.hateoas.config.EnableHypermediaSupport;
import org.springframework.hateoas.config.Ena... |
package com.oshi.genericsettings.java.seekbar;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.view.View;
import com.oshi.genericsettings.R;
import com.oshi.libgenericsettings.data.BaseViewTypeData;
import com.oshi.l... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>php-webdriver form test page</title>
</head>
<body>
<form method="post" action="submit.php">
<label>
Text:
<input type="text" name="text" id="input-text" value="Default input text"/>
</label>
... |
import sys
import os
from stat import *
join = os.path.join
error = 'mkreal error'
BUFSIZE = 32*1024
def mkrealfile(name):
st = os.stat(name) # Get the mode
mode = S_IMODE(st[ST_MODE])
linkto = os.readlink(name) # Make sure again it's a symlink
with open(name, 'rb') as f_in: # This ensures it's a fi... |
package org.apache.hadoop.hbase.client;
import org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos;
/**
* A KeepAlive connection is not physically closed immediately after the close,
* but rather kept alive for a few minutes. It makes sense only if it is shared.
*
* <p>This interface is implemented on... |
package com.google.android.odml.image;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.net.Uri;
import android.provider.MediaStore;
import java.io.IOException;
/**
* Builds {@link MlImage} from {@link android.graphics.Bitmap}.
*
* <p>You can pass in e... |
using System;
using System.Collections.Generic;
using Finan.Domain.Contracts.Business;
using Finan.Domain.Contracts.Repositories;
using Finan.Domain.Entities;
namespace Finan.Services.Services
{
public class UserService : IUserService
{
private readonly IUserRepository _userRepository;
public... |
package org.apache.ambari.server.controller.internal;
import static org.easymock.EasyMock.createNiceMock;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.replay;
import java.util.HashMap;
import java.util.Map;
import org.apache.ambari.server.state.Cluster;
import org.apache.ambari.s... |
package algs.model.tests.tictactoe;
import org.junit.Test;
import algs.model.gametree.MoveEvaluation;
import algs.model.problems.tictactoe.model.BoardEvaluation;
import algs.model.problems.tictactoe.model.DefaultEvaluation;
import algs.model.problems.tictactoe.model.PlaceMark;
import algs.model.problems.ticta... |
<transitionSet xmlns:android="http://schemas.android.com/apk/res/android">
<changeBounds />
<changeImageTransform />
</transitionSet>
|
// Provides control sap.ui.suite.TaskCircle.
sap.ui.define(['jquery.sap.global', 'sap/ui/core/Control', 'sap/ui/core/EnabledPropagator', './library'],
function(jQuery, Control, EnabledPropagator, library) {
"use strict";
/**
* Constructor for a new TaskCircle.
*
* @param {string} [sId] id for the new con... |
namespace Urho3D
{
static ResourceRef defaultRenderPath{XMLFile::GetTypeStatic(), "RenderPaths/Forward.xml"};
EditorSceneSettings::EditorSceneSettings(Context* context)
: Component(context)
, editorViewportRenderPath_(defaultRenderPath)
{
}
void EditorSceneSettings::RegisterObject(Context* context)
{
con... |
package com.example.me.jsonparsesample;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by Administrator on 2016/1/10.
*/
public class JsonParser {
/**
* 得到一个json类型的字符串对象
* @param key
* @param value
* @return */
public static String getJsonString(String key, Obje... |
package app.testapplication.gihan.com.weatherapp;
import android.app.AlertDialog;
import android.app.Application;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.LocationListener;
import android.location.LocationManager;
import android.pro... |
using CodeTiger.CodeAnalysis.Analyzers.Naming;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace UnitTests.CodeTiger.CodeAnalysis.Analyzers.Naming
{
public class SymbolNamingAnalyzerTests : DiagnosticVerifier
{
[Fact]
public void TypesWithPascalCase... |
<?php
function list_display_query($query, $onChangeFunction){
$userId = 1;
if($query_run = mysql_query($query)){
if(mysql_num_rows($query_run)==0){
echo "<li style='align:center;'><a>No applications found</a></li>";
}
while($query_row = mysql_fetch_assoc($query_run)){
$applicantId = $query... |
phonegap app with source on server
|
require 'html/pipeline'
require 'open-uri'
module HTML
class Pipeline
# An `HTML::Pipeline` filter class that detects wiki-style links and converts them to HTML links.
class WikiLinkFilter < Filter
# Initializes a new instance of the `WikiLinkFilter` class.
#
# @param doc Document to fi... |
package com.infinities.nova.snapshots.model;
import java.io.Serializable;
import java.util.Calendar;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "snapshot")
public class Snapshot implements Serializable {
/**
*
*/
private static final ... |
package models.database
import play.api.Play.current
import play.api.db.slick.Config.driver.simple._
import scala.slick.lifted.Tag
import models.UserOpinion
/**
* Created by gbougeard on 12/9/13.
*/
// define tables
class UserOpinions(tag: Tag) extends Table[UserOpinion](tag, "useropinion") {
def id = column[Str... |
function out = iszero(f)
%ISZERO True for zero DELTAFUN objects.
% ISZERO(F) returns logical TRUE if F has a non-zero smooth part of some
% non trivial delta functions
% Copyright 2016 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.
% Empty DELTAFU... |
require 'ostruct'
require 'spec_helper'
describe UltraMarathon::Instrumentation::Store do
let(:profiles) { [] }
let(:test_instance) { described_class.new(profiles) }
let(:profile_double_class) do
anonymous_test_class(OpenStruct) do
def initialize(name, attributes={})
@name = name
super... |
<?php
/**
* This is the model class for table "properties".
*
* The followings are the available columns in table 'properties':
* @property string $id
* @property integer $id_profile
* @property string $catastral
* @property integer $is_building
* @property string $street
* @property string $number_ext
* @pr... |
/* @flow */
import DemoForm from '../../../common/DemoForm';
import Radio from '../../../../../../library/Radio';
export default {
id: 'hide-label',
title: 'Visually Hidden Label',
description: `If the purpose of a Radio is obvious from context and adding
a label would negatively affect the design, you can use \... |
""" QiBuild """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function
import os
import platform
import qisys.command
import qipkg.metabuilder
TARGET = "{}-{}".format(platform.system().lower(),
platform.processor().lower())
def t... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applicat... |
package org.jasig.cas.util;
import com.unboundid.ldap.sdk.AddRequest;
import com.unboundid.ldap.sdk.Attribute;
import com.unboundid.ldap.sdk.LDAPConnection;
import org.ldaptive.LdapAttribute;
import org.ldaptive.LdapEntry;
import org.ldaptive.io.LdifReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
imp... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Impulse: Class Members</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gener... |
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>UserAccounts styled for Twitter Bootstrap</title>
</head>
<body>
</body>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `atomic_and_rel` fn in crate `std`.">
<meta name="keywords"... |
@interface CMSceneKitView : SCNView
@end
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/djstat`. To experiment with that code, run `bin/console` for an interactive prompt.
TODO: Delete this and the text above, and describe your gem
## Insta... |
pid=$$
monitor_background ()
{
interface=org.nemomobile.compositor
member=privateTopmostWindowProcessIdChanged
dbus-monitor --system "interface='${interface}',member='${member}'" 2>/dev/null | \
sed -n -u 's/ *int32 //p' | \
while read -r active; do
if [ "$active" -eq "$PPID" ]; then
pkill -sigcont... |
#include "vmapiSystem.h"
#include "smSocket.h"
#include "smapiTableParser.h"
#include <stdlib.h>
#include <string.h>
#define PARSER_TABLE_NAME System_Performance_Threshold_Enable_Layout
#define OUTPUT_STRUCTURE_NAME vmApiSystemPerformanceThresholdEnableOutput
int smSystem_Performance_Threshold_Enable(struct _... |
namespace crashpad {
ProcessSnapshotMac::ProcessSnapshotMac()
: ProcessSnapshot(),
system_(),
threads_(),
modules_(),
exception_(),
process_reader_(),
report_id_(),
client_id_(),
annotations_simple_map_(),
snapshot_time_(),
initialized_() {
}
ProcessSnap... |
import json
import re
from copy import deepcopy
from ansible.module_utils._text import to_text
from ansible.module_utils.network.common.utils import to_list, ComplexList
from ansible.module_utils.connection import Connection, ConnectionError
from ansible.module_utils.network.common.utils import remove_default_spec
_... |
<!DOCTYPE html>
<html>
<head>
<?php require_once ('css.php'); ?>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span c... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Nova Acta R. Soc. Scient. upsal. , Ser. 3 3: 285 (1860)
#### Original name
Pyrenopsidaceae Th. Fr.
### Remarks
null |
package cmd
import (
"fmt"
"time"
"github.com/spf13/cobra"
"github.com/vespa-engine/vespa/client/go/vespa"
)
func newLogCmd(cli *CLI) *cobra.Command {
var (
fromArg string
toArg string
levelArg string
followArg bool
dequoteArg bool
)
cmd := &cobra.Command{
Use: "log [relative-period]"... |
<?php
namespace RKuzovlev\GoogleAPI\Service;
use RKuzovlev\GoogleAPI\Service as Google_Service;
use RKuzovlev\GoogleAPI\Service\Resource as Google_Service_Resource;
use RKuzovlev\GoogleAPI\Collection as Google_Collection;
use RKuzovlev\GoogleAPI\Model as Google_Model;
use RKuzovlev\GoogleAPI\Client as Google_Client;... |
<?xml version="1.0"?>
<iati-activities version="xx">
<iati-activity> <!-- at least 1 -->
<iati-identifier></iati-identifier> <!-- 1 and only 1-->
<reporting-org type="xx" ref="xx"><narrative>Organisation name</narrative></reporting-org> <!-- 1 and only 1-->
<title> <!-- 1 and only 1-->
<narrative>... |
package org.kisoonlineapp.uc.admin.keyvalue.kiso;
import java.security.Principal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.Resource;
import javax.ejb.Local;
import javax... |