code
stringlengths
4
1.01M
<?php namespace spec\Genesis\API\Constants\Transaction; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class StatesSpec extends ObjectBehavior { function it_is_initializable() { $this->shouldHaveType('Genesis\API\Constants\Transaction\States'); } }
# Injections Injections are simply other classes that are included in our component tree. In our example we have `Store` and `Router` injections. Take a look at our `Store`. ```ruby class Store include Inesita::Injection attr_accessor :counter def init @counter = 0 end def increase @counter += 1...
<div class="row-fluid">{namespace ehrm=Beech\Ehrm\ViewHelpers} <div class="span1"> <f:render partial="Forms/Buttons/Icon" arguments="{_all}"/> </div> <div class="span3"><strong><f:translate id="electronicAddress.electronicAddressType.{electronicAddress.electronicAddressType}">{electronicAddress.electronicAddressTy...
// ----------------------------------------------------------------------- // <copyright file="ViewModel.cs" company="Screenmedia"> // Copyright (c) Screenmedia 2018. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace VanillaSample.Core.View...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:33:09 CST 2007 --> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> 软件包 org.w3c.dom.bootstrap 的使用 ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <title>DoNotInstrument</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href=".....
@import Foundation; #import "FDObjectTransformerAdapter.h" @interface FDURLComponentsTransformerAdapter : NSObject < FDObjectTransformerAdapter > @end
module Goaltender end require "goaltender/version" require "goaltender/base_module" require 'goaltender/value_parser' require 'goaltender/input' require 'goaltender/base'
package com.sms4blood.emergencyhealthservices.util; import android.content.Intent; import android.location.Location; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.widget.Toast; import com.sms4blood.emergencyhealthservices.Sms; import com.sms4blood.emergencyhealthservi...
<?php namespace App\FrontModule; use App\AppModule\ErrorPresenter as Presenter; class ErrorPresenter extends Presenter { }
# Description: Photography References ### Online References * [None](#): None ### Write Here - None ### Notes - None ### TODOs - None
<html> <head> <title> ABC 트레킹 3 : 시누와 :: 이한결 블로그 </title> <style> /* https://github.com/markdowncss/modest/blob/master/css/modest.css */ @media print { *, *:before, *:after { background: transparent !important; color: #000 !important; ...
module Perus::Pinger class Upload < Command description 'Uploads a file from the client to the server. Valid values for "path" are contained in the pinger config file.' option :path, restricted: true def run @file = File.new(options.path) end ...
package miwax.java_conf.gr.jp.frugalitycalc.view; import android.app.AlertDialog; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import miwax.java_conf.gr.jp.frugalitycalc.R; import miwax.java_conf.gr.jp.frugalitycalc.databinding.ActivityMainBind...
<?php namespace Manialib\Maniacode\Elements; class ViewReplay extends UrlDownload { protected $nodeName = 'view_replay'; }
import _plotly_utils.basevalidators class MinexponentValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="minexponent", parent_name="choropleth.colorbar", **kwargs ): super(MinexponentValidator, self).__init__( plotly_name=plotly_name, ...
<HTML><HEAD> <TITLE>Review for Timecode (2000)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0220100">Timecode (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Frankie+Paiva">Franki...
// // YSCMacros.h // YSCKit // // Created by Builder on 16/6/29. // Copyright © 2016年 Builder. All rights reserved. // #import <sys/time.h> //============================================================================== // // @Description: // 该文件定义了基础库YSCKit中常用的宏定义 // //====================================...
/* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */ import path from 'path'; import webpack from 'webpack'; import CopyWebpackPlugin from 'copy-webpack-plugin'; import HtmlWebpackPlugin from 'html-webpack-plugin'; export default { context: __dirname, entry: './index.jsx', output:...
namespace VoiceWall.Web.ViewModels.Search { using System.ComponentModel.DataAnnotations; public class SearchViewModel { [Required] [MinLength(2, ErrorMessage="Search text must be at least 2 characters")] [DataType(DataType.Text)] public string SearchText { get; set; } }...
using SharpDX; using SharpDX.Direct3D11; using System; using System.Runtime.InteropServices; using System.Windows; using System.Xml; using System.IO; using System.Reflection; namespace Profiler.DirectX { public class TextManager : IDisposable { [StructLayout(LayoutKind.Sequential)] ...
<!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_101) on Fri Oct 21 14:35:23 CEST 2016 --> <title>Uses of Class core.Task</title> <meta name="date" content="2016-10-21"> <link rel="stylesheet"...
#include <iostream> #include <string> using namespace std; int main(){ int n; string experiment; for(cin>>n; n>0; n--){ cin >> experiment; if (experiment.size() < 3) cout << '+' << endl; else{ string s = experiment.substr(experiment.size()-2, 2); string saux; if(s == "35") cout << '...
import urllib import urllib2 from bs4 import BeautifulSoup textToSearch = 'gorillaz' query = urllib.quote(textToSearch) url = "https://www.youtube.com/results?search_query=" + query response = urllib2.urlopen(url) html = response.read() soup = BeautifulSoup(html) for vid in soup.findAll(attrs={'class':'yt-uix-tile-lin...
"use strict" var o = require("../../ospec/ospec") var callAsync = require("../../test-utils/callAsync") var browserMock = require("../../test-utils/browserMock") var m = require("../../render/hyperscript") var callAsync = require("../../test-utils/callAsync") var coreRenderer = require("../../render/render") var apiR...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > Math.sqrt, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm es5id: 15.8.2.17_A6 description: > Check...
/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 4.2 // Code is generated on: // Code is generated using templates: SD.TemplateBindings.SharedTemplates // Templates...
/* * 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.0 * (the "License"); you may ...
\textbf{Входные параметры:} Отсутствуют. В переопределяемой функции также есть параметр: Type --- обозначение тестовой функции, которую вызываем. Смотреть виды в переменных перечисляемого типа в начале HarrixMathLibrary.h файла: TestFunction\_Ackley, TestFunction\_ParaboloidOfRevolution, TestFunction\_Rastrigin и ...
'use strict'; export interface IPrint extends ng.resource.IResource<IPrint> { printOptions: any; } export interface IPrintResource extends ng.resource.IResourceClass<IPrint> {} export class PrintResource { /* @ngInject */ public static Print($resource: ng.resource.IResourceService): IPrintResource { var ...
--- layout: page title: Tough Dark Company Dinner date: 2016-05-24 author: Charles Terrell tags: weekly links, java status: published summary: Aliquam non vehicula metus. Curabitur at est. banner: images/banner/leisure-01.jpg booking: startDate: 04/03/2017 endDate: 04/08/2017 ctyhocn: PHXSRHX groupCode: TDCD pu...
--- layout: page title: Diamond Forest Entertainment Show date: 2016-05-24 author: Nicholas Palmer tags: weekly links, java status: published summary: Pellentesque a dolor dictum, congue arcu. banner: images/banner/meeting-01.jpg booking: startDate: 09/27/2018 endDate: 09/30/2018 ctyhocn: MQBILHX groupCode: DFE...
<?php // :default:index.html.twig return array ( 'fe7793f' => array ( 0 => array ( 0 => '@bootstrap_css', 1 => '@fontawesome_css_be', 2 => '@YallaWebsiteBackendBundle/Resources/public/css/jquery-ui.css', 3 => '@YallaWebsiteBackendBundle/Resources/public/css/select2.min.css', ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <time.h> #include "search.h" #include "marcov.h" #define ORDER 2 int main(int argc, char **argv) { int limit = 128; if(argc > 1) { limit = atoi(argv[1]); } void *strings = NULL; struct timespec t; clock_gettime(CLOCK_MONOTONIC, &t); srand...
/** * JRakLibPlus is not affiliated with Jenkins Software LLC or RakNet. * This software is an enhanced port of RakLib https://github.com/PocketMine/RakLib. * This file is part of JRakLibPlus. * * JRakLibPlus is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General P...
# Simple.LocalDb Simple.LocalDb is a simple managed wrapper around the LocalDB API. This framework has no features. It does not have error checking. It does not do anything smart. It doesn't try to help you in any way. There are no unit tests. There are no integration tests. There are no interfaces, inheritance, coup...
#if UNITY_EDITOR using UnityEngine; using UnityEditor; using System.IO; public class CreateAssetbundle : MonoBehaviour { [MenuItem("Fineness/Build AssetBundle From Select Resource")] static void SelectResourceAndBuildAB() { UnityEngine.Object[] selecteds = Selection.GetFiltered(typeof(UnityEngin...
import http from "http"; import express from "express"; import cors from "cors"; import morgan from "morgan"; import bodyParser from "body-parser"; import initializeDb from "./db"; import middleware from "./middleware"; import api from "./api"; import config from "config"; //we load the db location from the JSON files...
##Generators <div class="code-extra es6"> ```js // Define generators with '*' function *foo() { } // halt and output at 'yield' function *fibonacci() { let pre = 0, cur = 1; while(true) { [ pre, cur ] = [ cur, pre + cur ]; yield cur; } } let fibGen = fibonacci(); fibGen.next(); // { value: 1, done: false } fi...
# Advanced 进阶 <p class="description">本节包含了 @material-ui/core/styles 的一些更多的进阶用法。</p> ## Theming 主题 若您想将主题传递到 React 组件树,请将添加 `ThemeProvider` 包装到应用程序的顶层。 然后,您可以在样式函数中访问主题对象。 > 此示例为自定义组件创建了一个主题对象(theme object)。 If you intend to use some of the Material-UI's components you need to provide a richer theme structure using ...
'use strict'; var gulp = require('gulp'); var autoprefixer = require('jstransformer')(require('jstransformer-stylus')); var autoprefixer = require('autoprefixer-stylus'); var browserSync = require('browser-sync').create(); var changed = require('gulp-changed'); var concat = require('gulp-concat'); var cssbeautify = re...
<?php namespace Lib\Router\Exception; class NotFoundException extends \Exception{}
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers // Copyright (c) 2015-2020 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_POLICY_POL...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Lab2A.Models.AccountViewModels { public class LoginViewModel { [Required] [EmailAddress] public string Email { get; set; } [R...
######################################## # Automatically generated, do not edit. ######################################## from pyvisdk.thirdparty import Enum DatastoreSummaryMaintenanceModeState = Enum( 'enteringMaintenance', 'inMaintenance', 'normal', )
import Ember from 'ember'; import PaginatedScrollViewMixin from 'kowa/mixins/paginated-scroll-view'; var PaginatedScrollBox = Ember.View.extend(PaginatedScrollViewMixin); export default PaginatedScrollBox;
import clearSuggestedActions from './actions/clearSuggestedActions'; import connect from './actions/connect'; import createStore, { withDevTools as createStoreWithDevTools } from './createStore'; import disconnect from './actions/disconnect'; import dismissNotification from './actions/dismissNotification'; import emitT...
var assert = require('assert'); var listXf = require('./helpers/listXf'); var R = require('..'); describe('any', function() { var odd = function(n) {return n % 2 === 1;}; var T = function() {return true;}; var intoArray = R.into([]); it('returns true if any element satisfies the predicate', function...
<html><body> <h4>Windows 10 x64 (18362.329)</h4><br> <h2>_SEGMENT_HEAP</h2> <font face="arial"> +0x000 EnvHandle : <a href="./RTL_HP_ENV_HANDLE.html">RTL_HP_ENV_HANDLE</a><br> +0x010 Signature : Uint4B<br> +0x014 GlobalFlags : Uint4B<br> +0x018 Interceptor : Uint4B<br> +0x01...
@extends('frontend.layouts.default') @section('content') <div class="breadcrumb-wrapper"> <div class="pattern-overlay"> <div class="container"> <div class="row"> <div class="col-lg-6 col-md-6 col-xs-12 col-sm-6"> <h2 class="title">Rece...
Hamahatschi =========== Hamahatschi is a simple program to turn Hamachi and its service as well as network adapter on and off. Usage ------ Simply compile the project or start the executable. It will try to find the adapter and the service and disable/enable Hamachi, depending on what its current state is. If it can...
<div layout="row" layout-align="space-between center"> <md-button href="#">Code Challenge for T-Systems</md-button> <md-button class="acme-navbar-text">Application was created {{ vm.relativeDate }}.</md-button> </div>
{% extends 'layouts/base.html' %} {% block title %} {% endblock %} {% block content %} <div class="row"> <div class="col-lg-6"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Question Details</h3> </div> ...
<?php namespace Kids\Controller; use Silex\Application; use Silex\ControllerProviderInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Kids\Entity\Workshop; use Kids\Entity\Establishment; use Kids\Entity\PublicAge; use Kids\Entity\WorkshopCategory; use Kids\Ent...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AuthorizeNet.Api.Contracts.V1; using AuthorizeNet.Api.Controllers; using AuthorizeNet.Api.Controllers.Bases; namespace net.authorize.sample { public class GetAccountUpdaterJobSummary { ...
-- Copyright (C) 2014 MariaDB Ab. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; version 2 of the License. -- -- This program is distributed in the hope that it will be useful, -- ...
// Copyright(c) 2013 GROWTH XPARTNERS, Incorporated. // // package junit.tutorial.calculator; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public class CalculatorTest { ...
import {Vec3f} from "./Vec3f"; import {Quaternion} from "./Quaternion"; import {MathUtils} from "./MathUtils"; import {Vec4f} from "./Vec4f"; /** * Created by r3f on 7/1/2016. */ export class Mat4f{ // Matrix row & column values as in i,j m:Float32Array; /* * Constructor Mat4f() * @info: Rows ...
module.exports = function (options, suite, test, expect, teardown) { require('./integration.expressions')(options, suite, test, expect, teardown); suite('tribe.storage.integration.' + options.type, function () { var storage = require('tribe.storage'), db; test("basic store and ret...
from math import floor def score_syntax_errors(program_lines): points = {')': 3, ']': 57, '}': 1197, '>': 25137} s = 0 scores_auto = [] for line in program_lines: corrupted, stack = corrupted_character(line) if corrupted: s += points[corrupted] else: s...
using System; using App.Common.Extensions; namespace App.Core.Elements { /// <summary> /// Класс для описания списка заявлений по оплате по типам служб. /// </summary> public class Declaration { /// <summary> /// Расчетный период. /// </summary> public string Settle...
/* * Copyright (C) 2013-2015 Uncharted Software Inc. * * Property of Uncharted(TM), formerly Oculus Info Inc. * http://uncharted.software/ * * Released under the MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (...
# jekyll-theme-jtannerjones_com Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundl...
module TinyMVC class BaseModel attr_reader :id def initialize(options = {}) parameters = self.class.stored_parameters + [:id] parameters.each do |attr| instance_variable_set(:"@#{attr}", options[attr.to_s] || options[attr.to_sym]) end end def self.stored_parameters(*args) ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ReturnCoin</source> <translation type="unfinished"/> </message> <message> <location ...
// // JavaInterfaceManager.h // ChilliSource // Created by Ian Copland on 08/08/2012. // // The MIT License (MIT) // // Copyright (c) 2012 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), ...
<?php namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * Oeuvre. * * @ORM\Table(name="oeuvre") * @ORM\Entity(repositoryClass="App\Repository\OeuvreRepository") */ class Oeuvre { /** * @var int * ...
<section> <body> <!-- Quick setting box starts --> <div class="quick-slide hidden-xs"></div> <div class="out-container"> <div class="outer"> <!-- Sidebar starts --> <!-- Sidebar ends --> <!-- Mainbar starts --> <div class="mainbar"> ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>nlocks</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc"> </head> <body bgcolor="white"> <div class="navbar"><a name="#navbar_top"></a>...
--- layout: post microblog: true date: 2009-11-17 03:00 +0300 guid: http://desparoz.micro.blog/2009/11/17/t5805027465.html --- For PADI Instructors in the US this is a BIG deal. RT @DiverWire: Boy Scouts announce new Scuba Diving Merit Badge [bit.ly/15pcnA](http://bit.ly/15pcnA)
/* * main.c * * Created on: 31 May 2016 * Author: ajuaristi <a@juaristi.eus> */ #include <stdio.h> #include <signal.h> #include <getopt.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <linux/videodev2.h> #include <sys/stat.h> #include "utils.h" #include "appbase.h" #include "uvc.h" #...
<h1><%= title %></h1> <div class="source_info"> <p><%= title %> description.</p> </div> <section class="source_section"> <h2><%= title %> section</h2> <div class="source_example"> example code </div> </section>
# Alarm Cordova + Polymer
package builtins import ( "fmt" "net/mail" "net/url" "regexp" "strings" u "github.com/araddon/gou" "github.com/mssola/user_agent" "github.com/araddon/qlbridge/expr" "github.com/araddon/qlbridge/value" "github.com/araddon/qlbridge/vm" ) var _ = u.EMPTY // email a string, parses email and makes sure it is ...
#include <QWebView> #include "helpdialog.h" /** * Constructor of Help Dialog */ HelpDialog::HelpDialog(QWidget *parent) : QWebPage(parent) { view = new QWebView(); } /** * Shows the help dialog */ void HelpDialog::showHelpDialog() { createWindow(QWebPage::WebModalDialog); view->setPage(this); ...
"use strict"; var _slicedToArray = function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { var _arr = []; for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { _arr.push(_step.value); if (i && _arr.length === i) break; } return _arr; } e...
//estrutura com os dados lidos struct { float tensao; float corrente; float temperaturaBaterias; float temperaturaCockpit; float velocidade; //velocidade calculada do carro double hodometro; //armazena a quantidade de metros percorridos } dados; //estrutura com as configuracoes do controlador struct { lo...
<?php namespace Wallabag\Bundle\CoreBundle\Entity; use Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; use JMS\Serializer\Annotation\Expose; use JMS\Serialize...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web.Script.Serialization; ...
// Endless Online Bot v0.0.1 #ifndef UTIL_HPP_INCLUDED #define UTIL_HPP_INCLUDED #include <math.h> #include <vector> #include <string> int path_length(int x1, int y1, int x2, int y2); std::vector<std::string> Args(std::string str); std::string Lowercase(std::string str); #endif // UTIL_HPP_INCLUDED
const mutations = { SET_ACTIVE_TAB(state, tab){ state.activeTab = tab; }, SET_DATA_ACTIVE_TAB(state, tab){ state.hubActiveTab = tab; }, SET_PROXY_STATE(state, proxy){ state.proxy_switch = proxy; }, SET_INIT_INFO(state, info){ _.extend(state, info); } }; export default mutations;
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("Te...
<!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" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS" /> <meta name="keywords" content="ƒL...
#!/usr/bin/python # # Config file test app (together with test.cfg file) # import os, sys sys.path.append("..") import configfile cfg = configfile.ConfigFile("test.cfg") cfg.setCfgValue("name1", "value1") cfg.setCfgValue("name2", "value2") cfg.selectSection("user") cfg.setCfgValue("username", "janis") cfg.setCfgV...
# frozen_string_literal: true require "dis/jobs/delete" require "dis/jobs/store" require "dis/jobs/change_type"
<?php namespace AppBundle\Security\Core\User; use HWI\Bundle\OAuthBundle\OAuth\Response\UserResponseInterface; use HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider as BaseClass; use Symfony\Component\Security\Core\User\UserInterface; class FOSUBUserProvider extends BaseClass { /** * {@inheritDoc} ...
<?php namespace Db\User; use Core\Query; class GetUnconfirmedUsers extends Query { protected $id; protected function build() { $query = ' SELECT u.id, u.type, u.email, u.email_confirmed, u.email_confirmation_hash, u.account_confirmed, u.password, u.language, u.first_name...
<?php echo __DIR__; require dirname(__DIR__) . "/HikerCommand.php"; function _manually_load_plugin() { require dirname( __FILE__ ) . '/../hikerquotes.php'; } tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); require getenv( 'WP_TESTS_DIR' ) . '/includes/bootstrap.php';
// home page exports.index = function(req, res){ res.render('index', { title: 'B O X L A N D' }); };
'use strict'; /** * Module dependencies. */ var express = require('express'), mean = require('meanio'), consolidate = require('consolidate'), mongoStore = require('connect-mongo')(express), flash = require('connect-flash'), helpers = require('view-helpers'), config = require('./config'), ...
module Marty module Promises module Ruby end end end
package prometheusremotewrite import ( "bytes" "fmt" "github.com/gogo/protobuf/proto" "github.com/golang/snappy" "github.com/prometheus/common/model" "github.com/prometheus/prometheus/prompb" "strings" "testing" "time" "github.com/influxdata/telegraf" "github.com/influxdata/telegraf/testutil" "github.com/...
package org.nem.core.model; import org.nem.core.utils.ArrayUtils; import java.util.Comparator; /** * A custom comparator for comparing MultisigSignatureTransaction objects. * <br> * This comparator only looks at the transaction signer and other hash. */ public class MultisigSignatureTransactionComparator impleme...
body { padding-top: 65px; } #footer { padding: 10px; color: #333; } #titulo { color: #fff; } #textoSobreNosotros { color: #333; } #login-buttons a, .accounts-dialog a { color: rgb(0, 0, 0); text-decoration: none; text-align: center; vertical-align: middle; line-height: 50px; padding: 20px; } ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cfgv: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
/******************************************************* * File name: pando_subdevice.h * Author: razr * Versions: 1.0 * Description: pando iot embeded framework. * History: * 1.Date: Sep 11, 2015 * Author: razr * Modification: initial code *********************************************************/ #...
--- layout: default --- <div class="page clearfix" index> <div class="left"> <h1>Welcome to jisonami's Notes!</h1> <small>这里记录我在程序开发过程中的学习笔记</small> <hr> <ul> {% for post in paginator.posts %} <li> <h2> <a class="post-link"...
<?php namespace app\controllers; use Yii; use app\models\{Freight, FreightSearch}; use yii\web\{Controller, NotFoundHttpException}; /** * FreightController implements the CRUD actions for Freight model. */ class FreightController extends Controller { /** * Lists all Freight models. * @return mixed ...
// ReplProbe.js (c) 2010-2013 Loren West and other contributors // May be freely distributed under the MIT license. // For further details and documentation: // http://lorenwest.github.com/monitor-min (function(root){ // Module loading - this runs server-side only var Monitor = root.Monitor || require('../Monitor'...
package model.dataModels; /** * Class ManufacturingData. * @author Daniel * */ public class ManufacturingData { private String customerNumber; private String materialNumber; private String orderNumber; private String timeStamp; private MachineData[] machineData; private SpectralAnalysisData analysisData; ...