answer
stringlengths
15
1.25M
sap.ui.define([ "sap/ui/base/Object", "sap/ui/model/Sorter" ], function (BaseObject, Sorter) { "use strict"; return BaseObject.extend("md.flp.unit.line.line.unit.model.GroupSortState", { /** * Creates sorters and groupers for the master list. * Since grouping also m...
import MutationObserver from "liquid-fire/mutation-observer"; import Ember from "ember"; export default Ember.Component.extend({ didInsertElement: function() { var self = this; // This prevents margin collapse this.$().css({ border: '1px solid transparent', margin: '-1px' }); this.didM...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include "header/client.h" #include "header/writeClientList.h" #include "header/server.h" char* buildMessage(Client* head, pid_t pid); int countClients(Client* head); /* Scorre la lista dei client individuando tutti i pid ...
from core.himesis import Himesis, <API key> import uuid class <API key>(<API key>): def __init__(self): """ Creates the himesis graph representing the AToM3 model <API key> """ # Flag this instance as compiled now self.is_compiled = True super(<API key>, self).__init_...
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace VkApi.Wrapper.Objects { public class BaseLinkRating { <summary> Count of reviews </summary> [JsonProperty("reviews_count")] public int ReviewsCount { get; set; } <summary> Cou...
Hello, <strong>Aaron!</strong>
// Mouse Class // export default class Mouse { constructor(element) { this.element = element || window; this.x = ~~(document.documentElement.clientWidth, window.innerWidth || 0) / 2; this.y = ~~(document.documentElement.clientHeight, window.innerHeight || 0) / 2; this.pointer = this.pointer.bind(this)...
Package.describe({ summary: "Lets users upload files to Amazon S3", version: '0.1.0', name: "postvideo" }); Package.onUse(function (api) { api.use(['templating', 'telescope-base', '<API key>'], ['client','server']); api.add_files([ 'lib/client/templates/post_video.html', 'lib/client/post_video.js' ...
/* eslint-disable */ var HTMLImports = {}; /** * @param {function()=} callback */ HTMLImports.whenReady = function(callback) {}; /** * Returns the import document containing the element. * @param {!Node} element * @return {?HTMLLinkElement|?Document|undefined} */ HTMLImports.importForElement = function(element) {...
.calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; font-size: 12px; } .calendar table { border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-tit...
using System; using System.Collections.Generic; using <API key>; using MagicLockScreen_UI.ViewModels; using NoteOne_Core.UI.Common; using Windows.UI.Xaml.Controls; using ConstKeys = NoteOne_Utility.ConstKeys; namespace MagicLockScreen_UI { <summary> A page that displays a grouped collection of items. </summ...
package io.letsplay.saf.server.metrics; import io.letsplay.saf.server.ListType; import java.util.Date; import java.util.List; /** * State of the game at a certain point in time. */ public class GameProgress { public Date sessionStarted; public Date gameStarted; public Date levelStarted; public Date wa...
#include "esther/valueobject.h" #include "esther/esther.h" #include "esther/string.h" Object *<API key>(Esther *es, char value) { return ValueObject_new_var(es, Variant_char(value)); } Object *ValueObject_new_int(Esther *es, int64_t value) { return ValueObject_new_var(es, Variant_int(value)); } Object *<API key...
<?php return array ( 'id' => 'inew_v3e_ver1', 'fallback' => '<API key>', 'capabilities' => array ( 'mobile_browser' => 'Android Webkit', 'model_name' => 'V3-E', 'brand_name' => 'iNew', '<API key>' => '111', '<API key>' => '63', 'resolution_width' => '720', 'resolution_height' => '128...
export interface SchemaExtension { description: string; id: string; owner: string; properties: <API key>[]; status: string; targetTypes: string[]; } export interface <API key> { name: string; type: string; }
<md-card style="width: 50%;margin-left: 25%;margin-top: 10%;background-color: white"> <md-input-container> <label>Contraseña Actual</label> <input type="password" ng-init="currentPass = ''" ng-model="currentPass"> </md-input-container> <md-input-container> <label>Nueva Contraseña</la...
#pragma once #include "elloop/inc.h" NS_BEGIN(elloop); struct Size { Size(float width = 0, float height = 0) : _width(width), _height(height) {} float _width; float _height; }; NS_END(elloop);
using CrawlerNet.Models; using CrawlerNet.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CrawlerNet.Utilities { public static class ConfigManager { public static void SetConfig(Config config) { ...
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { makeStyles } from '@material-ui/core/styles'; import ListItem from '@material-ui/core/ListItem'; import Button from '@material-ui/core/Button'; import Collapse from '@material-ui/core/Collapse'; import Link from 'docs/src/m...
package org.indiarose.backend.activity; import org.indiarose.R; import org.indiarose.lib.AppData; import org.indiarose.lib.view.IndiagramView; import afzkl.development.colorpickerview.dialog.ColorPickerDialog; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import and...
<?php namespace OroCRM\Bundle\MagentoBundle\ImportExport\Strategy\StrategyHelper; use Doctrine\ORM\UnitOfWork; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Mapping\ClassMetadataInfo; use Symfony\Component\Security\Core\Util\ClassUtils; use Oro\Bundle\ImportExportBundle\Strategy\Import\<API key>; class DoctrineHe...
class <API key> < ActiveRecord::Migration[5.0] def change add_reference :hardwares, :equipment_type, foreign_key: true end end
\section{File List} Here is a list of all files with brief descriptions\+:\begin{DoxyCompactList} \item\contentsline{section}{/home/superuser/\+Snowball/snowball/\hyperlink{main_8cpp}{main.\+cpp} }{\pageref{main_8cpp}}{} \item\contentsline{section}{/home/superuser/\+Snowball/snowball/\hyperlink{vict_8cpp}{vict.\+cpp} }...
const bodyParser = require('body-parser').json(); const express = require('express'); const Job = require('../models/job.model'); const Router = express.Router; const jobRouter = Router(); jobRouter .get('/', (req, res, next) => { Job.find() .then(jobs => res.send(jobs)) .catch(next)...
using System; namespace Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema { <summary> Joints and matrices defining a skin. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/skin.schema.json </summary> [Serializable] public class GltfSkin : <API key> { <summ...
# Jekyll variables layout: subject permalink: /subjects/<API key> # Specific subject values uuid: <API key> broader: - prefLabel: Samfundforhold uuid: <API key> - prefLabel: Uddannelse og forskning uuid: <API key> - prefLabel: Forskning uuid: <API key> conceptType: subterm created: '2016-11-10T07:56:37.231184' ma...
<?php namespace Frontend\<API key>\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Frontend\<API key>\Entity\Tipocorresponsalia; use Frontend\<API key>\Form\<API key>; /** * Tipocorresponsalia controller. * */ class <API key> extends Controller ...
FROM silvioq/ruby-1.8.7 # Install dependencies RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs RUN gem install bundler -v 1.3.5 # Set an environment variable where the Rails app is installed to inside of Docker image: ENV RAILS_ROOT /var/www/app RUN mkdir -p $RAILS_ROOT # Set working direc...
import React from 'react' import { renderHook, act } from '@testing-library/react-hooks' import { createForm } from '@formily/core' import { LifeCycleTypes, Form, useFormSpy, Field, createFormActions } from '..' const InputField = props => ( <Field {...props}> {({ state, mutators }) => ( <input value={state...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; GT-I9060L Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.89 Mobile Safari/537.36 OPR/27.0.1698.89115</title> <link rel="stylesheet" href="https://cdnjs.cloudfl...
var mongoose = require('mongoose'); var ObjectId = mongoose.Schema.Types.ObjectId; var ComitySchema = new mongoose.Schema({ name: { type: String, trim: true }, description: String, members: [{ type: ObjectId, ref: 'User' }], creator: { type: ObjectId, ...
layout: post published: true title: First Meeting mathjax: false featured: true comments: true headline: First meeting categories: - membership tags: membership After using [doodle](http: * In attendance: Nate Burch, Ta-Tao Chuang, James Hallett, and Vivek Patil * What happened: People introduced themselves - what th...
#ifndef <API key> #define <API key> #include "cucumberfwd.hpp" namespace CucumberCPP { /** Communicates using the wire protocol but reading from std::cin and writing to std::cout. This can be turned into a poor man's server using netcat -l -p 1337 -e ./a.out */ class <API key> { public: static int main(...
import * as common from './common'; import * as nodeApi from '<API key>'; import * as ReleaseApi from '<API key>/ReleaseApi'; import * as ReleaseInterfaces from '<API key>/interfaces/ReleaseInterfaces'; export async function run() { const projectId: string = common.getProject(); const webApi: nodeApi.WebApi = a...
import Ember from 'ember'; export default Ember.Controller.extend({ multiLineText: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. D...
'use strict'; angular.module('mean.students').factory('Students', [ function() { return { name: 'students' }; } ]);
# docrules pattern matching assertion framework for documents try it with [tracery](https://npm.im/tracery)! (work in progress, see `test/example.js` or ask Jason. Not yet ready for public consumption, ymmv) ## usage docrules defines sets of `rules` grouped by `selectors`. Rule sets can then be run on a document to gen...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>simple-io: 19 s </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="sty...
// **NOTE** This file was generated by a tool and any changes will be overwritten. // Template Source: Templates\CSharp\Model\MethodRequestBody.cs.tt namespace Microsoft.Graph { using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization...
![Mou icon](http: **AndroidStudio 0.6+** **Gradle 1.11+** **RongIMSDK** **Android Support V4** **Google GSON 2.2.+** **SDK(Android StudioEclipse6_FriendList)** **<http://download.networkbench.com/newlens/android_agent/eclipse>** *APP_Keyauth* *<https://github.com/rongcloud/auth-service-nodejs>* conf.jsonappKey *DemoCon...
if RUBY_VERSION < "1.9" && RUBY_PLATFORM != "java" timeout_lib = nil ["SystemTimer", "system_timer"].each do |lib| begin unless timeout_lib gem lib require "system_timer" timeout_lib = SystemTimer end rescue Exception => e end end if !timeout_lib puts <<-EOMS...
#ifndef CONSOLEGRAPHIC_H #define CONSOLEGRAPHIC_H #include "tetrisgameevent.h" #include "tetrisboard.h" #include <console/console.h> class ConsoleGraphic { public: ConsoleGraphic(); ~ConsoleGraphic(); void restart(Player& player, int x, int y, console::Console* console); int getWidth() const; int ge...
Test to check degurechaff parser with toml-test data import { parse } from '../src/degurechaff' import * as ast from '../src/lib/chevAst' import * as utils from '../src/lib/utils' import * as fs from 'fs' import * as path from 'path' convert AST root node to JSON compatible object structure in folder data function toJs...
angular.module( 'sailng.post', [ ]) .config(function config( $stateProvider ) { $stateProvider.state( 'post', { url: '/post', views: { "main": { controller: 'PostController', templateUrl: 'post/index.tpl.html' } }, resolve: { ...
using System.Numerics; namespace Myre.UI { <summary> A static class containing extension methods. </summary> static class Extensions { #region Vector2 <summary> Converts this Vector2 into an Int2D. </summary> <param name="v">The v.</param> <returns></r...
# Ghoul - Prettier Git For Everyone :) Ghoul is a simple yet good looking interface for your git repositories written in sinatra. It is currently only for demonstration purposes and use on your secure local machine as it does not enforce any authentication as of yet.InstallationGhoul can be run either using the ghoul g...
<?php namespace Mondido\Mondido\Test\Unit\Observer; use Mondido\Mondido\Test\Unit\<API key> as ObjectManager; class <API key> extends \PHPUnit\Framework\TestCase { protected $object; /** * @var \Magento\Framework\TestFramework\Unit\Helper\ObjectManager */ protected $objectManager; /** * S...
/* globals $ */ function solve() { return function (selector) { var data = { animals: [{ name: 'Lion', url: 'https://susanmcmovies.files.wordpress.com/2014/12/<API key>.jpg' }, { name: 'Turtle', url: 'http: }...
def yield_function(n): for i in range(n): print "pre", i yield i print "post", i for x in yield_function(10): print x print
require "watir" require 'fileutils' require 'json' require 'webrick' require 'socket' require "marta/version" require "marta/object" require 'marta/public_methods' require 'marta/options_and_paths' require 'marta/read_write' require 'marta/user_values_prework' require 'marta/dialogs' require 'marta/classes_creation' re...
<?php namespace Yusuke\HimatanBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Component\Validator\Constraints as Assert; /** * UserArea * @ORM\Entity(repositoryClass="Yusuke\HimatanBundle\Entity\Repository\UserAreaRepository") * @ORM\Table(name="user_area") */ clas...
import { Component, OnInit, Input, OnDestroy, ViewChild, Inject, AfterViewInit, ChangeDetectorRef, HostListener, Output, EventEmitter } from '@angular/core'; import { Router, ActivatedRoute, ParamMap, RouterLink } from '@angular/router'; import { TranslateService, TranslatePipe } from '@ngx-translate/core'; import ...
import { connect } from 'react-redux' import { increment, doubleAsync } from '../modules/code' /* This is a container component. Notice it does not contain any JSX, nor does it import React. This component is **only** responsible for wiring in the actions and state necessary to render a presentational comp...
/* eslint-disable import/no-commonjs, no-var */ // This file only exist to allow the import from '<API key>/server' // We can't have this import working easily with the current project architecture. // The main reason is that we require to have the files transpiled at development // time to allow the import accross Wor...
#ifndef <API key> #define <API key> #include "Message.h" namespace FIX44 { class <API key> : public Message { public: <API key>() : Message(MsgType()) {} <API key>(const FIX::Message& m) : Message(m) {} <API key>(const Message& m) : Message(m) {} <API key>(const <API key>& m) : Message(m) {} s...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $active_group = 'default'; $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', 'username' => 'root', 'password' => '', 'database' => 'easy_cooking', 'dbdriver' => 'mysqli', 'dbprefix' ...
// @flow import * as React from 'react' import {StyleSheet} from 'react-native' import type {UnprocessedBusLine} from './types' import MapView from '@mapbox/<API key>' import moment from 'moment-timezone' import {NoticeView} from '../../components/notice' import type {<API key>} from '../../types' import {getScheduleFo...
package com.slack.api.scim.request; import com.slack.api.scim.SCIMApiRequest; import lombok.Builder; import lombok.Data; @Data @Builder public class UsersSearchRequest implements SCIMApiRequest { private String token; // https://api.slack.com/scim#filter private String filter; private Integer count; ...
#ifndef <API key> #define <API key> #include "<API key>.h" #include "btSoftBody.h" typedef <API key><btSoftBody*> btSoftBodyArray; class <API key> : public <API key> { btSoftBodyArray m_softBodies; int m_drawFlags; bool m_drawNodeTree; bool m_drawFaceTree; ...
// NSAttributedString+DVSTracking.h // <API key> #import <Foundation/Foundation.h> @interface NSAttributedString (DVSTracking) + (instancetype) <API key>:(NSString *)string tracking:(CGFloat)tracking font:(UIFont *)font; @end
<?php namespace App\Http\Controllers\Auth; use App\User; use Validator; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\<API key>; class AuthController extends Controller { use <API key>, ThrottlesLogins; /** * Where to redirect users afte...
# -*- coding: utf-8 -*- # import sqlite3 as sqlite import sys import uuid from pysqlcipher3 import dbapi2 as sqlite def main(): print("***************** Welcome to OSS DataMaster-Rigster System *******************") print("* *") prin...
# This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. require 'coveralls' Coveralls.wear! $LOAD_PATH.unshift(File.dirname(__FILE_...
package nl.myndocs.database.migrator.util; public class Assert { public static void notNull(Object object, String message) { if (object == null) { throw new <API key>(message); } } }
<!DOCTYPE html> <html> <head> <title>Reflection </title> <meta charset="UTF-8"> <link href="../styles/main.css" rel="stylesheet" type="text/css"> </head> <body> <h1>Reflection</h1> <div class="nav"> <ul> <li><a href="http:/nick-shanks.github.io/index.html">Home</li> <li...
<?hh // strict namespace Haku; use Haku\RequestInterface; use Haku\Router; use Haku\Route; class Application { private Router $router; public function __construct() { $this->router = new Router(); } public function post(string $pattern, (function(...):array<mixed>) $action): Route { ...
package bankapp.account; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import bankapp.bank.AccountType; import bankapp.bank.BankException; /** * The class Account represents bank accounts. * @author Samuel Pulfer * */ public abstract class Account implements Serializable { priv...
layout: page published: false title: "Header Image With Background Color" subheadline: "Headers With Style" teaser: "Feeling Responsive allows you to use all kinds of headers. This example shows a header image with a defined background color via front matter." categories: - design tags: - design - backgro...
package com.example.<API key>; import android.content.Context; import android.support.test.<API key>; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; @RunWith(AndroidJUnit4.class) public class <API key> { @Test public vo...
# Plugin.js A better jQuery plugin boilerplate system. *** ## Changelog v0.5 / 05.24.2012 - Initial release, still developing idea - Main goals of Plugin.js: - Acts as a base to extend on for all plugins - Automatically create instances for each passed in element - Automatically set a unique ID if the eleme...
package com.cezarykluczynski.stapi.etl.template.common.dto.datetime; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor(staticName = "of") @NoArgsConstructor public class StardateYearDTO { private Float stardateFrom; private Float stardateTo; pri...
#include "Tweener.h" #include "Actor.h" #include "ColorRectSprite.h" #include <limits.h> namespace oxygine { Tween::Tween():_duration(0), _loops(0), _percent(0), _status(status_not_started), _elapsed(0), _twoSides(false), _ease(ease_linear), _detach(false), _delay(0), _client(0) ...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; SM-T110 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.59 Safari/537.36</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>wgbow</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <meta name="generator" content="DocBook XSL S...
#!/usr/bin/env python # -*- coding: utf8 -*- # ** PTS -- Python Toolkit for working with SKIRT ** # Import the relevant PTS classes and modules from pts.core.basics.configuration import <API key> # Create the configuration definition = <API key>() # Add optional arguments definition.add_section("waveleng...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.7"/> <title>App Engine Python SDK: Member List</title> <link href="tabs.css" rel="stylesheet" type="text...
package com.punyal.symbiotic.core.feature.wheelloader; import static com.punyal.symbiotic.constants.ConstantsNet.RESOURCE_ANGLE; import com.punyal.symbiotic.core.Core; import com.punyal.symbiotic.core.net.CoapObserver; import org.eclipse.californium.core.CoapResponse; import org.json.simple.JSONObject; import org.json....
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $title;?> <small>Semua data seminar saya</small> </h1> <ol class="breadcrumb"> <li><a href="<?php echo site_url('panitia'...
-----------Import modules--------------- import argparse import nucleoatac.Magic from nucleoatac import __version__ def nucleoatac_main(args): """The Main function for calling nucleoatac """ #Parse options... call = args.call parser = nucleoatac_parser() if call == "occ": from nucleoatac...
package peer import ( "net" "time" "github.com/cenkalti/rain/internal/peerconn" "github.com/cenkalti/rain/internal/peerprotocol" "github.com/cenkalti/rain/internal/pexlist" ) type pex struct { conn *peerconn.Conn extID uint8 // Contains added and dropped peers. pexList *pexlist.PEXL...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SpaceKanjiAdmin { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{...
<?php /* TwigBundle:Exception:error.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.IO; using System.Net; using System.Diagnostics; using ULog; using WebRequest.Common; namespace WebRequest.Http { class JSonRequest : Htt...
require '<API key>/tablet' require 'rails' require 'rack/mobile-detect' module <API key> autoload :Helper, '<API key>/helper' class Railtie < Rails::Railtie initializer "<API key>.configure" do |app| app.config.middleware.use Rack::MobileDetect end if Rails::VERSION::MAJOR >= 3 initializer "...
<div class="dw-login" ng-controller="AuthCtrl"> <form ng-submit="signin(credentials)"> <div class="modal-header"> <h3 class="modal-title">Sign in</h3> </div> <div class="modal-body"> <div class="alert alert-warning" ng-show="error">{{ error }}</div> <div c...
# encoding: utf-8 # of this software and associated documentation files (the 'Software'), to deal # in the Software without restriction, including without limitation the rights # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # copies or ...
'use strict'; /* * Directive: 'validation-errors' * Restrict: A */ angular.module('uiFormValidation.directives').directive('validationErrors', function($timeout, utilsService, uiFormValidation, <API key>, $parse) { return { replace:true, restrict: 'A', require: ['^?uiValidation', 'validationErr...
import { RouterContext } from '@koa/router' import httpErrors from 'http-errors' import Joi from 'joi' import Koa from 'koa' import { container } from 'tsyringe' import { assertUnreachable } from '../../../common/assert-unreachable' import { USERNAME_MAXLENGTH, USERNAME_MINLENGTH, USERNAME_PATTERN } from '../../../comm...
<?php /* @var $this SiteController */ $this->pageTitle=Yii::app()->name; ?> <script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/app/build/chapycard.js"></script> <script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/template/setting.json"></script> <script ty...
(function ($) { $.fn.toggleType = function (options) { var params = $.extend({ type: 'text', element : null, callback : null }, options), target = params.element || options; target.before( target.clone().prop( 'type', fu...
const lazyseqs = require('../lib/lazyseq'); const lists = require('../lib/list'); exports['create and consume lazy seq'] = function (test) { let n = 1; const fn = function () { return lists.list(n++, lazyseqs.create(fn)); } const lseq = lazyseqs.create(fn); test.ok(lseq); test.equal(lseq...
# require 'config/boot' # require 'active_support' # $:.unshift(RAILS_ROOT + "/lib") require 'config/environment' context "Ext::Tree::TreeLoader without args" do setup do @ext = Ext::Tree::TreeLoader.new end specify do @ext.class.ext_class.should == 'Ext.tree.TreeLoader' end specify do @ext.args.s...
package com.amb_it_ion.refocus.persistence; import com.amb_it_ion.refocus.external.plug.api.PersistencePlug; import com.google.inject.AbstractModule; public class AppInjector extends AbstractModule { @Override protected void configure() { bind(PersistencePlug.class).to(Server.class); } }
using System; using System.IO; using NUnit.Engine.TestHelpers; namespace NUnit.Engine.Integration { internal sealed class <API key> : IDisposable { public string Directory { get; } <summary> Returns the transitive closure of assemblies needed to copy. Deals with assembly names ra...
using System.Windows; using System.Windows.Input; using System.Windows.Interactivity; namespace Repo2.SDK.WPF45.ControlBehaviors.WindowBehaviors { public class DraggableBehavior : Behavior<Window> { protected override void OnAttached() { AssociatedObject.MouseDown += (s, e) => ...
// BFTextField.h // BFKit // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following condit...
-- Hammerspoon config -- NOTE: if requiring a file inside a folder in ~/.hammerspoon, replace "/" with "." -- (ex. ~/.hammerspoon/someFolder/someFile.lua => require('someFolder.someFile') -- you can also require all files in a folder by requiring the folder name (ex. require('someFolder') -- Logger setup hs...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_05) on Thu Jul 03 13:49:04 PDT 2008 --> <TITLE> edu.sdsc.inca.agent Class Hierarchy </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowT...
module Releaser class FromFile attr_accessor :name def initialize(file_name = File.join(Rails.root, "CURRENT_VERSION")) self.name = file_name end def version(default = "development") if exists? from_file else default end end protected def from_file ...
/* select theme in here */ @import url("./themes/dark-blue/iframe.css");