text stringlengths 3 1.05M |
|---|
export default class Definition {
constructor(def) {
if (invalidParams(def)) {
throw new Error('Invalid arguments provided to Lang constructor');
}
this.__def = def instanceof Map ? def : new Map(def);
}
clone = () => new Definition(new Map(this.__def));
extend = (... |
package acceptance
import (
"fmt"
mailgun "github.com/mailgun/mailgun-go"
"testing"
)
func setup(t *testing.T) (mailgun.Mailgun, string) {
domain := reqEnv(t, "MG_DOMAIN")
apiKey := reqEnv(t, "MG_API_KEY")
mg := mailgun.NewMailgun(domain, apiKey, "")
address := fmt.Sprintf("list5@%s", domain)
_, err := mg.Cr... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
SWF_SOURCES=$(shell find -E src -regex '.*(mxml|as|css)')
all: swf
swf: bin/ImportationTool.swf
bin/ImportationTool.swf: $(SWF_SOURCES)
$(FLEX_SDK_BIN)amxmlc -load-config+=src/conf.xml -output bin/ImportationTool.swf -- src/ImportationTool.mxml
# sets the current directory as adl's root directory
run: swf
$(FLEX_... |
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define('gridster-coords', ['jquery'], factory);
} else {
root.GridsterCoords = factory(root.$ || root.jQuery);
}
}(this, function($) {
/**
* Creates objects with coordinates (x1, y1, x2, y2, cx, cy, widt... |
package eventstream
import (
"bytes"
"encoding/base64"
"encoding/json"
"fmt"
"strconv"
)
type decodedMessage struct {
rawMessage
Headers decodedHeaders `json:"headers"`
}
type jsonMessage struct {
Length json.Number `json:"total_length"`
HeadersLen json.Number `json:"headers_length"`
PreludeCRC js... |
geowatchutil.mapping.base module
================================
.. automodule:: geowatchutil.mapping.base
:members:
:undoc-members:
:show-inheritance:
|
package org.nutz.ioc.aop.config.impl;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.nutz.aop.MethodInterceptor;
import org.nutz.aop.MethodMatcher;
import org.nutz.aop.matcher.SimpleMethodMatcher;... |
// Copyright 2017 The Serulian 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 srg
import (
"testing"
"github.com/stretchr/testify/assert"
)
type commentTest struct {
commentValue string
isDocComment bool
trimmedValue... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Chat\V2;
use Twilio\Page;
class CredentialPage extends Page {
public function __construct($version, $response, $solution) {
parent::__construct($version, $response);
... |
package com.amazonaws.services.cloudsearchv2.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.stream.events.XMLEvent;
import com.amazonaws.services.cloudsearchv2.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.MapEntry;
import com.amazonaws.tr... |
<!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"/>
<meta name="generator" con... |
import os
import sys
import re
import string
if len(sys.argv) < 3:
print('Usage: ' + sys.argv[0] + ' <renderer name> <renderer suffix>')
renderer_name = sys.argv[1]
renderer_suffix = sys.argv[2]
# ensure subdir exists
if not os.path.isdir(renderer_name):
os.mkdir(renderer_name)
impl_classes = [
'Buffer'... |
package info.guardianproject.otr.app.im.service;
import info.guardianproject.otr.app.im.IContactList;
import info.guardianproject.otr.app.im.IContactListListener;
import info.guardianproject.otr.app.im.ISubscriptionListener;
import info.guardianproject.otr.app.im.R;
import info.guardianproject.otr.app.im.engine.Addr... |
from .cryptors import default_cryptor
from .serializers import MessagePackSerializer
class Configuration:
def __init__(self):
self.configure(self.default_settings())
@staticmethod
def default_settings():
return {
'log_path': '/var/log/raftos/',
'serializer': Messag... |
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="preference_screen">
<PreferenceCategory
android:key="settings_network_settings"
android:title="@string/settings_network_settings">
<CheckBoxPreference
android:defaultValue="false"
... |
// This file was automatically generated by lister-gen
package v1beta1
import (
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
v1beta1 "k8s.io/client-go/pkg/apis/apps/v1beta1"
"k8s.io/client-go/tools/cache"
)
// StatefulSetLister helps list StatefulSets.
type StatefulSetLister interface ... |
package v1alpha1_test
import (
"reflect"
"testing"
"k8s.io/api/rbac/v1alpha1"
"k8s.io/kubernetes/pkg/api"
rbacapi "k8s.io/kubernetes/pkg/apis/rbac"
_ "k8s.io/kubernetes/pkg/apis/rbac/install"
)
func TestConversion(t *testing.T) {
testcases := map[string]struct {
old *v1alpha1.RoleBinding
expected *... |
<?xml version="1.0" encoding="utf-16"?>
<CraftLibraryWindowText xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Crafts>Vozidla</Crafts>
<Folders>Knihovna vozidel</Folders>
<Upload>Nahrát</Upload>
</CraftLibraryWindowText> |
layout: post
title: Muddling through Docker and Google Earth Engine
date: 2017-10-09 20:00:00
summary: I bumbled my way through building a custom Docker image for Google Earth Engine that lets me load additional Python modules.
categories: codemonkey google-earth-engine docker python
commentIssueId: ... |
var assert = require('assert')
, Receiver = require('../lib/Receiver');
require('should');
require('./hybi-common');
describe('Receiver', function() {
it('can parse unmasked text message', function() {
var p = new Receiver();
var packet = '81 05 48 65 6c 6c 6f';
var gotData = false;
p.ontext = fun... |
package com.intellij.psi;
import com.intellij.util.IncorrectOperationException;
/**
* Represents a reference to the member imported by a Java <code>import static</code>
* statement.
*
* @author dsl
*/
public interface PsiImportStaticReferenceElement extends PsiJavaCodeReferenceElement {
/**
* Returns the r... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2013-2019 the original author or 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/... |
namespace System.Runtime.Serialization
{
using System;
using Microsoft.CodeDom;
using System.Reflection;
using System.Collections.ObjectModel;
public interface IDataContractSurrogate
{
Type GetDataContractType(Type type);
object GetObjectToSerialize(object obj, Type targetType);... |
package May2021PrepLeetcode;
import java.util.HashMap;
public class _0325MaximumSizeSubarraySumEqualsk {
public static void main(String[] args) {
System.out.println(maxSubArrayLen(new int[] { 1, -1, 5, -2, 3 }, 3));
System.out.println(maxSubArrayLen(new int[] { -2, -1, 2, 1 }, 1));
}
public static int maxSub... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Revis. gen. pl. (Leipzig) 3: 450 (1898)
#### Original name
Uredo excavata DC., 1806
### Remarks
null |
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://www.knime.org/2008/09/XMLConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.knime.org/2008/09/XMLConfig http://www.knime.org/XMLConfig_2008_09.xsd" key="settings.xml">
<entry key="node_file" type="xstring" value="sett... |
namespace boost {
namespace BOOST_RT_PARAM_NAMESPACE {
namespace cla {
// ************************************************************************** //
// ************** argument_factory ************** //
// ************************************************************************** //
// ... |
package org.elasticsearch.cluster.routing.allocation.decider;
import org.elasticsearch.cluster.routing.RoutingNode;
import org.elasticsearch.cluster.routing.ShardRouting;
import org.elasticsearch.cluster.routing.allocation.RoutingAllocation;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.com... |
// 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.
#nullable disable
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Host.Mef;
using Roslyn.Utilities;... |
package org.ebayopensource.turmeric.tools.codegen;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.util.Properties;
import org.ebayopensource.turmeric.tools.codegen.AbstractServiceGeneratorTestCase;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
... |
#include "config.h"
#if ENABLE(CSS_SHADERS) && USE(TEXTURE_MAPPER)
#include "CustomFilterValidatedProgram.h"
#include "TextureMapperPlatformCompiledProgram.h"
namespace WebCore {
PlatformCompiledProgram* CustomFilterValidatedProgram::platformCompiledProgram()
{
if (!m_platformCompiledProgram)
m_platfo... |
<?php
/**
* CSqliteSchema is the class for retrieving metadata information from a SQLite (2/3) database.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @package system.db.schema.sqlite
* @since 1.0
*/
class CSqliteSchema extends CDbSchema
{
/**
* @var array the abstract column types mapped to physical column ... |
package com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Implementations;
import javax.swing.tree.TreePath;
import com.google.security.zynamics.binnavi.Gui.CriteriaDialog.CConditionBox;
import com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions.CCriteriumWrapper;
import com.google.security.zyna... |
require 'test_helper'
class CaseTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
|
package org.apache.spark.scheduler
import org.apache.spark.resource.ResourceProfile
import org.apache.spark.storage.BlockManagerId
/**
* A backend interface for scheduling systems that allows plugging in different ones under
* TaskSchedulerImpl. We assume a Mesos-like model where the application gets resource off... |
using UnityEngine;
using System.Collections;
public struct PointerEventArgs
{
public uint controllerIndex;
public uint flags;
public float distance;
public Transform target;
}
public delegate void PointerEventHandler(object sender, PointerEventArgs e);
public class SteamVR_LaserPointer : MonoBehavi... |
<?php
require_once '../header.php';
require_once('../classes/config.php');
require_once('../classes/autoload.php');
if(isset($_GET['sair']))
{
session_destroy();
}
if (isset($_POST['login'])) {
$usuarios = new Usuarios();
$usuarios->autenticaUsuario();
}
$ip_usuario = $_SERVER[... |
package org.deidentifier.arx.metric;
import java.io.Serializable;
import org.deidentifier.arx.metric.Metric.AggregateFunction;
/**
* A class a configuration of a metric.
*
* @author Fabian Prasser
*/
public class MetricConfiguration implements Serializable {
/** SVUID. */
private static final long ser... |
<!--
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); yo... |
module.exports = rimraf
rimraf.sync = rimrafSync
var assert = require("assert")
var path = require("path")
var fs = require("fs")
var glob = require("glob")
var defaultGlobOpts = {
nosort: true,
silent: true
}
// for EMFILE handling
var timeout = 0
var isWindows = (process.platform === "win32")
function defaul... |
package org.sugr.gearshift.core;
import android.os.Parcel;
import android.os.Parcelable;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.Collection;
import ja... |
package tank;
/**
*
* @author asmateus
*/
public class WorldSelector
{
private final GameArea area;
public WorldSelector(GameArea area)
{
this.area = area;
}
public void loadWorldOptions(int game_mode)
{
}
}
|
class ChromeFrameDistribution : public BrowserDistribution {
public:
virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE;
virtual base::string16 GetBrowserProgIdDesc() OVERRIDE;
virtual base::string16 GetDisplayName() OVERRIDE;
virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE... |
//
// KSObjCApple.h
//
// Created by Karl Stenerud on 2012-08-30.
//
// Copyright (c) 2011 Apple Inc. All rights reserved.
//
// This file contains Original Code and/or Modifications of Original Code
// as defined in and that are subject to the Apple Public Source License
// Version 2.0 (the 'License'). You may not u... |
/* Read-only tables helper */
#ifndef lrodefs_h
#define lrodefs_h
#include "lrotable.h"
#undef LUA_REG_TYPE
#undef LSTRKEY
#undef LNILKEY
#undef LNUMKEY
#undef LFUNCVAL
#undef LNUMVAL
#undef LROVAL
#undef LNILVAL
#undef LREGISTER
#if (MIN_OPT_LEVEL > 0) && (LUA_OPTIMIZE_MEMORY >= MIN_OPT_LEVEL)
#define LUA_REG_TYPE... |
package org.robolectric.integration_tests.multidex;
import android.support.multidex.MultiDex;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
/** Integration tests for MultiDex Robolectric. */
@RunWith(AndroidJUnit4.... |
YUI.add('attribute-core', function (Y, NAME) {
/**
* The State class maintains state for a collection of named items, with
* a varying number of properties defined.
*
* It avoids the need to create a separate class for the item, and separate instances
* of these classes for each item, by... |
<!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"/>
<meta name="generator... |
%% Assignment 5--4
% CS-663
% Group-163059009, 16305R011
%% Low Pass Filter
%% Initialization
file='../data/barbara256.png';
figure('name','Original Image');
img=imread(file);
imshow(img,[min(img(:)),max(img(:))]),colormap(gray),daspect([1,1,1]);
title('\fontsize{10}{\color{red}Barbara}');
o1 = get(gca, 'Position');... |
/**
* Session
*
* Sails session integration leans heavily on the great work already done by Express, but also unifies
* Socket.io with the Connect session store. It uses Connect's cookie parser to normalize configuration
* differences between Express and Socket.io and hooks into Sails' middleware interpreter to ... |
<?php
class HeadwayAdminWrite {
public static function init() {
/* Load the default meta boxes */
Headway::load('admin/admin-meta-boxes');
add_action('delete_post', array(__CLASS__, 'delete_post'));
add_filter('get_sample_permalink_html', array(__CLASS__, 'open_in_visual_editor_button'), 10, 4);
... |
import { ArchitectCommand } from '../models/architect-command';
import { Arguments } from '../models/interface';
import { Schema as E2eCommandSchema } from './e2e';
export class E2eCommand extends ArchitectCommand<E2eCommandSchema> {
public readonly target = 'e2e';
public readonly multiTarget = true;
public re... |
module SendGrid4r::REST
module MarketingCampaigns
module Contacts
#
# SendGrid Web API v3 Contacts - Reserved Fields
#
module ReservedFields
include Request
Field = Struct.new(:name, :type) do
def eql?(other)
name.eql?(other.name)
end
... |
namespace brightray {
DevToolsNetworkUploadDataStream::DevToolsNetworkUploadDataStream(
net::UploadDataStream* upload_data_stream)
: net::UploadDataStream(upload_data_stream->is_chunked(),
upload_data_stream->identifier()),
throttle_callback_(
base::Bind(&DevToolsNet... |
namespace {
// Background color of the content (a grayish blue) for a crashed tab.
const GdkColor kCrashedBackgroundColor = GDK_COLOR_RGB(35, 48, 64);
// Background color of the content (a grayish purple) for a killed
// tab. TODO(gspencer): update this for the "real" color when the UI
// team provides one. See htt... |
package elastic
import (
"bytes"
"compress/gzip"
"encoding/json"
"io"
"io/ioutil"
"net/http"
"runtime"
"strings"
)
// Elasticsearch-specific HTTP request
type Request http.Request
// NewRequest is a http.Request and adds features such as encoding the body.
func NewRequest(method, url string) (*Request, error... |
namespace DW.ELA.Interfaces.Events
{
using Newtonsoft.Json;
public class ThargoidEncountersStatistics
{
[JsonProperty("TG_ENCOUNTER_IMPRINT")]
public long? TgEncounterImprint { get; set; }
[JsonProperty("TG_ENCOUNTER_TOTAL")]
public long TgEncounterTotal { get; set; }
... |
package org.apache.gobblin.cluster;
import java.util.Map;
import java.util.concurrent.Callable;
import org.apache.gobblin.broker.SharedResourcesBrokerFactory;
import org.apache.gobblin.configuration.ConfigurationKeys;
import org.apache.gobblin.runtime.TaskCreationException;
import org.apache.gobblin.runtime.TaskSta... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Thu Feb 23 11:39:41 CET 2017 -->
<title>DirectoryStream.Filter (Xenon-release 1.2.0 API for Xenon developers)</title>
<meta name="date" ... |
#ifndef jsxml_h___
#define jsxml_h___
#include "jsstddef.h"
#include "jspubtd.h"
JS_BEGIN_EXTERN_C
extern const char js_AnyName_str[];
extern const char js_AttributeName_str[];
extern const char js_isXMLName_str[];
extern const char js_XMLList_str[];
extern const char js_amp_entity_str[];
extern const char js_gt_... |
#messages, #users {
margin: 0;
}
#messages .ui-li, #users .ui-li {
font-weight: normal;
overflow: hidden;
padding-right: 10px;
}
#messages .ui-li .ui-li-aside {
margin: 0;
}
#messages .ui-li .ui-li-desc {
margin: 1em 0 1em 0;
}
#users .ui-li-icon {
-webkit-background-clip: border-box;
... |
/*
fbmngplay - fb console MNG player.
(c) 2001 by Stefan Reinauer, <stepan :at: suse.de>
This program is based on mngplay, part of libmng, written and (C) by
Ralph Giles <giles :at: ashlu.bc.ca>
This program my be redistributed under the terms of the
GNU General Public Licence, version 2, or at your preference,... |
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/common.sh"
# Go to the top of the tree.
cd "${OS_ROOT}"
KUBE_ROOT=${1:-""}
KUBE_GODEP_ROOT="${OS_ROOT}/Godeps/_workspace/src/k8s.io/kubernetes"
if [ -z "$KUBE_ROOT" ]; then
echo "usage: copy-kube-artifacts... |
import pytest
from copy import copy
from tests.common.test_vector import TestDimension
from tests.common.impala_test_suite import ImpalaTestSuite, ALL_NODES_ONLY
# We use very small scan ranges to exercise corner cases in the HDFS scanner more
# thoroughly. In particular, it will exercise:
# 1. scan range with no tupl... |
#include <qcryptographichash.h>
#include <qdebug.h>
#include <qhash.h>
#include <qmap.h>
#include "atom.h"
#include "helpprojectwriter.h"
#include "htmlgenerator.h"
#include "config.h"
#include "node.h"
#include "qdocdatabase.h"
#include <qdebug.h>
QT_BEGIN_NAMESPACE
HelpProjectWriter::HelpProjectWriter(const Conf... |
using Arch.Data.DbEngine.DB;
using System;
using System.Collections.Concurrent;
using System.Data.Common;
using System.Threading;
using System.Transactions;
namespace Arch.Data.DbEngine.Connection
{
/// <summary>
/// 对于相同的数据库,在同一个事务中,只打开一个数据库链接
/// </summary>
class TransactionConnectionMan... |
require_relative '../../shared/rational/multiply'
require_relative '../../shared/rational/arithmetic_exception_in_coerce'
describe "Rational#*" do
it_behaves_like :rational_multiply, :*
it_behaves_like :rational_arithmetic_exception_in_coerce, :*
end
describe "Rational#* passed a Rational" do
it_behaves_like :r... |
package signature
import (
"encoding/json"
"fmt"
"time"
"github.com/pkg/errors"
"github.com/containers/image/version"
"github.com/opencontainers/go-digest"
)
const (
signatureType = "atomic container signature"
)
// InvalidSignatureError is returned when parsing an invalid signature.
type InvalidSignatureEr... |
function CountingPromise() {
var o = this;
o.count = 0;
o.doneSomething = false;
this.inc = function(){
o.count++;
o.doneSomething = true;
};
this.dec = function(){
o.count--;
if (o.count == 0) {
o.fire();
}
};
this.done = function(callback){
if (o.doneSomething && o.count == 0) {
callba... |
{% extends "account/base.html" %}
{% load i18n %}
{% block head_title %}{% trans "Change Password" %}{% endblock %}
{% block content %}
<h1>{% trans "Change Password" %}</h1>
<p>{% trans 'Your password is now changed.' %}</p>
{% endblock %}
|
BinNavi [](https://travis-ci.org/google/binnavi)
=======
Copyright 2015 Google Inc.
Disclaimer: This is not an official Google product (experimental or otherwise),
it is just code that happens to be owned by Google.
#Introduction
BinNavi is ... |
package org.apache.camel.websocket.jsr356;
import org.apache.camel.spi.Metadata;
public interface JSR356Constants {
@Metadata(description = "The session.", javaType = "javax.websocket.Session")
String SESSION = "jsr356.session";
@Metadata(label = "producer", description = "Use incoming session", javaType... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "db.h"
#i... |
<?php
require 'db_connect.php';
require 'functions.php';
sec_session_start();
if(isset($_POST['submit'])){
$username = $_SESSION['username'];
$id = $_SESSION['user_id'];
//$username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_STRING);
$email = filter_input(INPUT_POST, 'email', FILTER_SA... |
cask :v1 => 'wacom-tablet' do
version '6.3.10w2'
sha256 'b94c99a3bbf063767ed51848642e8bf6f4d381e72fea7ba0bb85860cdc6fc921'
url "http://cdn.wacom.com/u/productsupport/drivers/mac/professional/WacomTablet_#{version}.dmg"
homepage 'http://www.wacom.com/'
license :unknown # todo: change license and remove thi... |
/*jslint regexp: true */
/*global define, window, document, YT */
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// Register as an anonymous AMD module:
define([
'./blueimp-helper',
'./blueimp-gallery-video'
], factory);
... |
package com.example.gltest.shape;
import javax.microedition.khronos.opengles.GL10;
public interface Shape {
public void draw(GL10 gl);
}
|
//-----------------------------------------------------------------------
// <copyright file="AvatarState.cs" company="Benjamin Woodall">
// Copyright 2013-2014 Benjamin Woodall
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License... |
import sys
import pprint
import json
import logging
from pcapi import config
from logging import handlers
### Constants ###
#################
## Can only log in stderr (or environ['wsgi.errors']) when using WSGI:
def dbg(msg):
print >> sys.stderr, msg
def pp(obj):
"""
shortcut for pretty printing a pyth... |
var baseCreateCallback = require('../internals/baseCreateCallback'),
indicatorObject = require('../internals/indicatorObject'),
keys = require('./keys'),
objectTypes = require('../internals/objectTypes');
/** Used for native method references */
var objectProto = Object.prototype;
/** Native method short... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Boost.Geometry (aka GGL, Generic Geometry Library)</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type=... |
import propName from './propName';
const DEFAULT_OPTIONS = {
ignoreCase: true,
};
/**
* Returns the JSXAttribute itself or undefined, indicating the prop
* is not present on the JSXOpeningElement.
*
*/
export default function getProp(props = [], prop = '', options = DEFAULT_OPTIONS) {
const propToFind = optio... |
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define('gridster-coords', ['jquery'], factory);
} else {
root.GridsterCoords = factory(root.$ || root.jQuery);
}
}(this, function($) {
/**
* Creates objects with coordinates (x1, y1, x2, y2, cx, cy, widt... |
package org.wso2.developerstudio.eclipse.gmf.esb.impl;
import org.eclipse.emf.ecore.EClass;
import org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage;
import org.wso2.developerstudio.eclipse.gmf.esb.SequenceOutputConnector;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Sequence Ou... |
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<!-- FDB-DI... |
[Google BigQuery](https://cloud.google.com/bigquery/) is a versatile tool that solves the problem of storing and querying massive datasets without having to worry about data formats, underlying resources, and other things that distract you from the analysis at hand. To help those BigQuery users who virtually live in Mi... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <X11/Xlib.h>
/* we need to be able to manipulate the Display structure on events */
#include <X11/Xlibint.h>
#include <X11/extensions/render.h>
#include <X11/extensions/Xrender.h>
#include "Xrandrint.h"
/*
* this is cheating on the knowled... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Attaching Other Components - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../dem... |
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/resources/resource_provider.h"
#include <algorithm>
#include <limits>
#include "base/containers/hash_tables.h"
#include "base/debug/trace_e... |
var baseToString = require('lodash._basetostring'),
createPadding = require('lodash._createpadding');
/* Native method references for those with the same name as other `lodash` methods. */
var nativeCeil = Math.ceil,
nativeFloor = Math.floor,
nativeIsFinite = global.isFinite;
/**
* Pads `string` on the ... |
DECLARE_EXPORT_INIT(dac7678);
#endif |
package client
import (
"github.com/docker/docker/cliconfig/configfile"
"github.com/docker/docker/cliconfig/credentials"
"github.com/docker/engine-api/types"
)
// GetCredentials loads the user credentials from a credentials store.
// The store is determined by the config file settings.
func GetCredentials(c *confi... |
require 'test_helper'
class RemoteWorldpayUsTest < Test::Unit::TestCase
def setup
@gateway = WorldpayUsGateway.new(fixtures(:worldpay_us))
@amount = 100
@credit_card = credit_card('4446661234567892')
@declined_card = credit_card('4000300011112220')
@check = check
@options = {
order_id... |
require 'chef/provider'
require 'chef/mixin/shell_out'
require 'chef/mixin/command'
require 'etc'
class Chef
class Provider
class Group < Chef::Provider
include Chef::Mixin::ShellOut
include Chef::Mixin::Command
attr_accessor :group_exists
attr_accessor :change_desc
def whyrun_supp... |
package mesos
import (
"fmt"
"strings"
"github.com/docker/docker/pkg/units"
"github.com/mesos/mesos-go/mesosproto"
)
func formatResource(resource *mesosproto.Resource) string {
switch resource.GetType() {
case mesosproto.Value_SCALAR:
if resource.GetName() == "disk" || resource.GetName() == "mem" {
return... |
<?php
declare(strict_types=1);
namespace Sylius\Bundle\ProductBundle\Form\Type;
use Sylius\Bundle\ResourceBundle\Form\DataTransformer\ResourceToIdentifierTransformer;
use Sylius\Component\Resource\Repository\RepositoryInterface;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterfa... |
var $def = require('./$.def')
, _apply = Function.apply;
$def($def.S, 'Reflect', {
apply: function apply(target, thisArgument, argumentsList){
return _apply.call(target, thisArgument, argumentsList);
}
}); |
import functools
from typing import TYPE_CHECKING
import warnings
from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.trans... |
export class Column {
constructor (
public type: string,
public name: string
) {}
getSQL() {
return this.name + ' ' + this.type;
};
}
|