text stringlengths 3 1.05M |
|---|
package org.jivesoftware.openfire.muc.cluster;
import org.dom4j.Element;
import org.dom4j.tree.DefaultElement;
import org.jivesoftware.openfire.muc.spi.LocalMUCRoom;
import org.jivesoftware.util.cache.ExternalizableUtil;
import org.xmpp.packet.Presence;
import java.io.IOException;
import java.io.ObjectInput;
import... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Jeopardy_Game
{
/// <summary>
/// home page of the game that asks the user for his or her name.
/// </summary>
public partial class index : System.Web.UI... |
function setupGridster() {
$(".gridster div.stickies").gridster({
widget_selector: "div.stickies div",
widget_margins: [10, 10],
widget_base_dimensions: [137, 137],
min_cols: 6,
extra_rows: 6
});
}
function setupStickyAdd() {
function addSticky(color) {
var ... |
from en.parser.nltk_lite.parse import ParseI, AbstractParse
from en.parser.nltk_lite.parse import cfg, pcfg
from en.parser.nltk_lite.parse.tree import Tree, ProbabilisticTree
from en.parser.nltk_lite.parse.chart import Chart, LeafEdge, TreeEdge, AbstractChartRule
import types
##////////////////////////////////////////... |
void filter_main(std::string sInFileName, std::string sHL_Flg, std::string sC_Freq,double* dMax);
|
package org.apache.geode.cache.lucene.internal;
import org.apache.geode.cache.EntryEvent;
import org.apache.geode.cache.wan.GatewayEventSubstitutionFilter;
/**
* A substitution filter which throws away the value of the entry and replaces it with an empty
* string. For the lucene index, we will just fetch the new ... |
<?php namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
/**
* Class ApiCategoryStore
* @package App\Http\Requests
*/
class ApiCategoryStore extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
* @return bool
*/
public function authorize... |
package org.elasticsearch.client.ml.dataframe.evaluation.classification;
import org.elasticsearch.client.ml.dataframe.evaluation.MlEvaluationNamedXContentProvider;
import org.elasticsearch.common.xcontent.NamedXContentRegistry;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.test.Abs... |
var Deeply = {
level : 'two'
};
require('super_deep/deeper.js') |
PROGRAM= testTCP
EXTRA_CXXFLAGS+= -std=gnu++11
EXTRA_LIBS+= -lgtest -lgtest_main
include ../../mk/find_tcp_solution.mk
EXTRA_OBJS+= $(TCP_SOLUTION)
include ../../mk/Makefile |
from django.contrib.sessions.backends.base import SessionBase
class SessionStore(SessionBase):
"""
A simple cookie-based session storage implementation.
The session key is actually the session data, pickled and encoded.
This means that saving the session will change the session key.
"""
def __... |
AliAnalysisTaskPHOSCluster* AddTaskPHOSCluster (Float_t fZVertex = 10.0,
Int_t fMinCells = 3,
Bool_t fHitmapFilling = kTRUE,
TString tskname = "AliPHOSCluster") {
// Get the current analysis manager
AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisMana... |
namespace Microsoft.Azure.Management.RecoveryServices.Models
{
using Microsoft.Azure;
using Microsoft.Azure.Management;
using Microsoft.Azure.Management.RecoveryServices;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Summary of the replication monitoring data for this vault.
... |
package errors
import "fmt"
type GuestError struct {
vm string
operation string
reason string
}
func NewGuestError(vm, operation, reason string) error {
err := GuestError{
vm: vm,
operation: operation,
reason: reason,
}
return &err
}
func (err *GuestError) Error() string {
return ... |
#ifndef PCL_SAMPLE_CONSENSUS_IMPL_SAC_MODEL_CYLINDER_H_
#define PCL_SAMPLE_CONSENSUS_IMPL_SAC_MODEL_CYLINDER_H_
#include <pcl/sample_consensus/eigen.h>
#include <pcl/sample_consensus/sac_model_cylinder.h>
#include <pcl/common/concatenate.h>
///////////////////////////////////////////////////////////////////////////... |
cask 'use-engine' do
version '2.2.5'
sha256 '7ec4d9da00b7c9637bd092fb14a3d24d24bc66aff5bfd91da08c58ed8c824a95'
url "https://repository.use-together.com/stable/use-engine/macos/#{version.major}.x/#{version}/use-engine.dmg"
name 'USE Engine'
homepage 'https://www.use-together.com/'
auto_updates true
depen... |
package org.apache.calcite.adapter.geode.rel;
import org.apache.calcite.adapter.enumerable.EnumerableConvention;
import org.apache.calcite.plan.RelTraitSet;
import org.apache.calcite.rel.RelNode;
import org.apache.calcite.rel.convert.ConverterRule;
/**
* Rule to convert a relational expression from
* {@link GeodeR... |
module ActiveAdmin
module Views
# # Index as Blog
#
# Render your index page as a set of posts. The post has two main options:
# title and body.
#
# ```ruby
# index as: :blog do
# title :my_title # Calls #my_title on each resource
# body :my_body # Calls #my_body on each res... |
angular.module('corpoApp')
.controller('NewCtrl', ['$scope', 'Restangular', '$location',
function($scope, Restangular, $location) {
$scope.name = '';
$scope.error = false;
$scope.create = function() {
if($scope.name.length === 0) return;
//check if name is free
Restangular.all('rooms?q=... |
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@angular/core", "../conten... |
package alluxio.client.block.stream;
import static org.mockito.Mockito.mock;
import alluxio.ConfigurationRule;
import alluxio.Constants;
import alluxio.PropertyKey;
import alluxio.client.file.FileSystemContext;
import alluxio.client.file.options.OutStreamOptions;
import alluxio.network.protocol.RPCProtoMessage;
imp... |
package container
// setFromExitStatus is a platform specific helper function to set the state
// based on the ExitStatus structure.
func (s *State) setFromExitStatus(exitStatus *ExitStatus) {
s.exitCode = exitStatus.ExitCode
}
|
;(function($) {
$.slidebars = function(options) {
// ----------------------
// 001 - Default Settings
var settings = $.extend({
siteClose: true, // true or false - Enable closing of Slidebars by clicking on #sb-site.
disableOver: false, // integer or false - Hide Slidebars over a specific width.
hide... |
import RSVP from 'rsvp';
import AuthenticateRoute from 'wholetale/routes/authenticate';
import { inject as service } from '@ember/service';
export default AuthenticateRoute.extend({
internalState: service(),
userAuth: service(),
model(params) {
this._super();
let state = this.get('internalState');
... |
package com.intellij.remoteServer.agent.impl.util;
import com.intellij.openapi.diagnostic.Logger;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* @author michael.golubev
*/
public class UrlCollect... |
PyHamcrest documentation
========================
Contents:
.. toctree::
:maxdepth: 1
tutorial
custom_matchers
library
integration
core
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
|
package com.netflix.hystrix.contrib.javanica.test.common.observable;
import com.netflix.hystrix.HystrixEventType;
import com.netflix.hystrix.HystrixRequestLog;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.netflix.hystrix.contrib.javanica.annotation.ObservableExecutionMode;
import ... |
import os, sys, new
from selenium import webdriver
from django.test import LiveServerTestCase
from sauceclient import SauceClient
from knesset.browser_test_runner import browser, sauce_accesskey, sauce_username, sauce_platforms
def on_platforms():
"""
class decorator for the browser test case
it runs the ... |
@media (min-width: 992px) {
.nav-users {
position: fixed;
}
}
.social-account-container {
display: inline-block;
position: relative;
}
.btn-remove-account {
top: 10px;
right: 10px;
position: absolute;
}
.btn-file {
position: relative;
overflow: hidden;
}
.btn-file input[type=file] {
position: ab... |
#import "RCTNavigator.h"
#import "RCTAssert.h"
#import "RCTBridge.h"
#import "RCTConvert.h"
#import "RCTEventDispatcher.h"
#import "RCTLog.h"
#import "RCTNavItem.h"
#import "RCTScrollView.h"
#import "RCTUtils.h"
#import "RCTView.h"
#import "RCTWrapperViewController.h"
#import "UIView+React.h"
typedef NS_ENUM(NSUInt... |
A standard means of checking non-emptiness of an array or collection is to test
if the size of that collection is greater than 0. However, one may accidentally
check if the size is greater than or equal to 0, which is always true.
|
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
>
<PreferenceCategory
android:key="catalyst_perf"
android:title="Performance"
>
<CheckBoxPreference
android:key="fps_debug"
android:title="FPS Debugging"
... |
namespace gli
{
/// 2d texture sampler
/// @tparam T Sampler can fetch, write and interpret any texture format but will expose and process the data through type T conversions.
/// @tparam P Precision in term of ULPs
template <typename T, precision P = defaultp>
class sampler2d : public sampler
{
private:
typed... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Build'
db.create_table('builds_build', (
('id', self.gf('django.db.models.fields.AutoField')(pri... |
import java.lang.String;
import java.util.List;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.HashSet;
public class Test {
public static void main(String[] args) {
List<String> list = new ArrayList<String>();
}
} |
<?php
/**
* The template for displaying a "No posts found" message.
*
* @since 3.0.0
*/
?>
<article id="post-0" class="post error404 not-found">
<h1 class="entry-title"><?php _e( 'Nothing found', 'magazine-basic' ); ?></h1>
<div class="entry-content">
<p><?php _e( 'No results were foun... |
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled';
export function getListItemUtilityClass(slot) {
return generateUtilityClass('MuiListItem', slot);
}
var listItemClasses = generateUtilityClasses('MuiListItem', ['root', 'container', 'focusVisible', 'dense', 'alignItemsFlexStart', 'd... |
from builtins import str
from datetime import datetime
from contextlib import closing
from typing import Optional
from sqlalchemy import create_engine
from airflow.hooks.base_hook import BaseHook
from airflow.exceptions import AirflowException
class DbApiHook(BaseHook):
"""
Abstract base class for sql hooks... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch11/11.4/11.4.1/11.4.1-5-a-23-s.js
* @description Strict Mode - SyntaxError is thrown when deleting a built-in (Number)
* @onlyStrict
*/
function testcase() {
"use strict";
try {
eval("delete Number;");
... |
"""Client side of the heat worker RPC API."""
from oslo_config import cfg
import oslo_messaging as messaging
from heat.common import messaging as rpc_messaging
from heat.rpc import api as rpc_api
cfg.CONF.import_opt('engine_life_check_timeout', 'heat.common.config')
class EngineListenerClient(object):
"""Clien... |
Take a look to the [styleguide here](http://teleopti.github.io/styleguide/styleguide)
## How to contribute
To be able to generate the styleguide you need kss-node:
npm install -g kss
npm install
To generate it:
grunt dist
You can also use the watch task. The styleguide is generated after each scss change:
... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.1//EN" "http://www.netbeans.org/dtds/EditorFontsColors-1_1.dtd">
<fontscolors>
<fontcolor default="string" name="STRING_INVALID" waveUnderlined="ffce7b00">
<font style="bold"/>
</font... |
/**
* Created by Chanaka Fernando on 1/27/2017.
*/
import {Injectable} from '@angular/core';
import {Http,Headers} from '@angular/http';
import 'rxjs/add/operator/map';
@Injectable()
export class ServiceCalls{
constructor(private _http: Http){
console.log('bus Api service started');
}
postData(object:a... |
#include "murmur_pch.h"
#include "ServerDB.h"
#include "ACL.h"
#include "Channel.h"
#include "Connection.h"
#include "DBus.h"
#include "Group.h"
#include "Meta.h"
#include "Server.h"
#include "ServerUser.h"
#include "User.h"
#include "PBKDF2.h"
#define SQLDO(x) ServerDB::exec(query, QLatin1String(x), true)
#define... |
RPM Spec File Notes
-------------------
The RPM spec file provided here is for Bitcoin-Core 0.12.0 and builds on CentOS
7 with either the CentOS provided OpenSSL library or with LibreSSL as packaged
at [LibreLAMP.com](https://librelamp.com/). It should hopefully not be too
difficult to port the RPM spec file to most R... |
<?php
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
class TemplatingPass implements CompilerPassInterface
{
public function process(ContainerBuilder $co... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20160609223015 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema... |
package zztest;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.icexxx.util.IceJsonUtil;
public class IceJsonTest2 {
public static void main(String[] args) {
User user = new User();
user.setUsername("zs");
user.setPassword("pass");
... |
title: Kubestone - ioping: Storage Latency benchmark
# ioping - Storage Latency benchmark
!!! quote
A tool to monitor I/O latency in real time. It shows disk latency in the same way as ping shows network latency.
With [ioping](https://github.com/koct9i/ioping) benchmark you can measure the latency of the storage... |
package uk.org.fyodor.junit;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
import uk.org.fyodor.testapi.FyodorTest;
import uk.org.fyodor.testapi.FyodorTestCallback;
import uk.org.fyodor.testapi.SeededFyodorTestCallback;
import uk.org.fyodor.testapi.Seed... |
package keypairs
import (
"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/openstack/compute/v2/servers"
"github.com/gophercloud/gophercloud/pagination"
)
// CreateOptsExt adds a KeyPair option to the base CreateOpts.
type CreateOptsExt struct {
servers.CreateOptsBuilder
// KeyName is th... |
<?php
namespace Symfony\Bridge\Propel1\Tests\Fixtures;
class Item implements \Persistent
{
private $id;
private $value;
private $groupName;
private $price;
private $slug;
public function __construct($id = null, $value = null, $groupName = null, $price = null, $slug = null)
{
$t... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false
};
v... |
package client
const (
CREDENTIAL_TYPE = "credential"
)
type Credential struct {
Resource
AccountId string `json:"accountId,omitempty" yaml:"account_id,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
Data map[string]interface{} `json:"data,omitempty" yaml:"data,omitempty"`
Des... |
package org.elasticsearch.search.aggregations.metrics;
import org.elasticsearch.search.aggregations.support.format.ValueFormatter;
/**
*
*/
public abstract class InternalNumericMetricsAggregation extends InternalMetricsAggregation {
protected ValueFormatter valueFormatter;
public static abstract class Si... |
<?php
namespace Laminas\InputFilter\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
|
// +build !ignore_autogenerated
// This file was autogenerated by defaulter-gen. Do not edit it manually!
package v1
import (
api_v1 "k8s.io/client-go/pkg/api/v1"
runtime "k8s.io/client-go/pkg/runtime"
)
// RegisterDefaults adds defaulters functions to the given scheme.
// Public to allow building arbitrary sch... |
package com.microsoft.azure.management.logic.v2018_07_01_preview.implementation;
import java.util.Arrays;
import java.util.Iterator;
class IdParsingUtils {
public static String getValueFromIdByName(String id, String name) {
if (id == null) {
return null;
}
Iterable<String> ite... |
namespace Swift.UI.Web.Mvc.Areas.HelpPage.ModelDescriptions
{
public class DictionaryModelDescription : KeyValuePairModelDescription
{
}
} |
include(FindPkgMacros)
# Try to find framework first on Mac OS X
if(APPLE)
find_framework(SDL2)
find_framework(SDL2_image)
endif ()
IF(NOT SDL2_FOUND)
# Then try everything else
CMAKE_POLICY(PUSH)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.7 FATAL_ERROR)
find_package(PkgConfig QUIET)
pkg_check_modules(PC... |
package com.example.android.wizardpager.wizard.ui;
import com.example.android.wizardpager.wizard.model.Page;
public interface PageFragmentCallbacks {
Page onGetPage(String key);
}
|
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t send(int fd, const void* buf, size_t len, int flags) {
return ki_send(fd, buf, len, flags);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */
|
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("./searchcursor"), require("../dialog/dialog"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror", "./searchcursor", "../dialog/dial... |
'use strict';
const Filter = require('broccoli-filter');
function DummyFilter(inputTree, options) {
Filter.call(this, inputTree, options);
}
DummyFilter.prototype = Object.create(Filter.prototype);
DummyFilter.prototype.constructor = DummyFilter;
DummyFilter.prototype.extensions = ['js'];
DummyFilter.prototyp... |
angular.module('travel.services', [])
////////////////// AuthMe //////////////////////
.factory("AuthMe", function ($http){
var createUser = function(user){
return $http({
method: 'POST',
url: '/api/auth/signup',
data: JSON.stringify(user)
})
.then(function (resp){
return res... |
/*syn@0.3.0#key.support*/
define(function (require, exports, module) {
var syn = require('./synthetic');
require('./key');
if (!syn.config.support) {
(function checkForSupport() {
if (!document.body) {
return syn.schedule(checkForSupport, 1);
}
var... |
set -o errexit
set -o nounset
set -o pipefail
declare -r KUBE_ROOT="$(dirname "${BASH_SOURCE}")/.."
cd "${KUBE_ROOT}"
declare -r STARTINGBRANCH=$(git symbolic-ref --short HEAD)
declare -r REBASEMAGIC="${KUBE_ROOT}/.git/rebase-apply"
DRY_RUN=${DRY_RUN:-""}
REGENERATE_DOCS=${REGENERATE_DOCS:-""}
UPSTREAM_REMOTE=${UPSTR... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const SingleEntryPlugin = require("./SingleEntryPlugin");
const MultiEntryPlugin = require("./MultiEntryPlugin");
const DynamicEntryPlugin = require("./DynamicEntryPlugin");
/** @typedef {import("../decla... |
package com.amazonaws.services.storagegateway.model.transform;
import static com.amazonaws.util.StringUtils.UTF8;
import static com.amazonaws.util.StringUtils.COMMA_SEPARATOR;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
imp... |
namespace Poly
{
struct DebugRenderingBuffers : public BaseObject<>
{
DebugRenderingBuffers();
~DebugRenderingBuffers();
GLuint VAO = 0;
GLuint VBO = 0;
};
} |
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace Thinktecture.IdentityServer.Core.Services.Default
{
/// <summary>
/// Claims filter for facebook. Converts the "urn:facebook:name" claim to the "name" claim.
/// </summary>
public class FacebookClaimsFilter ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>comp-dec-modal: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
module Jekyll
class EntryFilter
SPECIAL_LEADING_CHARACTERS = ['.', '_', '#'].freeze
attr_reader :site
def initialize(site, base_directory = nil)
@site = site
@base_directory = derive_base_directory(@site, base_directory.to_s.dup)
end
def base_directory
@base_directory.to_s
... |
#ifndef ADAPTIVE_H
#define ADAPTIVE_H
/*----------------------------------------------------------------------------
Include Files and Type Defines
----------------------------------------------------------------------------*/
#include "oldlist.h"
#include "intproto.h"
#include <stdio.h>
typedef struct
{
... |
package org.apache.zeppelin.helium;
import com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import s... |
<?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 License, Version 2... |
using namespace clang;
NSAPI::NSAPI(ASTContext &ctx)
: Ctx(ctx), ClassIds(), BOOLId(nullptr), NSIntegerId(nullptr),
NSUIntegerId(nullptr), NSASCIIStringEncodingId(nullptr),
NSUTF8StringEncodingId(nullptr) {}
IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const {
static const char *ClassName[NumC... |
<?xml version="1.0" encoding="utf-8"?>
<!--
This is an optimized layout for a screen, with the minimum set of features
enabled.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:fitsSystemWindows="true"
android:orientation="vertical">
<ViewStub android:id="@+id/abs__act... |
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
/////////////
// OPTIONS //
/////////////
// enable extra debug information, when possible
var __DEBUG = true;
// enable sourcemaps for Browserify bundles and Sass
var __SOURCEMAPS = true;
// clean dist files before (re)builds
var __CLEAN = true;
// ... |
using Microsoft.Win32;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
namespace System.ComponentModel.Design
{
/// <summary>
/// <para>Provides data for the <see cref='System.ComponentModel.Design.IComponentChangeService.ComponentRename'/> event.</para>
... |
using System;
using System.Globalization;
using System.Linq;
using System.Numerics;
using Avalonia.Utilities;
namespace Avalonia
{
/// <summary>
/// A 3x3 matrix.
/// </summary>
/// <remarks>Matrix layout:
/// | 1st col | 2nd col | 3r col |
/// 1st row | scaleX | skewY | perspX |
... |
<!DOCTYPE html>
<html>
<head>
<title>Gitify</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="build/css/style.css" rel="stylesheet">
</head>
<body>
<div id="app"></div>
... |
from unittest import TestCase as _Base
import datetime
import errno
import functools
import os
import sys
import types
from av.datasets import fate as fate_suite
try:
import PIL.Image as Image
import PIL.ImageFilter as ImageFilter
except ImportError:
Image = ImageFilter = None
is_windows = os.name == "... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'RelatedUpload.title'
db.add_column('panda_relatedupload', 'title',
self.gf('django.db.models.f... |
#region Project Description [About this]
// =================================================================================
// The whole Project is Licensed under the MIT License
// =================================================================================
// =======================================... |
package com.siyeh.ig.fixes;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.util.IncorrectOperationException;
import com.siyeh.InspectionGadgetsBundle;
import com.siyeh.ig.InspectionGadgetsFix;
import org.jetbra... |
OPEN_RDO_PARSER_NAMESPACE
// --------------------------------------------------------------------------------
// -------------------- Expression
// --------------------------------------------------------------------------------
const std::string Expression::CONTEXT_PARAM_SET_EXPRESSION = "set_expression";
const std::... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" >
<title>Belgium 2014
- Proposal</title>
<meta name="author" content="Daniel Cukier" >
<link rel="alternate" type="applicat... |
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from six.moves import range
from congress.datasources import datasource_driver
def d6service(name, keys, inbox, datapath, args):
"""Create a dataservice instance.
This method is called by d6cage to ... |
var fs = require('fs'),
Path = require('path'),
util = require('util'),
colors = require('colors'),
EE = require('events').EventEmitter,
fsExists = fs.exists ? fs.exists : Path.exists,
fsExistsSync = fs.existsSync ? fs.existsSync : Path.existsSync;
module.exports = function(dir, iterator, options... |
package org.apache.hadoop.hbase.coprocessor;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.*;
import org.apache.hadoop.hbase.client.Delete;
import org.apache.hadoop.hbase.client.Get;
imp... |
from __future__ import unicode_literals
import unittest
from django.core.exceptions import ImproperlyConfigured
from django.core.servers.basehttp import get_internal_wsgi_application
from django.core.signals import request_started
from django.core.wsgi import get_wsgi_application
from django.db import close_old_conne... |
<?php
defined('JPATH_PLATFORM') or die;
/**
* Prototype form model.
*
* @package Joomla.Legacy
* @subpackage Model
* @see JForm
* @see JFormField
* @see JFormRule
* @since 12.2
*/
abstract class JModelForm extends JModelLegacy
{
/**
* Array of form objects.
*
* @var... |
{-# LANGUAGE ConstraintKinds, FlexibleInstances, TypeFamilies,
MultiParamTypeClasses, FlexibleContexts, UndecidableInstances, ScopedTypeVariables #-}
module T5515 where
class ctx (Arg ctx) => Bome ctx where
type BArg ctx
instance ctx a => Bome ctx where
type BArg ctx = a
class C f a
class C f (Arg f) => S... |
/**
* @format
* @flow
*/
const path = require('path');
const Styled = require('../../../Styled');
exports.kind = 'codemod';
exports.title = 'Remove and replace old React utility types.';
exports.description = `
In the past Flow has some very confusing and inconvenient utility types for
React. We removed these ut... |
#if !defined(BOOST_FUSION_SEQUENCE_CONTAINER_DEQUE_24112006_2036)
#define BOOST_FUSION_SEQUENCE_CONTAINER_DEQUE_24112006_2036
#include <boost/fusion/support/config.hpp>
#include <boost/fusion/container/deque/deque_fwd.hpp>
#include <boost/fusion/container/deque/deque.hpp>
#include <boost/fusion/container/deque/conver... |
Copyright(c) 2014-2016 Milo Yip (miloyip@gmail.com)
## Introduction
This benchmark evaluates the performance of conversion from 32-bit/64-bit integer to ASCII string in decimal. The function prototypes are:
~~~~~~~~cpp
void u32toa(uint32_t value, char* buffer);
void i32toa(int32_t value, char* buffer);
void u64toa(u... |
CKEDITOR.plugins.setLang( 'wsc', 'eo', {
btnIgnore: 'Ignori',
btnIgnoreAll: 'Ignori Ĉion',
btnReplace: 'Anstataŭigi',
btnReplaceAll: 'Anstataŭigi Ĉion',
btnUndo: 'Malfari',
changeTo: 'Ŝanĝi al',
errorLoading: 'Eraro en la servoelŝuto el la gastiga komputiko: %s.',
ieSpellDownload: 'Ortografikontrolilo ne inst... |
<!DOCTYPE html>
<!--
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
-->
<html>
<head>
<meta charset="utf-8">
<title>Using API to Customize Dialog Windows — CKEditor Sample</title>
<script src="..... |
/**
* TODO describe me.
*/
package org.jivesoftware.smackx.xevent.packet;
|