text
stringlengths
12
215k
//----------------------------------------------------------------------- // <copyright file="IDemPlateFileGenerator.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation 2011. All rights reserved. // </copyright> //----------------------------------------------------------------------- name...
namespace PlacesToEat.Data.Common { using System; using System.Data.Entity; using System.Linq; using Contracts; using Models; public class DbUserRepository<T> : IDbUserRepository<T> where T : class, IAuditInfo, IDeletableEntity { public DbUserRepository(DbContext context) ...
--- layout: post title: Java-Interview category: Java description: Java 面试 --- 一、Java基础 1. String类为什么是final的 2. HashMap的源码,实现原理,底层结构。 3. 说说你知道的几个Java集合类:list、set、queue、map实现类。 4. 描述一下ArrayList和LinkedList各自实现和区别 5. Java中的队列都有哪些,有什么区别。 6. 反射中,Class.forName和classloader的区别。 7. Java7、Java8的新特性 8. Ja...
describe("Dragable Row Directive ", function () { var scope, container, element, html, compiled, compile; beforeEach(module("app", function ($provide) { $provide.value("authService", {}) })); beforeEach(inject(function ($compile, $rootScope) { html = '<div id="element-id" data-draggable-row=""' ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Ninject.Modules; using Ninject.Extensions.Conventions; namespace SongManager.Web.NinjectSupport { /// <summary> /// Automatically loads all Boot Modules and puts them into the Ninject Dependency Resolver /// </summary> publ...
# Amaretti.js [![Join the chat at https://gitter.im/VincentCasse/amaretti.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/VincentCasse/amaretti.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/VincentCasse/amaretti.js.svg)](https://t...
package com.kromracing.runningroute.client; import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.ui.CheckBox; import com.google.gwt.user.client.ui.Widget; final public class Utils { private Utils() { } /** * Sets the HTML id ...
/** * This file was copied from https://github.com/jenkinsci/mercurial-plugin/raw/master/src/test/java/hudson/plugins/mercurial/MercurialRule.java * so we as well have a MercurialRule to create test repos with. * The file is licensed under the MIT License, which can by found at: http://www.opensource.org/licenses/mi...
function simulated_annealing(tuning_run::Run, channel::RemoteChannel; temperature::Function = log_temperature) iteration = 1 function iterate(tuning_run::Run) p = temperature(iteration) iteration += 1 return probabilisti...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
package zhou.adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import java.util.List; /** * Created by zzhoujay on 2015/7/22 0022. */ public class Norm...
<ng-container *ngIf="preview.user && !authHelper.isSelf(preview.user)"> <user-info [user]="preview.user"> </user-info> </ng-container> <!-- description + image --> <label-value [label]="i18n.voucher.voucher"> {{ preview.type.voucherTitle }} </label-value> <ng-container *ngIf="buyVoucher.count === 1; else multiple...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About GulfCoin</source> <translation>關於位元幣</translation> </message> <message> <location li...
package UserInterface.Animation; /** * Makes shit get big, makes shit get small. */ public class SizeAnimation extends Animation { protected int iW, iH, fW, fH, cW, cH; public SizeAnimation(long period, int paceType, boolean loop, int iW, int iH, int fW, int fH) { super(period, paceType, loop); ...
import * as path from "path"; import * as tl from "vsts-task-lib/task"; import {IExecOptions, IExecSyncResult} from "vsts-task-lib/toolrunner"; import * as auth from "packaging-common/nuget/Authentication"; import * as commandHelper from "packaging-common/nuget/CommandHelper"; import {NuGetConfigHelper2} from "packagi...
import _ from 'lodash'; import { createSelector } from 'reselect'; const srcFilesSelector = state => state.srcFiles; const featuresSelector = state => state.features; const featureByIdSelector = state => state.featureById; const keywordSelector = (state, keyword) => keyword; function getMarks(feature, ele) { const ...
<?php class Receiving_lib { var $CI; function __construct() { $this->CI =& get_instance(); } function get_cart() { if(!$this->CI->session->userdata('cartRecv')) $this->set_cart(array()); return $this->CI->session->userdata('cartRecv'); } function set_cart($cart_data) { $t...
package com.mauriciotogneri.apply.compiler.syntactic.nodes.arithmetic; import com.mauriciotogneri.apply.compiler.lexical.Token; import com.mauriciotogneri.apply.compiler.syntactic.TreeNode; import com.mauriciotogneri.apply.compiler.syntactic.nodes.ExpressionBinaryNode; public class ArithmeticModuleNode extends Expres...
#LocalFolderPathStr=${PWD} #LocalFilePathStr=$LocalFolderPathStr'/.pypirc' #HomeFilePathStr=$HOME'/.pypirc' #echo $LocalFilePathStr #echo $HomeFilePathStr #cp $LocalFilePathStr $HomeFilePathStr python setup.py register sudo python setup.py sdist upload
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; @Component({ selector: 'app-user', template: '<router-outlet></router-outlet>' }) export class UserComponent implements OnInit { constructor(public router: Router) { } ngOnInit() { if (this.router.url ...
# coding: utf-8 from sqlalchemy.testing import eq_, assert_raises, assert_raises_message, \ config, is_ import re from sqlalchemy.testing.util import picklers from sqlalchemy.interfaces import ConnectionProxy from sqlalchemy import MetaData, Integer, String, INT, VARCHAR, func, \ bindparam, select, event, Type...
/** * Copyright (C) 2013 Tobias P. Becker * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, merge...
exports.login = function* (ctx) { const result = yield ctx.service.mine.login(ctx.request.body); if (!result) { ctx.status = 400; ctx.body = { status: 400, msg: `please check your username and password`, } return; } ctx.body = { access_token: result.access_token, msg: 'login ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <script> const importObject = Object.freeze({ env: { __memory_b...
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Web; namespace Umbraco.Core { ///<summary> /// Extension methods for dictionary & concurrentdictionary ///...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Phenotype Demo</title> <meta name="description" content="Phenotype Demo"> <link rel="stylesheet" href="style.css"> <script src="phenotype.js" type="application/javascript"></script> </head> <body> <a ...
import * as yargs from "yargs"; import { getEnvironment, getSlimConfig } from "../cli-helpers"; export const devCommand: yargs.CommandModule = { command: "dev", describe: "Start a development server.", builder: { open: { alias: "o", type: "boolean", description: ...
export const browserVersions = () => { let u = navigator.userAgent return { // 移动终端浏览器版本信息 trident: u.indexOf('Trident') > -1, // IE内核 presto: u.indexOf('Presto') > -1, // opera内核 webKit: u.indexOf('AppleWebKit') > -1, // 苹果、谷歌内核 gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1, // 火狐...
module YandexMusic class Client include YandexMusic::Auth include YandexMusic::Endpoints::Search include YandexMusic::Endpoints::ArtistAlbums include YandexMusic::Endpoints::AlbumsTracks def initialize(client_id, client_secret) @client_id, @client_secret = client_id, client_secret end ...
<div class="container"> <div class="col-md-12 col-sm-12 col-xs-12 no-padding"> <div ng-controller="GroupMenu" ng-model="currentMenu" ng-init="currentMenu = 'new'" ng-include="'group/menu'" class="row"></div> <div class="row"> <div class="col-md-12 no-padding"> <div c...
<?php $hostname = "localhost"; $user = "root"; $password = "admin"; $database = "employees"; mysql_connect($hostname, $user, $password); mysql_set_charset('utf8'); @mysql_select_db($database) or die( "Unable to select database"); mysql_query("SET NAMES 'utf8'"); $mysqli = new mysqli($hostname, $user, $password, $dat...
--- title: The Little Eye Blog # View. # 1 = List # 2 = Compact # 3 = Card view: 3 aliases: ["/the-little-eye/"] # Optional header image (relative to `static/img/` folder). header: caption: "" image: "" --- ### A Point of View on Microscopy Research, the History of the Microscope and a hint of Interdiscip...
.root { display: inline-block; position: relative; z-index: 1; cursor: var(--cursor-pointer); height: var(--navbar-height); line-height: var(--navbar-height); border: none; padding: var(--navbar-dropdown-padding); font-size: var(--font-size-large); } .root:not(:last-child) { mar...
/** * Get a number suffix * e.g. 1 -> st * @param {int} i number to get suffix * @return suffix */ var getSuffix = function (i) { var j = i % 10, k = i % 100; if (j == 1 && k != 11) { return i + "st"; } if (j == 2 && k != 12) { return i + "nd"; } if (j == 3 && k != ...
# Minitest::Mock::Easily use MiniTest::Mock with easier API ## Installation Add this line to your application's Gemfile: gem 'minitest-mock-easily' And then execute: $ bundle Or install it yourself as: $ gem install minitest-mock-easily ## Usage ``` include MockEasily m = mock do expect :hello,...
--- redirect_to: - http://tech.hbc.com/2013-10-04-welcome-jonathan-leibiusky.html layout:: post title: Welcome Jonathan Leibiusky! date: '2013-10-04T15:24:00-04:00' tags: - Jonathan Leibiusky - Infrastructure Engineering - people - gilt tech - nyc - immutable deployment - xetorthio tumblr_url: http://tech.gilt.com/post...
namespace CSharpGL { partial class FormPropertyGrid { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
package net.pinemz.hm.gui; import net.pinemz.hm.R; import net.pinemz.hm.api.HmApi; import net.pinemz.hm.api.Prefecture; import net.pinemz.hm.api.PrefectureCollection; import net.pinemz.hm.storage.CommonSettings; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view....
'use strict'; const chai = require('chai'), expect = chai.expect, config = require('../config/config'), Support = require('./support'), dialect = Support.getTestDialect(), Sequelize = Support.Sequelize, fs = require('fs'), path = require('path'); if (dialect === 'sqlite') { var sqlite3 = require('sqli...
/* * This file is part of Zinc, licensed under the MIT License (MIT). * * Copyright (c) 2015-2016, Jamie Mansfield <https://github.com/jamierocks> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// Template Source: BaseEntityCollectionPage.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <iWorkImport/TSUProgress.h> @class NSArray, NSObject<OS_dispatch_queue>; // Not exported @interface TSUProgressGroup : TSUProgress { NSArray *mChildren; NSArray...
Dockermail - Email Core ========== This image provides a secure, minimal mail server based on 'postfix' and 'dovecot'. All incoming mail to your domains is accepted. For outgoing mail, only authenticated (logged in with username and password) clients can send messages via STARTTLS. ## Setup You will need 2 folder on ...
/** @file safesysstat.h * @brief #include <sys/stat.h> with portability enhancements */ /* Copyright (C) 2007,2012,2017 Olly Betts * * 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; either ...
// Script by Bo Tranberg // http://botranberg.dk // https://github.com/tranberg/citations // // This script requires jQuery and jQuery UI $(function() { // Inser html for dialog just before the button to open it var butt = document.getElementById('citations'); butt.insertAdjacentHTML('beforeBegin', ...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
{% extends "base.html" %} {% block content %} <h1>{{ question.question_text }}</h1> {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} <form action="{% url 'polls:vote' question.id %}" method="post"> {% csrf_token %} {% for choice in question.choice_set.all %} <input type="radio" name="c...
# MyLibSwift
package io.github.ageofwar.telejam.updates; import io.github.ageofwar.telejam.Bot; import io.github.ageofwar.telejam.TelegramException; import io.github.ageofwar.telejam.methods.GetUpdates; import java.io.IOException; import java.util.Collections; import java.util.Objects; import java.util.concurrent.ConcurrentLinked...
@import url("//fonts.googleapis.com/css?family=News+Cycle:400,700"); /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } audio, canvas, video { display: inline-block; } audio:not([contro...
Copyright 2013 Romens Team http://romens.ru/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publis...
#include <gtest/gtest.h> #include "loquat/misc/binary_search.hpp" TEST(BinarySearchTest, Integer){ for(int l = -16; l <= 16; ++l){ for(int r = l; r <= 16; ++r){ for(int expect = l; expect <= r; ++expect){ const auto actual = loquat::binary_search( l, r, [=](int x){ return x < expect; }); EXPECT_EQ(e...
""" ``editquality generate_make -h`` :: Code-generate Makefile from template and configuration :Usage: generate_make -h | --help generate_make [--config=<path>] [--main=<filename>] [--output=<path>] [--template...
/** * Reverb for the OpenAL cross platform audio library * Copyright (C) 2008-2009 by Christopher Fitzgerald. * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 ...
# baites.github.io # Installation * Cloning and creating docker image **NOTE**: This installation requires installed docker server. ```bash $ git clone git clone https://github.com/baites/baites.github.io.git $ cd baites.github.io $ docker build -t jekyll -f jekyll.dockerfile . ... Successfully tagged jekyll:latest...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
// # Ghost Configuration // Setup your Ghost install for various environments // Documentation can be found at http://support.ghost.org/config/ var path = require('path'), config; config = { // ### Production // When running Ghost in the wild, use the production environment // Configure your URL and m...
import React from 'react'; import PropTypes from 'prop-types'; import styled, { keyframes } from 'styled-components'; const blink = keyframes` from, to { opacity: 1; } 50% { opacity: 0; } `; const CursorSpan = styled.span` font-weight: 100; color: black; font-size: 1em; padding-left: 2px; an...
// Copyright Louis Dionne 2015 // Distributed under the Boost Software License, Version 1.0. #include <type_traits> template <typename T> using void_t = std::conditional_t<true, void, T>; // sample(common_type-N3843) template <typename T, typename U> using builtin_common_t = std::decay_t<decltype( true ? std::de...
package remove_duplicates_from_sorted_list; import common.ListNode; public class RemoveDuplicatesfromSortedList { public class Solution { public ListNode deleteDuplicates(ListNode head) { if (head != null) { ListNode pre = head; ListNode p = pre.next; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; namespace Umbraco.Core.Models.EntityBase { /// <summary> /// A base class for use to implement IRememberBeingDirty/ICanBeDirty /// </summary> public abstract class Tracks...
# coding=utf8 """ Parser for todo format string. from todo.parser import parser parser.parse(string) # return an Todo instance """ from models import Task from models import Todo from ply import lex from ply import yacc class TodoLexer(object): """ Lexer for Todo format string. Tokens ID ...
var test = require('tape'); var BSFS = require('../lib/bsfs'); indexedDB.deleteDatabase('bsfs-tests'); function randomId () { return Math.random().toString(36).substr(2) } test('bsfs exists', function (t) { t.plan(1); var bsfs = new BSFS('bsfs-tests'); if (!bsfs._ready) return bsfs.once('ready', ready); el...
--- title: A List of the White Rabbit Mechanics We Are Considering author: all date: 15/01/11 tags: [concept, summary, gamemechanics, whiterabbit] layout: post --- The white rabbit. Here is a list of some of the rabbits we could pull out of our designer's magical top hat. ## Cooperative Rope Walking ### Summary One...
--- layout: page title: Pride Solutions Conference date: 2016-05-24 author: Carl Mccarty tags: weekly links, java status: published summary: Curabitur ipsum ante, aliquam sit. banner: images/banner/office-01.jpg booking: startDate: 05/26/2016 endDate: 05/31/2016 ctyhocn: LITWTHX groupCode: PSC published: true -...
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it wil...
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Sec...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Dumper; use Symfony\...
'use strict'; angular.module('mean.system').directive('googleMaps', ['GoogleMaps', 'Global', function(GoogleMaps, Global) { return { restrict: 'E', template: '<div id="map" style="height: 600px; width: 100%;"></div>', controller: function() { var mapOptions; if ( GoogleMaps ) { ...
#!/bin/sh set -e NEEDS_CONFIG=0 if [ "$#" -lt "1" ]; then echo "Bad usage: check_reconf.sh [target_package] (optional configure arguments)" exit 1 fi if [ "$ONYX_ARCH" = "" ]; then echo "ONYX_ARCH needs to be set!" exit 1 fi if [ "$HOST" = "" ]; then echo "HOST needs to be set!" exit 1 fi if [ "$SYSROOT" = "...
<?php namespace PxS\PeerReviewingBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $this...
// // URBSegmentedControl.h // URBSegmentedControlDemo // // Created by Nicholas Shipes on 2/1/13. // Copyright (c) 2013 Urban10 Interactive. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSUInteger, URBSegmentedControlOrientation) { URBSegmentedControlOrientationHorizontal = 0, URBSegmentedCo...
import { Component, OnInit, HostListener, ElementRef } from '@angular/core'; import { Router, NavigationEnd, NavigationExtras } from '@angular/router'; import { AuthService } from '../../services/auth.service'; @Component({ selector: 'app-nav', templateUrl: 'app-nav.component.html' }) export class AppNavComponent ...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletview.h" #include "addressbookpage.h" #include "askpassphrasedialog.h" #include "bitcoingui.h" #include "clien...
<?php return array ( 'id' => 'samsung_gt_m5650_ver1', 'fallback' => 'generic_dolfin', 'capabilities' => array ( 'pointing_method' => 'touchscreen', 'mobile_browser_version' => '1.0', 'uaprof' => 'http://wap.samsungmobile.com/uaprof/GT-M5650.rdf', 'model_name' => 'GT M5650', 'brand_name' => ...
<?php /** * File: SimpleImage.php * Author: Simon Jarvis * Modified by: Miguel Fermín * Based in: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
# == Schema Information # # Table name: accounts # # id :integer not null, primary key # type :string default("Account"), not null # description :string default(""), not null # currency :string default("USD"), ...
package illume.analysis; import java.awt.image.BufferedImage; /* This simple analyser example averages pixel values. */ public class SimpleImageAnalyser<T extends BufferedImage> extends AbstractImageAnalyser<T> { @Override public double analyse(T input) { int sum_r = 0; int sum_g = 0; ...
import { ExtraGlamorousProps } from './glamorous-component' import { ViewProperties, TextStyle, ViewStyle, ImageStyle, TextInputProperties, ImageProperties, ScrollViewProps, TextProperties, TouchableHighlightProperties, TouchableNativeFeedbackProperties, TouchableOpacityProperties, TouchableWit...
var express = require('../') , Router = express.Router , request = require('./support/http') , methods = require('methods') , assert = require('assert'); describe('Router', function(){ var router, app; beforeEach(function(){ router = new Router; app = express(); }) describe('.match(method, u...
#include "EventQueueThread.h"
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>slickgrid-colfix-plugin example</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../bower_components/slickgrid/slick.grid.css" type="text/css" /> <link rel="stylesheet" href="../b...
using Foundation; using System; using System.Linq; using UIKit; namespace UICatalog { public partial class BaseSearchController : UITableViewController, IUISearchResultsUpdating { private const string CellIdentifier = "searchResultsCell"; private readonly string[] allItems = { ...
// // AppDelegate.h // DecoratorPattern // // Created by Vito on 13-11-15. // Copyright (c) 2013年 Vito. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
<?php /** * This file is part of the Cubiche package. * * Copyright (c) Cubiche * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cubiche\Core\EventDispatcher; use Cubiche\Core\Bus\MessageInterface; /** * Event interfa...
<?php namespace Kordy\Ticketit\Controllers; use App\Http\Controllers\Controller; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; use Kordy\Ticketit\Models\Agent; use Kordy\Ticketit\Models\Setting; use Kordy\Tick...
<!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...
package com.covoex.qarvox; import com.covoex.qarvox.Application.BasicFunction; /** * @author Myeongjun Kim */ public class Main { public static void main(String[] args) { BasicFunction.programStart(); } }
## ![](Common/DeviceInfoPlugin/component/DeviceInfoPlugin_128x128.png) Device Info Plugin for Xamarin Simple way of getting common device information. ### Setup * Available on NuGet: http://www.nuget.org/packages/Xam.Plugin.DeviceInfo [![NuGet](https://img.shields.io/nuget/v/Xam.Plugin.DeviceInfo.svg?label=NuGet)](ht...
<?php /* Safe sample input : get the field UserData from the variable $_POST sanitize : use of ternary condition construction : concatenation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this s...
----------------------------------------------------------- -- LibAddonManager.lua ----------------------------------------------------------- -- Take the global "..." (name, addon) as parameters to -- initialize an addon object. -- -- Abin (2014-11-04) ----------------------------------------------------------- -- A...
import {Curve} from '../curve' export class Line extends Curve { constructor(p0, v) { super(); this.p0 = p0; this.v = v; this._pointsCache = new Map(); } intersectSurface(surface) { if (surface.isPlane) { const s0 = surface.normal.multiply(surface.w); return surface.normal.dot(s...
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2019_11_01 module Models # # Properties of the Radius client root certificate of # VpnServerConfiguration. #...
--- layout: default title: Distributed compressed sensing --- <h2>{{ page.title }}</h2> <p>To be writen<a href="">here</a></p>
<?php /** * * Enter address data for the cart, when anonymous users checkout * * @package VirtueMart * @subpackage User * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, s...
#include "TString.h" #include "TGraph.h" #include "TGraphErrors.h" #include "TGraphAsymmErrors.h" #include <fstream> #include <Riostream.h> #include <sstream> #include <fstream> using namespace std; TGraphErrors* GetGraphWithSymmYErrorsFromFile(TString txtFileName, Color_t markerColor=1, Style_t markerStyle=20, Size_t...
<?php // Documentation test config file for "Components / Jumbotron" part return [ 'title' => 'Jumbotron', 'url' => '%bootstrap-url%/components/jumbotron/', 'rendering' => function (\Laminas\View\Renderer\PhpRenderer $oView) { echo $oView->jumbotron([ 'title' => 'Hello, world!', ...
using System.Reflection; 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("CssMerger.Tests")] [assembly: AssemblyDe...
import time import pymemcache.client import pytest from limits import RateLimitItemPerMinute, RateLimitItemPerSecond from limits.storage import MemcachedStorage, storage_from_string from limits.strategies import ( FixedWindowElasticExpiryRateLimiter, FixedWindowRateLimiter, ) from tests.utils import fixed_sta...