text stringlengths 3 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.Entity;
using System.ComponentModel;
using HengXinSMS.Models;
using PagedList;
using System.IO;
namespace HengXinSMS.Controllers
{
[MemberCheck]
public class PackagingList_... |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'chrome://os-settings/chromeos/os_settings.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {assertEquals, assertFalse... |
use std::collections::HashMap;
use wechat::WeChatClient;
use wechat::session::RedisStorage;
const APPID: &'static str = "wxd7aa56e2c7b1f4f1";
const SECRET: &'static str = "2817b66a1d5829847196cf2f96ab2816";
const OPENID: &'static str = "ozJS1syaqn5ztglMsr8ceH8o2zCQ";
const REDIS_URI: &'static str = "redis://127.0.0.1... |
using System;
using System.Data;
using System.Collections;
using System.Windows.Forms;
using C1.Win.C1List;
using C1.Win.C1TrueDBGrid;
using PCSComUtils.Common;
using PCSComProduct.STDCost.BO;
using PCSComProduct.STDCost.DS;
using PCSComUtils.Common.BO;
using PCSComUtils.PCSExc;
using PCSUtils.Log;
using PC... |
require "cases/helper"
module ActiveRecord
module Type
class DecimalTest < ActiveRecord::TestCase
def test_type_cast_decimal
type = Decimal.new
assert_equal BigDecimal.new("0"), type.type_cast_from_user(BigDecimal.new("0"))
assert_equal BigDecimal.new("123"), type.type_cast_from_use... |
package net.sf.jailer.ui.databrowser.metadata;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Collections... |
<?php
namespace Services;
DateTimeInterface {
/* Methods */
public DateInterval diff ( DateTimeInterface $datetime2 [, bool $absolute = false ] )
public string format ( string $format )
public int getOffset ( void )
public int getTimestamp ( void )
public DateTimeZone getTimezone ( void )
... |
<?php
/**
* Plugin Name: YCN s2member to ConvertKit (Form List ID:<FormId> Tag ID:<TagId>)
* Plugin URI: https://reedportal.com
* Description: YCN s2member to ConvertKit plugin that will register users to a specific form list in your ConvertKit account based on the parameters set in the plugin file.
* Version: ... |
module WebSocket
class Driver
class Hybi < Driver
root = File.expand_path('../hybi', __FILE__)
autoload :Frame, root + '/frame'
autoload :Message, root + '/message'
def self.generate_accept(key)
Base64.strict_encode64(Digest::SHA1.digest(key + GUID))
end
GUID = '2... |
#ifndef SOTER_RSA_COMMON_H
#define SOTER_RSA_COMMON_H
#include <soter/soter.h>
#include <soter/soter_rsa_key.h>
#include "soter_engine.h"
unsigned rsa_key_length(const int size);
soter_status_t soter_rsa_gen_key(EVP_PKEY_CTX *pkey_ctx, const unsigned key_length);
soter_status_t soter_rsa_import_key(EVP_PKEY *pkey, ... |
class InvalidLineException(Exception):
pass
|
#include "config.h"
#include "Coordinates.h"
namespace WebCore {
Optional<double> Coordinates::altitude() const
{
if (!m_canProvideAltitude)
return Nullopt;
return m_altitude;
}
Optional<double> Coordinates::altitudeAccuracy() const
{
if (!m_canProvideAltitudeAccuracy)
return Nullopt;
... |
#include "fsl_ctimer.h"
/*******************************************************************************
* Prototypes
******************************************************************************/
/*!
* @brief Gets the instance from the base address
*
* @param base Ctimer peripheral base address
*
* @return ... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Net;
using Syst... |
var uri = 'http://localhost/~maulayyacyber/nyimakid/';
var category = new Bloodhound({
datumTokenizer: function(d) {
return Bloodhound.tokenizers.whitespace(d.judul);
},
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: uri+'auth/category/json_search',
});
category.initialize();
categ... |
<input type="hidden" name="attr_second_damage_formula">
<div class="shaped-row vert-center mar-t-sm">
<input type="hidden" name="attr_second_damage_toggle_var" value="{{second_damage=[[@{second_damage_formula}]]}} {{second_damage_type=@{second_damage_type}}}">
<input type="checkbox" name="attr_second_damage_toggle... |
#include <pocas/gui/decl.h>
C_CLASS_DECL(PC_Event);
C_CLASS_DECL(PG_Command);
#ifndef POCAS_GUI_PRIVATE
DECLEXPORT PG_Command *PG_Command_create(void);
DECLEXPORT void PG_Command_invoke(PG_Command *self);
DECLEXPORT PC_Event *PG_Command_invokedEvent(const PG_Command *self);
DECLEXPORT void PG_Command_d... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-carrusel',
templateUrl: './carrusel.component.html',
styleUrls: ['./carrusel.component.css']
})
export class CarruselComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
|
/*
* 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package br.com.objectos.way.code;
import static br.com.objectos.way.assertion.Assertion.assertThat;
import br.com.objectos.way.core.ImmutableList;
import br.com.objectos.way.testable.Testable;
import java.util.List;
import java.util.Optional;
import org.testng.annotations.Test;
/**
* @author marcio.endo@objectos.c... |
<!--$Id: db_cursor.so,v 10.55 2007/10/24 16:06:06 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle. All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB: DB->cursor</title>
<meta name="description" content="Berkeley DB: An embedded database programma... |
require 'administrate/base_dashboard'
class ScheduledChoreDashboard < Administrate::BaseDashboard
# ATTRIBUTE_TYPES
# a hash that describes the type of each of the model's fields.
#
# Each different type represents an Administrate::Field object,
# which determines how the attribute is displayed
# on pages ... |
// Submits the form on `Ctrl` + `Enter` (or `Cmd` + `Enter`).
export function submitFormOnCtrlEnter(event, component)
{
if ((event.ctrlKey || event.metaKey) && event.keyCode === 13)
{
if (submitContainingForm(component))
{
event.preventDefault()
return true
}
}
}
export function submitContainingForm(nod... |
package main
import (
"fmt"
"log"
"strconv"
str "strings"
"time"
gosnmp "github.com/soniah/gosnmp"
)
type IPAddr string
// Port
type Port struct {
RemoteAddress IPAddr
RemotePort int
LocalAddress IPAddr
LocalPort int
}
func (p Port) String() string {
return fmt.Sprintf("%s:%02d\t->\t%s\n", p.Lo... |
package alertsv2
import (
"net/url"
"errors"
)
type ExecuteCustomActionRequest struct {
*Identifier
ActionName string `json:"-"`
User string `json:"user,omitempty"`
Source string `json:"source,omitempty"`
Note string `json:"note,omitempty"`
ApiKey string `json:"-"`
}
func (r *ExecuteCusto... |
@interface SettingsViewController ()
@property (weak, nonatomic) IBOutlet UISwitch *enablePasscodeSwitch;
@property (weak, nonatomic) IBOutlet UITableViewCell *changePasscodeCell;
@property (weak, nonatomic) IBOutlet UITableViewCell *setTo4DigitCell;
@property (weak, nonatomic) IBOutlet UITableViewCell *setToComplexCe... |
export * from './app-detail.actions';
export * from './app-common.actions';
|
package com.grayfox.server.dao.foursquare;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.stream.Collectors;
import com.foursquare4j.FoursquareApi;
import com.foursquare4j.response.Group;
import com... |
<?php
namespace Mustache\Lexer;
use Mustache\Lexer\Token\TokenStream;
/**
* @package Mustache
* @license MIT License <LICENSE>
* @link http://github.com/adlawson/mustache
*/
interface LexerInterface
{
/**
* Tokenize a template
*
* @param string $template
*
* @return TokenStrea... |
var date = require('../util/date');
require('../lib/picker');
var DAY_STEP = 1;
var MAX_HOUR = 23;
var HOUR_STEP = 1;
var MAX_MINUTE = 50;
var MINUTE_STEP = 10;
(function (gmu, $, undefined) {
gmu.define('timePicker', {
options: {
title: '选择出行时间',
delay: 15,
day: {
len: 7,
filter: [],
format:... |
minitest 用 helper 集
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'ans-minitest_helper'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install ans-minitest_helper
## Usage
```ruby
class ModelTest < ActiveSupport::TestCase
include Ans::MinitestHelper::Model
... |
/**
* @fileOverview Mock server.
* @name index.js<f/mock>
* @author Kei Funagayama <funagayama_kei@cyberagent.co.jp>
*/
var path = require('path');
var http = require('http');
var express = require('express');
var favicon = require('serve-favicon');
var morgan = require('morgan');
var body_parser = require('body-... |
package com.idisfkj.hightcopywx.main.presenter;
import android.widget.TextView;
import com.idisfkj.hightcopywx.dao.RegisterDataHelper;
/**
* Created by idisfkj on 16/5/7.
* Email : idisfkj@qq.com.
*/
public interface AddFriendsPresenter {
void switchView(CharSequence text);
void switchActicity(TextView s... |
Generator ={
first: true,
indent: " ",
renderTo : function(file, ejs, data) {
this.print_generating_message(file);
new include.File(file).save( new jQuery.View({ absolute_url : ejs }).render(data) );
},
print_generating_message : function(path) {
if (this.first)
print("Generati... |
By default, the pod contains a single container with name <b>jnlp</b> running the Jenkins agent.<br/>
It is possible to override this container by adding a new entry and use <b>jnlp</b> as name.
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Droppable - Accept</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../jquery-1.10.2.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../..... |
<?php /** @var GroupRunForm $form */ ?>
<?php /** @var array $views */ ?>
<?php /** @var string $default_active_view */ ?>
<?php echo $form->renderFormTag(url_for('jenkins/createGroupRun'), array('id' => 'groupRunForm')) ?>
<div class="form-header">Create a build branch</div>
<div class="form-conte... |
import weakref
import functools
import Gaffer
import GafferUI
import GafferDispatch
from Qt import QtCore
Gaffer.Metadata.registerNode(
GafferDispatch.Dispatcher,
"description",
"""
Used to schedule the execution of a network
of TaskNodes.
""",
"layout:activator:framesModeIsCustomRange", lambda node : node... |
<div class="main full-height">
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper grey lighten-2">
<img class="logo-icon" src="img/icons/logo-dark.ico" />
<a class="brand-logo grey-text text-darken-3">Welcome, {{ currentUser.name || currentUser.username || 'Guest' }}</a>
<ul id... |
Repository for both **NEST** and **Elasticsearch.Net**, the two official [elasticsearch](https://github.com/elastic/elasticsearch) .NET clients.
### Compatibility Matrix
<table>
<tr>
<th><b>Elasticsearch<b></th>
<th><b>.NET clients<b></th>
<th><b>Supported<b></th>
<th><b>Build Statu... |
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<link href="libs/remark-css/default.css" rel="stylesheet" />
<link href="libs/remark-css/default-fonts.css" rel="stylesheet" />
</head>
<body>
<textarea id="source">
class: bottom, inverse
background-image: url(images/sch... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package blockblob_test
import (
"bytes"
"context"
"encoding/base64"
"encoding/binary"
"fmt"
"log"
"os"
"strings"
"time"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
"github.com/Azure/azur... |
A set of [GSON](http://code.google.com/p/google-gson/) serialiser/deserialisers for dealing with
[Joda Time](http://joda-time.sourceforge.net/) entities. Wherever possible, [ISO 8601 string representations]
(http://en.wikipedia.org/wiki/ISO_8601) are used. The following Joda Time classes are handled:
* `DateMidnigh... |
package org.smartrplace.sim.simple.devices.switchbox.quantities;
import org.ogema.core.model.simple.SingleValueResource;
import org.ogema.tools.simulation.service.api.model.SimulatedQuantity;
import org.smartrplace.sim.simple.devices.switchbox.SwitchboxPattern;
public class VoltageValue implements SimulatedQuantity {... |
package cn.newcapec.framework.core.model.dbmeta;
import cn.newcapec.framework.core.logs.LogEnabled;
/**
* 默认错误处理
*
* @author andy.li
*/
public class DefaultErrorHandler implements IErrorHandler, LogEnabled {
public void onError(String s, Throwable throwable) {
log.error(throwable);
}
} |
var React = require('react');
var Prompt = require('../components/Prompt');
var PromptContainer = React.createClass({
contextTypes: {
router: React.PropTypes.object.isRequired
},
getInitialState: function (){
return {
username: ''
}
},
handleUpdateUser: function (e) ... |
mq-swap
=======
Swaps img srcs with javascript media queries
test images are from wallpaperstock.net
Usage:
add the data-swap attribute to the image(s) you want to swap.
data-swap takes in a json object where the key is the image url and the value is the media query
for example :
<pre>data-swap="{
img/a.jpg... |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System;
namespace ImageMagick
{
/// <summary>
/// Used to obtain font metrics for text string given current font, pointsize, and density settings.
/// </summary>
public sealed pa... |
package net.dsys.commons.api.lang;
import java.util.Collection;
import javax.annotation.Nonnull;
import javax.annotation.meta.When;
/**
* Generic interface for merging data.
*
* @author Ricardo Padilha
*/
public interface Merger<T> {
/**
* @param values
* the values to be merged
* @return t... |
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='./OpenSocial.xslt' ?>
<?rfc toc="yes"?>
<!DOCTYPE rfc PUBLIC "-//IETF//DTD RFC 2629//EN"
"http://xml.resource.org/authoring/rfc2629.dtd">
<rfc ipr="full3978"
docName="opensocial-specification-release-notes"
xmlns:x="http://purl.org/... |
Enable stylesheet linting.
This configures the stylelint tool to work locally and integrated with Hound.
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sb.Meta;
namespace SoaMetaModel
{
public class Property : SoaObject
{
public string Name
{
get;
set;
}
public Type Type
{
g... |
The Fibonacci series is defined as: F(0) = 0; F(1) = 1; F(n) = F(n-1) + F(n-2) when n>1. Given a positive integer 'n', print out the F(n).
##INPUT SAMPLE:
The first argument will be a path to a filename containing a positive integer, one per line. E.g.
5
12
##OUTPUT SAMPLE:
Print to stdout, the fibonacci number, F... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="ba295b77-498c-4d72-ae80-f8ec1699dc2f" name="Default" comment="" />
<ignored path="$PROJECT_DIR$/out/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name=... |
template<> ListenerWindow * ClassRootSingleton<ListenerWindow>::_instance = 0;
void ListenerWindow::createSingleton()
{
std::cerr << "Le constructeur de ListenerWindow ne doit pas être appelé via createSingleton() et doit être appelé avec un Ogre::Root * en argument !" << std::endl << "Attention le singleton n'ayant ... |
@interface ViewController () <KPFontPickerDelegate, UITextFieldDelegate>
@property(weak, nonatomic) IBOutlet UITextField *textField;
@property(strong, nonatomic) KPFontPicker *picker;
@end
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Custom list of font. By default it loads al... |
require 'spec_helper'
describe GrowthPush::Exception do
it 'should properly set its message for inspect' do
err = GrowthPush::Exception.new(400, "400", 'error message')
err.inspect.should == '#<GrowthPush::Exception: error message>'
end
end
|
""" Averages every N points in the radiometer file and shows them on a line graph. """
import matplotlib.pyplot as plt
import numpy as np
# File name of the input file
file_name = '2016-08-06_20.49.40.465000.csv'
# Decimation level (average every N measurements)
every_N = 10
# Load the radiometer data into an numpy... |
package de.evoila.cfmc.api.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
*
* @author Tobias Siegl
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApplicationStatus {
private String state;
private ApplicationInstanceStats stats;
public String getState() {
return... |
<?php
namespace MQM\VideochatBundle\Admin;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Form\FormMapper;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Validator\ErrorElement;
use Sonata\AdminBundle\Show\ShowMapper;
use Knp\Menu\ItemInt... |
ulimit -n 1024
### Setup some variables.
### JOB_NAME, SVN_REVISION, and BUILD_NUMBER are set by Hudson if it is run by patch process
###############################################################################
parseArgs() {
case "$1" in
HUDSON)
### Set HUDSON to true to indicate that this script is ... |
package com.navercorp.pinpoint.profiler.context;
import com.navercorp.pinpoint.bootstrap.context.*;
import com.navercorp.pinpoint.bootstrap.context.scope.TraceScope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AsyncTrace implements Trace {
private static final int BEGIN_STACKID = 1;
... |
class CreateTranslations < ActiveRecord::Migration
def change
create_table :tolk_engine_translations do |t|
t.boolean :Primary_updated
t.string :text
t.integer :translator_id
t.integer :phrase_id
t.string :phrase
t.integer :locale_id
t.string :locale
t.timestamps
... |
package org.apache.solr.util;
import java.text.NumberFormat;
import java.util.Locale;
import org.apache.lucene.util.BytesRef;
/**
*
*/
public class NumberUtils {
public static String readableSize(long size) {
NumberFormat formatter = NumberFormat.getNumberInstance(Locale.ROOT);
formatt... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Ejercicio 1 Mostrar mensaje.iml" filepath="$PROJECT_DIR$/Ejercicio 1 Mostrar mensaje.iml" />
</modules>
</component>
</project> |
package org.elasticsearch.index.search.child;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.Term;
import org.apache.lucene.queries.TermFilter;
import org.apache.lucene.search.*;
import org.apache.lucene.util.Bits;
import org.apache.luce... |
/* ========================= */
/* = Document Embed Dialog = */
/* ========================= */
.document_embed_dialog {
width: 500px;
font-size: 12px;
text-align: left;
}
.document_embed_dialog .custom {
height: 380px;
position: relative;
font-size: 12px;
}
.publish_step {
display: none;
wi... |
<?php
namespace perf;
/**
*
*
* @package perf
*/
class Translator
{
/**
*
*
* @var string
*/
private $namespacesPath = '';
/**
*
*
* @var string
*/
private $language = 'en';
/**
*
*
* @var {string:{string:string}}
*/
private $s... |
package com.lamfire.chimaera.service.rank;
import com.lamfire.chimaera.Chimaera;
import com.lamfire.chimaera.annotation.SERVICE;
import com.lamfire.chimaera.command.Command;
import com.lamfire.chimaera.command.rank.RankMaxCommand;
import com.lamfire.chimaera.response.Response;
import com.lamfire.chimaera.respon... |
SYNONYM
#### According to
Index Fungorum
#### Published in
null
#### Original name
Laboulbenia ardoini Balazuc
### Remarks
null |
<perch:before>
<h2>Comments and responses</h2>
<ul class="comments listing">
</perch:before>
<li id="comment<perch:blog id="commentID" type="hidden" />">
<img src="//www.gravatar.com/avatar/<perch:blog id="commentEmail" type="email" label="Email" order="2" hash="md5" required="true" />?s=120&d=mm" width="... |
/**
* Boot up the Vue instance and wire up the router.
*/
import Vue from 'vue'
import VueRouter from 'vue-router'
import route from './routes'
Vue.use(VueRouter)
const router = new VueRouter({
hashbang: true,
history: false
})
route(router)
const App = Vue.extend(require('./app.vue'))
router.start(App, '#a... |
require 'test_helper'
class MessageTest < ActiveSupport::TestCase
def setup
@first = messages(:steve_mail)
@second = messages(:max_mail)
@steve = accounts(:steve)
@max = accounts(:max)
end
test "content length validity" do
assert @first.valid?
@first.content = "t"*2001
assert_no... |
Configuration for the [global variables](./#!documentation/reference/Globals) that Sails exposes to its Node process. The options are conventionally specified in the [`config/globals.js`](/#/documentation/anatomy/myApp/config/globals.js.html) configuration file.
### Properties
| Property | Type | Default ... |
.class Lcom/android/server/AlarmManagerService$ClockReceiver;
.super Landroid/content/BroadcastReceiver;
.source "AlarmManagerService.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/AlarmManagerService;
.end annotation
.annotation system Ldalvik/annotation/In... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>schroeder: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.4">
<meta name="author" content="Аудиториски вежби 7">
<titl... |
<?php
namespace Dat0r\Core\Validator;
use Dat0r\Core\Field\IField;
abstract class Validator implements IValidator
{
/**
* Holds th validator's associated field.
*
* @var IField $field
*/
private $field;
/**
* Creates a new Validator instance for a given field.
*
* @pa... |
<?xml version="1.0" encoding="utf-8"?>
<reflection>
<assemblies>
<assembly name="System.Web">
<assemblydata version="4.0.0.0" culture="" key="002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_30) on Tue Apr 15 17:02:15 MSK 2014 -->
<title>KeyPoint</title>
<meta name="date" content="2014-04-15">
<link rel="stylesheet" type="te... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package services
import generated.Tables._
trait PluggableTokenActionService {
//------------------------------------------------------------------------
// public
//------------------------------------------------------------------------
def isValid : Boolean
//--------------------------------------------... |
namespace Volo.PostgreSqlDemo.Sessions.Dto
{
public class GetCurrentLoginInformationsOutput
{
public ApplicationInfoDto Application { get; set; }
public UserLoginInfoDto User { get; set; }
public TenantLoginInfoDto Tenant { get; set; }
}
}
|
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import {
demos,
docs,
demoComponents,
} from 'docs/data/system/components/container/container.md?@mui/markdown';
export default function Page() {
return <MarkdownDocs demos={demos} docs={docs} demoComponents={d... |
<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
<name>Chino Shorts</name>
<price>23.00</price>
<description>Lorem ipsum dolor sit amet, consectetur adipisicing elit. In fugit, quisquam adipisci voluptatum labore ex id consectetur assumenda provident nobis!</description>
<category>Shorts / Men</cate... |
/**
* Generated with Acceleo
*/
package org.wso2.developerstudio.eclipse.gmf.esb.providers;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
import org.ec... |
from fontTools.t1Lib import T1Font, T1Error
from fontTools.agl import AGL2UV
from fontTools.misc.psLib import PSInterpreter
from fontTools.misc.transform import Transform
from extractor.tools import RelaxedInfo
# specification: http://partners.adobe.com/public/developer/en/font/T1_SPEC.PDF
# ----------------
# Public... |
@implementation Notice
- (void) notify:(NSDictionary *)message {
NSUserNotification *notification = [[NSUserNotification alloc] init];
[notification setTitle:[message valueForKey:@"title"]];
[notification setInformativeText:[message valueForKey:@"content"]];
[notification setDeliveryDate:[NSDate dateWi... |
package com.navercorp.pinpoint.profiler.sender;
import com.navercorp.pinpoint.common.util.IOUtils;
import com.navercorp.pinpoint.testcase.util.SocketUtils;
import org.junit.*;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import java.io.IOException;
import java.net.DatagramPack... |
var callbackReady = null,
cbReady = null,
callbackCont = null,
cbCont = null,
errorCallbackCont = null,
cbContError = null,
callbackRoof = null,
cbRoof = null,
cbRoot = null,
cbContent = null,
cbHashChange = null;
(function() {
$.expr[':'].regex = function(elem, index, match) {
var matchParams... |
function BinaryComparer(file, callback) {
var fstream = Cc["@mozilla.org/network/file-input-stream;1"].
createInstance(Ci.nsIFileInputStream);
fstream.init(file, -1, 0, 0);
this.length = file.fileSize;
this.fileStream = Cc["@mozilla.org/binaryinputstream;1"].
createInstance... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('element')){
function getUserOptionHeader($user = null){
$CI =& get_instance();
$CI->load->library("session");
$CI->load->database();
?>
<nav class="col-12" style="backg... |
import hash from 'object-hash';
import SocketStream from './SocketStream';
import SocketPromise from './SocketPromise';
export default class SocketQueue {
constructor() {
this.clean();
this._order = 1;
return this;
}
add(req = {}) {
const id = hash(req);
let wasInQueue = true;
if (!th... |
/*
* Debug.hpp
*
* Created on: Oct 8, 2013
* Author: ubuntu
*/
#ifndef DEBUG_HPP_
#define DEBUG_HPP_
#if defined _DEBUG
#include <fstream>
#include <set>
#include "common.hpp"
class Trace {
public:
static Trace &GetTrace();
Trace &operator <<(int value);
Trace &operator <<(Trace &(*function)(Trace &... |
module Etikett
module Taggable
extend ActiveSupport::Concern
included do
end
def create_automated_tag
settings = auto_tag_settings
if settings.present?
t = "Etikett::#{self.class.get_klass_name}Tag".constantize.new(
name: settings[:sid],
nice: settings[:ni... |
CREATE TABLE [dbo].[TicketPurchases]
(
[TicketPurchaseId] INT NOT NULL IDENTITY (1,1),
[PurchaseDate] DATETIME NOT NULL,
[PurchaseTotal] MONEY NOT NULL,
[CustomerId] INT NOT NULL,
PRIMARY KEY CLUSTERED ([TicketPurchaseId] ASC),
CONSTRAINT [FK_TicketP... |
/* -*-C++-*- */
#ifndef COUNTER_
#define COUNTER_
//=============================================================================
/**
* @file counter.h
*
* Class definition for SMI Counter32 class.
*
* @author Peter E Mellquist
*/
//===========================================================================... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Thu Apr 17 16:13:54 ADT 2014 -->
<title>K-Index</title>
<meta name="date" content="2014-04-17">
<link rel="stylesheet" type="text/css" href... |