text
stringlengths
3
1.05M
import { coreStoreFactory } from 'kolibri.coreVue.vuex.store'; import pluginModule from '../../src/modules/pluginModule'; export default function makeStore() { return coreStoreFactory(pluginModule); }
define('dojox/grid/nls/DataGrid_fr-fr',{ 'dijit/nls/loading':{"loadingState":"Chargement...","errorState":"Une erreur est survenue"} });
/* Word iOS specific JavaScript API library */ /* Version: 15.0.4420.1017 Build Time: 02/27/2014 */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419. */ OSF.OUtil.augmentList(Micros...
"""Utilities related to disk I/O.""" from __future__ import absolute_import from __future__ import print_function import numpy as np import sys from collections import defaultdict try: import h5py except ImportError: h5py = None class HDF5Matrix(object): """Representation of HDF5 dataset to be used inst...
WebInspector.FormatterSourceMap = function(originalLineEndings, formattedLineEndings, mapping) { WebInspector.Object.call(this); this._originalLineEndings = originalLineEndings; this._formattedLineEndings = formattedLineEndings; this._mapping = mapping; }; WebInspector.FormatterSourceMap.fromBuilder...
package retrofit; import java.io.IOException; /** * An invocation of a Retrofit method that sends a request to a webserver and returns a response. * Each call yields its own HTTP request and response pair. Use {@link #clone} to make multiple * calls with the same parameters to the same webserver; this may be used...
define([ "dojo/_base/array", // array.forEach array.map "dojo/_base/declare", // declare "dojo/_base/kernel", // kernel.global "./registry" // to add functions to dijit.registry ], function(array, declare, kernel, registry){ // module: // dijit/WidgetSet var WidgetSet = declare("dijit.WidgetSet", nu...
package org.unitime.timetable.form; import java.util.ArrayList; import java.util.Collection; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionMe...
package org.jf.dexlib2.immutable.value; import org.jf.dexlib2.base.value.BaseIntEncodedValue; import org.jf.dexlib2.iface.value.IntEncodedValue; public class ImmutableIntEncodedValue extends BaseIntEncodedValue implements ImmutableEncodedValue { protected final int value; public ImmutableIntEncodedValue(in...
package HOCRF; /** * Feature class * @author Nguyen Viet Cuong */ public class Feature { String obs; // The observation part of the feature String pat; // The pattern of the feature double value; // Value of the feature /** * Construct a new feature from observation, pattern, and value. ...
using System.Diagnostics; using System.Xml.XPath; namespace MS.Internal.Xml.XPath { // DescendantOverDescendantQuery: for each input it looks for the topmost descendents that matches to ns:name // This is possible when query which has this query as its input (child query) is descendent as well. // Work of ...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util" xmlns="http://www.springframework.org/schema/beans" xsi:schemaLocation="ht...
using namespace llvm; namespace clang { /// InheritanceHierarchyWriter - Helper class that writes out a /// GraphViz file that diagrams the inheritance hierarchy starting at /// a given C++ class type. Note that we do not use LLVM's /// GraphWriter, because the interface does not permit us to properly /// differentia...
<?php require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); $t = new lime_test(16, new lime_output_color()); class myRequest extends sfWebRequest { public $languages = null; public $charsets = null; public $acceptableContentTypes = null; } $dispatcher = new sfEventDispatcher(); $request = new myReque...
namespace content { MediaStreamAudioSource::MediaStreamAudioSource( int render_view_id, const StreamDeviceInfo& device_info, const SourceStoppedCallback& stop_callback, MediaStreamDependencyFactory* factory) : render_view_id_(render_view_id), factory_(factory) { SetDeviceInfo(device_info); ...
/*jslint nomen: true */ var Instrumenter = require('../../lib/instrumenter'), esprima = require('esprima'), instrumenter; module.exports = { "missing type attributes": { setUp: function (cb) { instrumenter = new Instrumenter(); cb(); }, "barfs when a type att...
int main() { // Dataset of keywords std::vector<std::string> keys = { "AirPods", "AirTag", "Mac", "MacBook", "MacBook_Air", "MacBook_Pro", "Mac_Mini", "Mac_Pro", "iMac", "iPad", "iPhone", "iPhone_SE", }; // The input keys must be sorted and unique (already satisfied in this c...
import { KubernetesObject } from "kpt-functions"; import * as apisMetaV1 from "./io.k8s.apimachinery.pkg.apis.meta.v1"; // AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole export class AggregationRule { // ClusterRoleSelectors holds a list of selectors which will be used to find...
/*! * inferno-component v1.0.0-alpha9 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.InfernoComponent ...
require('../../../modules/es6.function.bind'); module.exports = require('../../../modules/_entry-virtual')('Function').bind;
<?php namespace Symfony\Bundle\FrameworkBundle\Tests\Templating\Helper; use Symfony\Component\Form\FormView; use Symfony\Component\Form\Extension\Templating\TemplatingExtension; use Symfony\Component\Form\Tests\AbstractDivLayoutTest; use Symfony\Bundle\FrameworkBundle\Tests\Templating\Helper\Fixtures\StubTemplateNa...
/** * Creates a new `Graphics` object. * * @class Phaser.Graphics * @constructor * @extends PIXI.Graphics * @extends Phaser.Component.Core * @extends Phaser.Component.Angle * @extends Phaser.Component.AutoCull * @extends Phaser.Component.Bounds * @extends Phaser.Component.Destroy * @extends Phaser.Component.FixedToCa...
'use strict'; import 'vs/css!./media/extensionsWidgets'; import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { IExtension, IExtensionsWorkbenchService } from '../common/extensions'; import { append, $, addClass } from 'vs/base/browser/dom'; export interface IOptions { extension?: IExtension; s...
<!DOCTYPE html> <head> <meta name="viewport" content="width=device-width; initial-scale=1.0;" /> <title>Sala K </title> <!-- find and replace all to set the file structure Site Name twitterName Sitename we are a collaborative corporation {share image} http://www.siteName.org Site description //...
from sqlalchemy.testing import assert_raises_message, assert_raises import sqlalchemy as sa from sqlalchemy import testing from sqlalchemy import Integer, String from sqlalchemy.testing.schema import Table, Column from sqlalchemy.orm import mapper, relationship, \ create_session, class_mapper, \ Mapper, column_...
// This code is in the public domain -- castano@gmail.com #include "ThreadPool.h" #include "Mutex.h" #include "Thread.h" #include "Atomic.h" #include "nvcore/Utils.h" // Most of the time it's not necessary to protect the thread pool, but if it doesn't add a significant overhead, then it'd be safer to do it....
using UnityEngine; using System.Collections; public class AddRemoveBodies : MonoBehaviour { private float m_time = 0.0f; private float m_lastOperation = 0.0f; private float m_operationPeriod = 1.0f; private int m_operationCount = 0; private int m_numDynamicObjects = 5; public GameObject m_objectToInstan...
set -u set -x set -e type=$1 release=${2} path="../enyo2/$type" build="$path/deploy/$type"; if [ $release == "release" ]; then target="$type"; else target="$type-dev"; fi # clear old builds set +e rm -r $target rm -r $build set -e # build app cd $path tools/deploy.sh cd - mv $build $target # copy icons cp 30x30....
package com.google.samples.apps.topeka.model.quiz; import android.os.Parcel; public final class PickerQuiz extends Quiz<Integer> { private final int mMin; private final int mMax; private final int mStep; public PickerQuiz(String question, Integer answer, int min, int max, int step, boolean solved)...
#ifndef SelectPopupClient_h #define SelectPopupClient_h #include "IntSize.h" #include "PagePopupClient.h" #include "ScopePointer.h" #include "Timer.h" #include <wtf/text/WTFString.h> namespace WebCore { class HTMLSelectElement; } namespace BlackBerry { namespace Platform { class String; } namespace WebKit { clas...
module Fastlane module Actions class LaneContextAction < Action def self.run(params) Actions.lane_context end ##################################################### # @!group Documentation ##################################################### def self.description ...
package datastore import ( "errors" "github.com/docker/libkv/store" "github.com/docker/libnetwork/types" ) var ( // ErrNotImplmented exported ErrNotImplmented = errors.New("Functionality not implemented") ) // MockData exported type MockData struct { Data []byte Index uint64 } // MockStore exported type Mo...
using System; using System.Threading.Tasks; using RESTyard.AspNetCore.Exceptions; namespace RESTyard.AspNetCore.Hypermedia.Actions { /// <summary> /// A HypermediaFunction. For each concrete type a corresponding attributed route must exist. /// </summary> /// <typeparam name="TParameter">Parameter obje...
goog.provide('goog.testing.fs.DirectoryEntryTest'); goog.setTestOnly('goog.testing.fs.DirectoryEntryTest'); goog.require('goog.array'); goog.require('goog.fs.DirectoryEntry'); goog.require('goog.fs.Error'); goog.require('goog.testing.AsyncTestCase'); goog.require('goog.testing.MockClock'); goog.require('goog.testing.f...
package com.axway.ats.rbv.rules; import static org.easymock.EasyMock.expect; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.powermock.api.easymock.PowerMock.createMock; import static org.powermock.api.easymock.PowerMock.replayAll; import static org.powermock.a...
// Copyright 2015 Google Inc. 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 required by applicable...
package edu.pitt.apollo.timeseriesvisualizer; import edu.pitt.apollo.ApolloServiceQueue; import edu.pitt.apollo.ApolloServiceThread; import edu.pitt.apollo.exception.FilestoreException; import edu.pitt.apollo.exception.RunManagementException; import edu.pitt.apollo.services_common.v4_0_2.*; import edu.pitt.apollo.time...
from django.contrib.sitemaps import Sitemap from .models import Institution, Tag class InstitutionSitemap(Sitemap): def items(self): return Institution.objects.all() class TagSitemap(Sitemap): def items(self): return Tag.objects.used().all()
package org.kurron.stereotype; /** * The stubbed implementation of the contract. */ @ServiceStub public class StubbedService implements ServiceContract { @Override public String hello() { return "Hello from the stubbed service"; } }
#ifndef _DL_MK_BIT_BLAST_H_ #define _DL_MK_BIT_BLAST_H_ #include"dl_rule_transformer.h" namespace datalog { class mk_bit_blast : public rule_transformer::plugin { class impl; impl* m_impl; public: mk_bit_blast(context & ctx, unsigned priority = 35000); ~mk_bit_blast(); ...
import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { NgModule, ApplicationRef } from '@angular/core'; import { removeNgStyles, createNewHosts, createInputTransfer } from '@angularclass/hmr'; import { Rou...
BOOST_FIXTURE_TEST_SUITE(scriptnum_tests, BasicTestingSetup) static const int64_t values[] = \ { 0, 1, CHAR_MIN, CHAR_MAX, UCHAR_MAX, SHRT_MIN, USHRT_MAX, INT_MIN, INT_MAX, UINT_MAX, LONG_MIN, LONG_MAX }; static const int64_t offsets[] = { 1, 0x79, 0x80, 0x81, 0xFF, 0x7FFF, 0x8000, 0xFFFF, 0x10000}; static bool verif...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Tagging; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Editor.Shared.Taggin...
[![Build Status](https://travis-ci.org/phossa/phossa-query.svg?branch=master)](https://travis-ci.org/phossa/phossa-query) [![HHVM](https://img.shields.io/hhvm/phossa/phossa-query.svg?style=flat)](http://hhvm.h4cc.de/package/phossa/phossa-query) [![Latest Stable Version](https://img.shields.io/packagist/vpre/phossa/phos...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * The RegExp instance lastIndex property has the attribute DontDelete * * @path ch15/15.10/15.10.7/15.10.7.5/S15.10.7.5_A9.js * @description Checking if deleting the lastIndex property fails */ __re = new RegExp; //CHECK#0 if (__re.hasOwnProperty('...
#ifndef _VASNWPRINTF_H #define _VASNWPRINTF_H /* Get va_list. */ #include <stdarg.h> /* Get wchar_t, size_t. */ #include <stddef.h> #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF ...
- Maintenance and stability enhancements.
using System; using Grapevine.Interfaces.Server; using Grapevine.Server; using Grapevine.Server.Attributes; using Grapevine.Shared; namespace Grapevine.Local { public class Program { public static void Main(string[] args) { using (var server = new RestServer()) { ...
#ifndef QCSSPARSER_P_H #define QCSSPARSER_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists for the convenience // of the QLibrary class. This header file may change from // version to version without notice, or even be removed. // // We mean it. // #include <QtCore/Q...
/** * Immutable Data * ============== * * Immutable data encourages pure functions (data-in, data-out) and lends itself * to much simpler application development and enabling techniques from * functional programming such as lazy evaluation. * * While designed to bring these powerful functional concepts to Jav...
<?php namespace Guzzle\Tests\Plugin\Cookie\CookieJar; use Guzzle\Plugin\Cookie\Cookie; use Guzzle\Plugin\Cookie\CookieJar\FileCookieJar; /** * @covers Guzzle\Plugin\Cookie\CookieJar\FileCookieJar */ class FileCookieJarTest extends \Guzzle\Tests\GuzzleTestCase { private $file; public function setUp() {...
.sc-view.sc-control-test-pane { border: 1px #888 solid ; overflow-y: auto; background: white; } .sc-view.sc-control-test-pane .sc-view.wrapper { border: 1px #ccc solid; }
/** * */ package org.olat.core.gui.control.generic.wizard; import org.olat.core.gui.UserRequest; import org.olat.core.gui.components.Component; import org.olat.core.gui.components.form.flexible.FormItem; import org.olat.core.gui.components.form.flexible.FormItemContainer; import org.olat.core.gui.components.form.fl...
from django.contrib.localflavor.sk.forms import (SKRegionSelect, SKPostalCodeField, SKDistrictSelect) from django.test import SimpleTestCase class SKLocalFlavorTests(SimpleTestCase): def test_SKRegionSelect(self): f = SKRegionSelect() out = u'''<select name="regions"> <option value="BB">Bansk...
'use strict'; // NOTE: ADVANCED_OPTIMIZATIONS mode. // // This file is compiled with Closure compiler's ADVANCED_OPTIMIZATIONS flag! Be wary of using // constructs incompatible with that mode. /* global $interpolateMinErr: false */ /* global indexToLineAndColumn: false */ /* global InterpolationParts: false */ /* glo...
.plottable-colors-0 { background-color: #5279c7; /* INDIGO */ } .plottable-colors-1 { background-color: #fd373e; /* CORAL_RED */ } .plottable-colors-2 { background-color: #63c261; /* FERN */ } .plottable-colors-3 { background-color: #fad419; /* BRIGHT_SUN */ } .plottable-colors-4 { background-color: #2c2...
/* eslint-disable import/no-extraneous-dependencies */ import React from 'react'; import { mount } from 'enzyme'; import { BadgeDate } from './BadgeDate.component'; import { BadgeFacetedProvider } from '../../context/badgeFaceted.context'; import getDefaultT from '../../../translate'; const badgeFacetedContextValue = ...
require File.expand_path('../boot', __FILE__) require 'rails/all' Bundler.require require "pdf_maker" module Dummy class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers ...
function showUpdateOptionSetForm( context ) { location.href = 'showUpdateOptionSetForm.action?id=' + context.id; } function showOptionSetDetails( context ) { jQuery.post('getOptionSet.action', { id: context.id }, function( json ) { setInnerHTML('nameField', json.optionSet.name); setInnerH...
// Type definitions for Lo-Dash // Project: http://lodash.com/ // Definitions by: Brian Zengel <https://github.com/bczengel> // Definitions: https://github.com/borisyankov/DefinitelyTyped declare var _: _.LoDashStatic; declare module _ { interface LoDashStatic { /** * Creates a lodash object which...
import * as saml from './lib/saml-authentication'; export * from './lib/sso-authentication'; export * from './lib/jwt-authentication'; export * from './lib/session-authentication'; export * from './lib/two-factor-authentication'; export * from './lib/cipher'; export { saml };
<?php /** * CPgsqlSchema is the class for retrieving metadata information from a PostgreSQL database. * * @author Qiang Xue <qiang.xue@gmail.com> * @package system.db.schema.pgsql * @since 1.0 */ class CPgsqlSchema extends CDbSchema { const DEFAULT_SCHEMA='public'; /** * @var array the abstract column type...
package qos import ( "strconv" "testing" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/resource" ) const ( standardMemoryAmount = 8000000000 ) var ( zeroRequestMemoryBestEffort = api.Container{ Resources: api.ResourceRequirements{ Requests: api.ResourceList{ api.ResourceName(api.ResourceCP...
package data import ( "testing" ) func TestMemoryStore(t *testing.T) { t.Parallel() testStore(t, NewMemoryStore()) } func BenchmarkMemoryStore(b *testing.B) { s := NewMemoryStore() b.ResetTimer() for i := 0; i < b.N; i++ { benchStore(b, s) } }
<?php /* * Autoloader and dependency injection initialization for Swift Mailer. */ if (defined('SWIFT_REQUIRED_LOADED')) { return; } define('SWIFT_REQUIRED_LOADED', true); // Load Swift utility class require dirname(__FILE__) . '/classes/Swift.php'; if (!function_exists('_swiftmailer_init')) { function...
package microsoft.exchange.webservices.data.property.definition; import microsoft.exchange.webservices.data.core.EwsServiceXmlReader; import microsoft.exchange.webservices.data.core.EwsServiceXmlWriter; import microsoft.exchange.webservices.data.core.EwsUtilities; import microsoft.exchange.webservices.data.core.XmlA...
require "spec_helper" describe Mongoid::Extensions::Set do describe "#demongoize" do it "returns the set if Array" do Set.demongoize([ "test" ]).should eq(Set.new([ "test" ])) end end describe ".mongoize" do it "returns an array" do Set.mongoize([ "test" ]).should eq([ "test" ]) e...
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Collections.Immutable Imports System.Runtime.InteropServices Imports System.Threading Imports Microsoft.CodeAnalysis.Collections Imports Micros...
package base import ( "crypto/md5" "crypto/rand" "crypto/sha1" "encoding/base64" "encoding/hex" "fmt" "html/template" "io" "math" "math/big" "net/http" "strconv" "strings" "time" "unicode" "unicode/utf8" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/setting" "github.com/Unknwon/com...
package org.elasticsearch.cluster.routing.operation.hash; /** * Simple hash function interface used for shard routing. */ public interface HashFunction { /** * Calculate a hash value for routing * @param routing String to calculate the hash value from * @return hash value of the given routing...
drop sequence if exists TestSequence; drop table if exists table1; drop table if exists table2; drop table if exists table3; create table table1 ( id int generated by default as identity (start with 11) not null, name varchar(20) ); create table table2 ( id int generated by default as identity (start with 22) not nul...
export { Draw as default } from "./";
package org.apache.hadoop.hive.metastore.model; public class MResourceUri { private int resourceType; private String uri; public MResourceUri() { } public MResourceUri(int resourceType, String uri) { super(); this.resourceType = resourceType; this.uri = uri; } public int getResourceType(...
#ifndef X11_ROFI_HELPER_H #define X11_ROFI_HELPER_H int window_get_prop ( Display *display, Window w, Atom prop, Atom *type, int *items, void *buffer, unsigned int bytes ) __attribute__ ( ( nonnull ( 4, 5 ) ) ); /** * @param display Connection to the X server. * @param w...
/** * @constructor */ WebInspector.DOMSyntaxHighlighter = function(mimeType, stripExtraWhitespace) { this._tokenizer = WebInspector.SourceTokenizer.Registry.getInstance().getTokenizer(mimeType); this._stripExtraWhitespace = stripExtraWhitespace; } WebInspector.DOMSyntaxHighlighter.prototype = { createS...
package etcd import ( "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels" etcdtesting "k8s.io/apiserver/pkg/storage/etcd/testing" "k8s.io/kubernetes/pkg/registry/registrytest" templateapi "github.com/openshift/origin/pkg/template/apis/templ...
<a routerLink="/app/misc">Misc</a> | <a routerLink="/app/project-tester">Project Tester</a>
{-| Module : Reactive.DOM.Internal.ChildrenContainer Description : Definition of the ChildrenContainer class. Copyright : (c) Alexander Vieth, 2016 Licence : BSD3 Maintainer : aovieth@gmail.com Stability : experimental Portability : non-portable (GHC only) -} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE Ki...
using System.Globalization; using System.Text.RegularExpressions; namespace System.ComponentModel.DataAnnotations { /// <summary> /// Regular expression validation attribute /// </summary> [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, Allow...
namespace boost { namespace xpressive { namespace detail { /////////////////////////////////////////////////////////////////////////////// // mark_placeholder // struct mark_placeholder { BOOST_XPR_QUANT_STYLE(quant_variable_width, unknown_width::value, true) int mark_number_; }; ////////////////////////////...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using CollectN.Core; using CollectN.Debug; namespace CollectN.Plugins { class InterfacePlugin : IInputPlugin { private readonly PerformanceCounter[] _counters; ...
package org.junit.tests.experimental.rules; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOExc...
<?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 Lice...
package com.amazonaws.services.redshift.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; /** * Container for the parameters to the {@link com.amazonaws.services.redshift.AmazonRedshift#createCluster(CreateClusterRequest) CreateCluster operation}. * <p> * Creates a new cluster. To...
(function() { // define http namespace var http = {}; // logging category var cat = 'forge.http'; // add array of clients to debug storage if(forge.debug) { forge.debug.set('forge.http', 'clients', []); } // normalizes an http header field name var _normalize = function(name) { return name.toLowerCase().replac...
This repository is a collection of [GNU Bash](https://www.gnu.org/software/bash/) scripts. - They have been tested on Ubuntu, Debian and Kali, as well as Mac OSX using iTerm. - Most of these scripts are meant to be added to the local $PATH for convenience. - Refer to references/references.bashrc or below u...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SuperSocket.Management.Shared { /// <summary> /// Start command result /// </summary> public class StartResult { /// <summary> /// Gets or sets a value indicating whether th...
layout: global title: SQL Reference redirect_from: /sql-reference displayTitle: SQL Reference license: | 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. Th...
package fr.ece.tweetstats.search.serviceapi; import fr.ece.tweetstats.search.domain.Search; import fr.ece.tweetstats.search.serviceapi.SearchService; import java.util.List; import java.util.Set; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.sculpt...
package healthcheck import ( "fmt" "net/http" "github.com/golang/glog" ) // A healthCheckHandler serves http requests on /healthz on the service health check node port, // and responds to every request with either: // 200 OK and the count of endpoints for the given service that are local to this node. // or // ...
from os.path import join from numpy.compat import isfileobj from numpy.testing import assert_, run_module_suite from numpy.testing.utils import tempdir def test_isfileobj(): with tempdir(prefix="numpy_test_compat_") as folder: filename = join(folder, 'a.bin') with open(filename, 'wb') as f: ...
require 'chef/shell_out' compiletime = node['build_essential']['compiletime'] case node['platform_family'] when "rhel", "suse", "fedora", "debian" # on apt-based platforms when first provisioning we need to force # apt-get update at compiletime if we are going to try to install at compiletime if node['platform...
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package ascii85 implements the ascii85 data encoding // as used in the btoa tool and Adobe's PostScript and PDF document formats. package ascii85 import ( ...
(function( window, $, undefined ) { var $event = $.event, resizeTimeout; $event.special.smartresize = { setup: function() { $(this).bind( "resize", $event.special.smartresize.handler ); }, teardown: function() { $(this).unbind( "resize", $event.special.smartresize.handler ); }, han...
<div class="block-center mt-xl wd-xl" ng-controller="RegisterFormController as reg"> <!-- START panel--> <div class="panel panel-dark panel-flat"> <div class="panel-heading text-center"> <a href="#"> <img class="block-center img-rounded" src="app/img/logo.png" alt="Image" /> ...
require 'test_helper' class VariableUnitTest < Minitest::Test include Liquid def test_variable var = Variable.new('hello') assert_equal VariableLookup.new('hello'), var.name end def test_filters var = Variable.new('hello | textileze') assert_equal VariableLookup.new('hello'), var.name ass...
namespace gl { class Framebuffer; } namespace rx { class Renderer; class Renderer9; class TextureStorageInterface2D; class TextureStorageInterfaceCube; class Image9 : public Image { public: Image9(); ~Image9(); static Image9 *makeImage9(Image *img); static void generateMipmap(Image9 *dest, Image9 ...
<!-- --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>WebGL GLSL Conformance Tests</title> <link rel="stylesheet" href="../../../resources/js-test-style.css"/> <link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/> <script src="../../../resources/js-test-pre.js"></script> <script src=...
"""This module provides the notification command to gsutil.""" from __future__ import absolute_import import getopt import uuid from gslib.cloud_api import AccessDeniedException from gslib.command import Command from gslib.command import NO_MAX from gslib.command_argument import CommandArgument from gslib.cs_api_map...
/** * API Bound Models for AngularJS * @version v1.1.4 - 2014-11-26 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas <ignacio@platan.us> * @license MIT License, http://www.opensource.org/licenses/MIT */ (function(angular, undefined) { 'use strict'; angular.module('restmod').factory('...