text stringlengths 3 1.05M |
|---|
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2022-08-05 Fri 15:19 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" ... |
define(['text!register/template.html'], function (template) {
'use strict';
return {
appendTo : 'body',
template : template,
modelData : {}
};
}); |
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("02.... |
namespace WebServer.ByTheCakeApplication.ViewModels.Account
{
public class RegisterUserViewModel
{
public string Username { get; set; }
public string Password { get; set; }
public string ConfirmPassword { get; set; }
}
}
|
<?php
namespace SET\Http\Controllers\Auth;
use Illuminate\Foundation\Auth\RegistersUsers;
use SET\Http\Controllers\Controller;
use SET\User;
use Validator;
class RegisterController extends Controller
{
/*
|--------------------------------------------------------------------------
| Register Controller
... |
package com.intel.analytics.bigdl.nn
import com.intel.analytics.bigdl.nn.abstractnn.TensorModule
import com.intel.analytics.bigdl.tensor.Tensor
import com.intel.analytics.bigdl.tensor.TensorNumericMath.TensorNumeric
import com.intel.analytics.bigdl.utils.Engine
import scala.concurrent.duration.Duration
import scala... |
var IS_REMINDER = "101";
var NOTE_ID = "102";
// Opeartion on box
var NO_OP = "201";
var INSERT_BOX = "202";
var DELETE_BOX = "203";
// Class names
var TagConainer_CN = ".tag_container";
var TagBox_CN = ".tag_box";
var TagBoxBottomBar_CN ... |
class ShowOnDashboard: public CommandBase {
public:
ShowOnDashboard();
virtual void Initialize();
virtual void Execute();
virtual bool IsFinished();
virtual void End();
virtual void Interrupted();
};
#endif
|
require_environment_variable BUILD_DIR "${BASH_SOURCE[0]}" ${LINENO}
DOXYGEN_VERSION=${DOXYGEN_VERSION:-1.8.7}
GIT_BZR_NG_VERSION=${GIT_BZR_NG_VERSION:-9878a3052f4d93f4332f6c92395c8f904156d3c8}
# Define directories where dependencies are installed to
DEPS_INSTALL_DIR=${DEPS_INSTALL_DIR:-${BUILD_DIR}/build/.deps}
DEPS... |
package com.xeiam.xchange.btce.v3.service.polling;
import java.io.IOException;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import si.mazi.rescu.ParamsDigest;
import si.mazi.res... |
<p>È avvenuto un nuovo pagamento da parte di un utente su !!sitename!!.</p>
<p><strong>L'opzione di pagamento scelta è stata l'assegno.</strong></p>
<p>Sottostante puoi trovare le informazioni della sottoscrizione e la ricevuta della fattura per la sottoscrizione.</p>
<p>Account: !!display_name!! (!!user_email!!)</p... |
package com.paulyung.pyphoto.fragment;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.Recycl... |
/// @todo Documentation Modules/DataIO/WriteG3D.cc
#include <Modules/DataIO/WriteG3D.h>
#include <Core/Datatypes/Legacy/Field/Field.h>
#include <Core/ImportExport/Field/FieldIEPlugin.h>
#include <Core/Algorithms/Base/AlgorithmVariableNames.h>
#include <Core/Datatypes/ColorMap.h>
#include <Core/Logging/Log.h>
#in... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
'use strict';
import styles from './styles/main.scss';
import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter, Switch, Route, Link } from 'react-router-dom';
import Home from './components/home/Home';
const App = () => (
<HashRouter hashType="noslash">
<div>
<Switch>
<Route exact ... |
use backit::json;
use db::models::RepositoryTagAssoc;
use diesel::result::Error as DieselError;
use std::error::Error;
use uuid::Uuid;
use diesel::pg::PgConnection;
pub fn create(db: &mut PgConnection, mut rta: RepositoryTagAssoc)
-> Result<RepositoryTagAssoc, json::Error> {
use diesel::{self, Execut... |
<?php
/*
This file displays a list of wikis that begin with the character "1".
It also shows some basic statistics such as number of conditions and files.
*/
ini_set('max_execution_time', 2000);
include 'dbConect.php';
$query = 'SELECT id_wiki,nombre_wiki, url, paginas_contenido ,media_ediciones, ficher... |
#ifndef DiGLES2ShaderParam_h__
#define DiGLES2ShaderParam_h__
#include "ES2Prerequisites.h"
#include "ShaderParam.h"
#include "ES2Shader.h"
namespace Demi
{
class DI_GLES2_API DiGLES2ShaderParam : public DiShaderParameter
{
public:
DiGLES2ShaderParam(DiMaterial& mat);
~DiGLES2ShaderPar... |
include makefile.inc
.PHONY: all clean test
ifdef ESOCKET
es="ESOCKET is defined"
else
es="ESOCKET is not defined"
endif
all:
@cd src; make
@pwd
@cd test; make
@pwd
@echo "main make. $(ESOCKET)"
@echo $(es)
clean:
@cd src; make clean
@cd test; make clean
@echo "main clean"
test:
@echo $(PWD)
|
<resources>
<color name="black_overlay">#66000000</color>
<color name="background_blue">#2C5AA8</color>
<color name="background_blue_light">#688FCA</color>
</resources>
|
angular.module('dCare.Authentication', ['ionic',
'dCare.Services.UserStore', 'dCare.ApiInvoker'])
.factory("AuthenticationService", function ($q, UserStore, ApiInvokerService, $ionicLoading, $mdDialog) {
var login = function (userID,password) {
//NR: TODO: Call... |
"""The ``celery upgrade`` command, used to upgrade from previous versions."""
from __future__ import absolute_import, print_function, unicode_literals
import codecs
from celery.app import defaults
from celery.bin.base import Command
from celery.utils.functional import pass1
class upgrade(Command):
"""Perform up... |
import os
import sys
from modules.features.VisualVocabulary import VisualVocabulary
def usage():
print "This script will generate a visual vocabulary."
def main(argv):
# Define the default values for the options
pathHome = os.path.expanduser('~')
pathWork = os.path.join( pathHome, 'Desktop/Proye... |
<?php
echo "Starting MicroAPI tests.";
$path = __DIR__ . '/../vendor/autoload.php';
$path = realpath($path);
require_once($path);
require_once('MicroAPITestCase.php'); |
module CombiSearch
def self.create_table
ActiveRecord::Base.connection.create_table :combi_search_entries do |t|
t.text :content
t.text :scope
t.belongs_to :searchable, :polymorphic => true
t.timestamps null: true
end
end
def self.drop_table
ActiveRecord::Base.connection.drop_... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Protocols.TestTools.Messages.Runtime
{
/// <summary>
/// An auxiliary c... |
using System.Reflection;
namespace Smellyriver.TankInspector.Pro.InteractiveConsole.Scripting.IronPython
{
/// <summary>
/// Extends the IScriptingContext with support for interoperability specific to IronPython.
/// </summary>
public interface IIronPythonScriptingContext : IScriptingContext
{
... |
//#define TEST
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace BATTERY_INDICATOR
{
public partial class Form1 : Form
{
#if TEST
string TestStr = " 6 ";
#endif
Timer timer... |
layout: default
---
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ site.title }} – {{ site.author }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.description }}">
<meta name="author"... |
package ru.job4j.chess;
import org.junit.Test;
//import org.junit.Before;
//import org.junit.After;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* class QueenTest.
*
* @author Evgeniy Ulanov (komrad1812@yandex.ru).
* @version $Id$.
* @since 0.1.
*/
public class QueenTes... |
namespace rxcpp {
namespace operators {
namespace detail {
template<class T, class ConnectableObservable>
struct ref_count : public operator_base<T>
{
typedef typename std::decay<ConnectableObservable>::type source_type;
struct ref_count_state : public std::enable_shared_from_this<ref_count_state>
{
... |
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pymatgen.util.typing module — pymatgen 2022.4.26 docume... |
require File.dirname(__FILE__) + '/authorization.rb'
module Authorization
module AuthorizationInController
def self.included(base) # :nodoc:
base.extend(ClassMethods)
base.hide_action :authorization_engine, :permitted_to?,
:permitted_to!
end
DEFAULT_DENY = false
# If ... |
<div class="container">
<div align="center">
<h4 align="right"><a href="<?php echo site_url('upload');?>">贡献句型</a></h4>
</div>
<form name="form1" action="<?php echo site_url('query/query_template');?>" method="get">
<div class="input-group" id="btn_center">
<input type="text" na... |
package org.commonjava.indy.core.data;
import static java.util.Arrays.asList;
import static org.commonjava.indy.model.core.StoreType.hosted;
import static org.commonjava.indy.model.core.StoreType.remote;
import static org.commonjava.indy.pkg.PackageTypeConstants.PKG_TYPE_MAVEN;
import static org.commonjava.indy.pkg.m... |
package com.google.template.soy.error;
import static java.util.Comparator.comparing;
import com.google.auto.value.AutoValue;
import com.google.template.soy.base.SourceLocation;
import java.util.Optional;
/** A structured error object for reporting */
@AutoValue
public abstract class SoyError implements Comparable<... |
package ee.ria.xroad.common.conf.globalconfextension;
import ee.ria.xroad.common.ErrorCodes;
import ee.ria.xroad.common.util.SchemaValidator;
import org.apache.commons.io.FileUtils;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import java.io... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Runtime.CompilerServices;
namespace MusicBot.App
{
public class Config
{
private static Config _instance;
public static Config Instance => _instance ?? (_instance = new Config());
... |
module HotelsCombined
describe CitySearch do
let(:parameters) {
{ :city_id => 1948,
:checkin => Chronic.parse("today").strftime("%m/%d/%Y"),
:checkout => Chronic.parse("tomorrow").strftime("%m/%d/%Y"),
:guests => 2,
:rooms => 1,
:user_id => 504,
:user_ip_addre... |
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace drawMe.WebApi.Interfaces
{
public interface IEntityQueryableProvider
{
IQueryable<T> GetQueryable<T>(DbSet<T> dbSet) where T : class, IEntity;
}
} |
<!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>statsmodels.regression.linear_model.WLS.predict &md... |
package com.btcashier.service;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNot.not;
import static org.hamcrest.core.IsNull.notNullValue;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import com.btcashier.utils.AbstractBtcTest;
public class BtcServiceTest exte... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Exchangecoin</source>
<translation>बिटकोइन के संबंध में</translat... |
// Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+
// Copyright (c) 2012 by Manuel Masia - www.pixedelic.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
;(function($){$.fn.cam... |
namespace TriviaMag.Web.Account
{
using System;
using System.Web;
using System.Web.UI;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using TriviaMag.Models;
public partial class ForgotPassword : Page
{
protected void Page_Load(object sender, EventArgs... |
Springboot microservice template
|
#include BOSS_WEBRTC_U_logging__rtc_event_log__rtc_event_log_h //original-code:"logging/rtc_event_log/rtc_event_log.h"
#include BOSS_WEBRTC_U_modules__video_coding__codecs__vp8__include__vp8_h //original-code:"modules/video_coding/codecs/vp8/include/vp8.h"
#include "test/call_test.h"
#include "test/encoder_settings.h... |
@interface SMBFileServer : SMBDevice
- (nullable instancetype)initWithHost:(nonnull NSString *)ipAddressOrHostname netbiosName:(nonnull NSString *)name group:(nullable NSString *)group;
- (void)disconnect:(nullable void (^)(void))completion;
- (void)connectAsUser:(nullable NSString *)username password:(nullable NSStr... |
/*
* VariableDependencyFinder.cpp
*
* Created on: 12-Aug-2013
* Author: anirudhj
*/
#include "VariableDependencyFinder.h"
#include "rose.h"
#include "LoopDependencyResolver.h"
#include "DefUseAnalysis.h"
#include <boost/lexical_cast.hpp>
#include <set>
using namespace std;
#define TYPE_LEAF 0
#define TYP... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package billy
import (
"errors"
"io"
"os"
"time"
)
var (
ErrReadOnly = errors.New("read-only filesystem")
ErrNotSupported = errors.New("feature not supported")
ErrCrossedBoundary = errors.New("chroot boundary crossed")
)
// Filesystem abstract the operations in a storage-agnostic interface.
// Each ... |
require 'whois/record/parser/base'
require 'whois/record/scanners/base_shared3'
module Whois
class Record
class Parser
# Parser for the whois.rrpproxy.net server.
#
# @see Whois::Record::Parser::Example
# The Example parser for the list of all available methods.
#
class Wh... |
<?php
namespace Chalk\Core\Behaviour\Trackable;
use Chalk\Chalk;
use Chalk\Core\Content;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\QueryBuilder;
use Doctrine\ORM\Query;
use DateTime;
trait Repository
{
protected function _trackable_modify(QueryBuilder $query, array $params = array(), $extra = false, $... |
package com.actelion.research.chem.forcefield.mmff.table;
import com.actelion.research.chem.forcefield.mmff.Csv;
import com.actelion.research.chem.forcefield.mmff.MMFFMolecule;
import com.actelion.research.chem.forcefield.mmff.PeriodicTable;
import com.actelion.research.chem.forcefield.mmff.Tables;
/**
* Bond tabl... |
package org.protempa;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.arp.javautil.arrays.Arrays;
import org.junit.Assert;
import org.junit.Test;
import org.protempa.backend.ksb.SimpleKnowledgeSourceBackend;
/**
*
* @author Andrew Post
*/
public class KnowledgeSourceImplWrapperTe... |
package filter
/**
* Binding object which returns the resources bound to filterpolicy_binding.
*/
type Filterpolicybinding struct {
/**
* Name of the filter policy to be displayed. If a name is not provided, information about all the filter policies is shown.<br/>Minimum value =
*/
Name string `json:"name,omi... |
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright © 2013-2015 The Nxt Core Developers. ~
~ ~
~ See the AUTHORS.txt, DEVELOPER-AGREEMENT.txt and LICENSE.txt files at ~
... |
<section data-ng-controller="HomeController">
<br>
<div class="container">
<div class="col-md-6 col-md-offset-3 show-grid">
<div style="height: 305px">
<carousel interval="myInterval" no-wrap="noWrapSlides">
<slide ng-repeat="slide in slides" active="slide.active">
<img ng-src="{{slid... |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CodeKatas.FizzBuzzKata
{
[TestClass]
public class Kata20180322
{
[TestMethod, TestCategory("Unit")]
public void ShouldReturnIntAsString()
{
//arrange
//act
stri... |
define(function(require, exports, module) {
'use strict';
let config = require('module-config').default(module.id);
const routing = require('routing');
return fetch(config.routesResource)
.then(function(response) {
return response.json();
})
.then(function(routes) {... |
jQuery( function($) {
var Progress, Importer, progress, standard, expanded;
Progress = function() {
this.$el = $( this.markup );
this.$message = this.$el.find('.progress-content-title');
this.$bar = this.$el.find('.progress-content-bar-inner');
}
$.extend( Progress.prototype, {
markup: '<div... |
/**
* A root panel can hold components. The root panel must be initialized with
* a DOM element as container.
* @param {HTMLElement} container
* @param {Object} [options] Available parameters: see RootPanel.setOptions.
* @constructor RootPanel
* @extends Panel
*/
function RootPanel(container, options) {
thi... |
"use strict";
const render_alert_word_settings_item = require("../templates/settings/alert_word_settings_item.hbs");
exports.render_alert_words_ui = function () {
const words = alert_words.get_word_list();
words.sort();
const word_list = $("#alert_words_list");
word_list.find(".alert-word-item").remo... |
<?php
namespace Monolog\Handler;
use Monolog\TestCase;
use Monolog\Logger;
use Monolog\Formatter\LineFormatter;
use Monolog\Processor\WebProcessor;
class AbstractHandlerTest extends TestCase {
/**
* @covers Monolog\Handler\AbstractHandler::__construct
* @covers Monolog\Handler\AbstractHandler::getLe... |
<?php
return array (
'<strong>Confirm</strong> post deleting' => '<strong>Bevestig</strong> bericht verwijderen',
'Cancel' => 'Annuleren',
'Delete' => 'Verwijder',
'Do you really want to delete this post? All likes and comments will be lost!' => 'Ben je zeker dat je dit bericht wilt verwijderen? Alle likes en r... |
namespace pw::analog {
// Base interface for getting ADC samples from one ADC channel in a thread
// safe manner.
//
// The ADC backend interface is up to the user to define and implement for now.
// This gives the flexibility for the ADC driver implementation.
//
// AnalogInput controls a specific input/channel where... |
/**
* @fileoverview Provides a 'paste' event detector that works consistently
* across different browsers.
*
* IE5, IE6, IE7, Safari3.0 and FF3.0 all fire 'paste' events on textareas.
* FF2 doesn't. This class uses 'paste' events when they are available
* and uses heuristics to detect the 'paste' event when the... |
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
## [Unreleased]
### Changed
- Add a new arity to `make-widget-async` to provide a different widget shape.
## [0.1.1] - 2018-12-09
### Changed
- Documentatio... |
package itsyouonline
import (
"gopkg.in/validator.v2"
)
type UsersUsernamePhonenumbersLabelActivatePutReqBody struct {
Smscode string `json:"smscode" validate:"nonzero"`
Validationkey string `json:"validationkey" validate:"nonzero"`
}
func (s UsersUsernamePhonenumbersLabelActivatePutReqBody) Validate() erro... |
import React from 'react';
import { render } from 'react-dom';
import './app.global.scss';
import Header from './components/Header';
import Contacts from './components/Contacts';
import Home from './components/Home';
import utils from './utils/utils';
import jquery from 'jquery';
import './assets/js/jquery.nicescroll.m... |
package cola.machine.game.myblocks.world.block;
import cola.machine.game.myblocks.model.IBlock;
public abstract class BlockManager {
public abstract IBlock getBlock(String uri);
public abstract IBlock getBlock(int oldValue);
}
|
'use strict';
function poll(arg) {
let promise = new Promise((resolve, reject) => {
let intervalObject;
let count = 0;
function makePoll() {
++count;
console.log('count is', count, ',arg is', arg);
if (count > 3) {
clearInterval(intervalObj... |
<h1 align="center">
<br>
<img width="400" src="https://cdn.rawgit.com/sindresorhus/awesome/master/media/logo.svg" alt="awesome">
<br>
<br>
<br>
</h1>
> A curated list of awesome lists
- [What is an awesome list?](awesome.md)
- [Contribution guide](contributing.md)
- [Creating a list](create-list.md)<br><sup>Plea... |
package com.microsoft.bingads.v10.api.test.entities.negative_keywords.campaign_negative_keyword.read;
import com.microsoft.bingads.v10.api.test.entities.negative_keywords.campaign_negative_keyword.BulkCampaignNegativeKeywordTest;
import com.microsoft.bingads.v10.bulk.entities.BulkCampaignNegativeKeyword;
import com.mi... |
#include <debug.h>
#include <platform/iomap.h>
#include <reg.h>
#include <target.h>
#include <platform.h>
#include <uart_dm.h>
#include <mmc.h>
#include <dev/keys.h>
#include <spmi_v2.h>
#include <pm8x41.h>
#include <board.h>
#include <baseband.h>
#include <hsusb.h>
#include <scm.h>
#include <platform/gpio.h>
#includ... |
<!DOCTYPE html>
<html itemscope lang="en-us">
<head><meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g... |
<?php
namespace tests;
/**
* This class tests the HabitRPGAPI class.
*
* To run:
* phpunit --bootstrap tests/bootstrap.php tests/HabitRPGAPITest
*
* @author Bradley Wogsland <bradley@wogsland.org>
*/
class HabitRPGAPITest
extends \PHPUnit_Framework_TestCase
{
/**
* Tests the class constructor.
*/
pu... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
module('Integration | Component | visualizer-program-year-competencies', function(hooks) {
setupRenderingTest(hooks);
test('it renders... |
/*******************************************************************************************************
* JobObjectWrapper
*
* resources.h
*
* http://https://github.com/alonf/JobObjectWrapper
*
* This program is licensed under the MIT License.
*
* Alon Fliess
***********************************************... |
import unittest, os, sys, inspect, shutil, ConfigParser
# Hack to allow us to import ../scripts/merge_datasets.py
# Take from http://stackoverflow.com/a/6098238/732596
FILE_PATH = os.path.dirname(inspect.getfile(inspect.currentframe()))
SCRIPTS_SUBFOLDER = os.path.realpath(os.path.join(FILE_PATH, '..', 'scripts'))
if ... |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
using hms.entappsettings.webapi.Areas.HelpPage.ModelDescriptions;
namespace hms.entappsettings.webapi.Areas.HelpPage
{
/// <summary>
... |
module NivoHelper
def nivo_slider(hash = {}, &block)
options = { :theme => :default, :id => "" }
options.merge!(hash)
klass = "slider-wrapper theme-#{options[:theme]}"
id = options[:id]
content_tag(:div, :class => klass) do
content_tag(:div, :id => id, :class => "#{options[:class]}nivoSlide... |
// CLASS HEADER
#include <dali-toolkit/internal/text/text-geometry.h>
// EXTERNAL INCLUDES
#include <dali/integration-api/debug.h>
// INTERNAL INCLUDES
#include <dali-toolkit/internal/text/cursor-helper-functions.h>
#include <dali-toolkit/internal/text/line-run.h>
#include <dali-toolkit/internal/text/visual-model-i... |
package org.apache.camel.component.vertx.http;
import org.apache.camel.RoutesBuilder;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.util.StopWatch;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Disabled("Man... |
'use strict';
// MODULES //
var tape = require( 'tape' );
var naryFunction = require( './../lib' );
// FUNCTIONS //
function sum() {
var s;
var i;
s = 0;
for ( i = 0; i < arguments.length; i++ ) {
s += arguments[ i ];
}
return s;
}
// TESTS //
tape( 'main export is a function', function test( t ) {
... |
package com.dmgburg.alfa.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface AlfaCombinationAlgorithmRef extends PsiElement {
@NotNull
AlfaRef getRef();
}
|
package com.cloudhopper.commons.util;
// third party imports
import org.junit.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
// my imports
//import net.cloudhopper.commons.util.ByteBuffer;
/**
*
* @author joelauer (twitter: @jjlauer or <a href="http://twitter.com/jjlauer" target=window>http://twitte... |
<!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... |
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<!--module name="NewlineAtEndOfFile"/-->
<module name="FileLength"/>
<module name="FileTabCharacter"/>
<module name="... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Avalonia.Metadata;
[assembly: AssemblyTitle("Avalonia.Visuals")]
[assembly: InternalsVisibleTo("Avalonia.Visuals.UnitTests")]
[assembly: XmlnsDefinition("https://github.com/avaloniaui", "Avalonia.Animation")]
[assembly: XmlnsDefinition("https://gith... |
package br.com.thiaguten.archive;
import java.io.IOException;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.Map;
import static java.nio.file.Files.probeContentType;
/**
* Archive Supported Types.
*
* @author Thiago Gutenberg Carvalho da Costa
*/
public enum ArchiveType {
TAR {
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
// Copyright 2020 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace GimmeATexture
{
public class Application
{
// This is the main entry point of the application.
static void Main (string[] args)
{
// if you want to use a different Application Delegate class from "A... |
The hero editor tutorial from [angular.io](https://angular.io).
|
load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
(function() {
"use strict";
var coll = db.reverseArray;
coll.drop();
// We need a document to flow through the pipeline, even though we don't care what fields it
// has.
coll.insert({});
assertErrorCode(coll, [{$projec... |
/*
* angular-ui-bootstrap
* http://angular-ui.github.io/bootstrap/
* Version: 1.1.2 - 2016-02-01
* License: MIT
*/angular.module("ui.bootstrap", ["ui.bootstrap.tpls","ui.bootstrap.pagination","ui.bootstrap.paging","ui.bootstrap.typeahead","ui.bootstrap.debounce","ui.bootstrap.position"]);
angular.module("ui.boots... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>SQLite Query Language: Aggregate Functions</title>
<style type="text/css">
body {
margin: auto;
font-family: "Verdana" "sans-serif";
padding: 8px 1%;
}
a { color: #45735f }
a:visited { color: #734... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hedges: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
package main
import (
"fmt"
"log"
)
type empty struct{}
// Note: struct{} instead of int
var prereqs = map[string]map[string]empty{
"algorithms": {"data structures": empty{}},
"calculus": {"linear algebra": empty{}},
// "linear algebra": {"calculus": empty{}},
"compilers": {
"data structures": empty... |