text stringlengths 3 1.05M |
|---|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_raw_socket::async_connect</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="A... |
package com.google.gdata.data.docs;
import com.google.gdata.data.AbstractExtension;
import com.google.gdata.data.AttributeGenerator;
import com.google.gdata.data.AttributeHelper;
import com.google.gdata.data.ExtensionDescription;
import com.google.gdata.util.ParseException;
/**
* The number of object match the se... |
package client
import (
"fmt"
"io"
"os"
"path/filepath"
"strings"
"golang.org/x/net/context"
Cli "github.com/docker/docker/cli"
"github.com/docker/docker/pkg/archive"
flag "github.com/docker/docker/pkg/mflag"
"github.com/docker/docker/pkg/system"
"github.com/docker/engine-api/types"
)
type copyDirection ... |
<?php
/**
* The short-hand ternary lets you omit the middle part of the ternary
* expression. If the first value is truthy, it is returned, othewise the
* provided false value is returned.
*
* Unfortunately the best use-case for this would be variable initilization
* from super-global arrays but accessing an und... |
add_tenant_access = {
'type': 'object',
'properties': {
'addTenantAccess': {
'type': 'object',
'properties': {
'tenant': {
# defined from project_id in instance_type_projects table
'type': 'string', 'minLength': 1, 'maxLengt... |
#include <assert.h>
#include <netdb.h>
#include <thrift/transport/thrift_transport.h>
#include <thrift/transport/thrift_server_transport.h>
#include <thrift/transport/thrift_server_socket.h>
#define TEST_DATA { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j' }
/* substituted functions to test failures of system a... |
// @BaselineFile: bpSpan_import.baseline
// @Filename: bpSpan_import.ts
////module m {
//// class c {
//// }
////}
////import a = m.c;
////export import b = m.c;
////var x = new a();
////var y = new b();
verify.baselineCurrentFileBreakpointLocations(); |
(function($) {
$.extend({
tablesorterPager: new function() {
function updatePageDisplay(c) {
var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages);
}
function setPageSize(table,size) {
var c = table.config;
... |
package org.jboss.as.quickstarts.ejb_security_interceptors;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
/**
* Utility class for looking up EJBs
*
* @author <a href="mailto:darran.lofthouse@jboss.com">Darran Lofthouse</a>
*/
class EJBUtil {
static Intermediat... |
#ifndef D_MockCheckedExpectedCall_h
#define D_MockCheckedExpectedCall_h
#include "CppUTestExt/MockExpectedCall.h"
#include "CppUTestExt/MockNamedValue.h"
class MockCheckedExpectedCall : public MockExpectedCall
{
public:
MockCheckedExpectedCall();
virtual ~MockCheckedExpectedCall();
virtual MockExpecte... |
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.cocoapods-cordova.test.app" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<preference name="AllowInlineMediaPlayback" value="false" />
<preference name="AutoHideSplashScreen" value="true" />
<preferen... |
layout: compress
---
<!DOCTYPE html>
<html>
{% include head.html %}
<body id="posts" class="inner-post-page">
<div class="block-left">
<div class="content">
<a href="{{ site.url }}" class="logo"><img src="{{ site.url }}/images/{{ site.logo }}"></a>
<div class="post-title-section">
... |
package value
import (
"fmt"
"math"
"reflect"
"sort"
)
// SortKeys sorts a list of map keys, deduplicating keys if necessary.
// The type of each value must be comparable.
func SortKeys(vs []reflect.Value) []reflect.Value {
if len(vs) == 0 {
return vs
}
// Sort the map keys.
sort.Slice(vs, func(i, j int) b... |
<!--
Copyright 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['pagination_first_link'] = '‹ Erste';
$lang['pagination_next_link'] = '>';
$lang['pagination_prev_link'] = '<';
$lang['pagination_last_link'] = 'Letzte ›';
|
<?php
/** Zend_Search_Lucene_FSMAction */
require_once 'Zend/Search/Lucene/FSMAction.php';
/**
* Abstract Finite State Machine
*
* Take a look on Wikipedia state machine description: http://en.wikipedia.org/wiki/Finite_state_machine
*
* Any type of Transducers (Moore machine or Mealy machine) also may be implem... |
/**
* @author Mat Groves
*
*
*/
/**
* @class CanvasTinter
* @constructor
* @static
*/
PIXI.CanvasTinter = function()
{
/// this.textureCach
};
//PIXI.CanvasTinter.cachTint = true;
/**
* Basically this method just needs a sprite and a color and tints the sprite
* with the given color
*
* @me... |
"""Core implementation of path-based import.
This module is NOT meant to be directly imported! It has been designed such
that it can be bootstrapped into Python as the implementation of import. As
such it requires the injection of specific modules and attributes in order to
work. One should use importlib as the public... |
$('.disabled').click(function() {
return false;
});
|
package hello
import scala.annotation.tailrec
class Enclosing {
class SomeData(val x: Int)
def localDef(): Unit = {
def foo(data: SomeData): Int = data.x
@tailrec
def test(i: Int, data: SomeData): Unit = {
if (i != 0) {
println(foo(data))
test(i - 1, data)
}
}
te... |
namespace OpenApoc
{
#define ORGANISATION_NAME_STRTAB_OFFSET_START 1355537
#define ORGANISATION_NAME_STRTAB_OFFSET_END 1355822
#pragma pack(push, 1)
struct OrganisationData
{
uint16_t organization_type;
uint32_t raiding_strength;
uint8_t starting_tech_level;
uint8_t average_guards;
uint32_t starting_funds;
uint... |
package org.camunda.bpm.container.impl.jboss.util;
import java.util.Collection;
import org.jboss.msc.service.AbstractServiceListener;
import org.jboss.msc.service.ServiceController;
import org.jboss.msc.service.ServiceController.State;
import org.jboss.msc.service.ServiceController.Transition;
import org.jboss.msc.s... |
<?php
/**
* WordPress Administration Revisions API
*
* @package WordPress
* @subpackage Administration
*/
/**
* Get the revision UI diff.
*
* @since 3.6.0
*
* @param object|int $post The post object. Also accepts a post ID.
* @param int $compare_from The revision ID to compare from.
* @param... |
define(function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;
var AsciidocHighlightRules = require("./asciidoc_highlight_rules").AsciidocHighlightRules;
var AsciidocFoldMode = require("./folding/asc... |
require('./angular-locale_pa-guru');
module.exports = 'ngLocale';
|
// Copyright (c) 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.
#ifndef COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTLE_H_
#define COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_R... |
// Copyright 2017 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 "extensions/browser/api/declarative_net_request/rules_monitor_service.h"
#include <algorithm>
#include <utility>
#include "base/bind.h"
#includ... |
namespace glm
{
/// @addtogroup gtc_quaternion
/// @{
template <typename T, precision P = defaultp>
struct tquat
{
// -- Implementation detail --
typedef tquat<T, P> type;
typedef T value_type;
# ifdef GLM_META_PROG_HELPERS
static GLM_RELAXED_CONSTEXPR length_t components = 4;
static GLM_RELAXED_CO... |
{{<govuk_template}}
{{$head}}
{{>includes/elements_head}}
{{/head}}
{{$propositionHeader}}
{{>includes/propositional_navigation3}}
{{/propositionHeader}}
{{$headerClass}}with-proposition{{/headerClass}}
{{$content}}
<header>
</header>
<main id="page-container" role="main">
<!-- <a href="/" class="ex... |
You can easily create a picklist just by combining the `<ngl-picklist>` with the `nglPick` directive. Picklists, commonly known as dropdown menus, allow the user to select one or multiple options from a list.
When using the `ngl-picklist` component you can use the `filter` attribute to
set a filtering method for the i... |
/* global pagenow, ajaxurl, postboxes, wpActiveEditor:true */
var ajaxWidgets, ajaxPopulateWidgets, quickPressLoad;
jQuery(document).ready( function($) {
var welcomePanel = $( '#welcome-panel' ),
welcomePanelHide = $('#wp_welcome_panel-hide'),
updateWelcomePanel;
updateWelcomePanel = function( visible ) {
$.p... |
import time
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import TimeoutException
POLL_FREQUENCY = 0.5 # How long to sleep inbetween calls to the method
IGNORED_EXCEPTIONS = (NoSuchElementException,) # exceptions ignored during calls to the method
class WebDriverWait... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// KoubeiMarketingDataMessageDeliverResponse.
/// </summary>
public class KoubeiMarketingDataMessageDeliverResponse : AopResponse
{
}
}
|
use fnv::FnvHashSet;
use std::collections::VecDeque;
use std::time::{Duration, Instant};
struct Element<Key> {
/// The key being inserted.
key: Key,
/// The instant the key was inserted.
inserted: Instant,
}
pub struct LRUTimeCache<Key> {
/// The duplicate cache.
map: FnvHashSet<Key>,
/// ... |
<?php namespace Maqe\Qwatcher\Tracks;
use Illuminate\Database\Eloquent\Model;
class Tracks extends Model
{
protected $table = 'tracks';
protected $fillable = [
'driver', 'queue_id', 'queue', 'payload', 'attempts', 'job_name',
'meta', 'queue_at', 'process_at', 'success_at', 'failed_at',
];... |
// flow-typed signature: 1a33220ead1c6b6e3205a55b2a2ec3a0
// flow-typed version: 18b7d8b101/koa_v2.x.x/flow_>=v0.47.x
/*
* Type def from from source code of koa.
* this: https://github.com/koajs/koa/commit/08eb1a20c3975230aa1fe1c693b0cd1ac7a0752b
* previous: https://github.com/koajs/koa/commit/fabf5864c6a5dca0782b8... |
#ifndef THIRD_PARTY_LIBJINGLE_XMPP_XMLLITE_XMLELEMENT_H_
#define THIRD_PARTY_LIBJINGLE_XMPP_XMLLITE_XMLELEMENT_H_
#include <iosfwd>
#include <string>
#include "third_party/libjingle_xmpp/xmllite/qname.h"
namespace jingle_xmpp {
class XmlChild;
class XmlText;
class XmlElement;
class XmlAttr;
class XmlChild {
pub... |
package org.wso2.appserver.integration.tests.javaee.cdi;
import java.io.File;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider;
import org.testng.annotati... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.broad.igv.sam;
import org.broad.igv.Globals;
import org.broad.igv.data.CoverageDataSource;
import org.broad.igv.feature.FeatureUtils;
import org.broad.igv.feature.LocusScore;
import org.broad.igv.feature.g... |
using System;
namespace RestEase
{
/// <summary>
/// Marks a parameter as being the method's Query Map
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = true)]
public sealed class QueryMapAttribute : Attribute
{
/// <summary>
/// Gets... |
/*
Placeholder for custom user CSS
mainly to be overridden in profile/static/custom/custom.css
This will always be an empty file in IPython
*/
@media print {
#notebook_name {
display: block;
font-size: 30px
}
#site {
overflow: visible;
}
#notebook-tachyon-container {
display: none;
}
.... |
set -x
echo "Changes:"
cat $1
# TeamCity style
CHANGED_MODEL_FILES="$(cat $1 | \
grep -v REMOVED | \
cut -d \: -f 1 | \
grep -e model | \
grep .py | \
grep -v util | \
grep -v baseline | \
grep -v png \
)"
echo ${CHANGED_MODEL_FILES}
# Comment out line below to enable automated script execution
#CHANG... |
package slick.compiler
import slick.ast._
import Util._
import TypeUtil._
import slick.util.ConstArray
/** Rewrite zip joins into a form suitable for SQL using inner joins and RowNumber columns.
*
* We rely on having a Bind around every Join and both of its generators, which should have been
* generated by Phas... |
using Flowers.ViewModel;
using GalaSoft.MvvmLight.Views;
using Microsoft.Practices.ServiceLocation;
using Xamarin.Forms;
namespace Flowers.Forms
{
public partial class DetailsPage : ContentPage
{
public DetailsPage(FlowerViewModel flower)
{
InitializeComponent();
Bindi... |
package com.jasonwjones.hyperion.parentinferrer;
import java.util.HashMap;
import java.util.Map;
public class ParentLevels {
private Map<Integer, String> parentLevels = new HashMap<Integer, String>();
public void setParentForLevel(String parent, int level) {
parentLevels.put(level, parent);
}
public String g... |
package com.kii.thing_if.clause.base;
import java.util.List;
public interface BaseAnd<T extends BaseClause> extends BaseClause {
List<T> getClauses();
BaseAnd<T> addClause(T clause);
}
|
package org.apache.camel.itest.springboot;
import org.apache.camel.itest.springboot.util.ArquillianPackager;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunW... |
namespace cci {
template <typename Invocable>
struct ScopeGuard
{
template <typename F>
explicit ScopeGuard(F &&f) noexcept : callback(std::forward<F>(f))
{}
~ScopeGuard()
{
if (should_run)
callback();
}
void dismiss() noexcept { should_run = false; }
// Scope gua... |
<?php
namespace Symfony\Component\Translation;
/**
* TranslatorInterface.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
interface TranslatorInterface
{
/**
* Translates the given message.
*
* @param string $id The message id (may also be an object that can be cast to strin... |
#ifndef TFACEP_H
#define TFACEP_H
#include "hosthplb.h"
#include "blobs.h"
#include "tessarray.h"
#include "notdll.h"
#include "oldlist.h"
#include "permute.h"
#include "blobclass.h"
#include "stopper.h"
#include "associate.h"
#include "chop.h"
#include "structures.h"
typedef void (*TESS_TESTER) (TBLOB *, BOOL8, ch... |
package com.github.ruediste.salta.standard;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Executable;
import java.lang.reflect.Member;
import java.lang.reflect.Parameter;
import java.util.Objects;
import com.github.ruediste.salta.core.CoreDependencyKey;
import com.google.common.reflect.TypeToken... |
var mp = new require("../index.js")("key", "secret");
//returns the mixpanel users in csv format
var csv = mp.people.toCsv();
//print csv data as string
console.log(csv);
|
function BrowserslistError (message) {
this.name = 'BrowserslistError'
this.message = message || ''
this.browserslist = true
if (Error.captureStackTrace) {
Error.captureStackTrace(this, BrowserslistError)
}
}
BrowserslistError.prototype = Error.prototype
module.exports = BrowserslistError
|
tabbox {
min-height: 650px;
}
h3 {
margin: 2px 0;
}
th,
td {
font-size: 14px;
padding-left: 0.5em;
padding-right: 0.5em;
text-align: left;
vertical-align: top;
}
thead tr {
font-size: 14px;
font-weight: bold;
}
tbody tr:nth-child(odd) {
background: rgb(238, 238, 255);
}
.log-time {
white-sp... |
package conntrack
import (
"os"
"path"
"strconv"
"strings"
"testing"
"github.com/shirou/gopsutil/v3/net"
"github.com/stretchr/testify/require"
"github.com/influxdata/telegraf/plugins/inputs/system"
"github.com/influxdata/telegraf/testutil"
)
func restoreDflts(savedFiles, savedDirs []string) {
dfltFiles = ... |
<#-------------Create Deployment Start------------------#>
Import-Module .\TestLibs\RDFELibs.psm1 -Force
$Subtests= $currentTestData.SubtestValues
$SubtestValues = $Subtests.Split(",")
$result = ""
$testResult = ""
$resultArr = @()
$isDeployed = DeployVMS -setupType $currentTestData.setupType -Distro $Distro -xmlConf... |
package com.att.cmd.perm;
import com.att.cadi.CadiException;
import com.att.cadi.LocatorException;
import com.att.cadi.client.Future;
import com.att.cadi.client.Rcli;
import com.att.cadi.client.Retryable;
import com.att.cmd.AAFcli;
import com.att.cmd.Cmd;
import com.att.cmd.Param;
import com.att.cssa.rserv.HttpMethod... |
import * as methods from './utils';
export default {
name: 'CompA',
...methods,
}; |
package com.iluwatar.threadpool;
import org.junit.Test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.Mockito.verifyZeroInteractions;
/**
* Date: 12/30/15 - 18:21 PM
*
* @author Jeroen Meulem... |
var path = require('path');
var util = require('util');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var webpack = require('webpack');
var pkg = require('../package.json');
var DEBUG = process.env.NODE_ENV === 'development';
var TEST = process.env.NODE_ENV === 'test';
var cssBundle = path.join('css... |
package org.apache.accumulo.server.rpc;
import java.io.IOException;
import javax.security.sasl.SaslServer;
import org.apache.accumulo.core.rpc.SaslConnectionParams.SaslMechanism;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.thrift.TException;
import org.apache.thrift.TProcessor;
import ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Use Drush ! - To quality and beyond</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" ... |
package org.evm.biz.user.entity;
import org.evm.core.entity.AbstractEntity;
public class UserRoleRelVO extends AbstractEntity {
private long userId;
private long roleId;
public long getUserId() {
return userId;
}
public void setUserId(long userId) {
this.userId = userId;
}
public long getRoleId() {
re... |
package dht
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Introduction to FDM 3D printing</title>
<!-- bower:css -->
<!-- endbower -->
<!-- inject:css -->
<!-- endinj... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :username
t.string :email
t.timestamps
end
end
end
|
using System;
using Newtonsoft.Json;
namespace HaloSharp.Model.HaloWars2.Metadata.Pack.Displayinfo
{
[Serializable]
public class View : DisplayInfo.View, IEquatable<View>
{
[JsonProperty(PropertyName = "HW2PackDisplayInfo")]
public DisplayInfo.DisplayInfo PackDisplayInfo { get; set; }
... |
<?php
namespace Admingenerator\GeneratorBundle\Builder\DoctrineODM;
use Admingenerator\GeneratorBundle\Builder\Admin\FiltersBuilderType as AdminFiltersBuilderType;
/**
* This builder generate php for Filters form
* @author cedric Lombardot
*/
class FiltersBuilderType extends AdminFiltersBuilderType
{
}
|
<!doctype html>
<meta charset="utf8">
<title>XPath in text/html: attributes</title>
<link rel="help" href="http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#Interfaces">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<div id="log" nonÄsciiAttribute><span... |
<!DOCTYPE html>
<html>
<body>
<script src="../../../animations/resources/composited-animation-test.js"></script>
<script src="../../../animations/resources/composited-animations-data/rotate-zero-degrees.js"></script>
<script>
runCompositedAnimationTestExpectations(rotateZeroDegreesTests);
</script>
</body>
</html>
|
require 'fileutils'
require 'colorize'
module Dockerize
class DocumentWriter
CREATE_WORD = 'created '.green
REPLACE_WORD = 'replaced '.red
IGNORE_WORD = 'ignored '.yellow
attr_writer :document_name
def initialize(document_name = nil, stream = $out)
@stream = stream
@document_name = ... |
export * from './toast.service';
|
@implementation MBProgressHUD(Expand)
+(UIWindow*)getWindow{
NSEnumerator *frontToBackWindows = [[[UIApplication sharedApplication]windows]reverseObjectEnumerator];
for (UIWindow *window in frontToBackWindows){
if (window.windowLevel == UIWindowLevelNormal && !window.hidden) {
return w... |
/**
* @file
* @brief
* This file defines the top-level functions for the OpenThread CoAP implementation.
*/
#ifndef OPENTHREAD_COAP_H_
#define OPENTHREAD_COAP_H_
#include <stdint.h>
#include <openthread/ip6.h>
#include <openthread/message.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup api-coap... |
var helper = require(__dirname + '/test-helper')
var called = false;
test('disconnects', function() {
var sink = new helper.Sink(4, function() {
called = true;
var eventSink = new helper.Sink(1, function() {});
helper.pg.on('end', function() {
eventSink.add();
});
//this should exit the pr... |
<!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" xml:lang="en" lang="en">
<!-- Mirrored from bvs.wikidot.com/forum/t-125984/looking-for-sparring-partners-bvs by HTTrack Website Copier/3.x [XR&CO'2014], ... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class typed_value_base</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.html" title="Th... |
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php $ih = Loader::helper('concrete/ui'); ?>
<form method="post" class="form-horizontal" id="file-sets-add" action="<?php echo $view->url('/dashboard/files/add_set', 'do_add')?>">
<div class="ccm-pane-body">
<?php echo $validation_token->output('fi... |
package com.impetus.client.crud.datatypes;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.Query;
import junit.framework.Assert;
import org.junit.After;
import org.junit.Before;
import org.ju... |
cask 'capto' do
version '1.2.11,1548837086'
sha256 '8e2e94a6c4d1f0e7abcf3dd26be2317b123a2039c7fdb72fe3c37cb744948ac9'
# dl.devmate.com/com.globaldelight.Capto was verified as official when first introduced to the cask
url "https://dl.devmate.com/com.globaldelight.Capto/#{version.before_comma}/#{version.after_c... |
***************************************
Changelog
***************************************
**HEAD**
**0.3**
- added feature ``development``
- feature ``staticfiles`` now serves media files when using devserver
- product context: better exception handling
- improved docs
- multitude of small improvements by tonimichel... |
package com.amazonaws.services.opsworks.model;
import java.io.Serializable;
/**
* <p>
* Describes a user's SSH information.
* </p>
*/
public class UserProfile implements Serializable, Cloneable {
/**
* The user's IAM ARN.
*/
private String iamUserArn;
/**
* The user's name.
*/
... |
#include <aws/inspector/model/Locale.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace Inspector
{
namespace Model
{
namespace LocaleMapper
{
static... |
// 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.Collections.Immutable;
using System.Diagnostics;
using... |
package org.apache.spark.sql.execution.datasources.parquet;
import org.apache.spark.sql.execution.vectorized.ColumnVector;
import org.apache.parquet.io.api.Binary;
/**
* Interface for value decoding that supports vectorized (aka batched) decoding.
* TODO: merge this into parquet-mr.
*/
public interface Vectoriz... |
<?php
namespace Symfony\Component\Form\Extension\Csrf\CsrfProvider;
trigger_error('The '.__NAMESPACE__.'\DefaultCsrfProvider is deprecated since version 2.4 and will be removed in version 3.0. Use the \Symfony\Component\Security\Csrf\TokenStorage\NativeSessionTokenStorage class instead.', E_USER_DEPRECATED);
/**
... |
class AudioEditor < Cask
version :latest
sha256 :no_check
url 'http://www.macsome.com/AudioEditor.dmg'
appcast 'http://www.macsome.com/audio-editor-mac/su_feed.xml'
homepage 'http://www.macsome.com/audio-editor-mac/index.html'
license :gratis
app 'Audio Editor.app'
end
|
// 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.
/**
* @fileoverview
* Class handling reconnecting the session when it is disconnected due to
* network failure.
*
* The SmartReconnector listens for ... |
local log = require('log').log
local core = require('core')()
local uv = require('uv')
local pathJoin = require('luvi').path.join
local exec = require('exec')
local request = require('coro-http').request
local semver = require('semver')
local jsonParse = require('json').parse
local fs = require('coro-fs')
local spawn =... |
package com.intellij.openapi.fileTypes;
import com.intellij.openapi.extensions.ExtensionPointName;
import org.jetbrains.annotations.NotNull;
/**
* @author peter
*/
public abstract class FileTypeFactory {
public static final ExtensionPointName<FileTypeFactory> FILE_TYPE_FACTORY_EP = ExtensionPointName.create("com... |
package webhook
import (
"fmt"
"net/url"
"strings"
"k8s.io/apimachinery/pkg/util/validation"
"k8s.io/apimachinery/pkg/util/validation/field"
)
// ValidateWebhookURL validates webhook's URL.
func ValidateWebhookURL(fldPath *field.Path, URL string, forceHttps bool) field.ErrorList {
var allErrors field.ErrorLi... |
package org.kuali.rice.krad.uif.layout;
import org.apache.commons.lang.StringUtils;
import org.kuali.rice.krad.uif.UifConstants;
import org.kuali.rice.krad.uif.component.DataBinding;
import org.kuali.rice.krad.uif.container.CollectionGroup;
import org.kuali.rice.krad.uif.container.Container;
import org.kuali.... |
/*
Mock data for testing your LightDM theme in the browser
*/
if (!('lightdm' in window)) {
window.lightdm = {};
lightdm.hostname ="test-host";
lightdm.languages = [
{
code: "en_US",
name: "English(US)",
territory: "USA"
},
{
code: ... |
class CPolicyDoc;
class CRequestContext;
enum decisionResult
{
permit = 0x00000001,
deny = 0x00000010,
promptOneShot = 0x00000100,
promptSession = 0x00001000,
promptBlanket = 0x00010000,
undetermined = 0x00100000,
inapplicable = 0x01000000
};
class CQuery
{
private:
typedef std::map<std::string, CRequestCo... |
/**
Custom module for you to write your own javascript functions
**/
var Custom = function () {
// private functions & variables
var myFunc = function(text) {
alert(text);
}
// public functions
return {
//main function
init: function () {
//ini... |
[Rollup](https://rollupjs.org/) plugin for sending bundled code to an
[Espruino](http://www.espruino.com) device.
Rollup produces very lean code from modules, with treeshaking and no overhead if
using `es` as the output format. Perfect for Espruino.
With this plugin, bundled code will be sent to one or more Espruino ... |
import * as IniLoad from '../../../src/ini-load';
import {Deferred} from '../../../src/utils/promise';
import {Services} from '../../../src/services';
import {createElementWithAttributes} from '../../../src/dom.js';
import {getA4AId, registerIniLoadListener} from '../../../src/inabox/utils';
describes.realWin('inabo... |
static void _glfwBPP2RGB( int bpp, int *r, int *g, int *b )
{
int delta;
// Special case: BPP = 32 (I don't think this is necessary for X11??)
if( bpp == 32 ) bpp = 24;
// Convert "bits per pixel" to red, green & blue sizes
*r = *g = *b = bpp / 3;
delta = bpp - (*r * 3);
if( delta >= 1 )
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.matchesPattern = matchesPattern;
exports.has = has;
exports.isStatic = isStatic;
exports.isnt = isnt;
exports.equals = equals;
exports.isNodeType = isNodeType;
exports.canHaveVariableDeclarationOrExpression = canHaveVariableDeclarat... |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AbpKendoDemo.Users;
namespace AbpKendoDemo.Sessions.Dto
{
[AutoMapFrom(typeof(User))]
public class UserLoginInfoDto : EntityDto<long>
{
public string Name { get; set; }
public string Surname { get; set; }
public stri... |