text stringlengths 3 1.05M |
|---|
<?php
/**
* An example Controller. This shows the most basic usage of a Controller.
*/
class Controller_Write extends Controller{
public function action_index()
{
return View::forge('write/index');
}
} |
All-in-one solution to manage mails on a Linux box with a single,
simple, human-readable configuration file.

## Components
* [OpenSMTPD](https://www.opensmtpd.org/)
* [SpamPD](http://spamassassin.apache.org/) (SpamAssassin)
* [Dovecot]... |
moneybook
=========
|
layout: govuk_template
---
{% assign version = 'v'|append:page.version %}
{% assign criteria = site.service-standard | where: "phase", page.phase | where: "layout", "service-standard-article" | sort: "criterion" %}
<h1 class="dbd-header">Digital by Default Service Standard</h1>
{% if page.version == 1 %}
<p class=... |
/* -------------------------
* UndirectedGraphUnion.java
* -------------------------
* (C) Copyright 2009-2009, by Ilya Razenshteyn
*
* Original Author: Ilya Razenshteyn and Contributors.
*
* $Id$
*
* Changes
* -------
* 02-Feb-2009 : Initial revision (IR);
*
*/
package org.jgrapht.graph;
import java.ut... |
module ToSlug
# Generate a slug for the string +value+.
#
# A slug should consist of numbers (0-9), lowercase letters (a-z) and
# dashes (-). Any other characters should be filtered.
#
# ==== Example
#
# "The World is Beautiful!".to_slug # => "the-world-is-beautiful"
#
# ==== Returns
# Strin... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "core.h"
#include "pow.h"
#include "uint256.h"
#inclu... |
/**
* @requires OpenLayers/Layer/XYZ.js
*/
/**
* Class: OpenLayers.Layer.OSM
* This layer allows accessing OpenStreetMap tiles. By default the OpenStreetMap
* hosted tile.openstreetmap.org Mapnik tileset is used. If you wish to use
* tiles@home / osmarender layer instead, you need to provide a different
... |
package com.github.pfmiles.org.apache.velocity.runtime.parser.node;
import com.github.pfmiles.org.apache.velocity.context.InternalContextAdapter;
import com.github.pfmiles.org.apache.velocity.exception.MathException;
import com.github.pfmiles.org.apache.velocity.exception.MethodInvocationException;
import com... |
<?xml version="1.0" encoding="UTF-8"?>
<binx xmlns="http://www.edikt.org/binx/2003/06/binx">
<definitions>
<defineType typeName="MyArray-1"><arrayFixed><byte-8/><dim indexTo="0"><dim name="2" indexTo="1"></dim></dim></arrayFixed></defineType>
</definitions>
<dataset
byteOrder="littleEndian">
<struct varName="myStruct-... |
package org.docksidestage.oracle.dbflute.bsbhv;
import java.util.List;
import org.dbflute.*;
import org.dbflute.bhv.*;
import org.dbflute.bhv.core.BehaviorCommandInvoker;
import org.dbflute.bhv.readable.*;
import org.dbflute.bhv.writable.*;
import org.dbflute.bhv.referrer.*;
import org.dbflute.cbean.*;
import org.dbf... |
package org.vaadin.gwtol3.client.control;
import com.google.gwt.core.client.JavaScriptObject;
import org.vaadin.gwtol3.client.Extent;
/**
* Options passed to the ZoomToExtentControl on creation
*/
public class ZoomToExtentControlOptions extends JavaScriptObject{
protected ZoomToExtentControlOptions() {
}
... |
export default function (number, min, max) {
if (number < min) {
return min;
}
if (number > max) {
return max;
}
return number;
}
|
extern void ConfigTimer0(); // in module Configs.c
extern void SPI_Master_Init(); //
extern void SPI_Write(char dato); //
void EvaluateInputTransition();
void LedsShifter_a(); //do sequence_a
void LedsShifter_b(); //do sequence_b
void TimeCounter(); ... |
namespace google::api::expr::runtime::internal {
// CelMap implementation that uses "map" message field
// as backing storage.
class FieldBackedMapImpl : public CelMap {
public:
// message contains the "map" field. Object stores the pointer
// to the message, thus it is expected that message outlives the
// obje... |
package org.keycloak.testsuite.admin.realm;
import org.apache.commons.io.IOUtils;
import org.junit.Rule;
import org.junit.Test;
import org.keycloak.OAuth2Constants;
import org.keycloak.admin.client.Keycloak;
import org.keycloak.admin.client.resource.ServerInfoResource;
import org.keycloak.common.util.StreamUtil;
imp... |
(function(ns) {
var Emoji = function() {
var self = this;
var finder = new RegExp(/:[a-zA-Z1-9\-_\+]*:/g);
var emojiset = {
"100":"100.png",
"1234":"1234.png",
"+1":"%2B1.png",
"-1":"-1.png",
"8ball":"8ball.png",
"a":"a.png",
"ab":"ab.png",
"abc":"abc.png",
"abcd":"abcd.png",
"acc... |
struct AVPacket;
struct AVRational;
struct AVStream;
namespace media {
class MediaLog;
class FFmpegDemuxer;
class FFmpegGlue;
class FFmpegH264ToAnnexBBitstreamConverter;
typedef scoped_ptr<AVPacket, ScopedPtrAVFreePacket> ScopedAVPacket;
class FFmpegDemuxerStream : public DemuxerStream {
public:
// Keeps a copy ... |
class Asciidoctor::Section
def numbered_title opts = {}
@cached_numbered_title ||= nil
unless @cached_numbered_title
if @numbered && !@caption && (slevel = @level) <= (@document.attr 'sectnumlevels', 3).to_i
@is_numbered = true
if @document.doctype == 'book'
case slevel
... |
var Scat= {};
/*
* Call the server API, handle basic errors
*/
Scat.api= function (func, args, opts) {
var url= '/api/' + func + '.php?callback=?';
// http://stackoverflow.com/a/5175170
var validated= function(jqXHR, validationFunction) {
var def= new $.Deferred();
var validate= function() {
... |
import React from 'react';
import ReactDOM from 'react-dom';
import FormGroup from 'react-bootstrap/lib/FormGroup';
import ControlLabel from 'react-bootstrap/lib/ControlLabel';
import Col from 'react-bootstrap/lib/Col';
import FormControl from 'react-bootstrap/lib/FormControl';
import Overlay from 'react-bootstrap/lib/... |
<!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_26) on Sun Jan 22 14:18:58 CET 2012 -->
<TITLE>
Uses of Interface soot.UnitPrinter (Soot API)
</TITLE>
<META NAME="date" CONTENT="2012-01-22">
<LIN... |
package com.github.joschi.jadconfig.converters;
import com.github.joschi.jadconfig.ParameterException;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.nio.charset.Charset;
/**
* Unit tests for {@link CharsetConverter}
*
* @author jschalanda
*/
public class CharsetConverterTes... |
FROM balenalib/kitra710-ubuntu:xenial-build
ENV GO_VERSION 1.15.6
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "f87515b9744154ffe31182da9341d0a61eb0795551173d242c8cad209239e492 go$GO_VERSION.linux-arm64.tar.gz" | sha256sum -c - \
&& t... |
package org.apache.commons.io;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions... |
@ParametersAreNonnullByDefault
package core.account;
import javax.annotation.ParametersAreNonnullByDefault; |
<?php
/*
Safe sample
input : get the field userData from the variable $_GET via an object
SANITIZE : use in_array to check if $tainted is in the white list
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, t... |
package org.littlewings.javaee7.service
trait MessageService {
def get: String
}
|
using System.Collections.Immutable;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Text.DateTime.English.Utilities;
using Microsoft.Recognizers.Definitions.English;
using Microsoft.Recognizers.Definitions;
using Microsoft.Recognizers.Text.Number.English;
using Microsoft.Recognizers.Text.Number;
na... |
title: Open School
date: 2014-02-14 11:08:00 +07:00
nohibah: '072'
nama: Eric Christopher
lokasi: Malang, Jawa Timur
organisasi: NA
judul: Open School
lama: 8 Bulan
target: Sekolah di wilayah Tangerang
keberhasilan: |-
– sekolah sudah mulai berpindah dari kertas ke digital.
– siswa mulai mengenal apa itu teknologi ... |
package org.easybatch.core.mapper;
import org.easybatch.core.api.Record;
import org.easybatch.core.api.RecordMapper;
/**
* Convenient no-op record mapper that returns the record's <strong>payload</strong> as is.
* <p/>
* Note that this is different from {@link org.easybatch.core.impl.NoOpRecordProcessor} that
*... |
require 'test_helper'
class AdminControllerTest < ActionController::TestCase
setup do
@user = users(:one)
end
test "should get index" do
get :index
assert_response :success
end
end
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* \class storage::framework::MetricUpdateHook
* \ingroup metric
*
* \brief Implement to get callbacks to update metrics periodically or just before reports/snapshots.
*/
#pragma once
#include <mutex>
name... |
#Copyright (c) Patrick Lambert
#https://gallery.technet.microsoft.com/scriptcenter/Resize-Image-A-PowerShell-3d26ef68
#The MIT License (MIT)
#
#
#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 wi... |
package org.apache.sis.geometry;
import java.awt.geom.Rectangle2D;
import org.apache.sis.test.DependsOn;
import org.apache.sis.test.DependsOnMethod;
import org.apache.sis.test.TestCase;
import org.junit.Test;
import static org.opengis.test.Validators.*;
import static org.apache.sis.test.ReferencingAssert.*;
import s... |
<submissions configuration-href="xsltcfg.xml" discretionary-href="xsltdisc.xml">
<submission href="testcat.xml" submitter="test" date="2001-07-19"/>
</submissions> |
<?php
namespace syamgot\Validator\Tests;
use syamgot\Validator\Validators\NotNullValidator;
use syamgot\Validator\Exception\NotNullException;
/**
* NotNullValidator unit test
*
* @author syamgot
*/
class NotNullValidatorTest extends \PHPUnit_Framework_TestCase {
/**
* @dataProvider prov... |
function fDocumentobonitoRoutes() {
Path.map("#/documentobonito").to(function () {
$('#indexContenidoJsp').spinner();
oDocumentobonitoControl.listCuadros($('#indexContenido'), param().defaultizeUrlObjectParameters({}), null, oDocumentobonitoModel, oDocumentobonitoView);
//documentobonit... |
Los mejores perritos chupones
by super topes
|
YUI.add('cache-offline', function (Y, NAME) {
/**
* Provides a Cache subclass which uses HTML5 `localStorage` for persistence.
*
* @module cache
* @submodule cache-offline
*/
/**
* Extends Cache utility with offline functionality.
* @class CacheOffline
* @extends Cache
* @constructor
*/
function CacheOffl... |
// Copyright (c) 2011, Kevin O'Neill
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// notice, th... |
SYSTEM=/home/clip/Systems/ciao
CIAOC=$(SYSTEM)/ciaoc/ciaoc
FILEINFO=$(SYSTEM)/etc/fileinfo
LIBS=$(SYSTEM)/lib $(SYSTEM)/library
# MAIN=main
MAIN=arith
# MAIN=/home/clip/Systems/ciao/lib/aggregates.pl
# MAIN=/home/clip/Systems/ciao/lib/engine/arithmetic.pl
# MAIN=/home/clip/Systems/ciaopp-0.6/examples/non-failure/revers... |
using NUnit.Framework;
using PersonalFinanceManager.IntegrationTests.Infrastructure;
using System;
using TechTalk.SpecFlow;
namespace PersonalFinanceManager.IntegrationTests.Scenarios.Steps
{
[Binding, Scope(Feature = "CreateCountries")]
public class CreateCountriesSteps
{
private int _countCountr... |
import os
import stat
import subprocess
import sys
import textwrap
import pytest
from exec_wrappers import create_wrappers
from exec_wrappers.create_wrappers import get_wrapper_extension
try:
from shutil import which
except ImportError:
from backports.shutil_which import which
def test_execute_virtualenv_w... |
package ru.stqa.pft.addressbook.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.GroupData;
//наследование NewGroup от TestBase
public class NewGroup extends TestBase {
@Test
public void testNewGroup() {
//методы
app.getNavigationHelper().gotoGroup();
app.getGro... |
// revolutions per second
var angularSpeed = 0.2;
var lastTime = 0;
// this function is executed on each animation frame
function animate() {
// update
controls.update();
var time = (new Date()).getTime();
var timeDiff = time - lastTime;
var angleChange = angularSpeed * timeDiff * 2 * Math.PI / 1000;
cube.rota... |
TODO: Implement lock for Hive Server2
http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cdh4ig_topic_18_5.html
HDP 2.1 and 2.2 dont support secured Hive metastore in HA mode, see
[HIVE-9622](https://issues.apache.org/jira/browse/HIVE-9622).
Resources:
* [Cloudera secu... |
import fs from 'fs';
import path from 'path';
import _ from 'lodash';
import Promise from 'bluebird';
import config from '../config';
import log from '../lib/log';
const readFile = Promise.promisify(fs.readFile);
const syncDir = path.join(__dirname, '../data/');
export default function (db) {
return Promise.mapSer... |
pub fn bar<P>( // Error won't happen if "bar" is not generic
_baz: P,
) {
hide_foo()();
}
fn hide_foo() -> impl Fn() { // Error won't happen if "iterate" hasn't impl Trait or has generics
foo
}
fn foo() { // Error won't happen if "foo" isn't used in "iterate" or has generics
}
|
<%- layout('layout') %>
<div id="content">
<div class="panel">
<div class="header">
<ul class="breadcrumb">
<li><a href="/">主页</a><span class="divider">/</span></li>
<li class="active">设置</li>
</ul>
</div>
<div class="inner">
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Persoonia 6(3): 362 (1971)
#### Original name
Macroventuria anomochaeta Aa, 1971
### Remarks
null |
"""Helper functions that provide interface to BigQuery client library."""
import logging
from src.common.lib import gcp
def query(query_str):
"""Write rows to bigquery table.
Args:
query_str: str, the query to execute.
Returns: list of google.cloud.bigquery.table.Row objects.
"""
job =... |
/*
GadgetDropPod.h
Gadget that creates an infantry unit in a pod for boarding
*/
#ifndef GADGETDROPPOD_H
#define GADGETDROPPOD_H
#include "NounGadget.h"
#include "NounUnit.h"
#include "GameDll.h"
//---------------------
class DLL GadgetDropPod : public NounGadget
{
public:
DECLARE_WIDGET_CLASS();
DECLARE_PROP... |
<?php
/**
* Created by PhpStorm.
* User: jmadueno
* Date: 23/06/2015
* Time: 14:37
*/
namespace RM\AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class RMController extends Controller
{
/**
* @return \Doctrine\Common\Persistence\ObjectManager|\Doctrine\ORM\EntityManager... |
var auth = angular.module('auth',[
'globalvar',
'appservice',
'toaster',
'ngAnimate'
]);
auth.directive('loading',function(){
return {
restrict : "E",
replace : true,
template: '<div class="loading"><img src="/assets/img/loading.gif" width="20" height="20" /> Please Wait A F... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html manifest="app.manifest">
<head>
<title>JPlanPoker</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name... |
#include "third_party/blink/renderer/core/inspector/inspector_network_agent.h"
#include <memory>
#include <utility>
#include "base/containers/span.h"
#include "base/macros.h"
#include "base/memory/scoped_refptr.h"
#include "build/build_config.h"
#include "net/http/http_status_code.h"
#include "services/network/publ... |
all:
python setup.py build_ext --inplace
|
package org.kuali.kpme.tklm.time.rules.lunch.sys.service;
import java.util.List;
import org.joda.time.LocalDate;
import org.kuali.kpme.tklm.time.rules.lunch.sys.SystemLunchRule;
import org.springframework.cache.annotation.Cacheable;
public interface SystemLunchRuleService {
/**
* Fetch SystemLunchRule... |
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
class Update2SinistroRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validat... |
// Copyright 2011-2016 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 a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
<?php
namespace Siciarek\SymfonyCommonBundle\Services\Model\Exceptions;
class Parameter extends \Exception
{
public function __construct($message = 'Invalid parameter definition.', $code = 404, \Exception $previous = null)
{
parent::__construct($message, $code, $previous);
}
}
|
package com.glv;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringbootApplication {
public static void main(String[] args) {
SpringApplication.run(SpringbootApplication.class, args);
}
}
|
// Copyright 2015 The Prometheus 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... |
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("Op... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using Microsoft.WindowsAzure.MobileServices.Sync;
using System.Threading.Tasks;
namespace Micros... |
<?xml version="1.0"?>
<Document>
<Sentence>
<value>The right treatment can often improve GAD.</value>
<pattern_crowdsource> The right [[treatment|C0087111]] can often improve [[GAD|C0270549]]. </pattern_crowdsource>
<annotations>
<annotation>
<surface-form>right</surface-form>
<RDF-ID>C0205090</RDF-... |
define([
"dojo/_base/declare",
"dojo/_base/lang",
"dojo/_base/query",
"dojo/_base/json",
"dojo/_base/Deferred",
"dojo/_base/sniff",
"dojo/DeferredList",
"dojo/dom-class",
"dojo/keys",
"../core/_Module",
"../core/util",
"dojo/date/locale",
"dijit/form/TextBox"
], function(declare, lang, query, json, Deferre... |
package com.intellij.codeInsight.annoPackages;
import com.intellij.codeInsight.Nullability;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
class AndroidAnnotationSupport implements AnnotationPackageSupport {
@NotNull
@Override
public List... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#9C27B0</color>
<color name="colorPrimaryDark">#4A148C</color>
<color name="colorAccent">#F44336</color>
<color name="list_divider">#000000</color>
<color name="list_background">#FFFFFF</color>
<color name="list... |
<!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="rustdoc">
<meta name="description" content="API documentation for the Rust `S_IFDIR` constant in crate `libc`.">
<meta name="keywords"... |
[Full Changelog](https://github.com/kaazing/gateway/compare/5.5.0...5.6.0-RC003)
**Merged pull requests:**
- make injected login modules return false on success [\#882](https://github.com/kaazing/gateway/pull/882) ([danibusu](https://github.com/danibusu))
- Updated to latest k3po version 3.0.0-alpha-64 [\#881](https:... |
package dbtester
import (
"fmt"
"math"
"path/filepath"
"strings"
"time"
"github.com/coreos/dbtester/dbtesterpb"
"github.com/coreos/dbtester/pkg/remotestorage"
"github.com/coreos/dbtester/pkg/report"
humanize "github.com/dustin/go-humanize"
"github.com/gyuho/dataframe"
)
// DatasizeOnDiskSummaryColumns defi... |
<!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 -->
<title>JavaObjectTranslator (MDW 6 API JavaDocs)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Sty... |
package com.capitalone.dashboard.common;
import com.capitalone.dashboard.ApiSettings;
import com.capitalone.dashboard.model.Commit;
import com.capitalone.dashboard.model.CommitStatus;
import com.capitalone.dashboard.model.GitRequest;
import com.capitalone.dashboard.model.Review;
import com.capitalone.dashboard.model.S... |
/*
* (c) 2017 Michael A. Beck, Sebastian Henningsen
* disco | Distributed Computer Systems Lab
* University of Kaiserslautern, Germany
* All Rights Reserved.
*
* This software is work in progress and is released in the hope that it will
* be useful to the scientific community. It is provided "as i... |
package org.apache.hadoop.hbase.replication.regionserver;
import static org.junit.Assert.assertEquals;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
impo... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2013 The Android Open Source Project
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/l... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/overtime.iml" filepath="$PROJECT_DIR$/overtime.iml" />
</modules>
</component>
</project> |
'''OpenGL extension VERSION.GL_1_1
This module customises the behaviour of the
OpenGL.raw.GL.VERSION.GL_1_1 to provide a more
Python-friendly API
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/VERSION/GL_1_1.txt
'''
from OpenGL import platform, constant, arrays
fro... |
<?php
namespace Spatie\Activitylog;
use Closure;
class LogOptions
{
public ?string $logName = null;
public bool $submitEmptyLogs = true;
public bool $logFillable = false;
public bool $logOnlyDirty = false;
public bool $logUnguarded = false;
public array $logAttributes = [];
public a... |
<?php
namespace app\modules\account\controllers;
use app\models\UsersModules;
use Yii;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
/**
* VideosController implements the CRUD actions for Videos model.
*/
class SettingsController extends Controller {
public function actionIndex() {
retur... |
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace SyncProjectFiles
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 2)
{
Console.Error.WriteLine("SyncProjectFiles.exe <src.csproj> <dest.csproj>");
... |
<?php
namespace yiiunit\framework\i18n;
use Yii;
use yii\base\Event;
use yii\db\Connection;
use yii\i18n\DbMessageSource;
use yii\i18n\I18N;
use yiiunit\framework\console\controllers\EchoMigrateController;
/**
* @group i18n
* @group db
* @group mysql
* @author Dmitry Naumenko <d.naumenko.a@gmail.com>
* @since ... |
class QuickEdDoubleValidator : public QRegExpValidator
{
Q_OBJECT
public:
explicit QuickEdDoubleValidator(QObject* parent = Q_NULLPTR);
};
|
<?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Fixer\CastNotation;
use PhpCs... |
package com.spotify.docker;
import com.spotify.docker.client.AnsiProgressHandler;
import com.spotify.docker.client.DockerClient;
import com.spotify.docker.client.DockerException;
import com.spotify.docker.client.ProgressHandler;
import com.spotify.docker.client.messages.ProgressMessage;
import org.apache.maven.plugi... |
package com.sequenceiq.it.cloudbreak.testcase.e2e.freeipa;
import static com.sequenceiq.it.cloudbreak.context.RunningParameter.key;
import static com.sequenceiq.it.cloudbreak.context.RunningParameter.waitForFlow;
import javax.inject.Inject;
import org.testng.annotations.Test;
import com.sequenceiq.freeipa.api.v1.fr... |
#ifndef INC_MismatchedTokenException_hpp__
#define INC_MismatchedTokenException_hpp__
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/RIGHTS.html
*
* $Id: //depot/code/org.antlr/release/antlr-2.7.2/lib/cpp/antlr/MismatchedTokenException.hp... |
This is the directory that holds your controllers. In Sails, controllers are JavaScript files that contain logic for interacting with models and rendering appropriate views to the client.
When you call `sails generate api cats` via the command line from inside your project's root directory, Sails will generate the fi... |
package org.apache.pinot.plugin.ingestion.batch.common;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import java.io.File;
import java.io.InputStream;
import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Arrays;
import ja... |
import os
import requests
import sys
from stat import ST_MODE
from requests_kerberos import HTTPKerberosAuth, OPTIONAL
if __name__ == '__main__':
sess = requests.Session()
url = 'http://%s/hostname_acceptor/' % sys.argv[1]
r = sess.get(url, auth=HTTPKerberosAuth(delegate=True))
if r.status_code != 200... |
package de.lessvoid.nifty.processing.renderer;
import java.io.File;
import java.net.URISyntaxException;
import de.lessvoid.nifty.render.BlendMode;
import de.lessvoid.nifty.spi.render.*;
import de.lessvoid.nifty.tools.Color;
import de.lessvoid.nifty.tools.resourceloader.NiftyResourceLoader;
import de.lessvoid.nifty.to... |
<?php
/* WebMetaCommonBundle:Warbot:index_warbot.html.twig */
class __TwigTemplate_432f65d09a1d175978f5e763ebade52f4d1349b0cf3011068e5103960f3a824d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("... |
FROM balenalib/kitra520-alpine:3.13-build
ENV NODE_VERSION 14.16.0
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp... |
package com.mygdx.handlers.action;
import com.mygdx.entities.Enemy;
import com.mygdx.handlers.NetworkManager;
import com.mygdx.net.EnemyStatus;
import com.mygdx.states.GameState;
/**
* Created by rob on 3/23/15.
*/
public class ActionEnemyCreate extends ActionEnemyBase
{
public float health;
public float ar... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function repeat</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generato... |
/*! @file simulation.hpp
@brief Interface of Simulation class
@defgroup biol_param Biological parameters
@defgroup biol_proc Biological processes
@{
@defgroup habitat_pareference Habitat preference
@defgroup natural_selection Natural selection
@defgroup mating Mating
@def... |
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>Summary of the dat... |

#TITLE
##DESCRIPTION
##AUTHOR
Hello my name is [ebird-design](https://github.com/ebird-design) and I'd like ti say...
##LICENSE
|