text stringlengths 3 1.05M |
|---|
<?php
namespace App\Validation\Exceptions\SubdivisionCode;
use App\Validation\Exceptions\SubdivisionCodeException;
/**
* Exception class for Sierra Leone subdivision code.
*
* ISO 3166-1 alpha-2: SL
*/
class SlSubdivisionCodeException extends SubdivisionCodeException
{
public static $defaultTemplates = [
... |
import os
from distutils.version import StrictVersion as Version
from .util import write_atomic, UserError, makedirs, yaml_load, yaml_dump, YAMLError
from .ui import warning
from . import __version__
class ConfigError(UserError):
pass
class Config(object):
def __init__(self, wsdir, read_only=False):
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache Lic... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _simpleAssign = require('simple-assign');
var _simpleAssign2 = _interopRequireDefault(_simpleAssign);
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _transitions = require('../styles/transitions');... |
# Angular Selection Model
[](https://travis-ci.org/jtrussell/angular-selection-model)
> Angular directive for managing selections in tables and lists
## Huh? What about ngGrid, ngTable, or ...
They are all great at wha... |
<!--
Safe sample
input : get the field UserData from the variable $_POST
Uses a full_special_chars_filter via filter_var function
File : use of untrusted data in a simple quote attribute
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, m... |
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... |
use MooseX::Declare;
class Arizona::Engine::Templar {
use Method::Signatures::Simple name => 'action';
use HTML::Mason; # against our will
use Data::Dumper;
use Digest::MD5;
# path to the template. Currently supports only Mason, but probably won't always.
has template => (isa => 'Str', ... |
package com.andreyaleev.metrosong;
import android.app.Application;
import com.andreyaleev.metrosong.tools.MainThreadBus;
import com.squareup.otto.Bus;
/**
* Created by Andrey on 19.10.2016.
*/
public class App extends Application {
private static final MainThreadBus BUS = new MainThreadBus();
@Override
... |
layout: page
title: Dark Force Systems Party
date: 2016-05-24
author: Edward Middleton
tags: weekly links, java
status: published
summary: Phasellus pharetra eleifend posuere. Proin vel lectus eu nisl blandit.
banner: images/banner/meeting-01.jpg
booking:
startDate: 04/02/2016
endDate: 04/05/2016
ctyhocn: STRMOHX... |
module Berkshelf::Chef::Cookbook
# Borrowed and modified from: {https://raw.github.com/opscode/chef/11.4.0/lib/chef/cookbook/chefignore.rb}
#
# Copyright:: Copyright (c) 2011 Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance wi... |
@extends('layouts.master')
<?php
$buttons = [
link_to($returnUrl, _('Return'), ['class' => 'secondary button']),
link_to_route(
"$route.edit",
_('Edit'),
[$resource->getKey()],
['class' => 'button']
),
link_to_route(
"$route.destroy",
_('Delete'),
[$resource->getKey()],
['class' => 'alert butto... |
package com.flowpowered.commons.datatable;
import java.io.ObjectStreamClass;
public interface ClassResolver {
Class<?> resolveClass(ObjectStreamClass desc);
}
|
type Maybe<T> = T | undefined;
export default Maybe;
|
package org.kaaproject.kaa.demo.photoframe.activities;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import a... |
- [1196] Add Compliance Profile as a new type of tool
- [1195, 1195] Update ROADMAP items
- [1191] Upgrade Nokogiri
- [omnibus-supermarket#44] Upgrade libxml2 via omnibus-software update
## 2.2.2 (2015-12-23)
- [omnibus-supermarket#42] Fix sitemap permissions
- [omnibus-supermarket#40] Add supermarket-ctl console comm... |
So a 5 years ago, I wrote something to scrape reddit, and put the songs into a spotify playlist.
This project was something I was really proud of. _really_ proud of.
It was the first project i produced something really cool and viable.
I hadn't looked at this code in years,now that I have, I am reminded of a quote fr... |
namespace Backend.GrainImplementations
{
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Backend.GrainInterfaces;
using Orleans;
using Frontend.Library.Models;
using System;
[Orleans.Providers.StorageProvider(Prov... |
namespace AspNetCore.Identity.LiteDB.Demo.Models.ManageViewModels
{
public class RemoveLoginViewModel
{
public string LoginProvider { get; set; }
public string ProviderKey { get; set; }
}
} |
/*
* 1. This project consists of JAVA private school online learning community group Friends co-creator
* [QQ group 329232140].
* 2. See the list of IT dry technology sharing network [http://www.itganhuo.cn/teams].
* 3. The author does not guarantee the quality of the project and its stability, reliability, and se... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
... |
#include "pg_statsinfod.h"
#define SQL_INSERT_AUTOVACUUM "\
INSERT INTO statsrepo.autovacuum VALUES \
($1, $2::timestamptz - interval '1sec' * $17, \
$3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17)"
#define SQL_INSERT_AUTOANALYZE "\
INSERT INTO statsrepo.autoanalyze VALUES \
($1, $2::timestampt... |
#ifndef PSI_MARSHAL_H
#define PSI_MARSHAL_H
#include "types/impl_val.h"
#include "Zend/zend_types.h"
struct psi_let_exp;
struct psi_set_exp;
struct psi_decl_arg;
struct psi_call_frame;
struct psi_impl;
struct psi_impl_type;
#if HAVE_INT128
static inline char *psi_u128_to_buf(char *buf, unsigned __int128 u128)
{
f... |
Tasks for the High-performance computing course at UFRJ.
```
├── README.md
└── #DELIVERY
├── doc
| ├── TRAB .pdf - tasks descriptions
| └── REPORT .pdf - detailed results
└── #TASK
└── [...] - related content
```
|
<?php
/**
* File for Queue Message
*/
namespace Cayman\Manager\QueueManager;
/**
* Class for Queue Message
*
*/
class Message
{
/**
* URI to route message to one of our services
* @var string
*/
public $uri;
/**
* Data
* @var array
*/
public $data = [];
}
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="base.css">
</head>
<body>
<div class="container">
<div class="row">
... |
import React from 'react'
export default class SMaterialIcon extends React.Component {
constructor (props) {
super(props)
this.handleClick = this.handleClick.bind(this)
}
handleClick () {
const { material } = this.props
let apiUrl = null
let params = {}
if (!Portal.currentUser.isTeache... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Antidesma moluccanum var. indutum
### Remarks
null |
package server;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Timestamp;
public class LoggerCustom {
public static void logRmiActivity(int userId, String action, boolean isPermited)... |
package com.google.cloud.solutions.datalineage.writer;
import com.google.cloud.solutions.datalineage.model.TagsForCatalog;
import com.google.cloud.solutions.datalineage.service.CatalogTagsApplicator;
import com.google.common.flogger.GoogleLogger;
import org.apache.beam.sdk.transforms.DoFn;
import org.apache.beam.sdk... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
// src/AppBundle/Form/TaskType.php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Fo... |
using namespace testing;
namespace wtf {
class QueueFixture: public Test {
public:
Queue queue;
};
TEST_F(QueueFixture, HasSizeZeroWhenCreated) {
ASSERT_THAT(queue.size(), Eq(0u));
}
TEST_F(QueueFixture, IsEmptyWhenCreated) {
ASSERT_TRUE(queue.isEmpty());
}
TEST_F(QueueFixture, IsNotEmp... |
title: Ready Player One
author: Ernest Cline
date: 2015-10-05 07:21:54
categories: science-fiction
rating: 4/5
---
Somehow, this book managed to mashup a futuristic world centered around immersive virtual reality with an entourage of 1980s gaming nostalgia. The storytelling was good, and I found myself drawn into it,... |
Use the CMStore to fetch objects that exist on the server.
### Fetching all objects
If you don't want to fetch specific keys, the simplest way is to use loadAllUserObjects.
```objc
CMStore *store = [CMStore defaultStore];
[store allUserObjectsWithOptions:nil
callback:^(CMObjectFetchResponse *re... |
Fabricator(:page, :class_name => Spacepub::Page) do
title 'My Existing Page'
status 'published'
body 'My Existing Body'
publish_at { Time.zone.parse("August 24, 2012 5:00 PM") }
created_at { Time.zone.parse("August 24, 2012 5:00 PM") }
updated_at { Time.zone.parse("August 24, 2012 5:00 PM") }
end
|
from __future__ import (absolute_import, division, print_function, unicode_literals)
import django
from django.conf.urls.static import static
django.conf.urls.handler500 = 'django_custom_500.handlers.handler500'
|
package org.lwjgl.vulkan;
/**
* This extension adds support for the following SPIR-V extension in Vulkan:
*
* <ul>
* <li>{@code SPV_KHR_subgroup_vote}</li>
* </ul>
*
* <p>This extension provides new SPIR-V instructions:</p>
*
* <ul>
* <li>{@code OpSubgroupAllKHR},</li>
* <li>{@code OpSubgroupAnyKHR}, an... |
package org.xdty.smalltalk.wrapper;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import org.apache.harmony.javax.security.sasl.SaslException;
import org.jivesoftware.smack.Chat;
import org.jivesoftware.smack.ChatManager;
import org.jivesoftware.smack.ChatManagerListener;
import org.j... |
@class Player;
@class HUDLayer;
@class EnemyEntity;
@class BulletCache;
@class AudioManager;
@class HealthEnhancement;
@class GunEnhancment;
@class EnemyCache;
typedef enum{
kEndReasonWin,
kEndReasonLose
} EndReson;
typedef enum{
HUD = 0,
GameObjectPause = 1,
GameObjectBulletCache = 2,
GameObj... |
Sequel.migration do
change do
alter_table(:upstreams) do
add_column :created_at, :timestamp
add_column :updated_at, :timestamp
end
alter_table(:packages) do
add_column :created_at, :timestamp
add_column :updated_at, :timestamp
end
alter_table(:repos) do
add_column :cr... |
``` java
public class AddCommandTest extends FlexiTrackGuiTest {
TestTask[] currentList = td.getTypicalSortedTasks();
TestTask taskToAdd;
@Test
public void add_AnEvent_success() {
TestTask[] currentList = td.getTypicalSortedTasks();
taskToAdd = TypicalTestTasks.basketball;
asse... |
package org.cache2k.core.event;
import org.cache2k.core.api.InternalCache;
import java.util.LinkedList;
import java.util.Map;
import java.util.Queue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executor;
/**
* Dispatch events via the executor. Executes in parallel or serializes them... |
<?php
namespace Magento\Framework\Filter\Test\Unit;
class AbstractFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Framework\Filter\AbstractFactory
*/
protected $_factory;
/**
* @var array
*/
protected $_invokableList = [
'sprintf' => 'Magento\Framewor... |
<?php
namespace HB\BlogBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ImageType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $options
*/... |
package Auth;
use warnings;
use strict;
use UrlConstants;
use Crypt::Random qw(makerandom_octet);
use MIME::Lite;
sub genToken {
my $length=shift;
my $avoid;
for ( 0 .. 47, 58 .. 64, 91 .. 96, 123 .. 255 ) {
$avoid .= chr($_);
}
return makerandom_octet( Length => $length, Strength => 0, Sk... |
Controller implementation as you need (Ciayn)
## how to use the module
A few examples are listed in the folder "./src/examples". This examples should help
to use the module.
The class SignalFloat is for log all values into a list at a connection.
It also use the Unit singleton to add a defined Unit to a Signal.
The ... |
require File.dirname(__FILE__) + '/test_helper.rb'
class TestFakerLorem < Test::Unit::TestCase
def setup
@tester = Faker::Lorem
@standard_wordlist = I18n.translate('faker.lorem.words')
@complete_wordlist =
@standard_wordlist + I18n.translate('faker.lorem.supplemental')
end
def test_character
... |
A complete revamp of this script will be available in the next two weeks, which includes updates to both the manual and automatic scripts. Some new features have been added, as well as given a completely new design.
A new Wordpress plugin is on the way and will be available Spring 2014.
###Changelog
v1.5
- Automati... |
GABrowse
========
.. comment: begin: goto-read-the-docs
.. container:: visible-only-on-github
+-----------------------------------------------------------------------------------+
| **The properly rendered version of this document can be found at Read The Docs.** |
| ... |
#region License
#endregion
#region Imports
using System;
using System.Runtime.Serialization;
#endregion
namespace Spring.Aop.Interceptor
{
/// <summary>
/// Subclass of NopInterceptor that is serializable and
/// can be used to test proxy serialization.
/// </summary>
/// <author>Rod Johnson</author>
/// <auth... |
using Content.Server.EUI;
using Content.Shared.Eui;
using Content.Shared.Ghost.Roles;
namespace Content.Server.Ghost.Roles.UI
{
public sealed class GhostRolesEui : BaseEui
{
public override GhostRolesEuiState GetNewState()
{
return new(EntitySystem.Get<GhostRoleSystem>().GetGhostRol... |
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include "h2o.h"
#include "h2o/http1.h"
#include "h2o/http2.h"
#include "h2o/http2_internal.h"
static const h2o_iovec_t CONNECTION_PREFACE = {H2O_STRLIT("PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n")};
const h2o_http2_priority_t h2o_http2_default_priority = {
0, ... |
<?php
namespace Datatheke\Bundle\ApiBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configura... |
CodeIgniter User Guide
######################
******************
Setup Instructions
******************
The CodeIgniter user guide uses Sphinx to manage the documentation and
output it to various formats. Pages are written in human-readable
`ReStructured Text <http://sphinx.pocoo.org/rest.html>`_ format.
Prerequisite... |
<!-- NOTE: This page is currently not in use. Instead we go straight to ProvisionSim/#/SimTestSuites -->
<div class="container space-top" ng-controller="ProvisionSimController as vm">
<div class="col-md-3" ng-show="vm.data.Simulators.length > 0">
<div class="panel panel-info">
<div class="panel... |
FROM ziyunhx/base
RUN wget -q -O - http://mirrors.sonic.net/apache/storm/apache-storm-1.2.2/apache-storm-1.2.2.tar.gz | tar -xzf - -C /opt
ENV STORM_HOME /opt/apache-storm-1.2.2
RUN groupadd storm; useradd --gid storm --home-dir /home/storm --create-home --shell /bin/bash storm; chown -R storm:storm $STORM_HOME; mkdi... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="#88000000" />
</shape> |
class SubjectWorkflowStatusSerializer
include Serialization::PanoptesRestpack
include NoCountSerializer
attributes :id, :classifications_count, :retired_at,
:retirement_reason, :updated_at, :created_at, :href
can_include :subject, :workflow
def self.key
@key || model_class.model_name.plural.to_sym
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Hist. orchid. t. 82. 1822
#### Original name
null
### Remarks
null |
namespace Miruken.AspNet.Castle
{
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.ExceptionHandling;
using global::Castle.Core.Logging;
using Miruken;
public class UnhandledExceptionLogger : IExceptionLogger
{
private readonly ILogger _logger;
... |
package org.ohmage.condition.conjunction;
import org.ohmage.condition.Fragment;
import org.ohmage.condition.InvalidArgumentException;
import org.ohmage.prompts.Prompt;
import java.util.Map;
/**
* <p>
* A {@link Conjunction} that represents true when all of its children
* represent true.
* </p>
*
* @author Jo... |
/*jslint browser: false, node: true, indent: 2 */
"use strict";
var PG = require('./postgresql_connection');
var net = require('net');
// Change this
var options = {hostname: 'localhost', username: 'foo', password: 'secret', port: 5432, database: 'joshua'};
var connection = PG.connect(options);
var queryQueue = [];
... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace zprotobuf
{
public abstract class wire {
private static int oid = 0;
private static Dictionary<IntPtr, wire> uds = new Dictionary<IntPtr, wire>();
private static int encod... |
import { Component, ViewEncapsulation } from '@angular/core';
import { PopUpPlacements } from '@ptsecurity/mosaic/core';
/**
* @title Basic tooltip
*/
@Component({
selector: 'tooltip-overview-example',
templateUrl: 'tooltip-overview-example.html',
styleUrls: ['tooltip-overview-example.css'],
encapsu... |
GeoLogger
=========
GeoLogger is a sample iOS app that lets you log your current location (which is automatically reverse-geocoded) as seen on a Google Map. You may override the detected location by dragging the marker or tapping anywhere on the map. You may also edit the logged locations later.
This makes use of [Go... |
/* Smart Mirror Test config default calendar
* with authenticacion old config
*/
var config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12,
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
},
modules: ... |
module Azure::ServiceFabric::V6_3_0_9
module Models
#
# Represents a scaling trigger related to an average load of a
# metric/resource of a partition.
#
class AveragePartitionLoadScalingTrigger < ScalingTriggerDescription
include MsRestAzure
def initialize
@Kind = "AveragePa... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>.devClub</title>
<!-- Bo... |
#include "example.h"
/**
* Stops the g_main_loop; call this function to stop the programm
*
* @param data Is the g_main_loop handle returnes by ::g_main_loop_new
*/
static gboolean cb_termination(gpointer data) {
DEBUG_PRINT(("cb_termination\n"));
g_main_loop_quit(data);
return(FALSE);
}
/**
* Convert... |
namespace EPubLibraryContracts
{
public enum EPubDataContentType
{
CoverPage,
MainTitlePage,
SecondaryTitlePage,
AnnotationPage,
BookContentPage,
AboutPage,
}
public enum GuideTypeEnum
{
Unknown,
Cover,
TitlePage,
TOC... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>isAllOff method - BitfieldPlus class - hetimatorrent.util library - Dart API</title>
<!-- required because ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Aeranthes sallei Rchb.f.
### Remarks
null |
int sprite_key_get_id(const char *key);
void sprite_set_key(sd_sprite *s, const char **key, int kcount, const char *value);
void sprite_get_key(sd_sprite *s, const char **key, int kcount);
void sprite_keylist();
void sprite_info(sd_sprite *s, int anim, int sprite);
void sprite_export_key(sd_sprite *s, const char **key... |
layout: post
title: "徐晓妍挑选零食"
date: 2021-04-02
excerpt: "妍妍的日记-201"
tags: [徐晓妍]
feature: https://static.justice-love.com/image/jpg/xktp.jpg
yan: true
comments: true
video: true
---
带徐晓妍逛零食店,跟在后面看她挑
{: .notice}
<video id="my-video" class="video-js vjs-16-9 clipboard" controls preload="auto" width="722" height="264" data... |
package com.bitbar.monitoring.samples.ios;
import io.appium.java_client.ios.IOSDriver;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import static org.junit.Assert.*;
import org.openqa.selenium... |
#ifndef __LIBOAUTHCPP_LIBOAUTHCPP_H__
#define __LIBOAUTHCPP_LIBOAUTHCPP_H__
#include <string>
#include <list>
#include <map>
#include <stdexcept>
#include <ctime>
namespace OAuth {
namespace Http {
typedef enum _RequestType
{
Invalid = 0,
Head,
Get,
Post,
Delete,
Put
} RequestType;
} // names... |
require_relative 'xml/builder'
require_relative 'xml/default_list'
require_relative 'xml/default_map'
require_relative 'xml/doc_builder'
require_relative 'xml/error_handler'
require_relative 'xml/parser'
require_relative 'xml/parser/stack'
require_relative 'xml/parser/frame'
require_relative 'xml/parser/parsing_error'
|
<?php
namespace JPI\SoluxBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
use Doctrine\ORM\EntityManager;
class TauxParticipationLimiteValidator extends ConstraintValidator
{
private $entityManager;
public function __construct(EntityMan... |
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
/*------*/
require '../vendor/autoload.php';
use AdinanCenci\ExtendedDom\DomDocument;
/*------*/
/* Lets write a catalog of books */
$library = new DomDocument();
$library->newElement('library')
->newChild('title', 'Classics')
->newChild('link', 'http:... |
module RubyHome
module Config
class ControllerContext
attr_accessor :controllers
def initialize
@controllers = []
end
# return the default controller
def default_controller
@controllers[0] if !@controllers.empty?
end
# adds and instantiates the controll... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
namespace IFC4X3
{
// TYPE IfcCourseTypeEnum = ENU... |
<?php
namespace TYPO3\Flow\Tests\Unit\Validation\Validator;
require_once 'AbstractValidatorTestcase.php';
/**
* Testcase for the number range validator
*
*/
class DateTimeRangeValidatorTest extends \TYPO3\Flow\Tests\Unit\Validation\Validator\AbstractValidatorTestcase
{
/**
* @var string
*/
prot... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>rsa: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
package com.google.cloud.spring.autoconfigure.secretmanager;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import com.google.api.gax.core.CredentialsProvider;
import com.google.api.gax.rpc.NotFoundException;
import com.googl... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateTbMessboardPermissionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tb_messboard_permissions', function(Blu... |
package annis.sqlgen;
import annis.sqlgen.extensions.LimitOffsetQueryData;
import annis.model.QueryNode;
import annis.ql.parser.QueryData;
import java.util.List;
/**
*
* @author benjamin
*/
public class CommonLimitOffsetGenerator implements
LimitOffsetClauseSqlGenerator<QueryData>
{
@Override
public String... |
#ifndef itkCurvatureAnisotropicDiffusionImageFilter_h
#define itkCurvatureAnisotropicDiffusionImageFilter_h
#include "itkAnisotropicDiffusionImageFilter.h"
#include "itkCurvatureNDAnisotropicDiffusionFunction.h"
#include "itkMacro.h"
namespace itk
{
/**
* \class CurvatureAnisotropicDiffusionImageFilter
*
* This fi... |
@interface UIView (FS)
@property (assign, nonatomic) IBInspectable CGFloat borderWidth;
@property (strong, nonatomic) IBInspectable UIColor *borderColor;
@property (assign, nonatomic) IBInspectable CGFloat cornerRadius;
- (void)fs_subviewsMapping:(void (^)(UIView *view, BOOL *stop))map;
@end
|
[](https://github.com/dfensgmbh/biz.dfch.PS.Activiti.Client/blob/master/LICENSE)
[](https://www.nuget.org/packages/biz.dfch.PS.Activiti.Client/)
PowerShell module fo... |
package org.apache.calcite.adapter.clone;
import org.apache.calcite.jdbc.JavaTypeFactoryImpl;
import org.apache.calcite.linq4j.Enumerable;
import org.apache.calcite.linq4j.Linq4j;
import org.apache.calcite.rel.type.RelDataType;
import org.apache.calcite.rel.type.RelDataTypeImpl;
import org.apache.calcite.rel.type.Rel... |
/*
*/
#include <sys/stat.h>
#include <stdio.h>
/*#include "fcntl.h" */
/*#include "unistd.h" */
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <stdlib.h>
#ifndef PATH_MAX
#define PATH_MAX 1024 /* max # of characters in a path name */
#endif
/* output file pointer for use during the... |
module Pacto
class URI
def self.for(host, path, params = {})
Addressable::URI.heuristic_parse("#{host}#{path}").tap do |uri|
uri.query_values = params unless params.nil? || params.empty?
end
end
def self.parse(url)
return Addressable::URI.parse(url)
end
end
end
|
package org.apache.ignite.internal.processors.cluster.baseline.autoadjust;
import org.apache.ignite.IgniteLogger;
import org.apache.ignite.internal.processors.timeout.GridTimeoutObject;
import org.apache.ignite.internal.processors.timeout.GridTimeoutProcessor;
import org.apache.ignite.internal.util.typedef.internal.... |
Outline
=======
## Prelude
### Disclaimer - I suck
Sorry for incorrect terminology or just plain wrong information.
### Why should we care?
Dependent typing gives us precise control over the possible terms that may
inhabit a type. By making types _depend_ on terms, we can embed term-level
computations for, say, co... |
{-# LANGUAGE TemplateHaskell, DataKinds, PolyKinds
, TypeInType, TypeApplications, TypeFamilies #-}
module T12045TH1 where
import Data.Kind
import Language.Haskell.TH hiding (Type)
$([d| type family F (a :: k) :: Type where
F @Type Int = Bool
F @(Type->Type) May... |
<link rel="import" href="../../bower_components/polymer/polymer.html" />
<link rel="import" href="../../bower_components/iron-localstorage/iron-localstorage.html" />
<dom-module id="alvar-authentication">
<template>
<style>
:host {
display: none;
}
</style>
<iron-localstorage id="sto... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2020 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.common;
import java.util.HashMap;
import java.util.Map;
/**
* Defines a EndedStatus type used... |
({
setFieldMetadataAttributes : function(component, event) {
var fieldMetadata = component.get('v.fieldMetadata');
var record = component.get('v.record');
// Display type
component.set('v.displayType', fieldMetadata.DisplayType);
// Parent record name (used for REFERENCE fi... |