text
stringlengths
3
1.05M
package exh3y.telebot.data; import java.io.IOException; import org.codehaus.jackson.map.ObjectMapper; import org.json.JSONObject; import exh3y.telebot.data.games.TelegramGame; import exh3y.telebot.util.ObjectMapperFactory; public class TelegramMessage { private int message_id; private TelegramChat chat; priva...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Lichen candelaris ### Remarks null
package com.franktan.popularmovies.data; import android.content.ComponentName; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.pm.PackageManager; import android.content.pm.ProviderInfo; import android.database.Cursor; import andro...
@-webkit-keyframes oo-ui-progressBarWidget-slide { from { margin-right: -40%; } to { margin-right: 100%; } } @-moz-keyframes oo-ui-progressBarWidget-slide { from { margin-right: -40%; } to { margin-right: 100%; } } @-ms-keyframes oo-ui-progressBarWidget-slide { from { margin-right: -40%; } to { ...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.helpers; /** * @generated */ public class EsbServerEditHelper extends EsbBaseEditHelper { }
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Threading; usin...
<?php namespace Symfony\Component\HttpFoundation\Tests; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Request; class RequestTest extends \PHPUnit_Framework_TestCase { /** * @covers Sy...
<?xml version="1.0" encoding="UTF-8"?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"...
""" The Dummy Extension provides several 'placeholder' type handlers to either mock operations or provide local-only usage during development. A perfect example is the :class:`DummyMailHandler` that can be use during development or staging to prevent real email messages from being sent externally. Requirements ------...
package com.examples.ds; import java.io.Serializable; public class Address implements Serializable { }
package plugins import ( "errors" "sync" "github.com/Sirupsen/logrus" "github.com/docker/docker/pkg/tlsconfig" ) var ( ErrNotImplements = errors.New("Plugin does not implement the requested driver") ) type plugins struct { sync.Mutex plugins map[string]*Plugin } var ( storage = plugins{plugins: ma...
<?php /************************************************************ This is the main web page for the DoDirectPayment sample. This page allows the user to enter name, address, amount, and credit card information. It also accept input variable paymentType which becomes the value of the PAYMENTACTION parameter. ******...
<!-- @license Apache-2.0 Copyright (c) 2018 The Stdlib Authors. 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 redis.clients.jedis.tests; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.junit.Assert; import org.junit.Test; import redis.clients.jedis.HostAndPort; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisShardInfo; import redis.clients.jedis.Protocol; im...
package sql // 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 // // Unless ...
namespace { using bookmarks_helper::AddFolder; using bookmarks_helper::ModelMatchesVerifier; using syncer::sessions::SyncSessionSnapshot; using sync_integration_test_util::AwaitCommitActivityCompletion; class SyncExponentialBackoffTest : public SyncTest { public: SyncExponentialBackoffTest() : SyncTest(SINGLE_CLIE...
<?php namespace Concrete\Core\Area\Layout\Preset\Formatter; interface FormatterInterface { public function getPresetContainerHtmlObject(); }
/* $Id$ */ package org.apache.fop.render.rtf.rtflib.rtfdoc; /* * This file is part of the RTF library of the FOP project, which was originally * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other * contributors to the jfor project (www.jfor.org), who agreed to donate jfor to * the FOP proj...
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import FacebookLogin, { ReactFacebookLoginInfo, ReactFacebookFailureResponse } from 'react-facebook-login'; const responseFacebook = (response: ReactFacebookLoginInfo) => { console.log(response); }; const failureResponseFacebook = (response: ...
namespace boost { namespace intrusive { namespace detail { template<int Dummy = 0> struct prime_list_holder { static const std::size_t prime_list[]; static const std::size_t prime_list_size; }; template<int Dummy> const std::size_t prime_list_holder<Dummy>::prime_list[] = { 3ul, 7ul, 11ul, 17ul, 29ul, 53...
package org.apache.flink.core.memory; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.nio.ByteBuffer; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.jun...
#ifndef __dj_include_ctype_h_ #define __dj_include_ctype_h_ #ifdef __cplusplus extern "C" { #endif #ifndef __dj_ENFORCE_ANSI_FREESTANDING int isalnum(int c); int isalpha(int c); int iscntrl(int c); int isdigit(int c); int isgraph(int c); int islower(int c); int isprint(int c); int ispunct(int c); int isspace(int c)...
<div id="destination-search" class="destination-search overlay transparent" hidden> <div class="page"> <h1 i18n-content="destinationSearchTitle"></h1> <span class="user-info" hidden> <label class="account-select-label" for="account-select"></label> <select class="account-select" id="account-select...
// Copyright 2008 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...
/* ----------------------------------- Template: Theme Name NOTE: This is blog style file. All blog related style included in this file. --------------------------------------*/ .single-blog{ } .blog-img { float: left; } .blog-content-inner { padding-left: 130px; } .blog-content{ padding:10px; position:relativ...
from django.conf import settings from django.db import models class ModelBase(models.Model): """Base class for SUMO models. * Adds update method. """ class Meta: abstract = True # TODO: Remove this in django 1.6, which comes with a smarter save(). def update(self, **kw): """...
/* * This file is part of the swblocks-jbl library. * * 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 applicab...
:mod:`logging.config` --- Logging configuration =============================================== .. module:: logging.config :synopsis: Configuration of the logging module. .. moduleauthor:: Vinay Sajip <vinay_sajip@red-dove.com> .. sectionauthor:: Vinay Sajip <vinay_sajip@red-dove.com> .. sidebar:: Important ...
using base::StringPiece; using std::string; namespace { void EvpMdCtxCleanUp(EVP_MD_CTX* ctx) { (void)EVP_MD_CTX_cleanup(ctx); } } // namespace anonymous namespace net { namespace test { class TestChannelIDSigner : public ChannelIDSigner { public: virtual ~TestChannelIDSigner() { } // ChannelIDSigner impl...
package org.jboss.resteasy.reactive.server.handlers; import javax.ws.rs.container.ContainerRequestFilter; import org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext; import org.jboss.resteasy.reactive.server.jaxrs.ContainerRequestContextImpl; import org.jboss.resteasy.reactive.server.spi.ServerRest...
<!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_31) on Fri Oct 05 17:19:51 PDT 2012 --> <TITLE> org.apache.hadoop.mapreduce.server.tasktracker Class Hierarchy (Hadoop 0.20.2-cdh3u5 API) </TITLE> <...
export declare function symbolIteratorPonyfill(root: any): any; export declare const iterator: any; /** * @deprecated use iterator instead */ export declare const $$iterator: any;
{{ if ne .Site.Params.topline "" }} <div class="container topline"> {{ partial "modules/site/topline.html" . }} </div> {{ end }}
import mock from dataverse import Connection, Dataverse, Dataset, DataverseFile from tests.factories import ExternalAccountFactory from website.addons.base.testing import OAuthAddonTestCaseMixin, AddonTestCase from website.addons.dataverse.model import DataverseProvider from website.addons.dataverse.tests.factories i...
/* * 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 distributed under t...
#ifndef QUICKSTEP_UTILITY_MEMSTREAM_HPP_ #define QUICKSTEP_UTILITY_MEMSTREAM_HPP_ #include <cstddef> #include <cstdio> #include <cstdlib> #include "utility/Macros.hpp" #include "utility/UtilityConfig.h" #include "glog/logging.h" namespace quickstep { /** \addtogroup Utility * @{ */ /** * @brief Abstract int...
package com.intellij.plugins.bodhi.pmd.tree; import org.jetbrains.annotations.NotNull; /** * PMD branch tree node for suppressed rules. It has a Severity.INFO icon and can be sorted after rules and then by name. * * @author jborgers */public class PMDSuppressedBranchNode extends PMDRuleSetEntryNode { public P...
#include "platform/CCPlatformConfig.h" #if CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 #ifndef __AUDIO_CACHE_H_ #define __AUDIO_CACHE_H_ #include <string> #include <mutex> #include <vector> #include "CCPlatformMacros.h" #include "AL/al.h" #define QUEUEBUFFER_NUM 3 #define QUEUEBUFFER_TIME_STEP 0.1f NS_CC_BEGIN namesp...
using System; using System.Text; using Org.BouncyCastle.Security; namespace AllAuth.Lib.Crypto { public static class RandomUtil { public static readonly SecureRandom SecureRandomBc = new SecureRandom(); private const string CharsetUpperCase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; p...
require 'ads_common/savon_service' require 'dfp_api/v201602/forecast_service_registry' module DfpApi; module V201602; module ForecastService class ForecastService < AdsCommon::SavonService def initialize(config, endpoint) namespace = 'https://www.google.com/apis/ads/publisher/v201602' super(config, e...
<?php declare(strict_types=1); namespace Omnipay\PagSeguro\Support\Customer; use Omnipay\Common\Helper; use Symfony\Component\HttpFoundation\ParameterBag; class Phone { /** * Internal storage of all of the card parameters. * * @var ParameterBag */ protected $parameters; /** * C...
#include "jemalloc/internal/jemalloc_internal.h" #define BILLION UINT64_C(1000000000) void nstime_init(nstime_t *time, uint64_t ns) { time->ns = ns; } void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec) { time->ns = sec * BILLION + nsec; } uint64_t nstime_ns(const nstime_t *time) { return (time->ns...
import "variance"; d3.deviation = function() { var v = d3.variance.apply(this, arguments); return v ? Math.sqrt(v) : v; };
var ListCache = require('./_ListCache'); /** * Removes all key-value entries from the stack. * * @private * @name clear * @memberOf Stack */ function stackClear() { this.__data__ = new ListCache; } module.exports = stackClear;
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <import resource="classpath:com/opengamma/financial/demoMasters.xml" /> <!-- Bloomberg data loaders --> <import resource="classpath:bbgData-${opengamma.platform....
(function () { var print = (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var register = function (editor) { editor.addCommand('mcePrint', function () { editor.getWin().print(); }); }; var $_fkmc6imjfjlpdf1 = { register: register }; var regist...
define( "dojox/atom/widget/nls/de/FeedEntryViewer", ({ displayOptions: "[Anzeigeoptionen]", title: "Titel", authors: "Autoren", contributors: "Mitwirkende", id: "ID", close: "[Schließen]", updated: "Aktualisiert", summary: "Zusammenfassung", content: "Inhalt" }) );
// Sample to demonstrate executing several lookups, extracting some result variables and printing them to the console -- with colors! /* eslint-disable no-console */ "use strict"; const getdns = require("getdns"); const supportsColor = require("supports-color"); const chalk = require("chalk"); const jclrz = require(...
import {source} from "./test"; var a: number = source.num; var b: string = source.num; // Error: num ~> string var c: string = source.str; var d: number = source.str; // Ignored error: num ~> string
using Testura.Android.PageObjectCreator.ViewModels; using NUnit.Framework; using Testura.Android.PageObjectCreator.Services; using Moq; namespace Testura.Android.PageObjectCreator.Tests.ViewModels { [TestFixture] public class OperationViewModelTests { private Mock<IDumpService> _dumpServiceMock; ...
package org.apereo.portal.groups.pags.testers; import org.apereo.portal.groups.pags.TestPersonAttributesGroupTestDefinition; import org.junit.Assert; import org.junit.Test; public class EagerRegexTesterTest { @Test public void testEagerPatterns() { EagerRegexTester tester = new Eager...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ScreenConnect.Integration.Exceptions; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using Sys...
![screenshot](screenshot/screenshot.png) ## License Information Copyright 2017 Analytical Graphics, Inc. CC-BY 4.0 https://creativecommons.org/licenses/by/4.0/ Model and textures by Ed Mackey.
namespace BirthdayPresent.Web { using Infrastructure.Filters; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); filters.Add(new AddUserSessionAtt...
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_BLOCK_MEAN_CALCULATOR_H_ #define WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_BLOCK_MEAN_CALCULATOR_H_ #include <stddef.h> #include "webrtc/base/constructormagic.h" namespace webrtc { // BlockMeanCalculator calculates the mean of a block of values. Values are // added on...
import TelegramBot from './telegram'; import SlackBot from './slack'; import _ from 'underscore'; class Bots { bots = []; constructor(tokens) { tokens.forEach(token => { this.add(token); }); } add(token) { const duplicates = this.bots.filter((bot) => { ...
/** @file * @brief timeout queue for fibers on nanokernel objects * * This file is meant to be included by nanokernel/include/wait_q.h only */ /* * Copyright (c) 2015 Wind River Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
<!doctype html> <html lang="en" data-framework="sapui5"> <head> <meta charset="utf-8"> <title>SAPUI5 • TodoMVC</title> <script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-libs="sap.ui.commons" data-sap-ui-theme="base"> </script> <link href="cs...
require File.expand_path('../../fixtures/classes', __FILE__) describe :io_write, shared: true do before :each do @filename = tmp("IO_syswrite_file") + $$.to_s File.open(@filename, "w") do |file| file.send(@method, "012345678901234567890123456789") end @file = File.open(@filename, "r+") @rea...
/* * This file contains macro definitions for the Storing category of * the macros used by the generic scaleloop function. * * This implementation can store 16-bit pixels into an array of * shorts such that the pixel for (srcX, srcY) is stored at index * (srcOff + srcY * srcScan + srcX) in the array. */ #defi...
package topo import ( "gonum.org/v1/gonum/graph" "gonum.org/v1/gonum/graph/internal/ordered" "gonum.org/v1/gonum/graph/internal/set" ) // DegeneracyOrdering returns the degeneracy ordering and the k-cores of // the undirected graph g. func DegeneracyOrdering(g graph.Undirected) (order []graph.Node, cores [][]graph...
""" Created on Mon Dec 16 11:02:59 2013 Author: Josef Perktold """ from __future__ import print_function import numpy as np from scipy import stats import matplotlib.pyplot as plt import statsmodels.nonparametric.api as npar from statsmodels.sandbox.nonparametric import kernels from statsmodels.distributions.mixture...
using System; namespace Internal.Cryptography.Pal { internal sealed partial class CertificatePal : IDisposable, ICertificatePal { [Flags] private enum CspProviderFlags { // Note: UWP doesn't use any flags other than these, so they have been omitted. NoFlags = 0x0...
var chai = require('chai'), expect = chai.expect, chaiAsPromised = require('chai-as-promised'); nock = require('nock'), Sinon = require('sinon'), Promise = require('promise'); /** * @see http://stackoverflow.com/a/11477602/368691 */ function requireNew (module) { var modulePath = require.reso...
package setup import ( "io/ioutil" "net/http" "os" "path" "path/filepath" "strings" "github.com/mholt/caddy/middleware" "github.com/mholt/caddy/middleware/markdown" "github.com/russross/blackfriday" ) // Markdown configures a new Markdown middleware instance. func Markdown(c *Controller) (middleware.Middlew...
@extends ('layout.main') @section('page_name') @lang('livror.labels.bills.list') @endsection @section ('content') <h1>@lang('livror.labels.bills.list')</h1> @component('layout.components.form.form') @slot('method') get @endslot @slot('action') {{ route('billList') }} @endslot @slot('class') @endslot ...
from django import forms from django.conf import settings from cmsplugin_contact.nospam import utils from .fields import HoneypotField from .widgets import RecaptchaChallenge, RecaptchaResponse from django.utils.translation import ugettext_lazy as _ class BaseForm(forms.Form): def __init__(self, request, ...
/* */ require('../../modules/es6.typed.data-view'); require('../../modules/es6.object.to-string'); module.exports = require('../../modules/_core').DataView;
require 'chef/resource/script' require 'chef/provider/script' class Chef class Resource class Perl < Chef::Resource::Script def initialize(name, run_context=nil) super @interpreter = "perl" end end end end
#import "NSString+AppendToFile.h" @implementation NSString (AppendToFile) - (BOOL)appendToFile:(NSString *)path usingEncoding:(NSStringEncoding)encoding { NSFileHandle *fh = [NSFileHandle fileHandleForWritingAtPath:path]; if (fh == nil) return [self writeToFile:path atomically:YES encoding:encoding...
package hudson.model; import hudson.ExtensionList; import hudson.ExtensionPoint; import java.util.ArrayList; import java.util.List; /** * Extension point for adding transient {@link Action}s to {@link View}s. * * @since 1.388 */ public abstract class TransientViewActionFactory implements ExtensionPoint { /** ...
import datetime import geojson import reqon import rethinkdb as r import unittest import pytest from reqon import coerce, terms from .utils import ReQONTestMixin class TermsTests(ReQONTestMixin, unittest.TestCase): def setUp(self): self.reql = r.table('movies') def test_gather(self): assert ...
<?php namespace Symfony\Component\DependencyInjection\Compiler; use Symfony\Component\DependencyInjection\Argument\ArgumentInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\ExpressionLanguage; use ...
package org.openmhealth.dsu.configuration; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; import org.springframework.secu...
import { Command } from '../commandManager'; import { MarkdownPreviewManager } from '../features/previewManager'; export class ToggleLockCommand implements Command { public readonly id = 'markdown.preview.toggleLock'; public constructor( private readonly previewManager: MarkdownPreviewManager ) { } public ex...
package org.b3log.solo.repository; import java.util.List; import org.b3log.latke.repository.Repository; import org.b3log.latke.repository.RepositoryException; import org.json.JSONObject; /** * Tag repository. * * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a> * @version 1.0.0.1, Aug 12, 20...
using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Client; namespace JabbR.Client { /// <summary> /// Interface that wraps SignalR's IClientTransport and provides a way to add authentication information /// </summary> public interface IAuthenticationProvider { Task<HubConnection>...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; namespace Microsoft.Rest.ClientRuntime.Azure.Te...
// @(#)Link.java 1/2004 // Copyright (c) 1998-2004, Distributed Real-time Computing Lab (DRCL) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must...
package test import ( "crypto/rand" "fmt" "golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh/testdata" ) var ( testPrivateKeys map[string]interface{} testSigners map[string]ssh.Signer testPublicKeys map[string]ssh.PublicKey ) func init() { var err error n := len(testdata.PEMBytes) testPrivateKeys = ...
<!doctype html> <html> <head> <title></title> <link rel="stylesheet" href="extras/qunit-git.css"> </head> <body> <div id="qunit"></div> <script src="extras/qunit-git.js" type="text/javascript"></script> <script src="extras/jquery.min.js"></script> <script src="/tailbone.js" type="text/javascript" charset="u...
/** * Console history support. * * @since 2.0 */ package jline.console.history;
package com.thinkgem.jeesite.modules.cms.entity; import java.util.Date; import java.util.List; import org.hibernate.validator.constraints.Length; import com.google.common.collect.Lists; import com.thinkgem.jeesite.common.config.Global; import com.thinkgem.jeesite.common.persistence.TreeEntity; import com.thinkgem.j...
package org.apache.hadoop.hbase.mapred; import java.io.Closeable; import java.io.IOException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; import org.apache.hadoop.hbase.classification.InterfaceStability; import ...
/* Layout helpers ----------------------------------*/ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-he...
Shindo.tests('Compute::VcloudDirector | users requests', ['vclouddirector']) do @service = Fog::Compute::VcloudDirector.new tests('#get_users_from_query') do pending if Fog.mocking? %w[idrecords records references].each do |format| tests(":format => #{format}") do tests('#body').data_matches...
package com.github.maven_nar.cpptasks.trolltech; import java.io.File; import java.util.Vector; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.types.Environment; import com.github.maven_nar.cpptasks.CCTask; import com.github.maven_nar.cpptasks.OptimizationEnum; import com.github.maven_nar.cp...
.ui-resizable { position: relative;} .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; /* http://bugs.jqueryui.com/ticket/7233 - Resizable: resizable handles fail to work in IE if transparent and content overlaps */ background-image:url(data:); } .ui-resizable-disabled .ui...
'use strict'; var getCallbackUrl = function(hostname, provider){ return 'http://' + hostname + '/account/settings/' + provider + '/callback'; }; var sendVerificationEmail = function(req, res, options) { req.app.utility.sendmail(req, res, { from: req.app.config.smtp.from.name +' <'+ req.app.config.smtp.from.add...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/notebooks/v1beta1/service.proto namespace Google\Cloud\Notebooks\V1beta1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request for reseting a noteb...
var foo: string; function foo(): number { } function foo(): number { }
import os from django.conf import settings from main.tests.test_base import MainTestCase from odk_viewer.models import ParsedInstance from odk_viewer.management.commands.remongo import Command from django.core.management import call_command from common_tags import USERFORM_ID class TestRemongo(MainTestCase): def...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
if (typeof process !== "undefined") { require("amd-loader"); } define(function(require, exports, module) { "use strict"; var assert = require("../../test/assertions"); var coffee = require("./coffee"); function assertLocation(e, sl, sc, el, ec) { var l = e.location; assert.equal( l.first_line +...
using Nancy; using Nancy.ModelBinding; namespace OmniSharp.CodeFormat { public class CodeFormatModule : NancyModule { public CodeFormatModule(CodeFormatHandler codeFormatHandler) { Post["/codeformat"] = x => { var request = this.Bind<CodeFormatRe...
using System.Collections.Generic; using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Editor.Implementation.Outlining; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.Editor.CSharp.Outlining.MetadataAsSourc...
/* $Id: receivedata.c,v 1.7 2015/11/09 21:51:41 nanard Exp $ */ /* Project : miniupnp * Website : http://miniupnp.free.fr/ * Author : Thomas Bernard * Copyright (c) 2011-2014 Thomas Bernard * This software is subject to the conditions detailed in the * LICENCE file provided in this distribution. */ #include <stdi...
Only call a function once. ## usage ```javascript var once = require('once') function load (file, cb) { cb = once(cb) loader.load('file') loader.once('load', cb) loader.once('error', cb) } ``` Or add to the Function.prototype in a responsible way: ```javascript // only has to be done once require('once').p...
<?php /** V4.990 11 July 2008 (c) 2000-2008 John Lim (jlim#natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 4 for best viewing. */ class ADOD...
/* Zepto v1.2.0 - zepto event ajax form ie - zeptojs.com/license */ (function(global, factory) { if (typeof define === 'function' && define.amd) define(function() { return factory(global) }) else factory(global) }(this, function(window) { var Zepto = (function() { var undefined, key, $, classList, empty...