text
stringlengths
3
1.05M
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>vn.com</groupId> <artifactId>re...
/* * This file was produced by running the config_h.SH script, which * gets its values from config.sh, which is generally produced by * running Configure. * * Feel free to modify any of this as the need arises. Note, however, * that running config_h.SH again will wipe out any changes you've made. * For a more p...
[![Build Status](https://travis-ci.org/jonathanepollack/gulp-minify-html.png?branch=master)](https://travis-ci.org/jonathanepollack/gulp-minify-html) ## Information <table> <tr> <td>Package</td><td>gulp-minify-html</td> </tr> <tr> <td>Description</td> <td>Minify HTML with <a href="https://github.com/Moveo/minimize">m...
YUI.add('widget-base', function(Y) { /** * Provides the base Widget class, with HTML Parser support * * @module widget */ /** * Provides the base Widget class * * @module widget * @submodule widget-base */ var L = Y.Lang, Node = Y.Node, ClassNameManager = Y.ClassNameManager, _getClassName = Cla...
class selfReferencingFile2 { }
package org.apache.pulsar.metadata.bookkeeper; import java.io.IOException; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.Set; import java.util.concurrent.ExecutionException; import lombok.extern.slf4j.Slf4j; import org.apache.bookkeeper.meta.LedgerManager;...
<?php namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; /** * Base configuration annotation. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ abstract class ConfigurationAnnotation implements ConfigurationInterface { public function __construct(array $values) { foreach ($value...
<?php defined('C5_EXECUTE') or die("Access Denied."); class InstallController extends Concrete5_Controller_Install { }
 CKEDITOR.plugins.setLang( 'table', 'ms', { border: 'Saiz Border', caption: 'Keterangan', cell: { menu: 'Cell', insertBefore: 'Insert Cell Before', insertAfter: 'Insert Cell After', deleteCell: 'Buangkan Sel-sel', merge: 'Cantumkan Sel-sel', mergeRight: 'Merge Right', mergeDown: 'Merge Down', splitH...
class AddGithubOauthTokenToUser < ActiveRecord::Migration def self.up add_column :users , :github_oauth_token , :string add_index :users, :github_oauth_token end def self.down remove_index :users , :github_oauth_token remove_column :users, :github_oauth_token end end
package Google::Ads::GoogleAds::V12::Resources::AdOptimizedBusinessProfileSetting; use strict; use warnings; use base qw(Google::Ads::GoogleAds::BaseEntity); use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; sub new { my ($class, $args) = @_; my $self = {includeLeadForm => $args->{includeLeadForm}}; # Delet...
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Sortable</h1> <div id="overview"> <h2...
<?php /** * PHPExcel_Calculation_Exception * * @category PHPExcel * @package PHPExcel_Calculation * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) */ class PHPExcel_Calculation_Exception extends Exception { /** * Error handler callback * * @param mixed $code * @...
/*! * Qoopido.js library v3.6.2, 2015-4-21 * https://github.com/dlueth/qoopido.js * (c) 2015 Dirk Lueth * Dual licensed under MIT and GPL */ !function(t){window.qoopido.register("polyfill/window/getcomputedstyle",t)}(function(t,e,r,n,o){"use strict";if(o.getComputedStyle)return o.getComputedStyle;var u=new RegExp("(\\-...
package com.facebook.buck.model; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import javax.annotation.Nullable; /** * A pattern matches build targets that have the specified ancestor directory. */ public class SubdirectoryBuildTargetPattern implements BuildTargetPattern { ...
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; import { Constructor, GenericObject } from '../../typings/globals.types'; import EtoolsAjaxRequestMixin from '@unicef-polymer/etools-ajax/etools-ajax-request-mixin.js'; import { EndpointsMixin } from '../../endpoints/endpoints-mixin'; import { fireEv...
include $(TOPDIR)/rules.mk LUCI_TITLE:=Support for relayd pseudo bridges LUCI_DEPENDS:=+relayd include ../../luci.mk # call BuildPackage - OpenWrt buildroot signature
#pragma once #include "soa/service/message_loop.h" #include "soa/service/zmq_endpoint.h" #include "soa/service/typed_message_channel.h" #include "soa/service/rest_service_endpoint.h" namespace Datacratic { /*****************************************************************************/ /* HELPER FUNCTIONS ...
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="info.jackrex.androidcachefoundation.framework"> <application android:allowBackup="true" android:label="@string/app_name" android:icon="@drawable/ic_launcher" > </application> </manifest>
<?xml version="1.0" encoding="UTF-8"?> <!-- Reviewed: no --> <sect2 id="zend.application.available-resources.multidb"> <title>Zend_Application_Resource_Multidb</title> <para> <classname>Zend_Application_Resource_Multidb</classname> is used to initialize multiple Database connections. You can us...
module Ohai module Mixin module ConstantHelper def remove_constants new_object_constants = Object.constants - @object_pristine.constants new_object_constants.each do |constant| Object.send(:remove_const, constant) unless Object.const_get(constant).is_a?(Module) end ...
<!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"/> <title>RakNet: D:/temp/Rak...
package com.github.cloudml.zen.ml.util import java.lang.ref.WeakReference import java.util.{TimerTask, Timer} import org.apache.spark.Logging private[zen] object SparkHacker extends Logging { /** Run GC and make sure it actually has run */ def runGC() { val weakRef = new WeakReference(new Object()) val...
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_7955 { }
<!-- Copyright 2012 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/licenses/LICENSE-2.0 Unless required by applicable law or ...
package Workshop.Lab; import java.util.function.Consumer; public class SmartArray { private int[] elements; private int size; public SmartArray() { this.elements = new int[8]; this.size = 0; } public void add(int element) { if (this.elements.length == this.size) { ...
BEGIN; ALTER TABLE message CHANGE COLUMN message message text, CHANGE COLUMN type type VARCHAR(255); ALTER TABLE state CHANGE COLUMN state state text; ALTER TABLE testrun_scheduling CHANGE COLUMN status status VARCHAR(255) DEFAULT 'prepare'; COMMIT;
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Puccinia sidae-rhombifoliae Mayor, 1927 ### Remarks null
import THREE from 'three'; import { THREE_Mirror } from "./Mirror" class MirrorPlane extends THREE.Object3D{ constructor (width, length, resolution, color, upVector) { super(); this.width = width || 200; this.length = length || 200; this.resolution = resolution || 128; this.color = color || 0x7...
package nsq const ( StateInit = iota StateDisconnected StateConnected StateSubscribed StateClosing // close has started. responses are ok, but no new messages will be sent )
package org.wso2.andes.kernel; /** * Wrapper class of message removable meta data * */ public class AndesRemovableMetadata { private long messageID; private String storageDestination; private String messageDestination; private boolean isForTopic; public AndesRemovableMetadata(long messageID,...
using System; using System.Collections.Concurrent; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Editor; using Microsoft.VisualStudio.LanguageServices.CSharp.ProjectSystemShim.Interop; using Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel; using Microsoft.VisualStudio.LanguageServices.Impl...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> <ScrollView android:id="@+id/svDetails" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layou...
package job import ( "fmt" "math" "reflect" "sort" "sync" "time" batch "k8s.io/api/batch/v1" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/p...
""" Generate a Flocker package that can be deployed onto cluster nodes. """ import os import platform from setuptools import setup, find_packages import versioneer versioneer.vcs = "git" versioneer.versionfile_source = "flocker/_version.py" versioneer.versionfile_build = "flocker/_version.py" versioneer.tag_prefix = ...
<?php namespace Monolog; use Monolog\Processor\WebProcessor; use Monolog\Handler\TestHandler; class LoggerTest extends \PHPUnit_Framework_TestCase { /** * @covers Monolog\Logger::getName */ public function testGetName() { $logger = new Logger('foo'); $this->assertEquals('foo',...
def some_function_name(argument_1, opt2=None, **extra_info): print locals() class A(object): def someMethod(self): self.url = some_function_name(0, extra1=True, extra2=2)
// 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. #include "weblayer/browser/background_download_service_factory.h" #include "base/files/file_path.h" #include "base/memory/raw_ptr.h" #include "base/no_destructor.h" #include "...
module Test module Unit class Color class Error < StandardError end class ParseError < Error end class << self def parse_256_color(string) case string when /\A([0-5])([0-5])([0-5])\z/ red, green, blue = $1, $2, $3 red.to_i * 36 + ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace SafeNightPatcher { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static...
// Generated by xsd compiler for android/java // DO NOT CHANGE! package com.ebay.trading.api; import java.io.Serializable; import com.leansoft.nano.annotation.*; /** * * Contains the templates requested on input. * Each SellingManagerTemplateType object in the response contains the data for one * Selling Manager...
\newpage %introduction %write here \subsection{Test di integrazione} Questa tipologia di test è utile alla \glossaryItem{verifica} del corretto funzionamento delle componenti definite in sede di \SpecificaTecnica. Verrà utilizzata la seguente notazione: \begin{center} TI-\textit{IDComponente} \end{center} dove \tex...
package kubelet import ( "encoding/json" "fmt" goruntime "runtime" "sort" "strconv" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" apiequality "k8s.io/apimach...
<!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_26) on Tue Apr 29 11:16:30 CEST 2014 --> <TITLE> model </TITLE> <META NAME="date" CONTENT="2014-04-29"> <LINK REL ="stylesheet" TYPE="text/css" HRE...
<?xml version="1.0" encoding="utf-8"?> <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="BookID"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> </metadata> <manifest> </manifest> <spine toc="ncx"> </spine> </package>
extern "C" { #endif #define crypto_secretbox_KEYBYTES crypto_secretbox_xsalsa20poly1305_KEYBYTES SODIUM_EXPORT size_t crypto_secretbox_keybytes(void); #define crypto_secretbox_NONCEBYTES crypto_secretbox_xsalsa20poly1305_NONCEBYTES SODIUM_EXPORT size_t crypto_secretbox_noncebytes(void); #define crypto_secretbox_ZE...
HEADER = $(wildcard include/*.h) SRC = $(wildcard src/*.c) python_build: $(SRC) $(HEADER) setup.py python setup.py build python_install: python_build python setup.py install python_deploy: python_build python setup.py sdist upload -r pypi shared: $(SRC) $(HEADER) $(CC) src/ccwt.c src/render_png.c -Iinclude -o l...
/** * Created by david on 6/4/15. */ var formplay = function(angular2){ }; module.exports = formplay;
"""Cloud TPU profiler package.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from setuptools import setup from cloud_tpu_profiler.version import __version__ CONSOLE_SCRIPTS = [ 'capture_tpu_profile=cloud_tpu_profiler.capture_tpu_profile:run_main'...
<div class="well well-lg text-center" ng-if="(!((productCreateAssignment.priceSchedules | filter:{OrderType:'Replenishment'}).length) && !((productCreateAssignment.priceSchedules | filter:{OrderType:'Standard'}).length))"> <b>The selected buyer does not have any Standard or Replenishment price schedules.</b><br> <b>I...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
<!-- * Copyright 2013 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. --> <html> <body> I'm a page that click a mismatching regular link. <div><a id="mismatching_link">Mismatching regular link</a></div> <script src="nav...
var fs = require('fs') , path = require('path') count_new_lines(fs.readFileSync(process.argv[2])) function count_new_lines(text) { var lineCount = text.toString().split('\n').length - 1 console.log(lineCount) }
printf 'const char version[] = "' ./vers.sh printf '";\n'
export interface TagRepositorySearchResponseRootObject { results: TagRepositorySearchResponseResultsItem[]; has_more: boolean; rank_token: string; status: string; } export interface TagRepositorySearchResponseResultsItem { id: string; name: string; media_count: number; follow_status: null; following: ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.Placeholder = void 0; var _jsxRuntime = require("../../lib/jsxRuntime"); var _extends2 = _interopRequireDefault(require("@babel/runtime...
set -o xtrace # Write all commands first to stderr set -o errexit # Exit the script with error if any of the commands fail CMAKE=/opt/cmake/bin/cmake if command -v gtar 2>/dev/null; then TAR=gtar else TAR=tar fi $TAR xf ../mongoc.tar.gz -C . --strip-components=1 cpus=$(grep -c '^processor' /proc/cpuinfo) MA...
module Fog module Compute class ProfitBricks class Real require 'fog/profitbricks/parsers/compute/delete_server' # Delete virtual server # # ==== Parameters # * serverId<~String> - UUID of the virtual server ...
import {EmbeddedViewRef, ElementRef, NgZone, ViewContainerRef, TemplateRef} from '@angular/core'; import {ViewportRuler} from '@angular/cdk/scrolling'; import {Direction} from '@angular/cdk/bidi'; import { normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot, } from '@angular/cdk/platform'; import {...
package com.jetbrains.python.testing.nosetest; import com.jetbrains.python.testing.AbstractPythonTestRunConfigurationParams; /** * User: catherine */ public interface PythonNoseTestRunConfigurationParams { String getParams(); void setParams(String params); boolean useParam(); void useParam(boolean useParam...
package com.uprised.twitch4j.beans; import org.codehaus.jackson.annotate.JsonProperty; public class Stream { @JsonProperty("channel") private Channel channel; @JsonProperty("broadcaster") private String broadcaster; @JsonProperty("_id") private long ID; @JsonProperty("viewers") private int viewers; @JsonProp...
__ace_shadowed__.define('ace/mode/perl', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/mode/perl_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/range', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = require("./text...
from sys import argv from yambopy import * import argparse print ('This script map a fine grid to a coarse grid.') print ('It requires three arguments') print ('1: -i folder with the fine grid') print ('2: -o folder of the RT simulation') print ('3: -dg name for the folder hosting the double-grid') parser = arg...
chrome.test.runTests([ function supportsMediaConstraints() { chrome.tabCapture.capture({ video: true, audio: true, videoConstraints: { mandatory: { maxWidth: 1000, minWidth: 300 } } }, function(stream) { chrome.test.assertTrue(!!stream)...
<div class="page-header"> <h1> {{title}} </h1> </div> <div class="row"> <div class="col-lg-4 col-lg-offset-4 col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3"> <h4 class="well well-sm"> <img class="img-thumbnail pull-right" src="{{user_db.avatar_url_size(80)}}" width="40" height=...
int main( int, char *[] ) { return boost_has_tr1_function::test(); }
function pformat(...) local success,s = pcall(string.format,...) if (success) then return s end s = "string.format error ("..s..") #"..strjoin(",",{...}).."#" print(s) print(_TRACEBACK()) return s end function printf(...) io.write(pformat(...)) end function sprintf(...) return pformat(...) end function pad(s,min...
var stringWidth = require('string-width') var stripAnsi = require('strip-ansi') var wrap = require('wrap-ansi') var align = { right: alignRight, center: alignCenter } var top = 0 var right = 1 var bottom = 2 var left = 3 function UI (opts) { this.width = opts.width this.wrap = opts.wrap this.rows = [] } UI....
int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **)argv); }
namespace asio { namespace ip { template <typename Elem, typename Traits, typename InternetProtocol> std::basic_ostream<Elem, Traits>& operator<<( std::basic_ostream<Elem, Traits>& os, const basic_endpoint<InternetProtocol>& endpoint) { asio::ip::detail::endpoint tmp_ep(endpoint.address(), endpoint.port()); ...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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 Lic...
#ifndef RABIT_TIMER_H_ #define RABIT_TIMER_H_ #include <time.h> #ifdef __MACH__ #include <mach/clock.h> #include <mach/mach.h> #endif #include "./utils.h" namespace rabit { namespace utils { /*! * \brief return time in seconds, not cross platform, avoid to use this in most places */ inline double GetTime(void) { ...
<?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> <groupId>com.victz</groupId> ...
require 'rubygems' require 'bundler' # Setup load paths Bundler.require $: << File.expand_path('../', __FILE__) $: << File.expand_path('../lib', __FILE__) require 'dotenv' Dotenv.load require 'active_support/core_ext/string' require 'active_support/core_ext/array' require 'active_support/core_ext/hash' require 'acti...
<?php /** * Seduces the reader with majestic prose. */ final class ArcanistHelpWorkflow extends ArcanistWorkflow { public function getWorkflowName() { return 'help'; } public function getCommandSynopses() { return phutil_console_format(<<<EOTEXT **help** [__command__] **help** --full EOTE...
<?xml version="1.0" encoding="utf-8"?><resources> <string name="abs__action_bar_home_description">"Ir al escritorio"</string> <string name="abs__action_bar_up_description">"Desplazarse hacia arriba"</string> <string name="abs__action_menu_overflow_description">"Más opciones"</string> <string name="abs__...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef _PENCOINALERT_H_ #define _PENCOINALERT_H_ 1 #include <set> #include <string> ...
<?php namespace Symfony\Component\Security\Core\Authentication; use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; use Symfony\Component\Security\Core\Event\AuthenticationEvent; use Symfony\Component\Security\Core\AuthenticationEvents; use Symfony\Component\EventDispatcher\EventDispatcherInterfac...
package org.andengine.engine.options; /** * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich <ngramlich@zynga.com> * @since 23:18:06 - 22.11.2011 */ public class TouchOptions { // =========================================================== // Constants // =======================================================...
from django.contrib.gis.geos.error import GEOSException from django.contrib.gis.ptr import CPointerBase class GEOSBase(CPointerBase): null_ptr_exception_class = GEOSException
> see https://aka.ms/autorest This is the AutoRest configuration file for DNS. --- ## Getting Started To build the SDK for DNS, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` To see additional help and options, run: > `autorest --help` --- ## ...
/* OVERRIDE TREE_COMPONENT.css */ .tree.tree-umbraco li { line-height: 20px; min-height: 20px; font: icon; position:relative; font-family: Arial,Lucida Grande; font-size: 12px; } .tree.tree-umbraco li a { background-image: url(../../../../umbraco/images/umbraco/sprites.png); /*background-color: #ff...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Granular.Compatibility { public static class Uri { public static readonly string PackUriScheme = "pack"; public static void RegisterPackUriParser() { if (UriParser....
/* claro/form/Common.css */ /*========================= common css =========================*/ /* 'dijitTextBox' refers to 'dijit(TextBox|DateTextBox|CurrencyTextBox|...)' */ .claro .dijitTextBox, .claro .dijitInputInner { color: #000000; } .claro .dijitValidationTextBoxError .dijitValidationContainer { background-...
using UnityEngine; /// <summary> /// This script can be used to restrict camera rendering to a specific part of the screen by specifying the two corners. /// </summary> [ExecuteInEditMode] [RequireComponent(typeof(Camera))] [AddComponentMenu("NGUI/UI/Viewport Camera")] public class UIViewport : MonoBehaviour { publi...
extern crate explicit_self_xcrate; use explicit_self_xcrate::{Foo, Bar}; pub fn main() { let x = Bar { x: "hello".to_string() }; x.f(); }
using System; using System.Reflection; [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5.2", FrameworkDisplayName = ".NET Framework 4.5.2")]
import React from 'react'; import { Link } from 'react-router'; import { userStatuses } from '../reducers.js'; import Login from './Login.js'; import QAList from './QAList.js'; export default class AdminPage extends React.Component { render(){ let view; switch(this.props.userStatus){ ...
<?php namespace spec\PhpSpec\Formatter; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use PhpSpec\Formatter\Presenter\PresenterInterface; use PhpSpec\IO\IOInterface; use PhpSpec\Listener\StatisticsCollector; use PhpSpec\Event\SpecificationEvent; use PhpSpec\Event\ExampleEvent; use PhpSpec\Loader\Node\Specificati...
/*jshint nomen:false */ /*globals require, console, complete, __dirname, process */ (function () { 'use strict'; var exec = require('child_process').exec, commands = { minify: './node_modules/.bin/uglifyjs --no-copyright --lift-vars --output ./src/check-types.min.js ./src/check-types.js', ...
angular.module('mm.addons.qtype_ddmarker', ['mm.core']) .config(function($mmQuestionDelegateProvider) { $mmQuestionDelegateProvider.registerHandler('mmaQtypeDdmarker', 'qtype_ddmarker', '$mmaQtypeDdmarkerHandler'); });
ExtensionFunctionRegistry* ExtensionFunctionRegistry::GetInstance() { return base::Singleton<ExtensionFunctionRegistry>::get(); } ExtensionFunctionRegistry::ExtensionFunctionRegistry() { extensions::ExtensionsBrowserClient* client = extensions::ExtensionsBrowserClient::Get(); if (client) { client->Regi...
Webmozart Assert ================ [![Build Status](https://travis-ci.org/webmozart/assert.svg?branch=master)](https://travis-ci.org/webmozart/assert) [![Build status](https://ci.appveyor.com/api/projects/status/lyg83bcsisrr94se/branch/master?svg=true)](https://ci.appveyor.com/project/webmozart/assert/branch/master) [!...
<?php /** * Whoops - php errors for cool kids * @author Filipe Dobreira <http://github.com/filp> */ namespace Whoops\Handler; use Whoops\Handler\Handler; use InvalidArgumentException; /** * Wrapper for Closures passed as handlers. Can be used * directly, or will be instantiated automagically by Whoops\Run * if ...
package test; public class Foo { { GregorianCalendar.get<caret>Instance(); } } class Calendar { public static final void getInstance() {} } class GregorianCalendar extends Calendar { }
package com.orientechnologies.orient.server.task; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.concurrent.Callable; import com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal; import com.orientechnologies.or...
package com.amazonaws.services.cloudfront.model.transform; import org.w3c.dom.Node; import com.amazonaws.AmazonServiceException; import com.amazonaws.util.XpathUtils; import com.amazonaws.transform.StandardErrorUnmarshaller; import com.amazonaws.services.cloudfront.model.AccessDeniedException; public class AccessD...
from __future__ import generators """ httplib2 A caching http interface that supports ETags and gzip to conserve bandwidth. Requires Python 2.3 or later Changelog: 2007-08-18, Rick: Modified so it's able to use a socks proxy if needed. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyrigh...
package org.apereo.cas.pm.history; import org.apereo.cas.config.CasCoreNotificationsConfiguration; import org.apereo.cas.config.CasCoreUtilConfiguration; import org.apereo.cas.pm.PasswordChangeRequest; import org.apereo.cas.pm.PasswordHistoryService; import org.apereo.cas.pm.config.PasswordManagementConfiguration; im...
using System; using System.Reactive; using System.Reactive.Disposables; // TODO Common Logging / NLog not yet available for "dotnet5.4" target #if NET451 using Common.Logging; #endif namespace Appst.Reactive.Observable { /// <summary> /// Base class for Observables uses Rx ObservableBase whi...