text stringlengths 3 1.05M |
|---|
@implementation FIRStoragePath
#pragma mark - Class methods
+ (nullable FIRStoragePath *)pathFromString:(NSString *)string {
if ([string hasPrefix:@"gs://"]) {
// "gs://bucket/path/to/object"
return [FIRStoragePath pathFromGSURI:string];
} else if ([string hasPrefix:@"http://"] || [string hasPrefix:@"http... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AMing.Logger.Modes
{
public class BattleResultList : ILogsList<BattleResult>
{
public DateTime UpdateDate { get; set; }
public SimpleAdmiral[] AdmiralList ... |
using content::RenderThread;
namespace android_webview {
AwContentRendererClient::AwContentRendererClient() = default;
AwContentRendererClient::~AwContentRendererClient() = default;
void AwContentRendererClient::RenderThreadStarted() {
RenderThread* thread = RenderThread::Get();
aw_render_thread_observer_ = std... |
/*
* drivers/mtd/nand/orion_nand.c
*
* NAND support for Marvell Orion SoC platforms
*
* Tzachi Perelstein <tzachi@marvell.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implie... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs For Class XmlUtils</title>
<l... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Main header first:
// This is a... |
package com.amazonaws.services.sagemaker.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.sagemaker.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import stati... |
% INTERNAL FUNCTION: extracts objective function and
% additional input arguments for user-defined functions
%
% |
<!-- 可用组件:https://mp.weixin.qq.com/debug/wxadoc/dev/component/ -->
<view class="container">
<view class="weight-wrap" bindtap="chooseDay">
<text class="weight-title time-padding">日 期:</text>
<text class="time">{{dayShow}}</text>
<text class="time-info">{{dayDetailShow}}</text>
</view>
<view class="... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bignums: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace XForms.Utils.Samples.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package apple.coredata;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
i... |
#import <SAObjects/SABaseCommand.h>
#import "SAServerBoundCommand-Protocol.h"
@class NSString, NSURL;
@interface SAAlarmUpdateCompleted : SABaseCommand <SAServerBoundCommand>
{
}
+ (id)updateCompletedWithDictionary:(id)arg1 context:(id)arg2;
+ (id)updateCompleted;
@property(copy, nonatomic) NSURL *alarmId;
- (id)... |
package com.ellychou.todo.rest.util;
import java.security.MessageDigest;
/**
* Encrypt password
* @author szhou
* @version 1.0.1
* @since 2015/3/3
*/
public class EncryptionKit {
public static String md5Encrypt(String srcStr) {
return encrypt("MD5", srcStr);
}
public static String sha1Encry... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
<groupId>org.s... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.deidentifier.arx.DataSubset (ARX Developer Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style... |
package com.android.server.net;
import static android.net.NetworkStats.IFACE_ALL;
import static android.net.NetworkStats.SET_ALL;
import static android.net.NetworkStats.SET_DEFAULT;
import static android.net.NetworkStats.TAG_NONE;
import static android.net.NetworkStats.UID_ALL;
import static android.net.TrafficStats... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null |
namespace CacheFactory.Cachers.Base
{
using System;
/// <summary>
/// An identifier for the cache record which you can compare.
/// </summary>
public interface ICacheItemKey : IEquatable<ICacheItemKey>
{
}
}
|
using UnityEngine;
using System;
using System.Reflection;
using System.IO;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Net;
using System.Net.Mail;
#if COMMAND
using System.Windows.Forms;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
#endif
namespac... |
<resources>
<dimen name="gallery_grid_padding">1dp</dimen>
</resources>
|
using Juhta.Net.Common;
using Juhta.Net.Helpers;
using System;
using System.Xml;
namespace Juhta.Net.Extensions
{
/// <summary>
/// A static class that contains extension methods for the <see cref="XmlNode"/> class.
/// </summary>
public static class XmlNodeExtensions
{
#region Public Metho... |
(function(root, factory) {
if (typeof exports === "object") {
module.exports = factory();
} else if (typeof define === "function" && define.amd) {
define([], factory);
} else{
factory();
}
}(this, function() {
angular.module('ngMap', []);
/**
* @ngdoc controller
* @name MapController
*/
(function() {
'use strict... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
use cgmath;
use cgmath::Vector2;
use std::f32::consts::PI;
use yaglw::gl_context::GLContext;
use yaglw::vertex_buffer::{GLArray, GLBuffer, GLType, DrawMode, VertexAttribData};
use yaglw::texture::{Texture2D, TextureUnit};
use common::id_allocator::IdAllocator;
use camera::Camera;
use fontloader::FontLoader;
use gl;
u... |
@interface ViewController : UIViewController
@end
|
<beans xmlns:aop="http://www.springframework.org/schema/aop"
xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:beans="http://www.springframework.org/schema/beans"
xsi:schemaLocation="
http://... |
package org.apache.hyracks.algebricks.core.algebra.operators.logical.visitors;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.mutable.Mutable;
import org.apache.hyracks.algebricks.common.exceptions.AlgebricksException;
import org.apache.hyracks.algebricks.common.utils.Pair;
impor... |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServiceSecurityExtensions
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class Servic... |
'use strict';
//creates admin event factory
angular.module('events.admin').factory('eventsAdmin', ['$resource',
function ($resource) {
//to update events
return $resource('api/events/:eventId', {
eventId: '@_id'
},
{
update: {
method: 'PUT'
}
});
}
]); |
#if _MSC_VER
#pragma warning(disable: 4206) // MSC: nonstandard extension used : translation unit is empty
#endif
#if __linux__
#include "steamcontroller.h"
#include "common.h"
#include <sys/ioctl.h>
#include <linux/hidraw.h>
#include <linux/hiddev.h>
#include <linux/usbdevice_fs.h>
#include <unistd.h>
#include <fc... |
<?php
namespace So\LogboardBundle\Profiler;
/**
* Class Counter
*
* @package So\LogboardBundle\Profiler
* @author Sofiane HADDAG <sofiane.haddag@yahoo.fr>
*/
class Counter implements CounterInterface
{
private $data = array();
private $countedData = array();
/**
* {@inheritdoc}
*
... |
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=... |
<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<body>
<menu name="Project">
<item name="Home" href="../index.html" />
<item name="AP... |
package com.baomidou.mybatisplus.extension.injector.methods;
import com.baomidou.mybatisplus.core.enums.SqlMethod;
import com.baomidou.mybatisplus.core.injector.AbstractMethod;
import com.baomidou.mybatisplus.core.metadata.TableFieldInfo;
import com.baomidou.mybatisplus.core.metadata.TableInfo;
import com.baomidou.my... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap, from Twitter</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecod... |
import ReactDOM from 'react-dom';
import React, { Component, Children } from 'react';
import ReactTransitionGroup from 'react-addons-transition-group';
import cx from 'classnames';
import Toast from './toast';
import uid from '../../../utils/lib/uid';
import './style.scss';
const DEFAULT_TIMEOUT = 0;
const KEY_PREFIX ... |
package org.saintandreas.gl;
import static org.lwjgl.opengl.GL11.GL_FLOAT;
import static org.lwjgl.opengl.GL11.GL_TRIANGLES;
import static org.lwjgl.opengl.GL11.glDrawArrays;
import static org.lwjgl.opengl.GL20.glEnableVertexAttribArray;
import static org.lwjgl.opengl.GL20.glVertexAttribPointer;
import java.util.Link... |
from os import path
from urllib import urlencode
try:
import json # try stdlib (Python 2.6)
except ImportError:
try:
import simplejson as json # try external module
except:
import gluon.contrib.simplejson as json # fallback to pure-Python module
from gluon import current, URL
from gluon.ht... |
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<servlet-mapping>
... |
typedef void (^RACKVOBlock)(id target, NSDictionary *change);
/// A private trampoline object that represents a KVO observation.
///
/// Disposing of the trampoline will stop observation.
@interface RACKVOTrampoline : RACDisposable
/// Initializes the receiver with the given parameters.
///
/// target - The object ... |
namespace Lumix
{
class IAllocator;
namespace Net
{
class TCPStream;
class LUMIX_ENGINE_API TCPAcceptor
{
public:
TCPAcceptor(IAllocator& allocator) : m_allocator(allocator) {}
~TCPAcceptor();
bool start(const char* ip, uint16_t port);
TCPStream* accept();
void close(TCPStream* stream);
... |
<?php
namespace Omnipay\TwoCheckoutPlus;
use Omnipay\Common\Message\NotificationInterface;
use Omnipay\Tests\GatewayTestCase;
class GatewayTest extends GatewayTestCase
{
public $gateway;
public $options;
public function setUp()
{
parent::setUp();
$this->gateway = new Gateway($this->... |
<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>
<groupId>com.j2trp</groupId>
<artifactId>copy-resources-maven-plugin</artifa... |
require 'fileutils'
gem 'buzzcore'; require 'buzzcore';
gem 'aws-s3'; require 'aws/s3'
# although this is implemented as an instantiable object, not a singleton,
# the AWS gem seems to operate as a singleton, so don't create more than one of these.
class AWSS3Client
attr_accessor :credentials
def initialize(aCred... |
require 'spec_helper'
describe Survey::Questions::Date do
describe "validate_answer" do
let(:question) { FactoryGirl.create(:q_date, validation_rules: validation_rules) }
let(:answer) { FactoryGirl.build(:answer, question: question, answer_text: answer_text) }
before(:each) { answer.valid? }
c... |
package com.company;
import java.io.IOException;
/**
* Created by stevenfrancus on 10/13/15.
*/
public interface AbstractOodtWrapper {
public void run() throws IOException;
public void reset() throws IOException;
public void stop() throws IOException;
}
|
[CmdletBinding()]
param(
[Parameter()]
[String]$d = $pwd,
[String]$i = "index.md",
[String]$t = "Documentation index",
[Switch]$v,
[Switch]$h
)
function Write-Script-Version {
$myFullName = $MyInvocation.ScriptName
$myName = Split-Path -Path $myFullName -leaf -Resolve
Write-Output ($myName + " 2.3")
}
fun... |
package api_conn
import (
"github.com/watermint/toolbox/infra/control/app_control"
)
const (
ServiceUtility = ""
ServiceDropbox = "dropbox"
ServiceDropboxBusiness = "dropbox_business"
ServiceAsana = "asana"
ServiceGithub = "github"
ServiceGoogleCalendar = "google_calendar"
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>plouffe: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
package org.apache.openaz.xacml.admin.view.components;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.openaz.xacml.admin.jpa.Attribute;
import org.apache.openaz.xacml.admin.jpa.ConstraintValue;
import org.apache.openaz.xacml.api.Identifier;
import or... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Deleting field 'Podcast.author'
db.delete_column('podcast_podcast', 'author')
def backwards(self, orm):
# Adding fie... |
define([
'matreshka_dir/core/var/core',
'matreshka_dir/core/var/map',
'matreshka_dir/core/bindings/binders',
'matreshka_dir/core/dom-lib/used-lib',
'matreshka_dir/core/initmk',
'matreshka_dir/core/util/common',
'matreshka_dir/core/definespecial',
'matreshka_dir/core/util/define',
'matreshka_dir/core/util/lin... |
module Thredded
class MessageboardNotificationsForFollowedTopics < ActiveRecord::Base
belongs_to :user_preference,
primary_key: :user_id,
foreign_key: :user_id,
inverse_of: :messageboard_notifications_for_followed_topics
belongs_to :user,
class_name:... |
#include <aws/iot/model/ImplicitDeny.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace IoT
{
namespace Model
{
ImplicitDeny::ImplicitDeny() :
m_policiesHasBeenSet(false)
{
}
ImplicitDeny::ImplicitDen... |
TESTS = test/*.test.js
COV_TESTS = test/index.test.js
REPORTER = spec
TIMEOUT = 20000
MOCHA_OPTS =
BIN = node_modules/.bin/
SRC = $(wildcard lib/*.js)
BUILD = $(subst lib/,build/,$(SRC))
install:
@npm install --registry=http://registry.npm.taobao.org
build:
@mkdir -p build
@$(MAKE) $(BUILD)
build/%.js: lib/%.js
... |
module JSON
module Fuzz
module Generator
class Keyword
class AnyOf
class << self
def invalid_params(attributes)
any_of = attributes["anyOf"]
raise "No anyOf keyword given: #{attributes}" unless any_of
generated_params = []
... |
package org.efaps.esjp.payroll;
import org.efaps.admin.program.esjp.EFapsApplication;
import org.efaps.admin.program.esjp.EFapsUUID;
/**
* This class must be replaced for customization, therefore it is left empty.
* Functional description can be found in the related "<code>_Base</code>"
* class.
*
* @author ... |
from __future__ import unicode_literals
from django.db import models, migrations
import wagtail.wagtailcore.fields
class Migration(migrations.Migration):
dependencies = [
('wagtailcore', '0001_squashed_0016_change_page_url_path_to_text_field'),
('news', '0004_auto_20150825_1755'),
]
ope... |
package Google::Ads::GoogleAds::V11::Enums::AssetSetAssetStatusEnum;
use strict;
use warnings;
use Const::Exporter enums => [
UNSPECIFIED => "UNSPECIFIED",
UNKNOWN => "UNKNOWN",
ENABLED => "ENABLED",
REMOVED => "REMOVED"
];
1;
|
/* eslint-disable lines-around-comment */
import { withStyles } from '@mui/styles';
import React, { Component } from 'react';
import { WithTranslation } from 'react-i18next';
import { batch } from 'react-redux';
// @ts-expect-error
import keyboardShortcut from '../../../../../modules/keyboardshortcut/keyboardshortcut'... |
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... |
using UnityEngine;
using System.Collections;
public class Chained : AbstractState
{
public float height;
public Collider otherCollider;
public Transform location;
public float speedChained;
public void Setup(Collider m_otherCollider, Transform m_location)
{
otherCollider = m_otherCollider;
location = m_loca... |
NPY_NO_EXPORT PyObject *npy_arraydescr_protocol_typestr_get(NpyArray_Descr *);
NPY_NO_EXPORT PyObject *arraydescr_protocol_typestr_get(PyArray_Descr *);
NPY_NO_EXPORT PyObject *npy_arraydescr_protocol_descr_get(NpyArray_Descr *self);
NPY_NO_EXPORT PyObject *arraydescr_protocol_descr_get(PyArray_Descr *self);
NPY_NO_EX... |
CHANGELOG
=========
4.4.0
* Deprecated the usage of "query_string" without a "search_dn" and a "search_password" config key in Ldap factories.
4.3.0
-----
* Added `anonymous: lazy` mode to firewalls to make them (not) start the session as late as possible
* Added new encoder types: `auto` (recommended), `native` ... |
Converts between numbers and their cardinal (ex: two) and ordinal (ex: second) names.
Pure Ruby with no dependencies outside of the standard library.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'number_name_string'
```
And then execute:
$ bundle
Or install it yourself as:
$ ... |
/* ANTLRToken.h
*
* SOFTWARE RIGHTS
*
* We reserve no LEGAL rights to the Purdue Compiler Construction Tool
* Set (PCCTS) -- PCCTS is in the public domain. An individual or
* company may do whatever they wish with source code distributed with
* PCCTS or the code generated by PCCTS, including the incorporation o... |
@implementation RJRefreshScrollFooterParameter
- (id)init {
self = [super init];
if (self) {
self.pullPrompt = @"Pull up to load more...";
self.releasePrompt = @"Release to load more...";
self.lastRefreshKey = @"loadMoreRefreshKey";
}
return self;
}
@end
|
function [ns_RESULT, Data] = ...
ns_GetNeuralData(varargin)
%NS_GETNEURALDATA - Retrieves neural event timestamps in seconds
% Usage:
%
% [ns_RESULT, TimeStamp, Data, SampleCount, UnitID] = ...
% ns_GetSegmentData(hFile, EntityID, StartIndex, IndexCount)
% Description:
%
% Returns the timestamps in se... |
"""
Reduce a toolchain to the bare minimum required set of files.
"""
from __future__ import print_function, with_statement
import sys
import os
import tempfile
import subprocess
import shutil
import argparse
from contextlib import contextmanager
@contextmanager
def tempdir():
"""
Context manager to create a ... |
#region mini window, made by (Insert credits here)
Function Show-OAuthWindow {
param($url)
Add-Type -AssemblyName System.Windows.Forms
$form = New-Object -TypeName System.Windows.Forms.Form -Property @{Width=820;Height=920}
$web = New-Object -TypeName System.Windows.Forms.WebBrowser -Property... |
namespace device {
OpenXrSceneObserver::OpenXrSceneObserver(
const device::OpenXrExtensionHelper& extensions,
XrSession session)
: extensions_(extensions),
scene_observer_(
XR_NULL_HANDLE,
OpenXrExtensionHandleTraits<XrSceneObserverMSFT>(
extensions.ExtensionMethods(... |
/**
* Returns a substring based on start/end values
* @param {String} text
* @param {Number} start index
* @param {Number} end index
* @return {String} new substring
*/
function getChunk(text = '', start = 0, end) {
return text.slice(start, end);
}
export default getChunk;
|
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Sketch Preview</title>
<link>https://raw.githubusercontent.com/marcisme/sketch-preview/master/appcast.xml</link>
<des... |
import os
import sys
sys.path.insert(0, os.path.split(os.getcwd())[0]) # for embedded use
sys.path.insert(1, os.path.join(os.path.split(os.getcwd())[0], 'django')) # for development
sys.path.insert(2, os.path.abspath(os.path.join(os.path.split(__file__)[0], '../../django')))
sys.path.insert(3, os.path.abspath(os.path.j... |
<?php
namespace Aspose\Cells\Models;
/**
* $model.description$
*
* NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
*
*/
class Names {
static $swaggerTypes = array(
'Count' => 'int',
'NameList' => 'array[LinkElement]',
'link' => 'Link'
);
public $... |
package model
import "time"
// Board is a source of related posts
type Board struct {
ID int `json:"id"`
Name string `json:"name"`
Creator string `json:"creator"`
Mods []string `json:"mods,omitempty"`
Summary string `json:"summary"`
Deleted bool `json:"deleted"`
Appr... |
package database.wallet;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.NavigableSet;
import java.util.TreeMap;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.mapdb.BTreeKeyS... |
<!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';
/**
* Module app.admin
* Admin page
*/
let mod =
angular
.module('app.admin', [
]);
export default mod.name; |
<?php
/* SonataAdminBundle:CRUD:show_array.html.twig */
class __TwigTemplate_caa208c1732fbd145380a24a3d3c1ddadc28837d8744743ddc773175e4c198a2 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 12
try {
$this->pare... |
namespace Google.Analytics.Admin.V1Alpha.Snippets
{
// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRetentionSettings_sync]
using Google.Analytics.Admin.V1Alpha;
public sealed partial class GeneratedAnalyticsAdminServiceClientSnippets
{
/// <summary>Snippet for GetDataRe... |
package com.bt.openlink.type;
import java.util.Optional;
import javax.annotation.Nonnull;
public class KeyFunction extends AbstractType<String> {
private static final long serialVersionUID = -2089005281790468854L;
private KeyFunction(@Nonnull String value) {
super(value);
}
@Nonnull
pub... |
iptables %(
# Allow unlimited traffic on the loopback interface
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
# Previously initiated and accepted exchanges bypass rule checking
# Allow unlimited outbound traffic
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m state --state NEW... |
Lain
Layouts, widgets and utilities for Awesome WM
Users contributed widgets section
Lic... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
This file is used to list changes made in each version of centos_lamp54.
## 0.0.1:
* Initial release of centos_lamp54
- - -
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markd... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { fetchState } from 'react-router-server'
import { isPending, hasFailed } from 'redux-saga-thunk'
import { fromEntities, fromResource } from 'store/selectors'
import { resourceListReadRequest } from ... |
A simple modal dialog with no external dependencies
---------------------------------------------------
- A simple modal dialog
- Plain JavaScript only - no dependencies
- IE9+ supported
- Less than 1.3KB when gzipped and minified
- Animate.css friendly
- Fully unit tested
Demo
----
http://plnkr.co/edit/XXFKwHHcZD4E... |
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Race',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=Fa... |
.. automodule:: lala.plugins.prometheus
|
layout: "intro"
page_title: "Vagrant vs. Terraform"
sidebar_current: "vs-terraform"
description: |-
Vagrant is a tool for managing virtual machines. Terraform is another open
source tool from HashiCorp which enables infrastructure as code.
---
# Vagrant vs. Terraform
Vagrant and [Terraform][terraform] are both pr... |
function return_search_results(a){
alert(a.href);
} |
require 'test_helper'
class IperfHelperTest < ActionView::TestCase
end
|
import unittest as ut
from unittest import defaultTestLoader as loader
import pkgutil
import os, sys
TEST_DIR = os.path.abspath(os.path.dirname(__file__))
ROOT_DIR = os.path.abspath(os.path.join(TEST_DIR, os.pardir))
sys.path.append(ROOT_DIR)
if __name__ == "__main__":
suites = []
for _, name, _ in pkgutil.i... |
package org.apache.flink.table.api
import _root_.java.util.concurrent.atomic.AtomicInteger
import org.apache.calcite.plan.RelOptUtil
import org.apache.calcite.plan.hep.HepMatchOrder
import org.apache.calcite.rel.RelNode
import org.apache.calcite.rel.`type`.RelDataType
import org.apache.calcite.sql2rel.RelDecorrelat... |
// Copyright (c) 2017-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <index/txindex.h>
#include <index/disktxpos.h>
#include <node/blockstorage.h>
#include <util/system.h>
#include <va... |
class RemoveConfirmationFields < ActiveRecord::Migration
def up
remove_column :members, :confirmation_token
remove_column :members, :confirmed_at
remove_column :members, :confirmation_sent_at
remove_column :members, :unconfirmed_email
end
def down
raise ActiveRecord::IrreversibleMigration
e... |