text stringlengths 3 1.05M |
|---|
- Original: [Release electron v9.0.0-beta.16 - electron/electron](https://github.com/electron/electron/releases/tag/v9.0.0-beta.16)
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via `npm install electron@beta`... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<script type="text/javascript" src="../bower_components/angular/angular.js"></script>
<script type="text/javascript" src="./i... |
<?xml version="1.0" encoding="UTF-8" ?>
<skin version="0" xmlns="http://xsml.org/ns/0/">
<width>250</width>
<height>210</height>
<name>
MiniAMPcast by Kevin Fields
</name>
<email>
kamnet@yahoo.com
</email>
<objects>
<background image="images/MiniAMPcast.png" shape="rectRounded" />
<playlist x="6" y="57" wid... |
@implementation LKAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[LocalizeKit config:^(LocalizeKit *lk) {
lk.debugLevel = LKDebugLevelDevelopment;
lk.dataFileName = @"AppData.plist";
lk.locale = @"en";
}];
return YES;
}
- (v... |
package com.alibaba.dubbo.common.serialize.support.json;
import com.alibaba.dubbo.common.json.Jackson;
import net.jahhan.com.alibaba.dubbo.common.serialize.ObjectOutput;
import net.jahhan.com.alibaba.dubbo.common.utils.ReflectUtils;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.*;
import java.ut... |
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('Wettbewerbe', '0005_teilnahme_nur_name'),
]
operations = [
migrations.AlterModelOptions(
name='artteiln... |
#ifndef __G_LEVEL_H__
#define __G_LEVEL_H__
#include "doomtype.h"
#include "doomdef.h"
#include "sc_man.h"
#include "s_sound.h"
#include "textures/textures.h"
struct level_info_t;
struct cluster_info_t;
class FScanner;
#if defined(_MSC_VER)
#pragma data_seg(".yreg$u")
#pragma data_seg()
#define... |
module.exports = (furipota) => {
const { nativeModule, native, nativeThunk, ok, error } = furipota.primitives;
const hasOwn = Function.call.bind(Object.prototype.hasOwnProperty);
return nativeModule('core:record', {
'has':
native('has', [['Record', 'Text'], {}],
'true if the record contains a prope... |
<?php
namespace Siga21\BackendBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class BackendBundle extends Bundle
{
}
|
package com.microsoft.azure.management.appplatform.v2020_07_01;
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.appplatform.v2020_07_01.implementation.AppPlatformManager;
import com.microsoft.azure.management.appplatform... |
<?xml version="1.0"?>
<!--
~ Copyright Amazon.com, Inc. or its affiliates. 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.
~ A copy of the License is located at
~
~ http://aws.amazon.com/apache2.0
... |
package com.vmware.xmlrpc;
import org.apache.xmlrpc.XmlRpcException;
/**
* Wraps a checked XmlRpcException so that it can be thrown as a Runtime Exception.
*/
public class RuntimeXmlRpcException extends RuntimeException {
public RuntimeXmlRpcException(XmlRpcException cause) {
super(cause);
}
}
|
/*
Name: Base2Tone-Meadow
Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)
CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
*/
.cm-s-Base2Tone-Meadow-dark.CodeMirror { bac... |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* The action used to reject {@link WorkflowApprovalRequest workflow approval requests}.
*
*
* ... |
/*global jQuery */
var oscar = (function(o, $) {
// Replicate Django's flash messages so they can be used by AJAX callbacks.
o.messages = {
addMessage: function(tag, msg) {
var msgHTML = '<div class="alert alert-dismissible fade show alert-' + tag + '">' +
'<a href="#" class... |
from unittest import mock
from conductor.core.exceptions import ConductorError
from conductor.tests import TestCase
from conductor.vendor._stripe import StripeGateway
class TestStripeGateway(TestCase):
@mock.patch("conductor.vendor._stripe.stripe")
def test_create_customer(self, stripe: mock.MagicMock) -> No... |
using System;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using Microsoft.Kinect;
using Utility;
namespace Kinect2.ColorStream
{
public partial class MainWindow : Window, INotifyPropertyChanged
{
private KinectSensor _kinectSensor;
private string _message;
public MainW... |
import Sea
from Excitation import Excitation
class ExcitationPoint(Excitation, Sea.model.excitations.ExcitationPoint):
"""
Rain on the roof excitation
"""
name = 'Point'
description = 'An excitation of a single point.'
def __init__(self, obj, system, subsystem):
Excitation.__init_... |
<!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... |
var buffers = [];
process.stdin.on('readable', function() {
var chunk = process.stdin.read();
if (chunk) buffers.push(chunk);
});
process.stdin.on('end', function() {
console.log(Buffer.concat(buffers));
}); |
import {get as getProjection, transformExtent, fromLonLat} from '../../../../src/ol/proj.js';
import TileSource from '../../../../src/ol/source/Tile.js';
import UTFGrid from '../../../../src/ol/source/TileUTFGrid.js';
import TileGrid from '../../../../src/ol/tilegrid/TileGrid.js';
describe('ol.source.TileUTFGrid', fu... |
package com.boya.kites.liberator.domain;
import org.bson.BasicBSONObject;
import org.bson.types.BasicBSONList;
import org.canedata.field.Fields;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Created IN BOYA by lz on 15-8-13.
*/
public class Release implements Serializable, ... |
package org.apache.airavata.tools.load;
import org.apache.airavata.agents.api.AgentException;
import org.apache.airavata.api.Airavata;
import org.apache.airavata.helix.adaptor.SSHJStorageAdaptor;
import org.apache.airavata.model.appcatalog.gatewayprofile.StoragePreference;
import org.apache.airavata.model.appcatalog.s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _15.Substring
{
class Program
{
static void Main(string[] args)
{
string text = Console.ReadLine();
int count = int.Parse(Console.ReadLine());
... |
<!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_101) on Mon Dec 04 22:22:43 MST 2017 -->
<title>HabitArrayAdapter</title>
<meta name="date" content="2017-12-04">
<link rel="stylesheet" type="... |
package cloudformation
// AWSOpsWorksInstance_BlockDeviceMapping AWS CloudFormation Resource (AWS::OpsWorks::Instance.BlockDeviceMapping)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html
type AWSOpsWorksInstance_BlockDeviceMapping struct {
... |
<?php
namespace {
from('Hoa')
/**
* \Hoa\Xyl\Interpreter\Html\Generic
*/
-> import('Xyl.Interpreter.Html.Generic')
/**
* \Hoa\Test\Praspel\Compiler
*/
-> import('Test.Praspel.Compiler');
}
namespace Hoa\Xyl\Interpreter\Html {
/**
* Class \Hoa\Xyl\Interpreter\Html\Input.
*
* The <input /> component.
*
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Aviso extends CI_Controller
{
public function __construct()
{
parent::__construct();
# Carregar modelo
$this->load->model('Aviso_model');
}
/**
* Método para carregar o gerenciamento de avisos
... |
namespace makuappu{
export class PanelLayout{
public mainWidth: string;
public mainHeight: string;
public mainPadding: string;
public headingHeight: string;
public headingPadding: string;
public bodyHeight: string;
public ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lemma-overloading: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... |
require 'tessa/model/field'
require 'tessa/model/dynamic_extensions'
require 'tessa/active_storage/asset_wrapper'
module Tessa
module Model
def self.included(base)
base.send :include, InstanceMethods
base.extend ClassMethods
Tessa.model_registry << base
end
module InstanceMethods
... |
package org.jasig.portlet.notice.filter;
import org.jasig.portlet.notice.INotificationRepository;
import org.jasig.portlet.notice.INotificationService;
import org.jasig.portlet.notice.INotificationServiceFilter;
import org.jasig.portlet.notice.INotificationServiceFilterChain;
import org.jasig.portlet.notice.IRefresha... |
myVagrantBox
============
Vagrant box with chef recepies: for quick, clean, repeatable development.
knife solo
sudo apt-get install ruby1.9.1-d
sudo gem install knife-solo
init your kitchen
knife solo init myKitchen
install packages
knife cookbook site download python
tar xvzf python-1.4.6.tar.gz -C cookboo... |
@import url('uxkit/reset.css');
@import url('uxkit/util.css');
@import url('uxkit/text.css');
@import url('uxkit/select.css');
@import url('uxkit/scroll.css'); |
using SMAStudiovNext.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SMAStudiovNext.Utils;
namespace SMAStudiovNext.Core
{
public class Logger
{
public static void InfoFormat(string format, params obje... |
<?php
require_once(HTML2PS_DIR.'value.content.item.php');
class ValueContent {
var $_items;
function ValueContent() {
$this->set_items(array());
}
function add_item(&$item) {
$this->_items[] =& $item;
}
function ©() {
$copy =& new ValueContent();
foreach ($this->_items as $item) {
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-erasure: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... |
<footer class="pb3" id="footer">
{{ with .Site.Params.footer }}
{{ replace . "{Year}" now.Year }}
{{ end }}
</footer>
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header>
<MessageHeader xmlns="http://nn.nl/XSD/Generic/MessageHeader/1">
<From>
<Id>Ibis4Tryout</Id>
</From>
<To>
<Location>ESB.Publishing.BS.Document.SalesDocument.1.GetDocuments.1.Request</Lo... |
import * as React from "react";
import { RowInfo } from "react-table";
const StateCell: React.FunctionComponent<RowInfo> = ({ row: { state } }) => {
let stateColour, stateText;
switch (state) {
case "enabled":
stateColour = "#57d500";
stateText = "Active";
break;
case "locked":
stat... |
package com.haulmont.cuba.gui.components;
import com.haulmont.bali.events.Subscription;
import java.util.function.Consumer;
public interface ResizableTextArea<V> extends TextArea<V>, HasSettings {
String NAME = "resizableTextArea";
/**
* @deprecated Use {@link ResizableTextArea#setResizableDirection(... |
class Api::BaseController < ApplicationController
include Pundit
rescue_from Pundit::NotAuthorizedError, with: :deny_access
attr_accessor :current_user
protect_from_forgery with: :null_session
before_action :destroy_session
skip_before_action :verify_authenticity_token
def destroy_session
request.session_opti... |
#ifndef SKY_ENGINE_WTF_DATALOG_H_
#define SKY_ENGINE_WTF_DATALOG_H_
#include "flutter/sky/engine/wtf/Assertions.h"
#include "flutter/sky/engine/wtf/FilePrintStream.h"
#include <stdarg.h>
#include <stdio.h>
namespace WTF {
FilePrintStream& dataFile();
void dataLogFV(const char* format, va_list) WTF_ATTRIBUTE_PRIN... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
<?php
include '../../urlsettings.php';
//Initiate cURL.
$ch = curl_init($url_sendSMSCode);
if($testingStaffUser)
{
//valid staff user
$jsonData = [
"registrationType" => "Staff",
"userID" => "2",
"code" => "7149",
"phone" => "3057765855",
];
}
else
{
//valid employer us... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/a... |
<?php
namespace Radebatz\ACache\Tests;
use PHPUnit\Framework\TestCase;
use Radebatz\ACache\ApcCache;
use Radebatz\ACache\ApcGC;
/**
* ApcGC tests.
*/
class ApcGCTest extends TestCase
{
/**
* Check if apc is available.
*/
protected function hasApc()
{
return function_exists('apc_cach... |
namespace WinAppDriver.Desktop
{
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using WinAppDriver.UAC;
internal class DesktopApp : IDesktopApp
{
private static ILogger logger = Logger.GetLogger("WinAppDriver");
private IDriverContext c... |
#include "config.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <glib/gstdio.h>
#include "pango-fontmap.h"
#include "pango-impl-utils.h"
#include "pangowin32-private.h"
#include "modules.h"
typedef struct _PangoWin32Family PangoWin32Family;
typedef Pang... |
"""Storage backend for S3 or Storage Servers that follow the S3 Protocol"""
import hashlib
import logging
import math
import re
import tempfile
import eventlet
from oslo_config import cfg
from oslo_utils import netutils
from oslo_utils import units
import six
from six.moves import http_client
from six.moves import ur... |
#include "DecoratorStarfield.h"
#include <Rocket/Core/Math.h>
#include <Rocket/Core/Types.h>
#include "DecoratorInstancerStarfield.h"
DecoratorInstancerStarfield::DecoratorInstancerStarfield()
{
RegisterProperty("num-layers", "3").AddParser("number");
RegisterProperty("top-colour", "#dddc").AddParser("color");
Re... |
namespace Egs.EgsSourceCodeGeneration
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Win32;
using NPOI.XSSF.UserModel;
using Egs;
public class EgsDeviceHidAccessPropertiesGeneration
{
... |
.class final Lcom/android/server/display/WifiDisplayAdapter$WifiDisplayHandler;
.super Landroid/os/Handler;
.source "WifiDisplayAdapter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/display/WifiDisplayAdapter;
.end annotation
.annotation system Ldalvik/anno... |
import { LngLatAlt } from "../interfaces/LngLatAlt";
/**
* Contract describing cluster reconstruction data.
*/
export interface ClusterContract {
/**
* The unique id of the cluster.
*/
id: string;
/**
* The IDs of the points.
*
* @description The order of the IDs correspond with... |
#ifndef __MAP_H__
#define __MAP_H__
typedef struct Map Map;
/*
* Allocates the structure for a new map.
*/
Map *map_new();
/*
* Allocates a new map with a given capacity.
*/
Map *map_new_capacity(int capacity);
/*
* Releases the memory associated with a map. It will not properly deallocate
* the memory used ... |
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 \
-classpath ./druid-services-0.5.39-SNAPSHOT-selfcontained.jar:config/compute \
com.metamx.druid.http.ComputeMain
|
source environ.sh
UNSTABLE
GIT=https://github.com/ids1024/llvm.git
BRANCH=redox2
DIR=llvm
MAKE_DIR="build"
CMAKE_ARGS=(-Wno-dev -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX="$PREFIX" -DLLVM_DEFAULT_TARGET_TRIPLE=$HOST -DLLVM_TARGET_ARCH=$ARCH -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_SYSTEM_NAME=Generic -DPYTHON_EXE... |
from __future__ import unicode_literals
from rogerthat.rpc.service import ServiceApiException
class LookAndFeelNotFoundException(ServiceApiException):
def __init__(self, look_and_feel_id):
message = "The look and feel with id '%d' cannot be found" % look_and_feel_id
super(LookAndFeelNotFoundExcep... |
import os
import backoff
import quickstart
PROJECT = os.environ["GOOGLE_CLOUD_PROJECT"]
def test_quickstart(capsys):
@backoff.on_exception(backoff.expo, AssertionError, max_time=60)
def eventually_consistent_test():
quickstart.run_quickstart(PROJECT)
out, _ = capsys.readouterr()
as... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![en... |
@interface NSMenuItem (CHMenuItemAdditions)
+ (id)itemWithTitle:(id)arg1 action:(SEL)arg2;
+ (id)smallItemWithTitle:(id)arg1 target:(id)arg2 action:(SEL)arg3;
- (BOOL)isInMainMenu;
@end
|
<form method="post" action="?action=save">
<?php include __DIR__ . '/../shared/_Errors.php'; ?>
<table class="table">
<tr>
<td><input type="text" name="Name" class="form-control" placeholder="Food Name" value="<?=$model['foodname']?>" /></td>
<td><input type="text" name="Name" class="form-control" pl... |
<!DOCTYPE html>
<meta charset="utf-8">
<style>
svg{
cursor: all-scroll;
}
.centralText{
font: 23spx sans-serif;
fill: #222;
font-weight: bold;
}
.downwardNode circle{
fill: #fff;
stroke: #8b4513;
stroke-width: 2.5px;
}
.upwardNode circle {
fill: #fff;
stroke: #37592b;
stroke-width: 2.5px;
}
.downwar... |
package py4j.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.StringReader;
import java.io.StringWriter;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import py4j.Gatewa... |
function findAtts() {
var c, n = 0;
do {
c = Template.parentData(n++);
} while (c && !c.atts);
return c && c.atts;
}
Template['quickForm_folks'].helpers({
inputClass: function () {
var atts = findAtts();
if (atts) {
return atts["input-col-class"] || "col-sm-10";
}
return "col-sm-10... |
import EventEmitter from 'events';
import { Writable } from 'stream';
const funcs = [
'addListener',
'emit',
'setMaxListeners',
'on',
'once',
'removeListener',
'removeAllListeners',
'listeners',
'listenerCount',
]
let p = new EventEmitter();
for (let i = 0; i < funcs.length; i++) ... |
<h4>This is a modular sidebar</h4>
Still empty...
|
module Atr
class RequestAuthenticator
attr_accessor :request
def initialize(request)
@request = request
end
def matches?
false
end
def params
::Hash[request.query_string.split("&").map{|seg| seg.split("=") }].with_indifferent_access
end
end
end |
CC=clang
EASYRNG=`pkg-config easyRNG --cflags --libs`
CFLAGS=-ldl -lm ${EASYRNG} -rdynamic -g
default: ffn_serialisation_test ffn_xor_test
OBJECTS=ffn.o array.o fio.o rng.o
ffn_serialisation_test: $(OBJECTS)
ffn_xor_test: $(OBJECTS)
clean:
rm *.o ffn_serialisation_test ffn_xor_test > /dev/null
|
<com.tle.beans.mime.MimeEntry>
<id>39216</id>
<institution>
<id>39169</id>
<uniqueId>0</uniqueId>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>pdf</string>
</extensions>
<type>application/pdf</type>
<description>PDF Document</description>
<attributes>
<ent... |
package org.mapfish.print.map.tiled.wms;
import com.vividsolutions.jts.util.Assert;
import org.mapfish.print.map.image.wms.WmsLayerParam;
import java.awt.Dimension;
import java.net.URISyntaxException;
/**
* The parameters for configuration a Tiled WMS layer.
* <p>
* What is meant by a "tiled wms layer" is a laye... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- ... |
package com.github.mdr.mash.parser
import com.github.mdr.mash.evaluator.SourceLocation
import com.github.mdr.mash.inference.Type
import com.github.mdr.mash.runtime._
/**
* Trees representing the abstract syntax of mash, without any unnecessary lexical information
*
* See also: ConcreteSyntax (which retains the ... |
TEST (StateTransitionProbabilityDistributionMatrixTests, InitEmpty) {
std::array<std::array<double, 0>, 0> matrix;
StateTransitionProbabilityDistributionMatrix<0> distributionMatrix = StateTransitionProbabilityDistributionMatrix<0>(matrix);
EXPECT_EQ(0, distributionMatrix.getNumberOfStates());
}
TEST (Stat... |
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.megster.rfduino.temp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Blink</name>
<description>
A sample Apache Cordova application that blinks an LED connected to the RFDuino from the iPhone... |
qc::args_split
==============
part of [Docs](../index.md)
Usage
-----
`qc::args_split caller_args switch_names option_names`
Description
-----------
Return three lists for switches, options pairs and other args
----------------------------------
*[Qcode Software Limited] [qcode]*
[qcode]: http://www.qcode.co.uk "Q... |
using System;
using System.Collections.Generic;
using System.Text;
using CSC.CSClassroom.Model.Assignments;
namespace CSC.CSClassroom.Service.Assignments.UserQuestionDataUpdaters
{
/// <summary>
/// Generates the next question to show for a randomly selected question.
/// </summary>
public interface IRandomlySele... |
Install node.js according to your operating environment: https://nodejs.org/
It provides npm, the node package manager.
npm install -g grunt-cli bower
## Build & development
Run `grunt` for building and `grunt serve` for preview.
## Testing
Running `grunt test` will run the unit tests with karma.
|
from django.shortcuts import render, get_object_or_404
from django.http import HttpResponseRedirect, HttpResponse
from django.core.urlresolvers import reverse
from django.views import generic
from .models import *
class IndexView(generic.ListView):
template_name = 'polls/index.html'
context_object_name = 'late... |
<div>
<div data-dojo-attach-point="layerListContainer" class="layerListContainer listContainer">
</div>
<div class="layerList-footer">
<a class="addNewButton"
data-dojo-attach-point="addOnlineLayerButton">
<span class="addNewButtonInner"><i class="icon-plus" style="text-align... |
.. _config_thrift_filters_header_to_metadata:
Envoy Header-To-Metadata Filter
===============================
* This filter should be configured with the type URL ``type.googleapis.com/envoy.extensions.filters.network.thrift_proxy.filters.header_to_metadata.v3.HeaderToMetadata``.
* :ref:`v3 API reference <envoy_v3_api... |
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.8.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class V1Service... |
NAMESPACE_BEGIN(CryptoPP)
Filter::Filter(BufferedTransformation *attachment)
: m_attachment(attachment), m_inputPosition(0), m_continueAt(0)
{
}
BufferedTransformation * Filter::NewDefaultAttachment() const
{
return new MessageQueue;
}
BufferedTransformation * Filter::AttachedTransformation()
{
if (m_attachment.g... |
package jiguang.chat.pickerimage.view;
public interface ImageGestureListener {
void onImageGestureSingleTapConfirmed();
void onImageGestureLongPress();
void onImageGestureFlingDown();
}
|
package solar.dimensions.api.event.player;
import solar.dimensions.api.event.common.PlayerEvent;
public class PlayerPickupItemEvent extends PlayerEvent {
}
|
/*
* Main.java - main class for the Hello MBean and QueueSampler MXBean example.
* Create the Hello MBean and QueueSampler MXBean, register them in the platform
* MBean server, then wait forever (or until the program is interrupted).
*/
package com.jmx.example;
import java.lang.management.ManagementFactory;
impor... |
require 'spec_helper'
describe Simplabs::Excellent::Checks::CaseMissingElseCheck do
before do
@excellent = Simplabs::Excellent::Runner.new([:CaseMissingElseCheck => {}])
end
describe '#evaluate' do
it 'should accept case statements that do have an else clause' do
code = <<-END
case foo
... |
module Cyclid
module Cli
# Commands for managing organization members
class Member < Thor
desc 'add USERS', 'Add users to the organization'
def add(*users)
org = client.org_get(client.config.organization)
# Concat the new list with the existing list and remove any
# duplic... |
module.exports = (function() {
'use strict';
const DataTypes = require('./db/data_types.js');
const Database = require('./db/database.js');
const Composer = require('./composer.js');
const ModelArray = require('./model_array.js');
const utilities = require('./utilities.js');
const async = require('asy... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.google.android.gms.appinvite;
public final class R {
public static final class attr {
public static final int adSize = 0x7f... |
<md-content class="app-button-list" flex>
<md-button ng-href="" ui-sref="help.section({section: 'about'})">About</md-button>
<!--<md-button ng-href="" ui-sref="help.section({section: 'features'})">Features</md-button>-->
<md-button ng-href="" ui-sref="help.section({section: 'bookmarklet'})">Deck import book... |
package ru.aserdyuchenko.set.task_3;
import org.junit.Test;
import java.util.Iterator;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
/**
* @author anton.
*/
public class MyHashTableTest {
private MyHashTable<String> hashTable = new MyHashTable<>();
private Itera... |
package org.openkilda.pce.impl;
import org.openkilda.model.Isl;
import org.openkilda.model.PathSegment;
import org.openkilda.model.Switch;
import org.openkilda.model.SwitchId;
import org.openkilda.pce.model.Edge;
import org.openkilda.pce.model.Node;
import org.openkilda.pce.model.WeightFunction;
import com.google.c... |
// ----------------------------------------------------------------------------
// Copyright 2007-2017, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... |
package com.gfk.senbot.framework.context;
import java.awt.Desktop;
import java.awt.HeadlessException;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.Strin... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
using Newtonsoft.Json;
using Stripe.Client.Sdk.Converters;
using Stripe.Client.Sdk.Helpers;
using System;
using System.Collections.Generic;
namespace Stripe.Client.Sdk.Models
{
public class Recipient : IStripeModel
{
public string Object { get; set; }
public bool LiveMode { get; set; }
... |
#include "pocl_cl.h"
#include "pocl_util.h"
CL_API_ENTRY cl_int CL_API_CALL
POname(clEnqueueSVMMemcpy) (cl_command_queue command_queue,
cl_bool blocking_copy,
void *dst_ptr,
const void *src_ptr,
size_t size,
cl_uint n... |
import os
import email
import email.utils
from HTMLParser import HTMLParser
import time
import avro.schema, avro.datafile, avro.io
import pprint
import timeit
INPUT_DIR = '../data/emails'
SCHEMA = './email.avsc'
OUTPUT = '../data/emails.avro'
def main():
# initialize the serialization handler
avro_mail_handle... |
namespace json_spirit
{
inline char to_hex_char( unsigned int c )
{
assert( c <= 0xF );
const char ch = static_cast< char >( c );
if( ch < 10 ) return '0' + ch;
return 'A' - 10 + ch;
}
template< class String_type >
String_type non_printable_to_string( unsigned int... |