text stringlengths 3 1.05M |
|---|
package gocassa
|
@interface UILabel(BackgroundAware)
- (void) changeTextColorToUnmatchTheBG;
@end
|
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
object Test {
def main(args: Array[String]): Unit = {
println(new C().foo(null, 0))
println(Macro.reflectorConstructor("dynamic"))
println(Macro.reflectorTrait("dynamic"))
}
}
class C {
def foo(p1: Object, p2: Int): String = {
Macro.reflector("dynamic")
privateFoo(p1, p2)
}
private def p... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'phpDocumentor' => array($vendorDir . '/phpdocumentor/reflection-docblock/src'),
'ZendXml\\' => array($vendorDir . '/zendframework/zendxml/library'),
'ZendOAuth' ... |
class YesObject
attr_accessor :runtime_class, :ruby_value
def initialize(runtime_class, ruby_value=self)
@runtime_class = runtime_class
@ruby_value = ruby_value
end
def call(method, arguments=[])
@runtime_class.lookup(method).call(self, arguments)
end
end
|
package org.locationtech.geowave.core.store.adapter;
import java.util.List;
import java.util.function.Supplier;
import org.locationtech.geowave.core.store.AdapterToIndexMapping;
import org.locationtech.geowave.core.store.api.IndexFieldMapper;
import org.locationtech.geowave.core.store.base.dataidx.DataIndexUtils;
imp... |
We don't need the entire Angular Bootstrap library (https://angular-ui.github.io/bootstrap/); this is our custom build downloaded from their website.
## Components Included
- Buttons
- Modal
- Popover
- Tooltip
- Typeahead
|
const payload = require('@bugsnag/core/lib/json-payload')
module.exports = (client, win = window) => ({
sendEvent: (event, cb = () => {}) => {
try {
const url = client._config.endpoints.notify
const req = new win.XMLHttpRequest()
req.onreadystatechange = function () {
if (req.readyState... |
This repository's examples are deprecated and are not maintained anymore.<br>
You should now use the [official JFrog Platform distributions](https://www.jfrog.com/confluence/display/JFROG/Install).
# Artifactory Docker Examples
This repository provides some examples that show different ways to run Artifactory with Doc... |
FROM balenalib/generic-ubuntu:disco-build
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net ... |
'use strict';
const assert = require('assert');
const <%= appNameCamel %> = require('./');
describe('test', function(){
// You should add more tests here
it('fail', function() {
assert(false);
});
}); |
<!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_151) on Wed Jun 10 10:20:18 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
var http = require("http").createServer(handler); // on req - hand
var io = require("socket.io").listen(http); //socket library
var fs = require("fs"); //variable for file system for providing html
var firmata = require("firmata");
console.log("Starting the code");
var board = new ... |
nginx
=====
Nginx puppet module
|
package org.json;
import java.io.StringWriter;
/**
* JSONStringer provides a quick and convenient way of producing JSON text.
* The texts produced strictly conform to JSON syntax rules. No whitespace is
* added, so the results are ready for transmission or storage. Each instance of
* JSONStringer can produce on... |
package java.time;
import com.jtransc.IntegerUtils;
import java.time.format.TextStyle;
import java.time.temporal.*;
import java.util.Locale;
public enum Month implements TemporalAccessor, TemporalAdjuster {
JANUARY,
FEBRUARY,
MARCH,
APRIL,
MAY,
JUNE,
JULY,
AUGUST,
SEPTEMBER,
OCTOBER,
NOVEMBER,
DECEMBER;... |
/*
* HTML5 Boilerplate
*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ==========================================================================
Base sty... |
#ifndef __APPLE__
#include <openssl/evp.h>
#endif
#include "crypto/aes_cbc_256.h"
#include "crypto/symmetric_key.h"
using std::runtime_error;
using std::vector;
using s3::crypto::aes_cbc_256;
using s3::crypto::symmetric_key;
void aes_cbc_256::crypt(int mode, const symmetric_key::ptr &key, const uint8_t *in, siz... |
export function up(knex, Promise) {
return knex.schema.createTable('users', table => {
table.increments('id').primary()
table.string('name').notNull()
table.string('email').notNull().unique()
table.string('pass', 64).notNull()
table.boolean('active').notNull().defaultTo(true)
table.timestamp(... |
The MIT License (MIT)
Copyright (c) 2015 Ionut Airinei
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pu... |
package de.heikoseeberger.akkahttpziojson
import akka.actor.ActorSystem
import akka.http.scaladsl.Http
import akka.http.scaladsl.marshalling.Marshal
import akka.http.scaladsl.model.{ HttpRequest, RequestEntity }
import akka.http.scaladsl.server.Directives
import akka.http.scaladsl.unmarshalling.Unmarshal
import akka... |
#import "NSTableHeaderView.h"
@interface _MailTableHeaderView : NSTableHeaderView
{
BOOL _didLazyLoadMenu;
}
- (id)menu;
@end
|
"""
Searchify works by having a suitable subclass of Searchable available for each model we care about.
This can be set up by one of:
- Place a nested class in the model class called `Indexer`. (A single instance
will be created and registered for the model.)
- Call `register_indexer` directly with an instance.
... |
namespace wspp {
namespace twig {
class TemplateEvalContext ;
}
}
namespace wspp { namespace util {
class Variant {
public:
using Object = std::map<std::string, Variant> ;
using Array = std::vector<Variant> ;
using Function = std::function<Variant(const Variant &)> ;
using signed_i... |
ACCEPTED
#### According to
IRMNG Homonym List
#### Published in
Arch. Zool. exp. gén. Paris, 72, 317.
#### Original name
null
### Remarks
null |
//
// BannerLoopView.m
// bannerLoop
//
// Created by hisa on 15/5/7.
// Copyright (c) 2015年 hisa. All rights reserved.
//
#import "BannerLoopView.h"
#define JumpTime 2
@interface BannerLoopView()<UIScrollViewDelegate>
{
UIScrollView *_scrollView;
UIPageControl *_pageControl;
int _totalPages;
... |
package com.javarush.test.level26.lesson10.home01;
import java.util.concurrent.BlockingQueue;
/**
* Created by ailenko on 08.05.2014.
*/
class Consumer implements Runnable {
private final BlockingQueue queue;
Consumer(BlockingQueue queue) {
this.queue = queue;
}
@SuppressWarnings("InfiniteLoopStateme... |
__SIM_ID=`xcrun simctl list|egrep -m 1 '$(SIM_NAME) \([^(]*\) \([^(]*\)$$'|sed -e 's/.* (\(.*\)) (.*)/\1/'`
SIM_NAME=iPhone 4s
SIM_ID=$(shell echo $(__SIM_ID))
ifeq ($(strip $(SIM_ID)),)
$(error Could not find $(SIM_NAME) simulator)
endif
WORKSPACE=ContentfulSDK.xcworkspace
.PHONY: all clean doc example example-stat... |
package net.sf.expectit;
import static net.sf.expectit.ExpectBuilder.DEFAULT_BUFFER_SIZE;
import static net.sf.expectit.TestUtils.LONG_TIMEOUT;
import static net.sf.expectit.TestUtils.SMALL_TIMEOUT;
import static net.sf.expectit.matcher.Matchers.allOf;
import static net.sf.expectit.matcher.Matchers.anyOf;
import sta... |
import sys, os, arcgisscripting, subprocess
def check_output(command,console):
if console == True:
process = subprocess.Popen(command)
else:
process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
output,error = process.comm... |
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/string.h>
#include <linux/if_arp.h>
#include <linux/inetdevice.h>
#include <linux/inet.h>
#include <linux/interrupt.h>
#include <linux/netpoll.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux... |
@interface TTBaseAnimationController : NSObject<UIViewControllerAnimatedTransitioning>
@property (nonatomic, assign, getter = isPushing) BOOL pushing;
@end
|
The MIT License (MIT)
Copyright (c) 2016 Emily Palmieri
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... |
export { default } from '@gqlapp/module-client-react';
export * from '@gqlapp/module-client-react';
|
package org.apache.camel.component.mongodb3;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.StreamSupport;
import com.mongodb.client.MongoCollection;
import org.apache.camel.builder.RouteBuilder;
import org.bson.Document;
import org.junit.Test;
import static com.mongodb.client.model.Filters... |
package org.springframework.security.config.authentication;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
... |
<?php
namespace Tresorg\PaypalButtons\Model\Endpoint\Schema;
use Muffin\Webservice\Model\Schema;
class PaypalButtonSchema extends Schema
{
public function initialize()
{
parent::initialize();
$this->addColumn(
'id', [
'type' => 'string',
'prima... |
pkg_name=bash
_distname="$pkg_name"
pkg_origin=core
_base_version=4.4
pkg_version=${_base_version}.19
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="\
Bash is the GNU Project's shell. Bash is the Bourne Again SHell. Bash is an \
sh-compatible shell that incorporates useful features from ... |
<!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_73) on Mon Sep 19 13:17:58 PDT 2016 -->
<title>Iterators</title>
<meta name="date" content="2016-09-19">
<link rel="stylesheet" type="text/css"... |
@class DBTEAMLOGFilePreviewType;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `FilePreviewType` struct.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// objects.
///
@interface DBTEAMLOGFil... |
from gluon import current
from s3 import *
from s3layouts import *
try:
from .layouts import *
except ImportError:
pass
import s3menus as default
# =============================================================================
class S3MainMenu(default.S3MainMenu):
""" Custom Application Main Menu """
#... |
"""
Permissions tests on the logging models.
"""
import uuid
from django.test import TestCase
from .factory_logger import ContentSessionLogFactory
from .factory_logger import ContentSummaryLogFactory
from .factory_logger import UserSessionLogFactory
from kolibri.core.auth.test.helpers import create_dummy_facility_dat... |
[](https://travis-ci.org/thorn/wialon_api)
[](https://gitter.im/thorn/wialon_api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=ba... |
* Added `runUpdateReturning`
* Ordering operators and `max` and `min` aggregators are now restricted to a typeclass
* Added `stringAgg` and `arrayAgg` aggregations.
* Added `PGOrd` typeclass for typesafe ordering operations.
* Support sorting NULLs first or last with `ascNullsFirst` and `descNullsFirst`
* Added JSON ty... |
namespace Forum.App.Menus
{
using Contracts;
using Models;
using System.Collections.Generic;
public class AddReplyMenu : Menu, ITextAreaMenu, IIdHoldingMenu
{
private const int authorOffset = 8;
private const int leftOffset = 18;
private const int topOffset = 7;
pri... |
cd "$(dirname "$(readlink -f "$0")")"
exec >>log/start.log
exec 2>&1
bundle exec rake assets:precompile assets:clean_expired
pkill -f foreman
RACK_ENV=production PORT=3000 bundle exec foreman start &
|
/********************** tine translations of Setup**********************/
Locale.Gettext.prototype._msgs['./LC_MESSAGES/Setup'] = new Locale.Gettext.PO(({
""
: "Project-Id-Version: Tine 2.0\nPOT-Creation-Date: 2008-05-17 22:12+0100\nPO-Revision-Date: 2012-09-19 08:58+0000\nLast-Translator: corneliusweiss <mail@corneli... |
$ErrorActionPreference = 'Stop'
$packageArgs = @{
packageName = 'ms-data-migration-assistant'
unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
fileType = 'msi'
url = 'https://download.microsoft.com/download/C/6/3/C63D8695-CEF2-43C3-AF0A-4989507E429B/DataMigrationAssi... |
#ifndef MBED_SPI_DEVICE_H
#define MBED_SPI_DEVICE_H
#include "stm32u5xx_ll_spi.h"
#define SPI_IP_VERSION_V2 // SPI2S2 / SPI2S3 IP version
// Defines the word legnth capability of the device where Nth bit allows for N window size
#define STM32_SPI_CAPABILITY_WORD_LENGTH (0x0000FFF8)
#endif
|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SQ... |
using Microsoft.Xna.Framework.Graphics;
namespace Microsoft.Xna.Framework.Input
{
public struct GamePadThumbSticks
{
public Vector2 Right { get; set; }
public Vector2 Left { get; set; }
}
} |
<?php
//set the main url (important)
define('main_url', 'url-of-backuper-v2');
|
from commons.apps import BaseAppConfig
from django.template.loader import render_to_string
class AppConfig(BaseAppConfig):
name = 'project'
def get_site_index_html_block( self, request ):
from project.models import GetMemberedProjectList
if request.user.is_authenticated:
projects ... |
package com.englishtown.vertx.metrics.integration;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.MetricRegistry;
import com.englishtown.vertx.metrics.Utils;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Verticle;
import io.vertx.test.core.VertxTestBase;
import org.junit.Test;
import j... |
package org.gradle.api.internal.tasks.compile.incremental.analyzer;
import com.google.common.io.ByteStreams;
import org.gradle.api.file.FileTreeElement;
import org.gradle.api.internal.tasks.compile.incremental.asm.ClassDependenciesVisitor;
import org.gradle.api.internal.tasks.compile.incremental.deps.ClassAnalysis;
... |
using System;
using System.Buffers;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Protocol;
namespace Duracellko.PlanningPoker.Client.Test.MockSignalR
{
internal sealed class InMemoryTransport : IDuplexPipe, IDisposable
{
private re... |
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { withRouter } from 'react-router-dom'
import { passPeriod, getArbitratorData } from '../../../redux/contracts/action-creators'
import { PERIOD_TO_STATE } from '../../../constants'
import './PassPeriod.css'
class PassPeriod extends C... |
import sys
import asyncio
from telepot import message_identifier, glance
import telepot.aio
import telepot.aio.helper
from telepot.namedtuple import InlineKeyboardMarkup, InlineKeyboardButton
from telepot.aio.delegate import (
per_chat_id, create_open, pave_event_space, include_callback_query_chat_id)
"""
$ python... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* SubField.cs -- MARC record subfield.
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*... |
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Mon Sep 05 10:37:44 CEST 2022 -->
<title>Features (dbus-java-parent 4.2.0 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created... |
<?php
/**
* Redux Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
*
* Redux Framework is distributed in the hope that it will be useful,... |
import unittest
import voluptuous
from yamlious import from_dict
class TestFromDict(unittest.TestCase):
def test_from_dict(self):
""" test Python objects specified in `content`"""
schema = {
'options': {
'required': True,
},
'content': {
... |
package Circos::IO;
=pod
=head1 NAME
Circos::Utils - IO routines for Circos
=head1 SYNOPSIS
This module is not meant to be used directly.
=head1 DESCRIPTION
Circos is an application for the generation of publication-quality,
circularly composited renditions of genomic data and related
annotations.
Circos is par... |
import React from 'react';
import ReactDOM from 'react-dom';
import {Route, Switch} from 'react-router';
import {BrowserRouter} from 'react-router-dom';
import Login from './Login';
import Home from './Home';
import Monitor from './Monitor';
import 'bootstrap/dist/css/bootstrap.css';
import {AuthProvider} from './Aut... |
/**
* Package for calculate task.
*
* @author Anatolii Shalobasov (proboostbiznes@gmail.com)
* @version 1
* @since 15.06.2017
*/
package ru.job4j; |
Helpers
=======
Installation
------------
PostClient is available through [nuget](https://www.nuget.org)
```sh
PM> Install-Package DataLayerLibsUniversal
```
Helpers
-------
- DataLayer.Libs.Helpers.DateHelpers
- UnixTimeStampToDateTime
- DateTimeToUnitTimeStamp
- DataLayer.Libs.Helpers.StringHelper
- P... |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package thrift.test;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
import java.util.Collections;
... |
package org.javafunk.funk.behaviours;
import java.util.Iterator;
public interface Generator<T> extends Iterator<T> {}
|
namespace url_matcher {
//
// URLMatcherCondition
//
TEST(URLMatcherConditionTest, Constructors) {
StringPattern pattern("example.com", 1);
URLMatcherCondition m1(URLMatcherCondition::HOST_SUFFIX, &pattern);
EXPECT_EQ(URLMatcherCondition::HOST_SUFFIX, m1.criterion());
EXPECT_EQ(&pattern, m1.string_pattern());... |
package org.apache.helix.controller.stages;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.helix.HelixDataAccessor;
import org.apache.helix.HelixManager;
import org.apache.helix.PropertyKey;
import org.apache.helix.Prop... |
package org.cocos2dx.cpp;
import com.MyCompany.AwesomeGame.R;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import andro... |
package projet_POO;
/**
* SpecificPathway.java
*/
import java.util.ArrayList;
import java.util.List;
import org.graphstream.graph.Graph;
import org.graphstream.graph.Node;
import org.graphstream.ui.view.Viewer;
import org.graphstream.ui.swingViewer.ViewPanel;
import org.graphstream.graph.implementations.MultiGraph;
... |
import powerbi from "powerbi-visuals-api";
import { StringMap, buildLabels, NumberMap } from '../lava/type';
type PColumn = powerbi.DataViewCategoryColumn | powerbi.DataViewValueColumn;
export class Category {
public readonly column: PColumn;
private _distincts = null as number[];
private _host: powerbi.e... |
@interface LFSTextField : UITextField
// a subclass of UITextField that allows us to set custom
// padding/edge insets as well as more heavily rounded
// corners in iOS6
@property (nonatomic, assign) UIEdgeInsets textEdgeInsets;
@end
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package qub;
public class TypesTests
{
public int publicInt;
protected String protectedString = "testing this";
private boolean privateBoolean;
public static int staticGet5()
{
return 5;
}
public static int staticAdd1(int value)
{
return value + 1;
}
public st... |
CalbucciLib.Logger provides a simple interface to log app errors, warnings and other events, and route those events to database, files, emails, third party services or more.
## Typical Scenarios and Benefits
- Track unhandled exceptions on ASP.NET, Azure Worker roles, WebJobs, etc.
- Track per-user Error information ... |
package com.hsjawanda.gaeobjectify.repackaged.commons.lang3.text;
import java.io.IOException;
import java.io.Reader;
import java.io.Serializable;
import java.io.Writer;
import java.nio.CharBuffer;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import com.hsjawanda.gaeobjectify.repackaged... |
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package io.v.v23.vom;
import java.io.ByteArrayOutputStream;
/**
* A stream to encode VDL values. Can discard a suffix of accumulated output.
*/
class ... |
package com.taobao.api.security;
/**
*
* @author changchun
* @since 2016年3月4日 下午4:48:52
*/
public class SecretContext {
private byte[] secret;
private Long secretVersion;
private long invalidTime;// 过期时间,单位(毫秒)
private long maxInvalidTime;// 最长有效期,单位(毫秒)
public byte[] getSecret() {
re... |
import os
import shutil
from django.core.files import File
from django.core.files.images import ImageFile
from django.test import TestCase
from models import (Image, Person, PersonWithHeight, PersonWithHeightAndWidth,
PersonDimensionsFirst, PersonTwoImages, TestImageFieldFile)
# If PIL available, do these t... |
[TOC]
<!-- Insert buttons and diff -->
<table class="tfo-notebook-buttons tfo-api nocontent" align="left">
<td>
<a target="_blank" href="https://github.com/tensorflow/gnn/tree/master/tensorflow_gnn/proto/graph_schema.proto">
<img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />
View source on... |
module JustimmoClient::V1
module JSON
class CityRepresenter < JustimmoRepresenter
property :id
property :country_id
property :region_id
property :zip_code
property :location
property :federal_state_id
collection_representer class: City
end
end
end
|
package org.apache.hadoop.fs.s3a.auth;
import java.io.IOException;
import java.net.URI;
import com.amazonaws.auth.AWSCredentials;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.conf.Configuration;
import org.apache.had... |
import React from 'react'
import classNames from 'classnames'
import { omit } from 'lodash-es'
import ErrorIcon from '../../../assets/icons/errorRed.svg'
import styles from './TextInput.scss'
type Props = {
className?: string,
type: string,
textInputClassName?: string,
activeStyles?: string,
placeholder: s... |
<?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>
<artifactId>keyclo... |
import ujson
from gnocchiclient.v1 import base
class ArchivePolicyRuleManager(base.Manager):
url = "v1/archive_policy_rule/"
def list(self):
"""List archive policy rules
"""
return self._get(self.url).json()
def get(self, name):
"""Get an archive policy rules
:... |
/////////////////////////////////////////////////////////////////////////
//
// Author: Mateusz Jurczyk (mjurczyk@google.com)
//
// Copyright 2017-2018 Google LLC
//
// 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 ... |
Rails3Example::Application.config.session_store :cookie_store, :key => '_rails3-example_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# Rails3Example::... |
: ${PHPEXT_VERSION:="1.0.0"}
# "phpize" script file name
: ${PHPIZE_FILE_NAME:=phpize}
# "php-config" script file name
: ${PHP_CONFIG_FILE_NAME:=php-config}
# Additional C flags to use
# The current flags used in order to build the extension for i386
# In case the produced file is not working, and you get ... |
import Immutable from 'seamless-immutable';
import modalIsOpenSelectorFactory from '../modalIsOpenSelectorFactory';
function getState(openModals) {
return {
ui: Immutable({
modals: {
open: openModals,
},
}),
};
}
describe('Selector factory: modalIsOpenSelectorFactory', () => {
test(... |
<?php
namespace Site\Handler;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Http\Au... |
/**
*
*/
package com.blockwithme.lessobjects.juint.beans;
/** The Interface Base. */
public interface Super1Level1 {
byte getSuper1ByteField();
char getSuper1CharField();
double getSuper1DoubleField();
float getSuper1FloatField();
int getSuper1IntField();
long getSup... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http... |
package services
import (
"github.com/pufferpanel/pufferpanel/v2/logging"
)
func SendEmailViaDebug(to, subject, body string, async bool) error {
logging.Debug.Println("DEBUG EMAIL TO " + to + "\n" + subject + "\n" + body)
return nil
}
|
package action;
public class CloseAction extends Action {
public CloseAction() {
final float start = 0.239375f;
final float end = 1f - start;
lineData = new float[]{
// line 1
start, start, end, end,
// line 2
start, end, end, start,
// line 3
start, start, end, end,};
}
}
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
the first testing repo for booba studio
|