text stringlengths 3 1.05M |
|---|
<!DOCTYPE html>
<html>
<head>
<title>Code Block Demo</title>
</head>
<body>
<script type="text/javascript" src="//cdn.echoenabled.com/sdk/v3/dev/loader.js"></script>
<div id="container" style="margin: 0px auto; width: 50%; max-width: 440px;"></div>
<script type="text/javascript">
Echo.Loader.initApplication(... |
package edu.northwestern.bioinformatics.studycalendar.restlets;
import edu.nwu.bioinformatics.commons.CollectionUtils;
import org.restlet.data.Form;
import org.restlet.Request;
import java.util.Arrays;
import java.util.Collection;
/**
* An enum of all the query parameters used by any resource in the system.
* The ... |
<?php
use Api\Model\Languageforge\Lexicon\Command\LexEntryCommands;
use Api\Model\Languageforge\Lexicon\Config\LexConfig;
use Api\Model\Languageforge\Lexicon\LexExample;
use Api\Model\Languageforge\Lexicon\Guid;
use Api\Model\Languageforge\Lexicon\LexEntryModel;
use Api\Model\Languageforge\Lexicon\LexPicture;
use Api\... |
from google.appengine.ext import db
class DeviceType(db.Model):
name = db.StringProperty()
class FeatureCategory(db.Model):
# Child of DeviceType
name_eng = db.StringProperty()
name_spa = db.StringProperty()
name_por = db.StringProperty()
class Feature(db.Model):
# Child of FeatureCategory
... |
package io.gitlab.arturbosch.smartsmells.java.cycles;
/**
* @author artur
*/
@SuppressWarnings("ALL")
class OtherCycle {
CycleDummy cycleDummy = new CycleDummy();
public void compute() {
cycleDummy.meCycle.hashCode();
}
}
|
module Codewars.Kata.Shortcut where
shortcut :: String -> String
shortcut = filter (\c -> not $ elem c "aeiou")
|
package org.jetbrains.plugins.gradle.tooling.internal;
import java.io.File;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.gradle.tooling.model.DomainObjectSet;
import org.gradle.tooling.model.internal.ImmutableDomainObjectSet;
import org.jetbrains.plugins.gradle.model.ExtIdeaC... |
package co.edu.uniandes.csw.artwork.persistence;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import co.edu.uniandes.csw.artwork.entities.ItemEntity;
import co.edu.uniandes.csw.crud.spi.persistence.CrudPersistence;
import java.util.List;
imp... |
declare namespace ProofTreeTypes {
type Node = d3.HierarchyPointNode<IProofTreeNode>
type Link = d3.HierarchyPointLink<IProofTreeNode>
// Used to be able to put `never` for the last argument, not sure what changed
type NodeSelection = d3.Selection<d3.BaseType, Node, any, any>
type LinkSelection = d3.Selecti... |
package dedep.bonobo._match.result
case class WinB(override val aGoals: Int, override val bGoals: Int) extends MatchResult {
require(bGoals > aGoals)
} |
package com.phloc.commons.math;
import javax.annotation.Nonnegative;
/**
* Interface for objects having a width.
*
* @author Philip Helger
*/
public interface IHasWidth
{
/**
* @return The width of an object
*/
@Nonnegative
int getWidth ();
}
|
package org.apache.tools.ant.taskdefs;
import java.io.File;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.Resource;
import org.apache.tools.ant.types.ResourceCollection;
import org.apache.tools.ant.types.resources.FileProvider;
import org.apache.tool... |
<?php
namespace Tests\Homie\Dashboard\Widgets;
use Homie\Dashboard\Widgets\TodoList;
use PHPUnit\Framework\TestCase;
use Homie\Dashboard\Widgets\WidgetMetadataVo;
/**
* @covers \Homie\Dashboard\Widgets\TodoList
*/
class TodoListTest extends TestCase
{
/**
* @var TodoList
*/
private $subject;
... |
"""
Handles all processes relating to Virtual Storage Arrays (VSA).
**Related Flags**
"""
from nova import compute
from nova import exception
from nova import flags
from nova import log as logging
from nova import manager
from nova.openstack.common import cfg
from nova import volume
from nova import vsa
from nova im... |
#import <Foundation/Foundation.h>
#import "L4Layout.h"
/**
* This class represents formating a JSON object for error.
*/
@interface L4JSONLayout : L4Layout
+ (instancetype)JSONLayout;
@end
|
// @@@ START COPYRIGHT @@@
//
// 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 License, Version 2... |
TCLDIR=/c/Tools/Tcl/lib/tcl8.5
make distclean
./configure --with-tcl=$TCLDIR LDFLAGS=-L.
make clean
make all
make dll
make compresstest
#make test |
function love.conf(t)
t.title = "lovehack" -- The title of the window the game is in (string)
t.author = "Esa Karjalainen" -- The author of the game (string)
t.url = nil -- The website of the game (string)
t.identity = nil -- The name of the save directory (strin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for /Users/hidenorigoto/temp/Nagoya.Zousyo/src/Nagoya/Zousyo/Exception/LogicException.php</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<li... |
package com.datarecorder;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap;
import java.util.Map;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JTable;
import javax... |
package pl.mmorpg.prototype.client.states;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.esotericsoftware.kryonet.Client;
import pl.mmorpg.prototype.client.packethandlers.PacketHandlerBase;
import pl.mmorpg.prototype.client.pack... |
class TemperaturesUploader
:public Job
{
public:
TemperaturesUploader();
unsigned long doJob() override;
String title() const override;
private:
int _retryCnt;
bool _lastSuccess;
};
#endif // SUPPORT_TemperatureUploader
#endif // TemperatureUploader_h
|
@class _JZNavigationDelegating;
@interface UINavigationController (JZPrivate) <UINavigationBarDelegate>
@property (nonatomic, weak) _JZNavigationDelegating *jz_navigationDelegate;
@property (nonatomic, assign) UINavigationControllerOperation jz_operation;
@end
|
title: Efeito de menu hamburger
pen: LGMyLL
---
|
<ROOT>
<data>
<record>
<field name="Country or Area">Afghanistan</field>
<field name="Year">1996</field>
<field name="Unit">THOUSAND METRIC TONS</field>
<field name="Value">0.92</field>
<field name="Value Footnotes">1</field>
</reco... |
require 'sinatra'
require 'haml'
class Flickrcaptionr::App < Sinatra::Base
set :haml, format: :html5
set :views, ::File.expand_path('../../../views', __FILE__)
@@public_files = {
"bootstrap.min.css" => "text/css"
}
helpers do
include Rack::Utils
alias_method :h, :escape_html
end
g... |
/*
* TemperatureSensors.cpp
*
* Created on: 5 feb. 2014
* Author: svenvandermeij
*/
#include "TemperatureSensors.h"
const int RBALANCE=31750; //30.25 KOhm
const float RNTCNOMINAL=1010000.0f; //1.01MOhm
const float celciusToKelvin=273.15f;
const float boardVoltageWhenOnAC=5.04f;
const int MAX_SAMPLES_NTC=1... |
package de.textmode.pcldumper;
import junit.framework.TestCase;
/**
* JUnit-Tests for {@link PclDumperBuilder}.
*/
public final class PclDumperBuilderTest extends TestCase {
/**
* Tests all switches of {@link PclDumperBuilder}.
*/
public void testBuilder() {
assertEquals(
... |
package org.apache.activemq.artemis.jms.tests.message;
import javax.jms.Connection;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.apache.activemq.artemis.jms.tests.JMSTestCase;
import org.apache.activem... |
<!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_60-ea) on Tue Aug 16 17:15:33 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... |
<!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... |
/******/ (function(modules) { // webpackBootstrap
/******/ function hotDownloadUpdateChunk(chunkId) {
/******/ var filename = require("path").join(__dirname, "" + chunkId + "." + hotCurrentHash + ".hot-update.js");
/******/ require("fs").readFile(filename, "utf-8", function(err, content) {
/******/ if(err... |
@interface ChartView : NSView {
@private
NSUInteger _chartRange;
NSArray *_datapoints;
NSProgressIndicator *_spinner;
}
- (id)initWithRange:(NSUInteger)range datapoints:(NSArray *)datapoints;
@property (nonatomic, assign) NSUInteger chartRange;
@property (nonatomic, retain) NSArray *datapoints;
@end
|
package ru.satahippy.learning.design_patterns.factory_method.recruit_agency.workers;
/**
* Concrete Worker
*/
public class Programmer extends BaseWorker
{
public Programmer()
{
super();
}
@Override
public String getSpecialization()
{
return "programmer";
}
} |
package com.github.aha.sat.core.scope;
import static org.springframework.beans.factory.config.ConfigurableBeanFactory.SCOPE_PROTOTYPE;
import static org.springframework.context.annotation.ScopedProxyMode.INTERFACES;
import java.util.UUID;
import org.springframework.context.annotation.Bean;
import org.springf... |
require "rfetch/provider/generic_provider"
require "rfetch/util/command"
class CvsProvider < GenericProvider
PROVIDER_NAME = "CVS"
def getName()
return PROVIDER_NAME
end
def adjust()
#nothing
end
protected
def checkoutProject(root, url, project, revision)
cd root do
... |
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* WallpaperManager constructor.
*
* WallpaperManager objects encapsulate the functionality of the wallpaper
* manager extension.
*
* @constr... |
/*!
** @file TU3.h
** @version 01.11
** @brief
** This TimerUnit component provides a low level API for unified hardware access across
** various timer devices using the Prescaler-Counter-Compare-Capture timer structure.
*/
/*!
** @addtogroup TU3_module TU3 module documentation
** @{
*/ ... |
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
internal static partial class Interop
{
internal static partial class Http
{
[DllImport(Libraries.HttpNative, EntryPoint = "HttpNative_MultiCreate")]
public static extern SafeCurlMultiHandle MultiCreate();
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
/**
* Announcement management class for creating and getting announcements.
*
* @package NamelessMC\Misc
* @author Aberdeener
* @version 2.0.0-pr12
* @license MIT
*/
class Announcements {
private Cache $_cache;
public function __construct(Cache $cache) {
$this->_cache = $cache;
}
... |
NNBirdFactory* NNBirdFactory::m_pInstance = nullptr;
NNBirdFactory::NNBirdFactory(void)
{
srand((unsigned)time(NULL));
}
NNBirdFactory::~NNBirdFactory(void)
{
RemoveAll();
}
NNBirdFactory* NNBirdFactory::GetInstance()
{
if( m_pInstance == nullptr )
{
m_pInstance = new NNBirdFactory();
retu... |
require_relative 'metrics_helper'
class NewsArticlesDashboard < MetricsHelper
def self.spokespeople(year = nil)
select_metric('press-spokespeople', year).map do |person|
{label: person[0], value: person[1]}
end
end
def self.sectors(year = nil)
select_metric('press-sector-spread', year).map do... |
<head>
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="{{ page.title }}, {% f... |
package options
import (
"fmt"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"github.com/anchore/syft/syft"
"github.com/anchore/syft/syft/formats/table"
"github.com/anchore/syft/syft/pkg/cataloger"
"github.com/anchore/syft/syft/source"
)
type PackagesOptions struct {
Scope ... |
package ast
import (
"github.com/pingcap/tidb/model"
"github.com/pingcap/tidb/util/types"
)
var (
_ DDLNode = &AlterTableStmt{}
_ DDLNode = &CreateDatabaseStmt{}
_ DDLNode = &CreateIndexStmt{}
_ DDLNode = &CreateTableStmt{}
_ DDLNode = &DropDatabaseStmt{}
_ DDLNode = &DropIndexStmt{}
_ DDLNode = &DropTableSt... |
from setuptools import setup, find_packages
NAME = "auto_rest_swagger_bat_header_service"
VERSION = "1.0.0"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ["msrest>=0.0.1"]
setup(
name=NAME,
version=VER... |
require 'spec_helper'
describe Gitlab::GlRepository::RepoType do
set(:project) { create(:project) }
shared_examples 'a repo type' do
describe "#identifier_for_subject" do
subject { described_class.identifier_for_subject(project) }
it { is_expected.to eq(expected_identifier) }
end
describ... |
using System;
using System.Collections.Generic;
using AutoFixture.Kernel;
using TestTypeFoundation;
using Xunit;
namespace AutoFixtureUnitTest.Kernel
{
public class ExactTypeSpecificationTest
{
[Fact]
public void SutIsRequestSpecification()
{
// Arrange
var dumm... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null |
/**
* NOTE: The values of these enums are serialized to the array schema and/or
* fragment metadata. Therefore, the values below should never change,
* otherwise backwards compatibility breaks.
*/
// clang-format is disabled on the first enum so that we can manually indent it
// properly.
// clang-format off
#if... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Karamem0.Kanpuchi.Views {
public sealed partial class TweetPivotItem : PivotItem {
//... |
/* for backwards compatibility */
#warning "please include ble/gatt/GattCallbackParamTypes.h directly"
#include "ble/gatt/GattCallbackParamTypes.h"
|
package mrcode.duckprxy;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation for duck delegate method paramaeters.
*
* @author Christian Haselbach
*/
@Retention(RetentionPolicy.RUNTIME)
@... |
const should = require('should');
const sinon = require('sinon');
const utils = require('../../../../../core/server/api/v2/utils');
describe('Unit: v2/utils/index', function () {
afterEach(function () {
sinon.restore();
});
describe('isContentAPI', function () {
it('is true when apiType is... |
#ifndef _VDBEINT_H_
#define _VDBEINT_H_
/*
** The maximum number of times that a statement will try to reparse
** itself before giving up and returning SQLITE_SCHEMA.
*/
#ifndef SQLITE_MAX_SCHEMA_RETRY
# define SQLITE_MAX_SCHEMA_RETRY 50
#endif
/*
** SQL is translated into a sequence of instructions to be
** execute... |
/**
*============================================================================
* The Ohio State University Research Foundation, Emory University,
* the University of Minnesota Supercomputing Institute
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cagrid-grid-incubation... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
'''
Created on Jan 3, 2014
@author: paepcke
Used by cronRefreshActivityGrade.sh, which
prepares a temp table with information from
courseware_studentmodule (see below for detail).
This script processes the information in that
temp table, and addes the result to table
ActivityGrade. In particular, the following
happen... |
<sky-toolbar-section>
<ng-content></ng-content>
</sky-toolbar-section>
|
namespace net {
namespace richardlord {
namespace asteroids {
namespace components {
using sf::Keyboard;
typedef sf::Keyboard::Key Key;
class MotionControls : public Component
{
public:
MotionControls(const Key& left,
const Key& right,
const Key& accelerate,
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FirefoxDriver.Commands.WebDriver.URL - dalek-browser-firefox</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css... |
import React, { Component } from 'react'
import cx from 'classnames'
// @REF: https://github.com/loicmahieu/react-styled-flexboxgrid
import { Row as FlexboxgridRow } from 'react-styled-flexboxgrid'
export class Row extends Component {
static propTypes = {
...FlexboxgridRow.propTypes
}
getRootClassNames ()... |
/*
CESyntaxParser.m
CotEditor
http://coteditor.com
Created by nakamuxu on 2004-12-22.
------------------------------------------------------------------------------
© 2004-2007 nakamuxu
© 2014-2015 1024jp
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file excep... |
<?php
/**
* @package limba.generators.public.components.navigation
* @author Ludovic Reenaers
* @since 21 janv. 2009
* @link http://code.google.com/p/limba
*/
class DynamicMenuTreeGenerator extends MenuTreeGenerator{
protected function dumpCategory($category){
$strr=null;
$this->lvl+=1;
if($this->authoriz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Choosability.FixerBreaker.KnowledgeEngine
{
public class ThoughtProgress
{
public bool IsInitialThought { get; set; }
public List<Board> BoardsAdded { get; set; }
public List<Board> BoardsRe... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Testing admons</title>
<link rel="styleshe... |
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.voved.tipfree"
version = "1.0"
versionCode = "1">
<name>Tip Calculator</name>
<description>
Tip Calculator
</description>
<author href="h... |
package com.june.dto.back.common;
import java.io.Serializable;
import java.sql.Timestamp;
import com.june.common.PageDTO;
/**
*
* 操作日志 <br>
*
* @author 王俊伟 wjw.happy.love@163.com
* @blog https://www.github.com/junehappylove
* @date 2016年12月15日 上午2:37:13
*/
public class LogMethodDto extends PageDTO<LogMethod... |
//
// GTMOAuthViewControllerTouch.m
//
#import <Foundation/Foundation.h>
#import <Security/Security.h>
#if TARGET_OS_IPHONE
// If you want to shave a few bytes, and you include GTMOAuthViewTouch.xib
// in your project, then you can define this as 0 in your prefix file.
#ifndef GTL_CONSTRUCT_OAUTH_VIEWS_IN_SOURCE_C... |
def migrate():
from symposion.schedule.models import Presentation
for p in Presentation.objects.all():
if p.kind.name == "Tutorial":
p.released = False
else:
p.released = True
p.save() |
<?hh
/**
* HackEX\Config\YAML
*
* Example useage:
* $config = new HackEX\Config\YAML('config.yml');
* $config->readConfig();
* $test = $config->get('test');
*/
namespace HackEX\Config;
class YAML implements ConfigInterface {
/**
* String path to file
*/
private string $file;
/**
* Array... |
from univention.management.console.modules import Base
from univention.management.console.base import UMC_Error
from univention.management.console.log import MODULE
from univention.management.console.modules.decorators import simple_response
from univention.lib.i18n import Translation
import os
_ = Translation('univ... |
CREATE OR REPLACE FUNCTION jsonb_minus(arg1 jsonb, arg2 jsonb) RETURNS jsonb
AS $$
SELECT
COALESCE(json_object_agg(key, value), '{}')::jsonb
FROM
jsonb_each(arg1)
WHERE NOT jsonb_build_object(key, value) <@ arg2;
$$ LANGUAGE SQL;
CREATE OR REPLACE FUNCTION jsonb_minus_2_logger() RETURNS TRIGGER AS $body$
DEC... |
package view.editor.wizards;
import java.util.List;
import model.data.WizardData;
import javafx.fxml.FXML;
import javafx.scene.control.ColorPicker;
import javafx.scene.control.RadioButton;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TextField;
/**
* This is the wizard intended for the creati... |
package com.heneryh.aquanotes.ui;
import com.heneryh.aquanotes.R;
import com.heneryh.aquanotes.provider.AquaNotesDbContract;
import com.heneryh.aquanotes.provider.AquaNotesDbContract.Rooms;
import com.heneryh.aquanotes.util.AnalyticsUtils;
import com.heneryh.aquanotes.util.ParserUtils;
import android.content.Intent... |
import { buildModuleUrl } from "../../Source/Cesium.js";
import { Resource } from "../../Source/Cesium.js";
import { Uri } from "../../Source/Cesium.js";
describe("Core/buildModuleUrl", function () {
it("produces an absolute URL for a module", function () {
var url = buildModuleUrl("Workers/transferTypedArrayTes... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2008 Google Inc.
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 ... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700' rel='stylesheet' type='text/css' />
<link rel="stylesheet" type="text/css" href="/static/style.css" /... |
SLUG="objectos/debs"
JDK="oraclejdk8"
BRANCH="master"
set -e
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'."
elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then
echo "Skipping snapshot deployment: wrong JDK. Expected '$JDK... |
require 'bootstrap_forms/bootstrap_form_builder'
require 'bootstrap_forms/bootstrap_form_helper'
module BootstrapForms
end
ActionView::Base.send :include, BootstrapForms::BootstrapFormHelper
|
package http
import (
"net/http"
"go-common/app/tool/saga/conf"
"go-common/app/tool/saga/service"
"go-common/library/log"
bm "go-common/library/net/http/blademaster"
"go-common/library/net/http/blademaster/middleware/verify"
)
var (
svc *service.Service
idfSvc *verify.Verify
)
// Init init http sever ins... |
<!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 (version 1.7.0_65) on Wed Nov 12 13:03:02 UTC 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... |
layout: post
status: publish
published: true
title: xs:any and Validation
author:
display_name: Tomas Restrepo
login: tomasr
email: tomas@winterdom.com
url: http://winterdom.com/
author_login: tomasr
author_email: tomas@winterdom.com
author_url: http://winterdom.com/
wordpress_id: 866
wordpress_url: http://wint... |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.subscriptions;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.chro... |
var express = require('express'),
router = express.Router(),
bodyParser = require('body-parser'),
methodOverride = require('method-override');
var dogsController = require('../controllers/dogsController');
var usersController = require('../controllers/usersController');
router.route('/dashboard')
.get(d... |
module Smartdown
module Model
module Scenarios
Question = Struct.new(:name, :answer)
end
end
end
|
package apimanagement
// 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
//
... |
extern crate orbclient;
extern crate orbimage;
extern crate orbtk;
extern crate mime_guess;
extern crate mime;
use std::{cmp, env, fs};
use std::collections::BTreeMap;
use std::ops::DerefMut;
use std::path::{Path, PathBuf};
use std::process::Command;
use std::string::{String, ToString};
use std::vec::Vec;
use std::syn... |
<div class="container">
<div class="row">
<div ng-show = 'noResults' class='col-md-6'>
<p style="padding: 30px; font-size: x-large;"><i class="fa fa-exclamation-triangle"></i> Sorry, no events found.</p>
</div>
<div ng-show = '!noResults' class="col-md-6">
<div class="row">
<div class="col-md-6">
<... |
package com.webtrekk.SDKTest;
import android.app.Activity;
import android.content.pm.PackageManager;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
im... |
{% extends "layout_unbranded.html" %}
{% block page_title %}
GOV.UK prototype kit
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-two-thirds">
<div id="global-breadcrumb" class="breadcrumb">
<a class="link-back" href="r... |
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [1]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="k"... |
require 'rack/test'
require 'test/unit'
require 'mocha/setup'
require 'unindentable'
require File.expand_path(File.dirname(__FILE__) + '/../lib/rack/honeypot')
# To run this test, you need to have rack-test gem installed: sudo gem install rack-test
class HoneypotTest < Test::Unit::TestCase
include Rack::Test::Meth... |
'use strict';
AdminLib.widget.SelectDatatable = (function() {
/**
*
* @param {AdminLib.widget.Modal.Parameters} modalDatatableParameters
* @param {Parameters} selectParameters
* @namespace AdminLib.widget.SelectDatatable
* @extends {AdminLib.widget.Modal}
*
... |
.class public final Landroid/net/nsd/NsdManager;
.super Ljava/lang/Object;
.source "NsdManager.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/net/nsd/NsdManager$ServiceHandler;,
Landroid/net/nsd/NsdManager$ResolveListener;,
Landroid/net/nsd/NsdM... |
.grid-cell {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
height: 95px;
width: 95px;
margin: 7px;
border: solid green 3px;
padding: 15px;
text-align: center;
font-size: ... |
using Prism.UI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Prism.UI.Common.Renderers.PhotoRenderers
{
public class CommonPhotoGroupRendererSelector : DataTemplateSelecto... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
<title>Dropdown</title>
</head>
<body>
<div class="container">
<h1>Dropdown <small>Bootst... |
package producers
import (
"github.com/maxzerbini/dingo/model"
)
func ProduceBizPackage(config *model.Configuration, mpkg *model.ModelPackage, daopkg *model.DaoPackage, viewpkg *model.ViewModelPackage) (pkg *model.BizPackage) {
pkg = &model.BizPackage{PackageName: "biz", BasePackage: config.BasePackage}
pkg.Append... |