text
stringlengths
3
1.05M
<?php /** * DB Installer * * @category Mage * @package Mage_Install * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Install_Model_Installer_Db extends Mage_Install_Model_Installer_Abstract { /** * @var database resource */ protected $_dbResource; /** * ...
This example runs redis through a statefulset. ## Master/slave ### Bootstrap Create the yaml in this directory ``` $ kubectl create -f redis.yaml ``` can run the "test.sh" script in this directory. ## TODO Expect cleaner solutions for the following as statefulset matures. * Scaling Up/down * Image Upgrade * Peri...
typedarray-pool =============== A global pool for typed arrays. [![testling badge](https://ci.testling.com/mikolalysenko/typedarray-pool.png)](https://ci.testling.com/mikolalysenko/typedarray-pool) [![build status](https://secure.travis-ci.org/mikolalysenko/typedarray-pool.png)](http://travis-ci.org/mikolalysenko/typ...
package com.example.vacation; import java.io.File; class FlagFile { static void check(Object o) { String path = "flags/" + o.getClass().getName() + "/pass"; File file = new File(path); if (!file.exists()) { throw new RuntimeException("Failing test, flag file not found!: " + path); } } }
<?xml version="1.0" encoding="utf-8"?> <!-- Circle shape with a default color --> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <solid android:color="@color/colorPrimaryLight" /> </shape>
from __future__ import unicode_literals import frappe import json no_value_fields = ['Section Break', 'Column Break', 'HTML', 'Table', 'Button', 'Image'] default_fields = ['doctype','name','owner','creation','modified','modified_by','parent','parentfield','parenttype','idx','docstatus'] integer_docfield_properties = ...
class SmsMessage < ApplicationRecord has_many :sms_logs end
import os import sys from rpyc.core.service import Service, ModuleNamespace from crispy.network.client_type import SSLClient from rpyc.utils.factory import connect_stream from rpyc.core.stream import SocketStream from rpyc.lib.compat import execute class ReverseSlave(Service): """ RPyC reverse connection service....
{% extends 'index.html' %} {% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
- ##### GetIncidentsByQuery - For efficient database queries, you should set the *FromDate* and *toDate* arguments.
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <cn.ieclipse.af.view.TopTabView android:id="@+id/category_strip" a...
#ifndef AssociatedURLLoader_h #define AssociatedURLLoader_h #include "public/platform/WebURLLoader.h" #include "public/web/WebURLLoaderOptions.h" #include "wtf/Noncopyable.h" #include "wtf/OwnPtr.h" #include "wtf/RefPtr.h" namespace blink { class DocumentThreadableLoader; class WebLocalFrameImpl; // This class is...
package namedParameterQuery import ( "testing" "bytes" "fmt" ) func BenchmarkSimpleParsing(bench *testing.B) { query := "SELECT [foo] FROM bar WHERE [baz] = :quux" for i := 0; i < bench.N; i++ { NewNamedParameterQuery(query) } } func BenchmarkMultiOccurrenceParsing(bench *testing.B) { query := "...
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>couchdbkit.ext.pylons.auth.model.Group</title> <link rel="stylesheet" href="epydoc.css" typ...
 (function (bingo, $) { //version 1.0.1 "use strict"; bingo.factory('$rootView', function () { return bingo.rootView(); }); bingo.factory('$compile', ['$view', function (view) { return function () { return bingo.compile(view); }; }]); bingo.factory('$tmpl', ['$view', func...
// Generated by CoffeeScript 1.7.1 var Generator, stream, util; stream = require('stream'); util = require('util'); /* `generate([options])`: Generate random CSV data ================================================ This function is provided for conveniency in case you need to generate random CSV data. Note, it ...
module ActiveMerchant #:nodoc: module Billing #:nodoc: class SamuraiGateway < Gateway self.homepage_url = 'https://samurai.feefighters.com' self.display_name = 'Samurai' self.supported_countries = ['US'] self.supported_cardtypes = [:visa, :master, :american_express, :discover, :jcb, :dine...
module UnitTests.Distribution.Client.Dependency.Modular.PSQ ( tests ) where import Distribution.Client.Dependency.Modular.PSQ import Test.Framework as TF (Test) import Test.Framework.Providers.QuickCheck2 tests :: [TF.Test] tests = [ testProperty "splitsAltImplementation" splitsTest ] -- | Original spli...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <!-- This dummy manifest is passed to aapt when generating R.java in java.gypi. Nothing in the manif...
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-- Basic...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; namespace Mouse.Main { public partial class InputCodeForm : Form { public InputCodeForm() { Initiali...
package transport import ( "io" "net/http" ) // httpTransport holds an http.RoundTripper // and information about the scheme and address the transport // sends request to. type httpTransport struct { http.RoundTripper scheme string addr string } // NewHTTPTransport creates a new httpTransport. func NewHTTPTra...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__twoIntsStruct_realloc_51a.c Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-51a.tmpl.c */ /* * @description * CWE: 401 Memory Leak * BadSource: realloc Allocate data using realloc() * GoodSource: Allocate d...
{% extends "layout.html" %} {% block title %}Graph{% endblock %} {% block body %} <style> line { stroke: #000; } .node { stroke: #fff; stroke-width: 1.5px; } </style> <div id="container"> <h1>Explore Graph</h1> <div id="main-container" style="width: 800px;"> <div id="svg-box"></div> </div> <div i...
#ifndef CHIPMUNK_VECT_H #define CHIPMUNK_VECT_H #include "chipmunk_types.h" /// @defgroup cpVect cpVect /// Chipmunk's 2D vector type along with a handy 2D vector math lib. /// @{ /// Constant for the zero vector. static const cpVect cpvzero = {0.0f,0.0f}; /// Convenience constructor for cpVect structs. static in...
<!doctype html> <html> <head> <title>Pie Chart with Custom Tooltips</title> <script src="../dist/Chart.bundle.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <style> #canvas-holder { width: 100%; margin-top: 50px; text-...
[Scala 2.9](http://www.scala-lang.org/downloads) (JDK6 or JDK7) is required. Install with `git clone https://github.com/twitter/zipkin.git && cd zipkin` or [download](https://github.com/twitter/zipkin/archive/master.zip) Zipkin to your preferred directory and unzip. Run (in separate bash windows): bin/collector ...
module RightScale # Allows generating RSA key pairs and extracting public key component # Note: Creating a RSA key pair can take a fair amount of time (seconds) class RsaKeyPair DEFAULT_LENGTH = 2048 # Underlying OpenSSL keys attr_reader :raw_key # Create new RSA key pair using 'length' bi...
<SetLoadBalancerPoliciesForBackendServerResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/"> <SetLoadBalancerPoliciesForBackendServerResult/> <ResponseMetadata> <RequestId>0eb9b381-dde0-11e2-8d78-6ddbaEXAMPLE</RequestId> </ResponseMetadata> </SetLoadBalancerPoliciesForBackendServerRespo...
<html> <body> <p>A distributed implementation of {@link org.apache.hadoop.fs.FileSystem}. This is loosely modelled after Google's <a href="http://labs.google.com/papers/gfs.html">GFS</a>.</p> <p>The most important difference is that unlike GFS, Hadoop DFS files have strictly one writer at any one time. Bytes are a...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto package v1 import ( fmt "fmt" io "io" proto "github.com/gogo/protobuf/proto" github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" runtime "k8s.io/apimac...
package com.groupon.jenkins.dynamic.organizationcontainer; import java.io.IOException; import java.util.List; import jenkins.model.Jenkins; public class OrganizationContainerRepository { public OrganizationContainer getOrCreateContainer(String viewName) throws IOException { OrganizationContainer existin...
#import "SDWebImageManager.h" #import <objc/message.h> @interface SDWebImageCombinedOperation : NSObject <SDWebImageOperation> @property (assign, nonatomic, getter = isCancelled) BOOL cancelled; @property (copy, nonatomic) SDWebImageNoParamsBlock cancelBlock; @property (strong, nonatomic) NSOperation *cacheOperatio...
from __future__ import unicode_literals from datetime import datetime, timedelta import io import os import re import types from unittest import TestCase from django.core.exceptions import ValidationError from django.core.validators import ( BaseValidator, EmailValidator, MaxLengthValidator, MaxValueValidator, ...
#ifndef OPTIONSMODEL_H #define OPTIONSMODEL_H #include <QAbstractListModel> /** Interface from Qt to configuration data structure for Chatcoin client. To Qt, the options are presented as a list with the different options laid out vertically. This can be changed to a tree once the settings become sufficiently...
package com.dianping.cat.system.page.config.processor; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable; import org.cod...
{{ template "head" . }} {{ template "prom_right_table_head" }} <tr> <th>Prometheus</th> <th>{{ template "prom_query_drilldown" (args "sum(up{job='prometheus'})") }} / {{ template "prom_query_drilldown" (args "count(up{job='prometheus'})") }}</th> </tr> {{ template "prom_right_table_tail" }} {{ template "prom_cont...
import axios from 'axios'; import { ICrudPutAction } from 'react-jhipster'; import { REQUEST, SUCCESS, FAILURE } from './action-type.util'; import { messages } from '../config/constants'; export const ACTION_TYPES = { UPDATE_ACCOUNT: 'account/UPDATE_ACCOUNT', UPDATE_PASSWORD: 'account/UPDATE_PASSWORD' }; const i...
// // NSString+Encode.h // // // Created by Alejandro Martinez on 26/01/14. // // #import <Foundation/Foundation.h> @interface NSString (Encode) /** * Based on http://iosdevelopertips.com/networking/url-encoding-method-in-objective-c.html */ - (NSString *)encodeURLString:(NSStringEncoding)encoding; @end
'use strict'; require('configureForRelayOSS'); const React = require('React'); const Relay = require('Relay'); const RelayStoreData = require('RelayStoreData'); const RelayTestUtils = require('RelayTestUtils'); describe('RelayContainer', () => { describe('hasFragmentData()', () => { let mockContainerInstance...
/* * Author: 陈志杭 Caspar * Contact: 279397942@qq.com qq:279397942 * Description: 逻辑层数据接口契约文件 * 文件由模板生成 */ using System; using System.Collections; using System.Collections.Generic; using Zh.DAL.Define.Entities; using Zh.DAL.Base.Define; using Zh.DAL.Base.Define.Query; using Zh.BLL.Base.Define; using Zh.BLL.Define....
package cn.wizzer.common.shiro.realm; import cn.wizzer.common.shiro.exception.EmptyCaptchaException; import cn.wizzer.common.shiro.exception.IncorrectCaptchaException; import cn.wizzer.modules.back.sys.models.Sys_user; import org.apache.commons.lang3.math.NumberUtils; import org.apache.shiro.SecurityUtils; import org....
using NSubstitute; using NUnit.Framework; namespace EasyAssertions.UnitTests; [TestFixture] public class ActualExceptionTests : AssertionTests { [Test] public void CannotConstructWithNull() { AssertArgumentNullException("actual", () => new ActualException<Exception>(null!)); } ...
import { Injectable } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { CsvColumnDefinitionProperty, CsvExportService } from 'app/core/ui-services/csv-export.service'; import { ViewStatuteParagraph } from '../models/view-statute-paragraph'; /** * Exports CSVs for statute paragra...
//? if (UTF8) { // utfx-embeddable //? include("../../node_modules/utfx/dist/utfx-embeddable.js"); // encodings/utf8 /** * Encodes this ByteBuffer's contents between {@link ByteBuffer#offset} and {@link ByteBuffer#limit} to an UTF8 encoded * string. * @returns {string} Hex encoded string * @throws {R...
package com.bitdecay.jump.level; import com.bitdecay.jump.BitBody; import com.bitdecay.jump.geom.BitPointInt; import com.bitdecay.jump.geom.BitRectangle; /** * Created by Monday on 11/23/2015. */ public class TriggerObject extends LevelObject { public LevelObject triggerer; public LevelObject triggeree; ...
from setuptools import setup, find_packages setup( name='redactor', version='2.0.0', description='Redactor implemented in Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read(), author='Unomena', author_email='dev@unomena.com', license='BSD', url='h...
require('./angular-locale_sv'); module.exports = 'ngLocale';
package bsonx import ( "errors" "fmt" "reflect" "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" ) var primitiveCodecs PrimitiveCodecs var tDocument = reflect.TypeOf((Doc)(nil)) var tMDoc = reflect.TypeOf((MDoc)(nil)) var tArray...
ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Experimental.VFX; using Object = System.Object; namespace UnityEditor.VFX { abstract class VariantProvider { protected virtual Dictionary<string, object[]> variants { get ...
set(CPP_FILES QmitkOpenCVVideoControls.cpp ) set(UI_FILES QmitkOpenCVVideoControls.ui ) set(MOC_H_FILES QmitkOpenCVVideoControls.h ) set(QRC_FILES OpenCVVideoSupportUI.qrc )
<!DOCTYPE html> <script src="resources/window-resize-repaint.js"></script> <div style="position: absolute; width: 2000px; height: 2000px; background-color: blue"> <div style="width: 20%; height: 20%; background-color: yellow"> </div> </div>
/** * @class * @private */ function PriorityQueue (size) { if (!(this instanceof PriorityQueue)) { return new PriorityQueue() } this._size = size this._slots = null this._total = null // initialize arrays to hold queue elements size = Math.max(+size | 0, 1) this._slots = [] for (var i = 0; i ...
/* * Android Notice * In this class the address length was changed from long to int. * This is due to performance optimizations for the device. */ package org.apache.harmony.nio.internal; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.MappedByteBuffer; import java.nio.channels.ClosedCha...
<list model="base.user" priority="20"> <field name="name"/> <field name="email"/> <field name="lastlog"/> </list>
package com.intellij.psi.impl.source.resolve.reference.impl.providers; import com.intellij.codeInsight.daemon.JavaErrorMessages; import com.intellij.lang.xml.XMLLanguage; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiReference; import com.intellij.psi.util....
package org.intellij.lang.xpath.xslt.context; import com.intellij.lang.Language; import com.intellij.psi.xml.XmlElement; import org.intellij.lang.xpath.XPathFileType; import org.intellij.lang.xpath.context.ContextProvider; public class Xslt2ContextProviderExtension extends XsltContextProviderExtensionBase { @Overr...
package com.jme3.animation; import com.jme3.effect.ParticleEmitter; import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.renderer.RenderManager; import com.jme3.renderer.ViewPort; import com.jme3.scene.Node; ...
Copyright (c) 2015 Zhen-Huan Hu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subli...
import unittest import os """ This module is for integrating pymel tests into a larger unittest framework. If you just wish to test pymel, use pymel_test instead. """ import sys import inspect gCantRun = False try: import nose except ImportError: gCantRun = True print('** nose module required for this tes...
package com.rollsoftware.br.common.db.service; import com.rollsoftware.br.common.db.entity.ObjectInterface; import com.rollsoftware.br.common.db.repo.Repository; import java.sql.SQLException; import java.util.List; import javax.persistence.EntityManager; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import jav...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you ma...
(function() {var implementors = {}; implementors['collections'] = [];implementors['core'] = [];implementors['unicode'] = []; if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; ...
<h1>Formats: Locale-Specific Messages</h1> <p> Each internationalized extension or app has at least one file named <code>messages.json</code> that provides locale-specific strings. This page describes the format of <code>messages.json</code> files. For information on how to internationalize and localize, see the <a h...
# # # /* See http://www.boost.org for most recent version. */ # # ifndef MSGPACK_PREPROCESSOR_IF_HPP # define MSGPACK_PREPROCESSOR_IF_HPP # # include <msgpack/preprocessor/control/if.hpp> # # endif
{% extends "core/base.html" %} {% load i18n %} {% block headtitle %} <h1>{% trans "Error 500 - Application error" %}</h1> <p>{% trans "Whoops!" %}</p> {% endblock %} {% block content %} <div class="e500"> {% trans "Something went terribly wrong. We are on this to fix the issue!" %} </div> {% endblock %}
module DeviseInvitable module Generators class DeviseInvitableGenerator < Rails::Generators::NamedBase namespace "devise_invitable" desc "Add :invitable directive in the given model. Also generate migration for ActiveRecord" # def devise_generate_model # invoke "devise", [name] #...
/* * 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...
ace.define('ace/mode/yaml', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/yaml_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/folding/coffee'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = require("./text").Mode; ...
/* */ "format cjs"; "use strict"; exports.__esModule = true; // istanbul ignore next function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } new...
describe ProblemDestroy do let(:problem_destroy) do ProblemDestroy.new(problem) end context "in unit way" do let(:problem) do problem = Problem.new allow(problem).to receive(:errs).and_return(double(:criteria, only: [err_1, err_2])) allow(problem).to receive(:comments).and_return(double...
struct master_login_client { struct master_login_connection *conn; int fd; struct master_auth_request auth_req; unsigned char data[FLEXIBLE_ARRAY_MEMBER]; }; typedef void master_login_callback_t(const struct master_login_client *client, const char *username, const char *const *extra_fields); typedef void maste...
dojo.provide("dojox.mobile.app.ListSelector"); dojo.experimental("dojox.mobile.app.ListSelector"); dojo.require("dojox.mobile.app._Widget"); dojo.require("dojo.fx"); dojo.declare("dojox.mobile.app.ListSelector", dojox.mobile.app._Widget, { // data: Array // The array of items to display. Each element in the arra...
<?php /** * * * @package PHPUnit * @author Sebastian Bergmann <sebastian@phpunit.de> * @copyright 2001-2014 Sebastian Bergmann <sebastian@phpunit.de> * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @link http://www.phpunit.de/ * @since File availabl...
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2013 */ #include "walletview.h" #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookpage.h" #include "sendcoinsdialog.h" #include "signverifymessagedialog.h" #include "clientmodel.h" #include "walletmode...
FROM balenalib/raspberrypi3-debian:jessie-build ENV NODE_VERSION 10.23.1 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --batch --keyser...
<!-- ~ Copyright (c) 2017 Snow Volf (Artem Zhiganov). ~ 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 b...
<!doctype html> <title>CodeMirror: VHDL mode</title> <meta charset="utf-8"/> <link rel=stylesheet href="../../doc/docs.css"> <link rel="stylesheet" href="../../lib/codemirror.css"> <script src="../../lib/codemirror.js"></script> <script src="../../addon/edit/matchbrackets.js"></script> <script src="vhdl.js"></script>...
<html> <body> This intention replaces a <b>do-while</b> loop with an equivalent <b>while</b> loop construct. </body> </html>
#ifndef TENSORFLOW_KERNELS_ARGMAX_OP_H_ #define TENSORFLOW_KERNELS_ARGMAX_OP_H_ // Generator definition for ArgMaxOp, must be compilable by nvcc. #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/platform/types.h" namespace ten...
/* vi: set sw=4 ts=4: */ /* * uuid_time.c --- Interpret the time field from a uuid. This program * violates the UUID abstraction barrier by reaching into the guts * of a UUID and interpreting it. * * Copyright (C) 1998, 1999 Theodore Ts'o. * * %Begin-Header% * Redistribution and use in source and binary form...
namespace content { class RenderProcessHost; } namespace printing { class PrintViewManagerObserver; // Manages the print commands for a WebContents. class PrintViewManager : public PrintViewManagerBase, public content::WebContentsUserData<PrintViewManager> { public: virtual ~PrintViewMana...
namespace Microsoft.WindowsAzure.Management.Sync.Download { using System; public class DownloaderParameters { public BlobUri BlobUri { get; set; } public string LocalFilePath { get; set; } public int ConnectionLimit { get; set; } public string StorageAccountKey { get; set; }...
package vn.techplus.filmon.Adapter; import java.util.List; import vn.techplus.filmon.FilmOnApplication; import vn.techplus.filmon.R; import vn.techplus.filmon.model.Category; import vn.techplus.filmon.model.ChannelManagement; import vn.techplus.filmon.model.ManualChannel; import android.content.Context; import androi...
<?php namespace Sabre\DAV; use Sabre\DAVServerTest; use Sabre\HTTP; class HttpPutTest extends DAVServerTest { /** * Sets up the DAV tree. * * @return void */ public function setUpTree() { $this->tree = new Mock\Collection('root', array( 'file1' => 'foo', ));...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Retro Cinema Registration</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.3/themes/swanky-purse/jquery-ui.css"> <script src="../../lib/jquery.js"></script> <script src="http://code.jquery.com/ui/1.11.3/jquery-ui.js"></script>...
<?php error_reporting(E_STRICT | E_ALL); // You can set the include path to src directory or reference // DfpUser.php directly via require_once. // $path = '/path/to/dfp_api_php_lib/src'; $path = dirname(__FILE__) . '/../../../../src'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once 'Goog...
@class PXAnimation; @interface PXAnimationDocument : PXDocument { @private PXAnimation *_animation; } @property (nonatomic, strong, readonly) PXAnimation *animation; @end
if WhoLibByALeX or WhoLib then -- the WhoLib-1.0 (WhoLibByALeX) or WhoLib (by Malex) is loaded -> fail! error("an other WhoLib is already running - disable them first!\n") return end -- if --- --- check version --- assert(LibStub, "LibWho-2.0 requires LibStub") local major_version = 'LibWho-2.0' local minor_vers...
#ifndef _FSL_WWDT_H_ #define _FSL_WWDT_H_ #include "fsl_common.h" /*! * @addtogroup wwdt * @{ */ /*! @file */ /******************************************************************************* * Definitions *******************************************************************************/ /*! @name Driver versio...
package com.eas.client.dataflow; import com.eas.client.changes.ChangeValue; import com.eas.client.changes.ChangeVisitor; import com.eas.client.changes.Command; import com.eas.client.changes.Delete; import com.eas.client.changes.EntitiesHost; import com.eas.client.changes.Insert; import com.eas.client.changes.JdbcChang...
package com.ezcloud.framework.util; import java.beans.PropertyEditorSupport; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.commons.lang.time.DateUtils; /** * 日期类型转换 */ public class DateEditor extends PropertyEditorSupport { /** 日期格式配比 */ public stati...
<?php namespace Concrete\Controller\SinglePage\Dashboard\System\Permissions; use \Concrete\Core\Page\Controller\DashboardPageController; use Config; use Loader; use \Concrete\Core\User\UserBannedIp; use Exception; class Blacklist extends DashboardPageController { public function formatTimestampAsMinutesSeconds($...
 <div class="panel panel-primary"> <div class="panel-heading"> Rent {{movie.Title}} </div> <div class="panel-body"> <form class="form-horizontal" role="form"> <div class="form-group"> <div class="col-xs-8 selectContainer"> <label class="contro...
package images import ( "fmt" dockerref "github.com/docker/distribution/reference" "github.com/golang/glog" "k8s.io/client-go/tools/record" "k8s.io/client-go/util/flowcontrol" "k8s.io/kubernetes/pkg/api/v1" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/pkg/kubelet/events" "k8s....
import {convertPerfProfileToEvents} from '../../src/firefox_extension/lib/parser_util'; function assertEventsEqual(actualEvents: any[], expectedEvents: any[]) { expect(actualEvents.length == expectedEvents.length); for (var i = 0; i < actualEvents.length; ++i) { var actualEvent = actualEvents[i]; var exp...
exports.Client = require('./lib/client.js'); exports.types = require('./lib/types'); exports.errors = require('./lib/errors.js'); exports.policies = require('./lib/policies'); exports.auth = require('./lib/auth');
package com.service; import com.jpa.JpaModuleAnchor; import org.springframework.boot.autoconfigure.SpringBootApplication; import java.util.Random; /** * @author justburrow * @since 2017. 4. 2. */ @SpringBootApplication(scanBasePackageClasses = {JpaModuleAnchor.class, ServiceModuleAnchor.class}) public class Servi...
class UserSerializer < ActiveModel::Serializer attributes :id, :github_username, :card_exists, :refreshing_repos def card_exists object.stripe_customer_id.present? end end