text stringlengths 3 1.05M |
|---|
<!DOCTYPE html>
<html lang="ja">
<head>
<? include_once __DIR__.'/../parts/head.php'; ?>
<meta name="robots" content="none" />
<title><? echo $title = '管理画面';?><?=TITLE_ADD?></title>
</head>
<body>
<? include_once __DIR__.'/../parts/header.php'; ?>
<main>
<section>
<h1><?=$title?></h1>
<div class="block_in... |
<?php
namespace App\Presenters;
use McCool\LaravelAutoPresenter\BasePresenter;
use AlfredoRamos\ParsedownExtra\Facades\ParsedownExtra as Markdown;
class PagePresenter extends BasePresenter
{
public function uriWildcard()
{
return $this->uri . '*';
}
public function prettyURI()
{
... |
<?php
namespace Sylius\Bundle\WebBundle\Menu;
use Knp\Menu\FactoryInterface;
use Knp\Menu\ItemInterface;
use Sylius\Bundle\CartBundle\Provider\CartProviderInterface;
use Sylius\Bundle\MoneyBundle\Twig\SyliusMoneyExtension;
use Sylius\Bundle\ResourceBundle\Model\RepositoryInterface;
use Sylius\Bundle\TaxonomiesBundl... |
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-social group">
<a class="social social-github2-dreamstale35" href="https://github.com/{{ site.github_username }}" target="_blank"></a>
<a class="social social-feed-dreamstale27" href="{{ site.baseurl}}/atom.xml" target="... |
<!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... |
'use strict';
angular.module('ngSocial.version.version-directive', [])
.directive('appVersion', ['version', function(version) {
return function(scope, elm, attrs) {
elm.text(version);
};
}]);
|
def extractAshandblueCom(item):
'''
Parser for 'ashandblue.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous'... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package unl.cse.hashing;
import java.util.concurrent.Callable;
public class CallableDistance implements Callable<Double> {
private final Location origin;
private final Location destination;
public CallableDistance(Location origin, Location destination) {
this.origin = origin;
this.destination = d... |
package eu.se_bastiaan.marietje.ui.main.request;
import java.util.List;
import eu.se_bastiaan.marietje.data.model.Song;
import eu.se_bastiaan.marietje.ui.base.MvpView;
public interface RequestView extends MvpView {
void showSongs(List<Song> songList, boolean clear, boolean moreAvailable);
void showSongsEmpt... |
// Handles image pasting in Firefox
CKEDITOR.plugins.add( 'imagepaste',
{
init : function( editor )
{
// v 4.1 filters
if (editor.addFeature)
{
editor.addFeature( {
allowedContent: 'img[!src,id];'
} );
}
// Paste from clipboard:
editor.on( 'paste', function(e) {
var data = e.data,
ht... |
require 'rails'
class Slackbot::Railtie < Rails::Railtie
def self.enable_notifications
config.try(:slackbot_rails_enable)
end
end |
class FrameHeaderWriter : public QObject
{
Q_OBJECT
public:
FrameHeaderWriter(const VSAPI * a_cpVSAPI = nullptr,
const VSVideoInfo * a_cpVideoInfo = nullptr,
QObject * a_pParent = nullptr);
virtual ~FrameHeaderWriter();
virtual void setVSAPI(const VSAPI * a_cpVSAPI);
virtual void setVideoInfo(const VSVideoI... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
const padZero = require('../pad-zero')
test('Basic usage', () => {
expect(padZero(1, 3)).toBe('001')
})
test('Even if first argument is a string, it is processed without problems.', () => {
expect(padZero('1', 3)).toBe('001')
})
test('If first argument is empty string, it will padded zero all.', () => {
expect... |
The source repository for this project can be found at:
https://opendev.org/openstack/sahara-extra
Pull requests submitted through GitHub are not monitored.
To start contributing to OpenStack, follow the steps in the contribution guide
to set up and use Gerrit:
https://docs.openstack.org/contributors/code-and... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>FacadeAP... |
package eu.chargetime.ocpp.model.core;
import eu.chargetime.ocpp.model.Validatable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.Calendar;
/**
* Contains status information about an identifier.
* It is ret... |
<?php
/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);
namespace Spiral\Tests\Router;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterfac... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_AU">
<context>
<name>AppDialog</name>
<message>
<location filename="../AppDialog.ui" line="14"/>
<source>Select Application</source>
<translation>Select Application</translation>
</message>
<messa... |
module Suture::Value
class ResultTest < UnitTest
def test_equality
assert_equal Result.returned("a"), Result.returned("a")
assert_equal Result.errored("a"), Result.errored("a")
refute_equal Result.returned("a"), Result.returned("b")
refute_equal Result.errored("a"), Result.errored("b")
... |
import chai from 'chai';
import assert from 'vet/utils/assert';
import isShape from 'vet/objects/isShape';
import Daypack from './';
describe(
'Daypack.from',
() => {
it(
'builds a new pack',
() => {
let pack = Daypack.from({ foo: 'bar' });
assert(
pack instanceof Daypack,
'pack is not i... |
void inputArrayFromFile(int array[], int sizeOfArray); |
package org.strangeforest.tcb.stats.prediction;
import java.util.*;
import org.strangeforest.tcb.stats.model.core.*;
import org.strangeforest.tcb.stats.model.prediction.*;
import com.google.common.collect.*;
import static java.util.Comparator.*;
import static org.strangeforest.tcb.stats.model.prediction.MatchDataUt... |
import pytest
from .test_base_class import TestBaseClass
from aerospike import exception as e
from aerospike_helpers.expressions import (
And,
BinExists,
BinType,
BoolBin,
Cond,
Def,
DeviceSize,
DigestMod,
Eq,
Exclusive,
GE,
GT,
IntBin,
IsTombstone,
KeyBlob,
... |
version: v0.36.5
category: API
title: Protocol
source_url: 'https://github.com/atom/electron/blob/master/docs/api/protocol.md'
---
# protocol
The `protocol` module can register a custom protocol or intercept an existing
protocol.
An example of implementing a protocol that has the same effect as the
`file://` protoco... |
import view from './view';
import * as adapters from './adapters';
import * as map from './map';
import * as body from './body';
import * as layout from './layout';
import * as widgets from './widgets';
export {
view,
adapters,
map,
body,
layout,
widgets
};
|
"""
celery.utils.mail
~~~~~~~~~~~~~~~~~
How task error emails are formatted and sent.
"""
from __future__ import absolute_import
import smtplib
import socket
import traceback
import warnings
from email.mime.text import MIMEText
from .functional import maybe_list
try:
from ssl import SSLError
excep... |
import FishGlobals
from toontown.toonbase import TTLocalizer
from direct.directnotify import DirectNotifyGlobal
class FishBase:
notify = DirectNotifyGlobal.directNotify.newCategory('FishBase')
def __init__(self, genus, species, weight):
self.genus = genus
self.species = species
... |
.class final Lcom/payu/android/sdk/internal/ny$2;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/payu/android... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package nl.uva.larissa.json.model.validate;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.apache.abdera.i18n.iri.IRI;
import org.apache.abdera.i18n.iri.IRIHelper;
public class MailtoIRIValidator implements ConstraintValidator<MailToIRI, IRI> {
@Override... |
#pragma once
#include "LimitAdjuster.h"
#include "utility/PointerAdjuster.hpp"
/*
StaticArrayAdjuster
Dynamic adjuster for arrays statically allocated in some data segment
@T is the type of the element in the array
*/
template<class T>
class StaticArrayAdjuster : public SimpleAdjuster
{
privat... |
layout: post
title: "Trendy Butler October 2016 Review + Coupon!"
description: ""
headline: "Trendy Butler October 2016 Review + Coupon!"
categories:
- Subscriptions
- Reviews
tags: [Trendy Butler, Subscriptions, Reviews, October 2016]
comments: true
mathjax: null
published: true
featured: false
type: phot... |
<?php namespace Frostbite\Http\Middleware;
use Closure;
use Illuminate\Contracts\Auth\Guard;
class Authenticate {
/**
* The Guard implementation.
*
* @var Guard
*/
protected $auth;
/**
* Create a new filter instance.
*
* @param Guard $auth
* @return void
*/
public function __construct(Guard ... |
// Copyright 2015-2018 The NATS Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclip... |
package com.baidu.palo.catalog;
import com.baidu.palo.common.DdlException;
import com.baidu.palo.common.io.Text;
import com.baidu.palo.common.io.Writable;
import com.baidu.palo.thrift.TUserResource;
import com.google.common.collect.ImmutableSortedMap;
import java.io.DataInput;
import java.io.DataOutput;
import java.... |
'use strict';
goog.provide('Blockly.Msg.sd');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "تاثرات ڏيو";
Blockly.Msg.CHANGE_VALUE_TITLE = "قدر بدلايو";
Blockly.Msg.CLEAN_UP = "بندشون هٽايو";
Blockly.Msg.COLLAPSE_ALL = "بلاڪَ ڍڪيو";
Blockly.Msg.COLLAPSE_BLOCK = "بلاڪ ڍڪيو";
Blockly.Msg.COLOUR_BLEND_COLOUR1 ... |
package org.onosproject.incubator.store.virtual.impl;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import org.apache.felix.scr.annotations.Activate;
import org.apache.felix.scr.annotations.Componen... |
<?php
if ($condition == true) {
// do some logic here
} else {
return false;
} |
class RemoveInterestFromUser < ActiveRecord::Migration
def up
# remove_column :users, :interest_1
# remove_column :users, :interest_2
# remove_column :users, :interest_3
# remove_column :users, :interest_4
# remove_column :users, :interest_5
remove_column :users, :advocacy
remove_column :u... |
"""Object to read lines from a stream using an arbitrary delimiter"""
from math import ceil
__all__ = ['ReadLines']
# the default amount of data to read on a buffer fill
DEFAULT_BLOCK_SIZE = 1048756
class ReadLines: # pylint: disable=too-few-public-methods, too-many-instance-attributes
"""Iterator to read lin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-multinomials: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boo... |
namespace renderer {
frame_buffer::frame_buffer(const uint32_t width, const uint32_t height)
{
load_buffer(width, height);
}
void
frame_buffer::_destroy()
{
if(m_frame_buffer)
{
glDeleteFramebuffers(1, &m_frame_buffer);
m_frame_buffer = 0;
}
if(m_render_buffer)
{
glDeleteRenderbuffers(1, &m... |
[](https://codeclimate.com/github/jimcavoli/RedistRick)
[](https://codeclimate.com/github/jimcavoli/RedistRick)
[ {
var app = angular.module('gemStore', []);
app.controller('StoreController', function(){
this.products = gems;
});
app.controller('TabController', function(){
this.tab = 1;
this.setTab = function(tab){
this.tab = tab;
};
this.isSet = function(tab){
return (this.t... |
/* eslint-disable @typescript-eslint/ban-types */
import { Constructor } from '../constructables';
import { ItemNotFoundError } from './errors';
/**
* @private
*/
export class FeatureFileMap {
constructor(private readonly map: { [line: number]: object } = {}) {
}
set(item: object) { // eslint-disabl... |
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<!--
Copyright (c) 2015 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, inclu... |
<?php
namespace Telegram\Bot\Objects\Payments;
use Telegram\Bot\Objects\AbstractResponseObject;
/**
* @link https://core.telegram.org/bots/api#shippingaddress
*
* @property string $country_code ISO 3166-1 alpha-2 country code
* @property string $state State, if applic... |
let warning = () => {};
if (process.env.NODE_ENV !== "production") {
// Logs an error if condition is _not_ met.
warning = (condition, message, ...args) => {
if (condition) {
return;
}
if (typeof console !== "undefined") {
console.error(`Catalog warning: ${message}`, ...args); // eslint-di... |
#include "SkGradientShader.h"
#include "SkSVGRadialGradient.h"
#include "SkSVGRenderContext.h"
#include "SkSVGValue.h"
SkSVGRadialGradient::SkSVGRadialGradient() : INHERITED(SkSVGTag::kRadialGradient) {}
void SkSVGRadialGradient::setCx(const SkSVGLength& cx) {
fCx = cx;
}
void SkSVGRadialGradient::setCy(const ... |
#ifndef __BIND_COMMON_H__
#define __BIND_COMMON_H__
#include "PlatformMacros.h"
#include "tolua++.h"
/* Exported function */
TOLUA_API int luaopen_common (lua_State* tolua_S);
#endif //__BIND_COMMON_H__ |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
require 'geo_ruby'
require 'geo_ruby/kml'
require 'nokogiri'
require_relative 'stream_dataset_loader'
module CitySDK
class KMLDatasetLoader < StreamDatasetLoader
def load_dataset
kml_to_dataset(stream)
end # def
private
def kml_to_dataset(kml)
[geometry: kml_to_geometry(kml)]
end # ... |
package org.kie.pmml.compiler.executor;
import java.io.InputStream;
import java.util.List;
import org.kie.pmml.commons.exceptions.ExternalException;
import org.kie.pmml.commons.exceptions.KiePMMLException;
import org.kie.pmml.commons.model.KiePMMLModel;
/**
* Actual implementations are required to convert a <b>PMM... |
package com.hazelcast.internal.yaml;
/**
* Interface for YAML sequence nodes
*/
public interface YamlSequence extends YamlCollection {
/**
* Gets a child node by its index
*
* @param index the index of the child node
* @return the child node with the given index if exists,
* {@code nu... |
// Copyright 2013 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.
'use strict';
/**
* Show/hide trigger in a card.
*
* @typedef {{
* showTimeSec: (string|undefined),
* hideTimeSec: string
* }}
*/
var Trigger;... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... |
import { toFixed, FormattedValue } from './valueFormats';
import { DecimalCount } from '../types/displayValue';
export function toPercent(size: number, decimals: DecimalCount): FormattedValue {
if (size === null) {
return { text: '' };
}
return { text: toFixed(size, decimals), suffix: '%' };
}
export functi... |
package org.cloudbyexample.dc.util.constants;
/**
* Spring profile constants.
*
* @author David Winterfeldt
*/
public class ProfileConstants {
public static String REST_JSON = "rest-json";
private ProfileConstants() {}
}
|
/*
* DO NOT EDIT THIS FILE!
*
* Automatically generated by SCons
*/
#ifndef __DEBUG_PCIDEV_HH__
#define __DEBUG_PCIDEV_HH__
namespace Debug {
class SimpleFlag;
extern SimpleFlag PCIDEV;
}
#endif // __DEBUG_PCIDEV_HH__
|
<!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/html; charset=utf-8" />
<title>petlx - Optional Extensions to the petl Package &mda... |
package com.lanfea.dataStructure.linkedlist;
/**
* Created by lanfea on 2015/7/23.
*/
public class LinkedListTraverser {
public interface Callback<T> {
void visit(LinkedListNode<T> node);
}
private LinkedListTraverser() {
}
public static LinkedListTraverser getInstance() {
ret... |
#region copyright
#endregion
using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
namespace ESO_Assistant.Classes
{
class CivStat
{
private Int64 FSpainBattle;
private Int64 FSpainWin;
private Int64 FGermanBattle;
private Int64 FGermanWin;
... |
import { Component, OnDestroy, OnInit } from '@angular/core';
import { Subscription } from 'rxjs';
import { MessageService } from '../service/message.service';
@Component({
selector: 'dump-item',
templateUrl: './dump.item.component.html',
styleUrls: ['./dump.item.component.scss']
})
export class DumpItemComponen... |
require 'spec_helper'
describe 'elkstack' do
context 'with default values for all parameters' do
it { should contain_class('elkstack') }
end
end
|
//
// WorldState.h
// JLIGameEngineTest
//
// Created by James Folk on 12/6/14.
// Copyright (c) 2014 James Folk. All rights reserved.
//
#ifndef __JLIGameEngineTest__WorldState__
#define __JLIGameEngineTest__WorldState__
#include "AbstractBuilder.h"
#include "AbstractState.h"
#include "DeviceMouse.h"
#include "D... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace OrchardCore.Deployment
{
public interface IDeploymentPlanService
{
Task<bool> DoesUserHavePermissionsAsync();
Task<bool> DoesUserHaveExportPermissionAsync();
Task<IEnumerable<string>> GetAllDeploymentPlanNamesAsyn... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>int-map: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
package chame
import (
"context"
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rsa"
"fmt"
"sync"
"time"
"github.com/golang-jwt/jwt/v4"
)
type Token = jwt.RegisteredClaims
func JWTEpoch(unix int64) *jwt.NumericDate {
if unix == 0 {
return nil
}
return jwt.NewNumericDate(time.Unix(unix, 0))
}
func fromNumeri... |
<?php
return [
'settings' => [
'displayErrorDetails' => true, // set to false in production
],
];
|
/**
This question is from https://leetcode.com/problems/maximum-frequency-stack/
Difficulty: hard
Implement FreqStack, a class which simulates the operation of a stack-like data structure.
FreqStack has two functions:
push(int x), which pushes an integer x onto the stack.
pop(), which removes and returns the most fr... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageRouterAttribute.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the... |
// RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... |
[](https://david-dm.org/TenetPartners/tenet-holiday-card-2015#info=devDependencies)
[](https://travis-ci.org/TenetPartners/tenet... |
package org.analogweb.util;
/**
* @author snowgoose
*/
public class StopWatch {
private static final long DIVISION = 1000 * 1000;
private long startTime;
private long stopTime;
private boolean running;
private Ticker ticker = Ticker.SYSTEM;
public StopWatch() {
// nop.
}
public StopWatch(Ticker ticker) ... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hello_world.proto
/*
Package hello_world is a generated protocol buffer package.
It is generated from these files:
hello_world.proto
It has these top-level messages:
HelloRequest
HelloResponse
*/
package hello_world
import proto "github.com/golang/proto... |
<?php
require_once 'Zend/Feed/Writer/Renderer/Feed/Atom/AtomAbstract.php';
/**
* @category Zend
* @package Zend_Feed_Writer
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.sql.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.ut... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<title>Uses of Class org.deidentifier.arx.io.CSVDataChecksum (ARX GUI Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" ti... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Thu Nov 13 21:21:59 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.apache.hadoop.tools.rumen.sta... |
#include <iostream>
#include <vector>
using namespace std;
// auto in a function return type or a lambda parameter
//implies template type deduction, not auto type deduction.
// here a compile error will be
/*
auto createInitList()
{
return { 1, 2, 3 };
}
*/
int main()
{
std::vector<int> v;
auto rese... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
>
<solid android:color="@android:color/transparent" />
<stroke android:color="#919191"
android:width="1dp"/>
<corners
android:radius="1000dp"
/>
</shape> |
from random import randrange
import csv
import textwrap
import printer
import os.path
def createhashmap (filename):
hashmap = []
if(os.path.isfile(filename)):
with open(filename,'rb') as csvfile:
spamreader = csv.reader(csvfile, delimiter='|')
for row in spamreader:
... |
Wordcraft
=========
Wordcraft aims to be a simple, lightweight blogging application. Most blogging applications are very feature rich, but that comes with a price. Most users don't use all those features. Wordcraft aims to offer the most common features needed in a blog.
|
<?php
namespace GrosLab\LibraryDefaultBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class CategoriesControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createCli... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... |
module Azure::RecoveryServicesBackup::Mgmt::V2017_07_01
module Models
#
# Defines values for RetentionDurationType
#
module RetentionDurationType
Invalid = "Invalid"
Days = "Days"
Weeks = "Weeks"
Months = "Months"
Years = "Years"
end
end
end
|
package com.github.gunmetal313.ohdv1;
import com.github.gunmetal313.ohdv1.jsonpe.JsonPeResultStatusEnum;
//TODO rename class later
public final class JsonPeResultEntry {
private JsonPeResultStatusEnum status = JsonPeResultStatusEnum.UNKNOWN;
public JsonPeResultStatusEnum getStatus() {
return status... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgr... |
struct PAPER2D_API FAlphaBitmap
{
FAlphaBitmap(UTexture* SourceTexture, uint8 InDefaultValue = 0)
: Width(0)
, Height(0)
, DefaultValue(InDefaultValue)
{
ExtractFromTexture(SourceTexture);
}
void ExtractFromTexture(UTexture* SourceTexture)
{
// use the source art if it exists
FTextureSource* TextureSo... |
waves = {maxEnemies=30,spawned = 0, spawnTime}
function waves:spawn(rate)
math.randomseed(os.time()) math.random(); math.random(); math.random()
if self.spawned <= self.maxEnemies then
if (rate + self.spawned) <= self.maxEnemies then
for i=1,rate,1 do
addEnemy("enemy",math.random(i,400),0,"/img/... |
package invoice;
public class Invoice {
private String partNumber;
private String partDescription;
private int quantity;
private double price;
public Invoice(String number, String description, int newQuantity, double newPrice){
setPartNumber(number);
setPartDecription(descript... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
package org.apache.flume.source;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.con... |
package org.gnomes.app.serialize;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.gnomes.gson.serialize.DwarfSerializer;
import org.gnomes.gson.serialize.FacialHairSerializer;
import org.gnomes.model.Dwarf;
import org.gnomes.model.DwarvesBand;
import org.gnomes.model.FacialHair;
import org.... |
package com.security.client;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/... |
'use babel'
export var schema = {
numberOfLines: {
type: 'integer',
default: 5,
minimum: 1,
},
showLineNumbers: {
type: 'boolean',
default: true,
},
codeHighlighting: {
description: 'Might be heavy on performance, especially with large files.',
type: 'boolean',
default: true,
... |
module Course::LevelsAbilityComponent
include AbilityHost::Component
def define_permissions
allow_staff_manage_levels if user
super
end
private
def allow_staff_manage_levels
can :manage, Course::Level, course_staff_hash
end
end
|