text stringlengths 3 1.05M |
|---|
package org.elasticsearch;
import org.elasticsearch.common.lucene.Lucene;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.VersionUtils;
import org.hamcrest.Matchers;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import j... |
<?xml version="1.0" encoding="UTF-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white"/>
<corners
android:radius="@dimen/radius"/>
<padding
android:bottom="0dp"
android:left="0dp"
android:right="0dp"
android:t... |
using System;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
using System.Web.Mvc;
using Onychophora.Infra.Crosscutting.Identity.Configuration;
using Onychophora.Infra.Crosscutting.Identity.Model;
using IdentitySample.Iden... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace UtilityDelta.Backend.Identity
{
public class CorporateRoleStore : IRoleStore<Role>
{
public Task<IdentityResult> CreateAsync(Role role, CancellationToken cancellationToken)
{
... |
// [START earthengine__apidocs__ee_geometry_point_serialize]
// Define a Point object.
var point = ee.Geometry.Point(-122.082, 37.42);
// Apply the serialize method to the Point object.
var pointSerialize = point.serialize();
// Print the result to the console.
print('point.serialize(...) =', pointSerialize);
// D... |
<script src="/js/lib/jquery/jquery-1.10.1.min.js"></script>
<script src="/js/lib/bootstrap.min.js"></script>
<script src="/js/lib/bootstrap-maxlength.js"></script>
<script src="/js/lib/parsley.min.js"></script>
<script src="/js/lib/bootbox.min.js"></script>
<script src="/js/lib/spin.min.js"></script>
<script src="/js... |
import kivy
kivy.require('1.8.0')
from calendarapp import CalendarApp
if __name__ == "__main__":
CalendarApp().run()
|
from google.cloud import gaming_v1beta
async def sample_preview_realm_update():
# Create a client
client = gaming_v1beta.RealmsServiceAsyncClient()
# Initialize request argument(s)
realm = gaming_v1beta.Realm()
realm.time_zone = "time_zone_value"
request = gaming_v1beta.PreviewRealmUpdateReq... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__short_max_square_12.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-12.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: max Set data to the max value for short
* GoodSource: Se... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/core/type.Matrix2x1.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/core/type.Matrix2x1.html">../../../nalgebra/core/type.Matrix2x1.html</a>...</p>
<script>location.replace("../../../nalgeb... |
set( REXOURCE_FOUND false)
find_path(
REXOURCE_INCLUDE_DIR
rex/assert.hpp
PATH_SUFFIXES
include
PATHS
${REXOURCE_ROOT}
${REXOURCEDIR}
$ENV{REXOURCEDIR}
$ENV{REXOURCE_ROOT}
/usr
/usr/local
~/Library/Frameworks
/Library/Frameworks
/sw
/opt/local
/opt/csw
... |
#import "NSObject.h"
@class NSMenu, NSTableView;
@interface PBXTableColumnManager : NSObject
{
NSTableView *_tableView;
id <PBXTableColumnProvider> _provider;
NSMenu *_headerMenu;
}
- (BOOL)validateMenuItem:(id)arg1;
- (void)menuSelected:(id)arg1;
- (id)createColumnChoiceMenu;
- (void)syncMenu;
- (id)h... |
resources :private_messages |
var strings = require('./strings.js');
var assert = function (data, exceptionstring) {
if (data === undefined || data === null || data === false) {
throw exceptionstring;
}
}
var genders = {
male: 0,
female: 40
};
var checkGender = function(gender) {
var exists = false;
for (var key ... |
/*
* This file was automatically generated by sel-utils and
* released under the MIT License.
*
* License: https://github.com/sel-project/sel-utils/blob/master/LICENSE
* Repository: https://github.com/sel-project/sel-utils
* Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/bedrock... |
/*******************************************************************************
* Copyright (c) 2014,2020 IBM Corp.
*
* 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.... |
package com.liuhao.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping(value = "page")
public class PageController {
@RequestMapping(value = "/main")
public String toMain() {
return "main";
}
@RequestMapping(... |
"""Test script for ftplib module."""
# Modified by Giampaolo Rodola' to test FTP class, IPv6 and TLS
# environment
import ftplib
import asyncore
import asynchat
import socket
import StringIO
import errno
import os
try:
import ssl
except ImportError:
ssl = None
from unittest import TestCase, ... |
Opentrak::Application.config.session_store :cookie_store, :key => '_opentrak_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# Opentrak::Application.conf... |
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa" xmlns:vellum="http://commcarehq.org/xforms/vellum">
<h:head>
<h:title>Placeholder Form</h:title>
<model... |
package org.apache.flink.test.io;
import org.apache.flink.api.java.DataSet;
import org.apache.flink.api.java.ExecutionEnvironment;
import org.apache.flink.api.java.tuple.Tuple8;
import org.apache.flink.test.util.MultipleProgramsTestBase;
import org.apache.flink.types.BooleanValue;
import org.apache.flink.types.ByteV... |
<?php
/**
* @project: trunk
* @file: MessageController.php
* @author: Suley Lu<dearsuley@gmail.com>
* @date: 14-4-9
* @time: 下午1:44
* @version: 1.0
*/
class MessageController extends Controller{
public function actionInbox(){
}
public function actionAjax(){
$replyJSON = arr... |
static unsigned char base64EncodeLookup[65] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
//
// Definition for "masked-out" areas of the base64DecodeLookup mapping
//
#define xx 65
//
// Mapping from ASCII character to 6 bit pattern.
//
static unsigned char base64DecodeLookup[256] =
{
xx,... |
<ul class="ui-select-choices ui-select-choices-bootstrap ui-select-choices-content ui-select-dropdown dropdown-menu"
ng-show="$select.open && $select.items.length > 0">
<li class="ui-select-choices-group" id="ui-select-choices-{{ $select.generatedId }}" >
<div class="divider" ng-show="$select.isGrouped && $in... |
import * as angular from 'angular';
import 'angular-mocks';
import moduleName from './common.module';
import AuthorsService from './authors.service';
import FilterService from './filter.service';
import {Author, AuthorWithID} from './interfaces/author';
describe('authors service', () => {
let authorsService: Autho... |
<!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_24) on Sun Apr 08 20:51:58 UTC 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.encog.neural.networks.trainin... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Derby.Models
{
public class Pack
{
public int Id { get; set; }
public string Name { get; set; }
public string Region { get; set; }
public string CreatedById { get; set; }
[Display(Name = "Cre... |
#include "cs.h"
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_real.hpp>
namespace pagmo { namespace algorithm {
/// Constructor.
/**
* Allows to specify in detail all the parameters of the algorithm.
*
* @param[in] max_eval Maximum number of function evaluations. The actual number might... |
{% extends 'base.html' %}
{% block content %}
<div class="jumbotron">
<div class="container">
<h1>Institutional</h1>
<p>Welcome to Institutional, a restfull interface for
<a href="http://www.ratemyprofessors.com/">RateMyProfessors.com</a>.
This is the main page. It's bassically a liveblog of the site... |
package helpers
import (
"context"
"fmt"
"strings"
)
const (
// older versions of the Hubble CLI use a different default path
hubbleSock = "unix:///var/run/cilium/hubble.sock"
)
// HubbleObserve runs `hubble observe --output=json <args>`. JSON output is
// enabled such that CmdRes.FilterLines may be used to gre... |
% [rawresp, resp] = nASRApi(id, key, data)
% Wrapper for nuance automatic speech recognition (ASR) API
%
% id is appId
% key is appKey
% data is raw/char matrix of data
%
% rawresp is the raw string response
% resp is the response in cell
%
% Long Le
% University of Illinois
% longle1@illinois.edu
%
funct... |
/**
* Action of setGameProcess
*/
import assert from 'assert'
const gameStart = ({ keyArray }) => {
assert.ok(keyArray)
return {
type: 'GAME_START',
keyArray
}
}
const nextGameProcess = ({ keyArray }) => {
assert.ok(keyArray)
return {
type: 'NEXT_KEY',
keyArray
}
}
const gameFinish = ()... |
#ifndef TENSORFLOW_COMPILER_MLIR_MLIR_GRAPH_OPTIMIZATION_PASS_H_
#define TENSORFLOW_COMPILER_MLIR_MLIR_GRAPH_OPTIMIZATION_PASS_H_
#include <functional>
#include "tensorflow/compiler/mlir/mlir_bridge_rollout_policy.h"
#include "mlir/IR/BuiltinOps.h" // from @llvm-project
#include "tensorflow/core/common_runtime/fun... |
import {Command} from 'alpha-command-bus-core';
export function create<T extends object = object>(name: string, extraProperties?: T): Readonly<Command & T> {
// tslint:disable-next-line:no-object-literal-type-assertion
return Object.freeze({
command: name,
...(extraProperties || {}),
} as C... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for bespoke-server/lib/core/string-util.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" content="width=device-width,... |
package com.blue.sky.tab.navigation.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.blue.sky.component.R;
public class FindPeopleFragment extends Fragment {
public FindPeopleFragmen... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Hedwigia 39(4): 210 (1900)
#### Original name
Lembosia bromeliacearum Rehm
### Remarks
null |
Projections translate 3-dimensional data onto a 2-d surface
|
<?php
class Sabre_DAV_Locks_Plugin extends Sabre_DAV_ServerPlugin {
/**
* locksBackend
*
* @var Sabre_DAV_Locks_Backend_Abstract
*/
private $locksBackend;
/**
* server
*
* @var Sabre_DAV_Server
*/
private $server;
/**
* __construct
*
* @par... |
<Testcase>
<Details>
<Name></Name>
<Title></Title>
<Engineer></Engineer>
<Date></Date>
<Time></Time>
<State></State>
<InputDataFile></InputDataFile>
<Datatype></Datatype>
<default_onError action="next"/>
<Logsdir></Logsdir>
<Resultsdir></Resultsdir>
<ExpectedResults></ExpectedResul... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
namespace GBD
{
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public class IdahoIdRepo
{
private static IdahoIdRepo localInstance = new IdahoIdRepo();
private static Dictionary<string, HashSet<string>> msIds = new Dictionary<string, HashSet<string>>();
... |
FROM tushars/ubuntu-precise-32bit:latest
# File Author / Maintainer
MAINTAINER Tushar Sakhadeo
# delete all the apt list files since they're big and get stale quickly
RUN rm -rf /var/lib/apt/lists/*
# this forces "apt-get update" in dependent images, which is also good
# enable the universe
RUN sed -i 's/^#\s*\(deb.... |
@interface JKImageObjectModel () {
}
@end
@implementation JKImageObjectModel
+ (NSArray *)getObjectModelsFromImageInfoDictionary:
(NSArray *)originalImageInfo {
NSMutableArray *fullImageModelCollection = [NSMutableArray new];
for (NSDictionary *individualImageInfoDictionary in originalImag... |
{% load i18n %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<title>{% trans 'Page not found' %}</title>
{{ LOCAL_JAVASCIPT|safe }}
<script src="{% static 'main/scripts/main.js' %}"></script>
<link rel="stylesheet" type="text/css" href="{% static 'main/css/style.css' %}" />
<style>... |
class PointLight : public Light
{
public:
PointLight(const std::string& name, const glm::vec3& position, const glm::vec4& diffuseColor, const glm::vec4& specularColor, const GLfloat& diffuseIntensity, const GLfloat& specularIntensity, const GLfloat& attenuationFactor, const GLboolean& shadow) : Light(name, position, a... |
"""
A subclass of CellularAutomata which implements the cancer-growth model described by Qi et al. (1993)
"""
__author__ = 'Daniel Rodgers-Pryor'
__copyright__ = "Copyright (c) 2014, Daniel Rodgers-Pryor\nAll rights reserved."
__license__ = "MIT"
__version__ = "1.0"
__maintainer__ = __author__
__email__ = "djrodger... |
layout: page
title: Falls Sigil Music Executive Retreat
date: 2016-05-24
author: Austin Williamson
tags: weekly links, java
status: published
summary: Morbi id quam fringilla libero rhoncus.
banner: images/banner/meeting-01.jpg
booking:
startDate: 09/07/2019
endDate: 09/08/2019
ctyhocn: DEBFLHX
groupCode: FSMER... |
package org.apache.camel.builder.endpoint.dsl;
import javax.annotation.Generated;
import org.apache.camel.ExchangePattern;
import org.apache.camel.builder.EndpointConsumerBuilder;
import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
import org.apac... |
package aliyun
import (
"fmt"
"strings"
"time"
"github.com/denverdino/aliyungo/common"
"github.com/denverdino/aliyungo/ecs"
"github.com/denverdino/aliyungo/slb"
"github.com/denverdino/aliyungo/util"
log "github.com/golang/glog"
api "k8s.io/kubernetes/pkg/api/v1"
autil "kubeup.com/kube-aliyun/pkg/util"
)
... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@anim/transition_anim" >
<translate
android:duration="@integer/transition_anim_duration"
android:fromXDelta="0"
android:fromYDelta="0"
android:toXDelta="5... |
package com.alibaba.nacos.api.config.filter;
import com.alibaba.nacos.api.exception.NacosException;
import java.util.Properties;
/**
* Config Filter Interface.
*
* <p>DO NOT implement this interface directly, you should extend <code>AbstractConfigFilter</code>.
*
* @author Nacos
* @see AbstractConfigFilter
... |
Debug = debug.Debug
listenerComplete = false;
breakPointCount = 0;
function listener(event, exec_state, event_data, data) {
if (event == Debug.DebugEvent.Break) {
breakPointCount++;
if (breakPointCount == 1) {
// Break point in initializer for parameter `a`, invoked by
// initializer for paramet... |
<!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_21) on Fri Sep 10 15:53:11 PDT 2010 -->
<TITLE>
JdbcWritableBridge (Sqoop 1.1.0 API)
</TITLE>
<META NAME="date" CONTENT="2010-09-10">
<LINK REL ="s... |
<?php
namespace Magento\Customer\Controller;
use Magento\Customer\Api\AccountManagementInterface;
use Magento\Framework\Data\Form\FormKey;
use Magento\TestFramework\Helper\Bootstrap;
class AddressTest extends \Magento\TestFramework\TestCase\AbstractController
{
/** @var AccountManagementInterface */
private ... |
package com.opengamma.sdk.margin;
import java.util.Optional;
import com.opengamma.sdk.common.JavaSdkException;
/**
* Used to indicate that there was a problem with a margin request.
*/
public class MarginException extends JavaSdkException {
/** Serialization version. */
private static final long serialVersio... |
wget http://data.dmlc.ml/mxnet/models/imagenet/inception-v3.tar.gz
tar zxf inception-v3.tar.gz
mv model inception-v3
wget http://data.dmlc.ml/mxnet/models/imagenet/inception-21k.tar.gz
tar zxf inception-21k.tar.gz
mv model inception-21k
|
package net.coding.program;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Point;
import android.os.Bundle;
... |
package main
type button struct {
command iCommand
}
func (b *button) press() {
b.command.execute()
}
|
from django.db import models
import datetime
import logging
logger = logging.getLogger(__name__)
TRANSFER_STATUS_RUNNING=1
TRANSFER_STATUS_SUCCESS=2
TRANSFER_STATUS_FAILED=3
TRANSFER_STATUS_PARTIAL=4
TRANSFER_STATUS = (
(TRANSFER_STATUS_RUNNING, "Running"),
(TRANSFER_STATUS_FAILED, "Failed"),
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<grou... |
@echo off
::-----------------------------------------------------------------------------
:: Paths
::-----------------------------------------------------------------------------
set SCRIPT_DIR=%~dp0%
set ProjectHome=%SCRIPT_DIR:~0,-1%
set WorkspaceDir=%ProjectHome%\workspace
set ThisProjTools=%ProjectHome%\tools
::--... |
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
'use strict';
exports.PolicyAssignments = require('./policyAssignments');
exports.PolicyDefinitions = require('./policyDefinitions');
|
<?php
/**
* Add Link Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
if ( ! current_user_can('manage_links') )
wp_die(__('Sorry, you are not allowed to add links to this s... |
A cerebral package for angular and immutable-store
## Debugger
You can download the Chrome Cerebral Debugger [here](https://chrome.google.com/webstore/detail/cerebral-debugger/ddefoknoniaeoikpgneklcbjlipfedbb?hl=no).
## More info on Cerebral and video introduction
Cerebral main repo is located [here](https://github.c... |
import React from 'react';
import { render } from 'react-dom';
import Ext from '~/core/ext';
import StoreManager from '~/data/store-manager';
export default config => Viewport => {
(config && config.stores) && Ext.List(config.stores).each(store => {
store = store.default;
StoreManager.set(store.storeId, stor... |
import { CSSProperties } from './CSSPropertyNames';
import { CSSObject } from './CSSObject';
import Selector from '../Selector/index';
export interface Declaration<K extends keyof CSSProperties = keyof CSSProperties> {
propertyName: K;
value: CSSProperties[K];
}
function proclaim<T extends keyof CSSProperti... |
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "imakinweb.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
|
id: 587d7b8e367417b2b2512b5f
title: Passare gli argomenti per evitare la dipendenza esterna in una funzione
challengeType: 1
forumTopicId: 301234
dashedName: pass-arguments-to-avoid-external-dependence-in-a-function
---
# --description--
L'ultima sfida è stata un passo più vicino ai principi della programmazione funz... |
package tools.descartes.teastore.registryclient;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.netflix.loadbalancer.Server;
/**
* Runnable to get callback once service is online.
* @author Simon
*
*/
public class StartupCallbackTask implements Runnable {
private sta... |
import { Component, OnInit, Input, ChangeDetectorRef, OnDestroy } from '@angular/core';
import { Message } from '../database/message';
import { ChatService } from '../../chat/chat.service';
import { DomSanitizer, SafeResourceUrl, SafeUrl } from '@angular/platform-browser';
import { Subject } from 'rxjs/Subject';
/**
... |
package tastytest
import scala.collection.mutable
import tastytest.Suite.Context
import scala.util.control.NonFatal
class Suite(val name: String) {
val reps: Int = 1
def test(name: String)(code: => Unit): Unit = ()
def test(code: => Unit): Unit = ()
def main(args: Array[String]): Unit = ()
}
object Suite... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:12 EEST 2014 -->
<title>CrosstabBaseCloneFactory (JasperReports 5.6.0 API)</title>
<meta name="date" content="2... |
package i5.las2peer.services.codeGenerationService.traces.segments;
/**
* A special {@link i5.las2peer.services.codeGenerationService.traces.segments.CompositeSegment}
* used for variable names holding multiple templates
*
* @author Thomas Winkler
*
*/
public class AppendableVariableSegment extends CompositeSe... |
package com.blazeloader.util.shape;
import net.minecraft.util.MathHelper;
import net.minecraft.util.Vec3;
import java.util.Random;
/**
* A sphere, or 2d circle of you so desire.
*
*/
public class Sphere implements IShape {
private final Vec3 stretch;
private final boolean hollow;
private final double rad;
... |
import _plotly_utils.basevalidators
class FillValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(self, plotly_name="fill", parent_name="isosurface.surface", **kwargs):
super(FillValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="io.prediction.example.yelp.PrefActivity">
<item android:id="@+id/action_settings" android:title="@string/action_settings"
android:orderInCategory="100" android:showAsAction=... |
#include <osl/inc/swpform.h>
#include "ORILIB_TraceReader_Init_t.h"
void ORILIB_TraceReader_Init_i(
OUT ORILIB_TraceReader_t_State * outStateBuf
) {
outStateBuf->nextReadOffset = 0;
DEBUG(
LOG_PRINTF("ORILIB_TraceReader_Init: nextReadOffset = %d\n", outStateBuf->nextReadOffset);
)
}
|
<?php
namespace Illuminate\Http;
use Illuminate\Container\Container;
use Illuminate\Contracts\Filesystem\Factory as FilesystemFactory;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Http\Testing\FileFactory;
use Illuminate\Support\Arr;
use Illuminate\Support\Traits\Macroable;
use Symfony\Co... |
<div align="center">
<a href="https://blot.re">
<img src="https://github.com/mattbierner/blotre/raw/master/documentation/readme-logo.png" width="280px" alt="Blot're" />
</a>
</div>
[Blot're][blotre] simple command line application framework for disposable
client apps. Uses [Blot're.js][blotre-js] to in... |
var _ = require('underscore');
jQuery = $ = require('jquery')
require('jquery-mockjax');
module.exports = function() {
var routes = {};
$.mockjax.clear();
// Adds a route for: a GET to /tests. Will return new static data
routes['/tests|get'] = $.mockjax({
url: '/tests',
dataType: 'json',
type: 'ge... |
<?php
namespace App\Models;
use App\Traits\LegacySerializeDate;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Support\Carbon;
/**
* App\Models... |
This is a webpage that generates a prompt to the user to code computer programs using a randomly selected programming language.

## URL
- https://excaliburzero.github.io/todayillcodein/
## Licensing
The content of this website is licensed under the [MIT License]... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../css/samples.css">
<style type="text/css">
.d-progress-bar {
width: 30ex;
}
</style>
<script type="text/javascript" src="../../../requirejs/require.js" data-main="../../../"></script>
<script type="text/javascript">
req... |
<html>
<head>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<title>Flynn GitHub Webhook Deploy</title>
</head>
<body>
<div class="container">
... |
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="tns:ns">
<SOAP-ENV:Body>
<ns1:processCheckOutResponse>
<RETURN_CODE></RETURN_CODE>
<DESCRIPTION></DESCRIPTION>
<TRX_ID></TRX_ID>
<EN... |
package ch.ivyteam.ivy.maven.engine.deploy.dir;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.logging.Log;
/**
* Deploys ivy deployables to an Axon Ivy Engine. Deployables can be:
* <ul>
* <li>An *.iar project file</li>
* <li>An *.zip full application file containing a se... |
<?php declare(strict_types=1);
/*.
require_module 'standard';
.*/
/**
* @OA\Tag(
* name="permissions",
* description="Querying and checking permissions in the API"
* )
*
* @OA\Schema(
* schema="permission_entry",
* @OA\Property(
* property="type",
* type="string",... |
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<? if (isset($wf)) { ?>
<? if ($this->controller->getTask() == 'edit_details') { ?>
<?=Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Edit Workflow'), false, 'span10 offset1', false)?>
<form method="post" action="<?=$this->action('save... |
import("email.sendEmail");
import("execution");
import("sqlbase.sqlobj");
import("stringutils.{startsWith,endsWith,trim}");
import("etherpad.debug.dmesg");
import("etherpad.globals.isProduction");
import("etherpad.log");
import("etherpad.collab.collab_server");
import("etherpad.collab.ace.easysync2.Changeset");
impor... |
//
// AppDelegate.m
// foobar
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
//
#import "AppDelegate.h"
#import "MainViewController.h"
#import <Cordova/CDVPlugin.h>
@implementation AppDelegate
@synthesize window, viewController;
- (id)... |
/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { PlaylistComponent } from './playlist.component';
describe('PlaylistComponent', () => {
let componen... |
<?php
namespace Enqueue\AmqpExt;
use Interop\Amqp\AmqpConsumer as InteropAmqpConsumer;
use Interop\Amqp\AmqpMessage as InteropAmqpMessage;
use Interop\Amqp\AmqpQueue as InteropAmqpQueue;
use Interop\Queue\Exception\InvalidMessageException;
use Interop\Queue\Message;
use Interop\Queue\Queue;
class AmqpConsumer implem... |
package com.example.inverse;
import arez.Arez;
import arez.ArezContext;
import arez.Component;
import arez.Disposable;
import arez.Locator;
import arez.ObservableValue;
import arez.SafeProcedure;
import arez.component.DisposeNotifier;
import arez.component.Identifiable;
import arez.component.Verifiable;
import arez.co... |
package fr.lifl.ioda ;
import java.util.WeakHashMap ;
import java.util.Iterator ;
import java.util.StringTokenizer ;
// added in 2.3
import java.util.regex.* ;
import java.io.IOException ;
import java.io.FileReader ;
import java.io.File ;
import java.io.BufferedReader ;
import java.io.StringReader ;
import org.nlogo.... |
- Если Ваш сайт работает в кодировке **windows-1251**, необходимо перекодировать все файлы модуля в эту кодировку, иначе модуль не будет работать. *Для этого откройте файл в любом нормальном текстовом редакторе и сохраните его в кодировке ANSI (Windows-1251).*
- Залить содержимое папки upload в корень сайта, предвари... |
Meteor.startup(function () {
// code to run on server at startup
if (!Websites.findOne()) {
console.log("No websites yet. Creating starter data.");
Websites.insert({
title:"Goldsmiths Computing Department",
url:"http://www.gold.ac.uk/computing/",
description:"This is where this course wa... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxrs="http://cxf.apache.org/jaxrs" xmlns:context="http://www.springframework.org/schema/context" xmlns:cxf="http://cxf.apache.org/core"
xsi:schemaLocatio... |
$root = "."
if (![string]::IsNullOrEmpty($PSScriptRoot)) {
$root = $PSScriptRoot
}
#if ($MyInvocation.MyCommand.Definition -ne $null) {
# $root = $MyInvocation.MyCommand.Definition
#}
$helpersPath = $root
# grab functions from files
get-childitem "$helpersPath\functions" -filter "*.ps1" |
? { -not ($_.Nam... |