text
stringlengths
3
1.05M
<?php /** * Message translations. * * This file is automatically generated by 'yiic message' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message (key). ...
package runtime import ( "io/ioutil" "syscall" ) func FDLimit() (uint64, error) { var rlimit syscall.Rlimit if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &rlimit); err != nil { return 0, err } return rlimit.Cur, nil } func FDUsage() (uint64, error) { fds, err := ioutil.ReadDir("/proc/self/fd") if err ...
<?php namespace Symfony\Component\DomCrawler\Field; /** * ChoiceFormField represents a choice form field. * * It is constructed from a HTML select tag, or a HTML checkbox, or radio inputs. * * @author Fabien Potencier <fabien@symfony.com> * * @api */ class ChoiceFormField extends FormField { /** * ...
require "spec_helper" describe FluentdLog do describe "#read" do let(:log) { FluentdLog.new(logfile) } let(:logfile) { Rails.root.join("tmp", "dummylog").to_s } before { File.open(logfile, "wb"){|f| f.write content } } subject { log.read } context "compatible with utf-8" do let(:content) ...
#include "../../SDL_internal.h" #ifndef _SDL_windowsmouse_h #define _SDL_windowsmouse_h extern HCURSOR SDL_cursor; extern void WIN_InitMouse(_THIS); extern void WIN_QuitMouse(_THIS); #endif /* _SDL_windowsmouse_h */ /* vi: set ts=4 sw=4 expandtab: */
require 'test_helper' class CategoryTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
package rest import ( networkingapiv1 "k8s.io/api/networking/v1" networkingapiv1beta1 "k8s.io/api/networking/v1beta1" "k8s.io/apiserver/pkg/registry/generic" "k8s.io/apiserver/pkg/registry/rest" genericapiserver "k8s.io/apiserver/pkg/server" serverstorage "k8s.io/apiserver/pkg/server/storage" "k8s.io/kubernet...
<HTML><HEAD> <TITLE>Review for Monkeybone (2001)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0166276">Monkeybone (2001)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Steve+Rhodes">Ste...
package org.apache.pig.test; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.pig.ExecType; import org.apache.pig.PigServer; import org.apache.pig.PigToStream; import org.apache.pig.backend.executionengine.ExecException; ...
<!-- Copyright (c) Microsoft Corporation. All rights reserved --> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <link rel="stylesheet" href="/css/scenario1.css"> <script src="/js/scenario1_devicepicker.js"></script> <script src="/js/displayhelpers.js"></script> </...
import sys sys.path.append("/vagrant/ctf-infrastructure/api") import api from datetime import datetime, timedelta settings = api.config.get_settings() settings["start_time"] = datetime.now() settings["end_time"] = settings["start_time"] + timedelta(weeks=1) api.config.change_settings(settings) print("Started the ...
//================================================================================================= //================================================================================================= #ifndef _BLAZE_MATH_FUNCTORS_TAN_H_ #define _BLAZE_MATH_FUNCTORS_TAN_H_ //******************************************...
FROM balenalib/intel-nuc-debian:buster-build RUN apt-get update \ && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ \ # .NET Core dependencies libc6 \ libgcc1 \ libgssapi-krb5-2 \ libicu63 \ libssl1.1 \ libstdc++6 \ ...
""" classify.py is an out-of-the-box image classifer callable from the command line. By default it configures and runs the Caffe reference ImageNet model. """ import numpy as np import os import sys import argparse import glob import time import caffe def main(argv): pycaffe_dir = os.path.dirname(__file__) ...
package org.apache.spark.util.collection.unsafe.sort; import com.google.common.io.ByteStreams; import com.google.common.io.Closeables; import org.apache.spark.SparkEnv; import org.apache.spark.TaskContext; import org.apache.spark.internal.config.package$; import org.apache.spark.internal.config.ConfigEntry; import o...
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // 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 requ...
<!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http:/...
package net.sourceforge.pmd.rules.junit; import java.util.List; import net.sourceforge.pmd.AbstractJavaRule; import net.sourceforge.pmd.ast.ASTClassOrInterfaceDeclaration; import net.sourceforge.pmd.ast.ASTClassOrInterfaceType; import net.sourceforge.pmd.ast.ASTCompilationUnit; import net.sourceforge.pmd.ast.ASTExten...
// Copyright 2014 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. /** @type {!MockVolumeManager} */ var volumeManager; /** @type {!VolumeInfo} */ var cameraVolume; /** @type {!VolumeInfo} */ var sdVolume; /** @type {!...
// 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; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; ...
using System; using System.Reactive.Linq; using Avalonia.Controls.Primitives; namespace Avalonia.Controls.Templates { /// <summary> /// Builds a control for a piece of data. /// </summary> public class FuncDataTemplate : FuncTemplate<object, IControl>, IRecyclingDataTemplate { /// <summary>...
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var _ = require('lodash'); /* jshint ignore:line */ var Holodeck = require('../../../holodeck'); /* jshint ignore:line */ var Request = ...
package gobblin.data.management.retention; import java.io.IOException; import java.util.Collection; import java.util.List; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.slf4j.LoggerFactory; import org.testng.Assert; import org.testng.ann...
[![Build Status](https://travis-ci.org/css-modules/icss-utils.svg)](https://travis-ci.org/css-modules/icss-utils) # ICSS Utils ## replaceSymbols Governs the way tokens are searched & replaced during the linking stage of ICSS loading. This is broken into its own module in case the behaviour needs to be repl...
<form method="get" class="uk-form" action=""> <fieldset> <legend>Add a New Key</legend> <input name="package_id" type="text" placeholder="Package ID" /> <input name="plan_id" type="text" placeholder="Plan ID" /> <input name="application_id" type="text" placeholder="Application ID" /...
/* Includes ------------------------------------------------------------------*/ #include "stm32f0xx_dma.h" /** @addtogroup STM32F0xx_StdPeriph_Driver * @{ */ /** @defgroup DMA * @brief DMA driver modules * @{ */ /* Private typedef -----------------------------------------------------------*/ /* Private...
package com.impetus.kundera.entity.photographer; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import javax.persistence.Tab...
define("dojo/number", ["./_base/kernel", "./_base/lang", "./i18n", "./i18n!./cldr/nls/number", "./string", "./regexp"], function(dojo, lang, i18n, nlsNumber, dstring, dregexp) { // module: // dojo/number // summary: // TODOC lang.getObject("number", true, dojo); /*===== dojo.number = { // summary: localized ...
package com.adobe.epubcheck.util; import java.io.IOException; import java.io.InputStream; public interface GenericResourceProvider { /* * added parameter to fit with OCFPackage.getInputStream(path) */ public InputStream getInputStream(String path) throws IOException; }
package org.apache.qpid.proton.engine.impl.ssl; import org.apache.qpid.proton.engine.ProtonJSslPeerDetails; public class SslPeerDetailsImpl implements ProtonJSslPeerDetails { private final String _hostname; private final int _port; /** * @deprecated This constructor's visibility will be reduced to...
require 'spec_helper' describe DailyStatistics do describe '#update_for_user' do let(:user) { create(:user) } context('when there is no stats for user for today') do it 'should create new statistics for user' do expect { DailyStatistics.update_for_user(user, 'ru', 1.2, 1) }.t...
/** * @module ol/View */ import BaseObject from './Object.js'; import GeometryType from './geom/GeometryType.js'; import Units from './proj/Units.js'; import ViewHint from './ViewHint.js'; import ViewProperty from './ViewProperty.js'; import {DEFAULT_TILE_SIZE} from './tilegrid/common.js'; import { METERS_PER_UNIT,...
package io.netty.handler.codec.http; import io.netty.util.AsciiString; /** * Defines the common schemes used for the HTTP protocol as defined by * <a href="https://tools.ietf.org/html/rfc7230">rfc7230</a>. */ public final class HttpScheme { /** * Scheme for non-secure HTTP connection. */ public...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
% ============================================================================== % % P R O J E C T S T R U C T U R E % % ============================================================================== \chapter{Project Structure} % <<< -------------------------------------------- % \label{ch:devgui...
#ifndef __STDLIB_H #define __STDLIB_H #include <compiler.h> #include <sys/types.h> #include <stddef.h> #include <malloc.h> #include <endian.h> #include <rand.h> #include <arch/defines.h> __BEGIN_CDECLS; int atoi(const char *num); unsigned int atoui(const char *num); long atol(const char *num); unsigned long atoul(c...
/*================================================== * Exhibit.ViewUtilities English localization *================================================== */ if (!("l10n" in Exhibit.ViewUtilities)) { Exhibit.ViewUtilities.l10n = {}; } Exhibit.ViewUtilities.l10n.unplottableMessageFormatter = function(totalCount, un...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ 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...
YUI.add('datatable-core', function(Y) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. Use this class extension with Widget or another Base-based superclass to create the basic DataTable API and composing class structure. Notable about this architecture is that rendering and UI event ma...
<?php namespace Composer\Repository; use Composer\Config; use Composer\Package\PackageInterface; use Composer\Package\CompletePackage; use Composer\Package\Version\VersionParser; use Composer\Plugin\PluginInterface; /** * @author Jordi Boggiano <j.boggiano@seld.be> */ class PlatformRepository extends ArrayReposi...
// Copyright 2012 Google Inc. All Rights Reserved. /** * @fileoverview Utility class for the XPath test suite. * @author moz@google.com (Michael Zhou) */ goog.provide('wgxpath.test'); goog.require('goog.dom'); goog.require('goog.dom.NodeType'); goog.require('goog.userAgent'); /** * Whether the browser is A...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
static void SkBitmap_ReleaseInfo(void* info, const void* pixelData, size_t size) { SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); delete bitmap; } #define HAS_ARGB_SHIFTS(a, r, g, b) \ (SK_A32_SHIFT == (a) && SK_R32_SHIFT == (r) \ && SK_G32_SHIFT == (g) && SK_B32_SHIFT == (b)) static SkBitmap* ...
<?xml version="1.0"?> <tool id="circos_wiggle_to_stacked" name="Circos: Stack bigWigs as Histogram" version="@WRAPPER_VERSION@"> <description>reformats for use in Circos stacked histogram plots</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"> </expan...
using autofill::PasswordForm; using autofill::PasswordFormMap; namespace { const char kSpdyProxyRealm[] = "/SpdyProxy"; // This routine is called when PasswordManagers are constructed. // // Currently we report metrics only once at startup. We require // that this is only ever called from a single thread in order to...
<%inherit file="base.htm" /> <%block name="content"> <form method="POST"> <table> <tbody> ${ form} </tbody> </table> <input class="button btn-success" type="submit" value="Update Serial Inventory"/> </form> </%block>
package org.locationtech.geomesa.tools.ingest import java.io.{File, Serializable} import java.util.{Map => JMap} import com.twitter.scalding.Args import com.typesafe.scalalogging.slf4j.Logging import org.geotools.coverage.grid.io.AbstractGridCoverage2DReader import org.geotools.coverageio.gdal.dted.DTEDReader import...
import os import sys import shutil import random import tempfile import datetime from functools import partial from multiprocessing.dummy import Pool from subprocess import call BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.dirname(BASE_DIR)) from global_variables import * report_step ...
// Type definitions for Date Range Picker v2.1.19 // Project: http://www.daterangepicker.com/ // Definitions by: SirMartin <https://github.com/SirMartin/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference path="../jquery/jquery.d.ts"/> /// <reference path="../moment/moment.d.ts"/> inte...
<?xml version="1.0" encoding="UTF-8"?> <!-- Messaging Destinations deployment descriptor. $Id: destinations-service.xml 6916 2007-12-05 17:53:00Z pmuir $ --> <server> <!-- The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container. --> <mbean code="org.jboss.j...
/************* Dropbox Theme (by thezoggy) *************/ /* overall */ .tablesorter-dropbox { width: 100%; font: 13px/32px "Open Sans","lucida grande","Segoe UI",arial,verdana,"lucida sans unicode",tahoma,sans-serif; color: #555; text-align: left; background-color: #fff; border-collapse: collapse; border-top...
package org.drools.core.runtime.rule.impl; import org.drools.core.QueryResultsImpl; import javax.xml.bind.annotation.adapters.XmlAdapter; public class QueryResultsJaxbAdapter extends XmlAdapter<QueryResultsImpl, FlatQueryResults>{ @Override public QueryResultsImpl marshal(FlatQueryResults v) throws Excep...
/* * 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 com.amazonaws.services.lookoutmetrics.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.Request; import com.amazonaws.http.HttpMethodName; import com.amazonaws.services.lookoutmetrics.model.*; import com.amazonaws.transform.Marshaller; import ...
using System; using System.Linq; using System.Reactive.Disposables; namespace Microsoft.Its.Domain { public static class EventBusExtensions { /// <summary> /// Publishes events asynchronously on the specified event bus. /// </summary> /// <param name="bus">The event bus.</param>...
<?php namespace PhpParser\Node\Expr\BinaryOp; use PhpParser\Node\Expr\BinaryOp; class Coalesce extends BinaryOp { }
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Framework API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/black-tie/jquery-ui-1.8.2.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" ty...
""" ================ Confusion matrix ================ Example of confusion matrix usage to evaluate the quality of the output of a classifier on the iris data set. The diagonal elements represent the number of points for which the predicted label is equal to the true label, while off-diagonal elements are those that ...
#import "NSObject.h" @class NSString; @interface FCRLandmark : NSObject { NSString *type; unsigned long long pointCount; struct CGPoint *points; } + (id)landmarkWithType:(id)arg1 pointCount:(unsigned long long)arg2 points:(struct CGPoint *)arg3; @property(readonly) struct CGPoint *points; // @synthesiz...
function foo(s: symbol[]) { } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } foo(...new SymbolIterator); //// [iteratorSpreadInCall2.js] function foo(s) { } class SymbolIterator { ...
import { wrap } from "./index"; export = wrap;
bool validImageSize(GLint level, GLsizei width, GLsizei height) { if (level < 0 || width < 0 || height < 0) { return false; } if (gl::getContext() && gl::getContext()->supportsNonPower2Texture()) { return true; } if (level == 0) { return true; } if (gl:...
package org.testng.mustache; public class StringChunk extends BaseChunk { private String m_string; public StringChunk(Model model, String string) { super(model); m_string = string; } @Override public String compose() { return m_string; } @Override public String toString() { return "...
package com.commonsware.android.preso.decktastic; import android.app.Activity; import android.content.pm.PackageManager; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener; import and...
package com.intellij.execution.ui; import com.intellij.execution.filters.Filter; import com.intellij.execution.filters.HyperlinkInfo; import com.intellij.execution.process.ProcessHandler; import com.intellij.openapi.actionSystem.AnAction; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Null...
<?php namespace I18n\Plural; class Tamazight extends IntegerRule { public function plural_category($count) { if ($this->is_int($count) AND ($count == 0 OR $count == 1 OR ($count >= 11 AND $count <= 99))) { return 'one'; } else { return 'other'; } } }
angular-routing ================== Module to that aim to create rest routes for resource with minimal configuration. Inspired by server side mvc framework ###Add module to you app `angular.module('app',['ngRouting'])` ###Configure your resource ```javascript app.config(function (routingProvider) { routingProvider....
<!DOCTYPE html> <html lang="en"> {% include head.html %} <body> {% include nav.html %} {{ content }} {% include footer.html %} {% include ga.html %} </body> </html>
package io.sipstack.transport.event; /** * @author jonas@jonasborjesson.com */ public interface SipRequestFlowEvent extends SipFlowEvent { default boolean isSipRequestEvent() { return true; } default SipRequestFlowEvent toSipRequestFlowEvent() { return this; } }
entity=lambda name,attributesTypes: "type %s struct {\n%s\n}"%(name,'\n'.join([ attribute+' '+type for attribute, type in attributesTypes.items()])) jsonKeyCase=lambda s: s.lower() if s[1].isupper() else s[0].lower()+s[1:] from collections import OrderedDict d=OrderedDict() with open("tmp","r") as f: for line...
package org.camunda.bpm.engine.test.jobexecutor; import static org.assertj.core.api.Assertions.assertThat; import java.util.List; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.spi.ILoggingEvent; import org.camunda.bpm.engine.ManagementService; import org.camunda.bpm.engine.RuntimeService; impor...
module Main where import Entities import Control.Monad.IO.Class (liftIO) import Database.Persist import Database.Persist.Sqlite import Text.Megaparsec import FooParser (parseSections, Section(..)) import qualified Database.Esqueleto as E import Control.Monad import Database.Persist.Sql (toSqlKey) main :: IO () main ...
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugins\BulkTracking\Tracker; use Exception; use Piwik\Common; use Piwik\Tracker; class Response extends Tracker\Response { /** * Echos a...
title: Un gând de încheiere date: 05/03/2021 --- „Hristos a purtat păcatele noastre în trupul Lui, pe lemn […]. Ce este păcatul dacă nicio fiinţă creată nu a putut să facă ispăşire pentru el? Cum este blestemul lui dacă doar Dumnezeu a putut să-l anuleze? Crucea lui Hristos dă mărturie oricărui om că pedeapsa pentru...
package alluxio.client.block; import alluxio.client.RemoteBlockWriter; import alluxio.exception.AlluxioException; import alluxio.metrics.MetricsSystem; import alluxio.wire.WorkerNetAddress; import com.codahale.metrics.Counter; import java.io.IOException; import javax.annotation.concurrent.NotThreadSafe; import ja...
<?php /** * Class ThreadFixture * * @package Cake.Test.Fixture */ class ThreadFixture extends CakeTestFixture { /** * fields property * * @var array */ public $fields = array( 'id' => array('type' => 'integer', 'key' => 'primary'), 'project_id' => array('type' => 'integer', 'null' => false), 'na...
package com.intellij.projectImport; import com.intellij.openapi.extensions.ExtensionPointName; import com.intellij.openapi.extensions.Extensions; import com.intellij.openapi.project.Project; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.nio.file.Path; /** * @autho...
import os import subprocess import re def filter_changes(regex, ignore_untracked=False): pattern = re.compile(regex) return filter(pattern.search, get_repo_changes(ignore_untracked)) def get_repo_changes(ignore_untracked=False): """ Return a list of modified files within a git repository """ ...
<!DOCTYPE html> <meta charset=utf-8> <title>Node.replaceChild</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <body><a><b></b><c></c></a> <div id="log"></div> <script> // IDL. test(function() { var a = document.createElement("div"); assert_throws(new...
from __future__ import unicode_literals from django.db import models class ProductA(models.Model): class Meta: ordering = ['id'] #ascending mode #ordering = ['-id'] #descending mode db_table = 'product_a' name_kr = models.CharField(max_length=128, unique=True, verbose_name=u"한국어이름(n...
package cognitiveservices // Copyright (c) Microsoft and contributors. All rights reserved. // // 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...
<?php App::uses('Hash', 'Utility'); App::uses('CakePlugin', 'Core'); /** * Ini file configuration engine. * * Since IniReader uses parse_ini_file underneath, you should be aware that this * class shares the same behavior, especially with regards to boolean and null values. * * In addition to the native `parse_...
<!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...
const uint64_t kExpected_NEON_uqshl_D_2OPIMM[] = { 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xf...
module Ugc class Management < Usergrid::Management def initialize super management_url auth_token = $settings.access_token end def management_url raise "not configured" unless $settings.base_url $settings.base_url end def login(username, password) super username, p...
<?php /** Zend_Log_Filter_Abstract */ require_once 'Zend/Log/Filter/Abstract.php'; /** * @category Zend * @package Zend_Log * @subpackage Filter * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License...
namespace policy { TEST(BrowserPolicyConnectorTest, IsNonEnterpriseUser) { // List of example emails that are not enterprise users. static const char* kNonEnterpriseUsers[] = { "fizz@aol.com", "foo@gmail.com", "bar@googlemail.com", "baz@hotmail.it", "baz@hotmail.co.uk", "baz@hotmail.com.tw"...
declare module 'html-minifier' { import * as UglifyJS from 'uglify-js'; import * as CleanCSS from 'clean-css'; import * as RelateUrl from 'relateurl'; namespace HTMLMinifier { function minify(text: string, options?: Options): string; interface Options { // Strip HTML comments removeComment...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>quickchick: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
var Package = require('dgeni').Package; module.exports = function mockPackage() { return new Package('mockPackage', [require('../')]) // provide a mock log service .factory('log', function() { return require('dgeni/lib/mocks/log')(false); }) // .factory('templateEngine', function() { return {}; }); };
[#]: subject: (How to manage feedback on your open project) [#]: via: (https://opensource.com/open-organization/21/7/manage-feedback-open-project) [#]: author: (Laura Hilliger https://opensource.com/users/laurahilliger) [#]: collector: (lujun9972) [#]: translator: ( ) [#]: reviewer: ( ) [#]: publisher: ( ) [#]: url: ( ...
package listeners import ( "crypto/tls" "fmt" "net" "strings" "github.com/Microsoft/go-winio" "github.com/docker/go-connections/sockets" ) // Init creates new listeners for the server. func Init(proto, addr, socketGroup string, tlsConfig *tls.Config) ([]net.Listener, error) { ls := []net.Listener{} switch p...
package elastic // MaxAggregation is a single-value metrics aggregation that keeps track and // returns the maximum value among the numeric values extracted from // the aggregated documents. These values can be extracted either from // specific numeric fields in the documents, or be generated by // a provided script. ...
<?php namespace ZendTest\Validator\File; use Zend\Validator\File; /** * @category Zend * @package Zend_Validator_File * @subpackage UnitTests * @group Zend_Validator */ class ExistsTest extends \PHPUnit_Framework_TestCase { /** * @return array */ public function ba...
<?php namespace Symfony\Component\VarDumper\Cloner; use Symfony\Component\VarDumper\Caster\Caster; use Symfony\Component\VarDumper\Exception\ThrowingCasterException; /** * AbstractCloner implements a generic caster mechanism for objects and resources. * * @author Nicolas Grekas <p@tchwork.com> */ abstract clas...
package org.apache.drill.exec.expr.fn.interpreter; import java.lang.reflect.Field; import java.lang.reflect.Method; import javax.annotation.Nullable; import javax.inject.Inject; import com.google.common.base.Function; import org.apache.drill.common.exceptions.DrillRuntimeException; import org.apache.drill.common.ex...
<?php defined('C5_EXECUTE') or die("Access Denied."); $u = new User(); $fp = FilePermissions::getGlobal(); if (!$fp->canAddFiles()) { die(t("Unable to add files.")); } $f = File::getByID($_REQUEST['fID']); if (is_object($f) && (!$f->isError())) { $fID = $f->getFileID(); } $bt = BlockType::getByHandle('image'); $ur...
 CKEDITOR.plugins.setLang( 'indent', 'en', { indent: 'Increase Indent', outdent: 'Decrease Indent' } );
<?xml version="1.0"?> <projectProfile type="default" version="1.10"> <projectDirectory> <projectProfileFile filesystemName=".zfproject.xml"/> <applicationDirectory classNamePrefix="Application_"> <apisDirectory enabled="false"/> <configsDirectory> <applicationConfigFile type="ini"/> ...
package io.undertow.security.impl; import io.undertow.security.api.AuthenticationMechanism; import io.undertow.security.api.NotificationReceiver; import io.undertow.security.api.SecurityContext; import io.undertow.security.api.SecurityNotification; import io.undertow.security.idm.Account; import io.undertow.security...