text stringlengths 3 1.05M |
|---|
const objectAssign = require('object-assign')
const getProducts = require('./getProducts')
module.exports = (query, opts) =>
getProducts(objectAssign({query}, opts))
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_21) on Sun Jul 28 12:47:49 EDT 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.thinkaurelius.t... |
angular.module('myApp.keyEventPressed', [])
.directive('keyEventPressed', ['$document', '$rootScope', function ($document, $rootScope) {
return {
restrict: 'A',
link: function () {
console.log('linked');
$document.bind('keydown', function (e) {
... |
package de.passau.uni.sec.compose.id.core.event;
import java.util.Collection;
import de.passau.uni.sec.compose.id.core.domain.IPrincipal;
import de.passau.uni.sec.compose.id.core.service.security.RestAuthentication;
public class ListPendingEntityGroupMembershipsEvent extends AbstractEvent implements Event
{
public... |
<?xml version="1.0" encoding="UTF-8"?>
<database name="cacheable_behavior_database_#Namespace#_multipleuniquekey" defaultIdMethod="native">
<table name="#Namespace#_multipleuniquekey">
<column name="id" required="true" primaryKey="true" type="INTEGER" />
<column name="key1" required="true" type="INT... |
import { BigInteger } from 'numeric-types/integer';
import { mapOrdinal } from '@ecolect/type-numbers';
import { EnglishLanguage } from '../src/EnglishLanguage';
import { ordinalGraph } from '../src/ordinalGraph';
import { testRunner } from './helpers';
const test = testRunner(new EnglishLanguage(), ordinalGraph, m... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Welcome to Jekyll!</title>
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/cs... |
package com.tool.common.base.delegate;
import android.app.Application;
import android.content.Context;
public interface ApplicationLifecycles {
void onCreate(Application application);
void onTerminate(Application application);
} |
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("Di... |
var transferServices = angular.module('myApp.transferServices', []);
transferServices.factory('myPouch', function () {
var db = new PouchDB('ng-pouch');
PouchDB.replicate('ng-pouch', 'http://127.0.0.1:5984/ng-db', {continuous: true});
PouchDB.replicate('http://127.0.0.1:5984/ng-db', 'ng-pouch', {continuous... |
static const char* ppszTypeName[] =
{
"ERROR",
"tx",
"block",
};
CMessageHeader::CMessageHeader()
{
memcpy(pchMessageStart, ::pchMessageStart, sizeof(pchMessageStart));
memset(pchCommand, 0, sizeof(pchCommand));
pchCommand[1] = 1;
nMessageSize = -1;
nChecksum = 0;
}
CMessageHeader::CMe... |
import "./styles";
import React from "react";
import { compose } from "recompose";
import { translate } from "react-i18next";
export const Loader = ({ t }) => (
<div className="Loader">
<div className="Loader-spinner">
<span>{t("loading")}</span>
</div>
</div>
);
export default compose(
translate... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>plugi... |
<?php namespace Admin;
use BaseController;
use Input;
use Lio\Accounts\UserRepository;
use Lio\Accounts\RoleRepository;
use Lio\Forum\Threads\ThreadRepository;
class UsersController extends BaseController
{
private $users;
private $roles;
/**
* @var \Lio\Forum\Threads\ThreadRepository
*/
pr... |
Population::Population(QObject * parent)
:QObject(parent)
{
setReplicateAlgo(GenotypeNetwork::OneLine);
}
Population::~Population()
{
mLists.clear();
}
void Population::append(const GenotypeNetwork& e)
{
mLists.append(e);
}
void Population::removeAt(int index)
{
mLists.removeAt(index);
}
const G... |
package service
import (
"github.com/astaxie/beego"
"github.com/cloudawan/cloudone_gui/controllers/identity"
"github.com/cloudawan/cloudone_utility/restclient"
)
type ListController struct {
beego.Controller
}
type Service struct {
Name string
Namespace string
PortSlice []ServicePort
S... |
Function RedirectLocationHeader([string]$url) {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$latest = "https://github.com/exercism/configlet/releases/latest"
$request = [System.Net.WebRequest]::Create($latest)
$request.AllowAutoRedirect = $false
$response = $requ... |
<?php
/**
* GuestServiceV2ListGroupLinksReply
*
* PHP version 5
*
* @category Class
* @package Alfaview
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* guestServiceV2/guestService.proto
*
* No description provided (generated by Swagger Codegen https://g... |
<!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... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ccs: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="... |
package com.github.mefi.jkuuza.crawler;
import org.niocchi.core.Resource;
import org.niocchi.core.ResourceFactoryInt;
/**
*
* @author Marek Pilecky
*/
class HTMLResourceFactory implements ResourceFactoryInt {
public Resource createResource() {
return new HTMLResource();
}
}
|
adb install -r bin/Demo-debug.apk
adb shell am start -n org.oxygine.Demo/org.oxygine.Demo.MainActivity |
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/Storage.c"
#else
static int torch_Storage_(new)(lua_State *L)
{
THCState *state = cutorch_getstate(L);
THStorage *storage;
if(lua_type(L, 1) == LUA_TSTRING)
{
const char *fileName = luaL_checkstring(L, 1);
int isShared = luaT_optboolean(L, 2, 0);... |
package com.fishbeans;
import javafx.application.Application;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.io.BufferedReader;
imp... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Detail_proposal extends CI_Controller {
public function __construct() {
parent::__construct();
if(!$this->session->userdata('logged_in')) {
redirect('login', 'refresh');
}
elseif($this->session->userdata('tingkatan') !=... |
namespace DeclareVariables
{
using System;
class DeclareVariables
{
static void Main(string[] args)
//Declare five variables choosing for each of them the most appropriate of the types byte, sbyte, short, ushort, int, uint, long, ulong to represent the following values: 52130, -115, 482... |
package org.owasp.dependencycheck.dependency;
import java.io.Serializable;
import java.util.Comparator;
/**
* Comparator for Vulnerability objects.
*
* @author Jeremy Long <jeremy.long@owasp.org>
*/
public class VulnerabilityComparator implements Comparator<Vulnerability>, Serializable {
/**
* The seri... |
/* scheme.h for Chez Scheme Version 7.4 (i3le) */
/* Copyright (c) 2000 Cadence Research Systems */
/* Do not edit this file. It is automatically generated and */
/* specifically tailored to the version of Chez Scheme named */
/* above. Always be certain that you have the correct scheme.h */
/* for the version of Ch... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Tue May 19 17:15:49 PDT 2015 -->
<title>Uses of Class org.apache.hadoop.mapreduce.lib.db.MySQLDBRecordReader (Hadoop 2.6.0-mr1-c... |
@implementation WYEvent
@end
|
/* Finds the distance between the origin and a polytope (defined by its vertices) using bullet's low level functions. Uses GJK and EPA algorithms.
Author: Anirudha Majumdar
Date: Nov 8 2013
*/
///We need internal access to bullet
// #include "GL_Simplex1to4.h"
#include "LinearMath/btTransform.h"
#include "BulletColl... |
var App = require('app');
var modelSetup = require('test/init_model_test');
require('models/stack_service_component');
/**
Component properties template:
{
componentName: 'SUPERVISOR',
expected: {
displayName: 'Supervisor',
minToInstall: 1,
maxToInstall: Infinity,
isRequired: t... |
title: APP - Parametres
# Page des parametres
## Code source
Lien du raw sur [github](https://raw.githubusercontent.com/Blackksoulls/phoenix3/prod/phoenix/src/pages/option/option.ts) *(Pour le telecharger voir dans la partie [Support](../help.md) de la doc)*
## Explication du fonctionnement
*Le code est en typescript... |
/**
* IFT2905 : Interface personne machine
* Projet de session: FlibityBoop.
* Team: Vincent CABELI, Henry LIM, Pamela MEHANNA, Emmanuel NOUTAHI, Olivier TASTET
* @author: Emmanuel Noutahi, Vincent Cabeli
*/
package com.maclandrol.flibityboop;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStr... |
namespace app {
namespace Fuse {
namespace Navigation {
struct WhileCanGoBack;
struct WhileCanGoBack__uType : ::app::Fuse::Navigation::WhileHistoryTrigger__uType
{
};
WhileCanGoBack__uType* WhileCanGoBack__typeof();
void WhileCanGoBack___ObjInit_4(WhileCanGoBack* __this);
bool WhileCanGoBack__get_IsOn(WhileCanGoBac... |
import unittest
from flask import url_for
from app import create_app, db
from app.models import User, Role
class FlaskClientTestCase(unittest.TestCase):
def setUp(self):
self.app = create_app('testing')
self.app_context = self.app.app_context()
self.app_context.push()
db.create... |
body { padding-top: 50px; }
.no-border { border: 0 !important; }
/* Offset modals from the top of the screen to match the top nav. */
.ReactModal__Overlay, .ReactModal__Content { margin-top: 50px; }
/* Give modals a dark shaded background and overwrite some defaults set by ReactModal. */
.ReactModal__Overlay { backgr... |
package com.maimart.fx.tablefilter.popup;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javafx.beans.binding.Bindings;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ListPrope... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SuperMap.Web.Core;
using System.Text;
namespac... |
<span style="font-family: sans-serif; text-align: center; width: 100%;">
© 2009 Ryan Joseph --
<a href="http://rpj.me">rpj.me</a>
</span> |
<?php
/**
* ALIPAY API: alipay.open.app.call.query request
*
* @author auto create
* @since 1.0, 2019-04-12 11:57:10
*/
class AlipayOpenAppCallQueryRequest
{
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodCode;
private $apiVersion="1.0";
private $notifyUrl;
private ... |
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<!--Replace placeholder ID with your tracking ID-->
<string name="ga_trackingId">UA-36768262-7</string>
<!--Enable Activity tracking-->
<bool name="ga_autoActivityTracking">true</bool>
<!--Enable automatic exception tracking-->
<bool name="ga_reportUnca... |
<?php
namespace UsersORM\om;
use \BasePeer;
use \Criteria;
use \PDO;
use \PDOStatement;
use \Propel;
use \PropelException;
use \PropelPDO;
use UsersORM\Users;
use UsersORM\UsersPeer;
use UsersORM\map\UsersTableMap;
/**
* Base static class for performing query and update operations on the 'users' table.
*
*
*
*... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Wed Jun 10 23:20:35 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class... |
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
namespace OpenDis.Enumerations.DistributedEmission.Iff
{
/// <summary>
/// Enumeration values for Type5OperationalParameter1 (der.iff.type.5.sop.param1, Operational Parameter 1,
/// sectio... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.protocol.sip;
import java.io.*;
import java.text.*;
import javax.sip.*;
import javax.sip.address.*;
import javax.sip.header.*;
impo... |
package org.scalatra
import org.scalatest.BeforeAndAfterEach
import org.scalatra.test.scalatest.ScalatraFunSuite
import skinny.micro.{ SkinnyMicroFilter, SkinnyMicroServlet }
private class ExpectedFilterException extends RuntimeException
private class FilterTestServlet extends SkinnyMicroServlet {
var beforeCount ... |
Chicago Transit System Experiment
Version: Python 3.4.3 (Anaconda Package)
###Task 1
Travis doesn't know the number of the bus he was riding. Find likely candidates by parsing the data just downloaded and identifying vehicles traveling northbound of Dave's office.
Dave's office is located at:
Latitude: 41.980262
Lon... |
package com.lerx.bbs.vo;
public class BbsThreadInf {
private BbsTheme themeLeader;
private BbsTheme themeTail;
private int leaderCount;
public BbsTheme getThemeLeader() {
return themeLeader;
}
public void setThemeLeader(BbsTheme themeLeader) {
this.themeLeader = themeLeader;
}
public BbsTheme getThemeTai... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Fri Nov 04 13:24:42 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... |
package PetStore;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Table(name = "tbl_master")
@Entity
public class Master extends BaseEntity
{
@Column
private String username;
@Column
private String password;
public Master... |
extern "Java"
{
namespace java
{
namespace awt
{
namespace image
{
class BufferedImage;
class IndexColorModel;
class Raster;
class SampleModel;
}
}
namespace math
{
class BigInteger;
}
}
}
class java::awt::image::IndexColor... |
require 'thor'
require 'apothecary'
require 'json'
require 'rack'
require 'apothecary/web'
module Apothecary
class CLI < Thor
# ===== ACTIONS ====================================================================================================
desc 'actions', 'List all actions defined in the project.'
d... |
<html ng-app="ngPres">
<head>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.0-beta.2/angular.js"
></script>
<script type="text/javascript" src="ng-pres.js"></script>
<link rel="stylesheet" type="text/css" href="ng-pres.css"/>
</head>
... |
package org.jetbrains.plugins.scala.lang.resolve2
class ImportAccessTest extends ResolveTestBase {
override def folderPath: String = {
super.folderPath + "import/access/"
}
def testInheritedPrivate(): Unit = doTest()
def testInheritedPrivateClash1(): Unit = doTest()
// def testInheritedPrivateClash2 = do... |
namespace sql {
// This empty constructor initializes our reference with an empty one so that
// we don't have to NULL-check the ref_ to see if the statement is valid: we
// only have to check the ref's validity bit.
Statement::Statement()
: ref_(new Connection::StatementRef),
succeeded_(false) {
}
Statemen... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title... |
'use strict';
angular
.module('myApp.tasks', ['ngRoute'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/tasks', {
templateUrl: 'features/tasks/tasks.html',
controller: 'TasksCtrl'
});
}])
.controller('TasksCtrl', TasksCtrl);
/**
*... |
@Model.TaskDetailsViewModel
|
/*
* 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 writing, software
... |
<!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.5.0_08) on Fri Feb 02 17:24:47 PST 2007 -->
<TITLE>
Uses of Class org.apache.hadoop.record.RecordReader (Hadoop 0.11.0 API)
</TITLE>
<LINK REL ="styles... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Revis. gen. pl. (Leipzig) 3: 464 (1898)
#### Original name
Pleurotus semi-infundibuliformis P. Karst.
### Remarks
null |
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright no... |
layout: default
---
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
{% if page.link %}
<h1 class="post-title" itemprop="name headline"> <a href="{{ page.link }}" target="_blank"> {{ page.title | escape }}</a></h1>
{% else %}
<h1 class="post... |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18331
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... |
using namespace v8;
void init_classes(Handle<Object> exports) {
NodeHasp::Init(exports);
}
NODE_MODULE(hasp, init_classes)
|
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>4.0.0</modelVersion>
<artifactId>parent.eclipse.language</artifactId>
<packaging>pom</pa... |
<component name="libraryTable">
<library name="support-vector-drawable-25.3.1">
<CLASSES>
<root url="jar://$USER_HOME$/.android/build-cache/90c9e8947afdb05ee45f5b6e3c91dd818653e1bc/output/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.android/build-cache/90c9e8947afdb05ee45f5b6e3c91dd818653e1bc... |
```
Increase cardiac output --> Increase coronary blood flow --> Increase myocadial oxygen perfusion
```

pproximately 2 centimeters (0.79 in)
## Mechanism
### Actively deflates in systole
Increasing forward blood flow by reducin... |
#include "watchman.h"
#if HAVE_FSEVENTS
struct watchman_fsevent {
struct watchman_fsevent *next;
w_string_t *path;
FSEventStreamEventFlags flags;
};
struct fsevents_root_state {
int fse_pipe[2];
pthread_mutex_t fse_mtx;
pthread_cond_t fse_cond;
pthread_t fse_thread;
struct watchman_fsevent *fse_h... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Review of Palaeobotany and Palynology 78 (3-4), September: 360.
#### Original name
null
### Remarks
null |
<?php
require(__DIR__.'/vendor/autoload.php');
$validate = new \PHPixie\Validate();
// Imagine you want to validate this structure
$data = array(
'name' => 'Pixie',
// 'home' is a subdocument
'home' => array(
'location' => 'forest',
'name' => 'Oak'
),
// 'spells' is ... |
The Timestamp Microservice API will take the first parameter/string and determine if it's a date. If so, the API will return contents like so:
{"unix":1435017600,"natural":"June 23, 2015"}
This is a challenge for [Free Code Camp] (http://freecodecamp.com) that can be found here:
[http://www.freecodecamp.com/challen... |
<?php
namespace Magento\Catalog\Model\Layer\Filter\Price;
use Magento\Catalog\Model\Layer\Filter\Item\DataBuilder;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\Pricing\PriceCurrencyInterface;
use Magento\Store\Model\ScopeInterface;
class Render
{
const XML_PATH_ONE_PRICE_INTERVAL ... |
// This file automatically generated by:
// Apache Etch 1.1.0-incubating (LOCAL-0) / c 1.1.0-incubating (LOCAL-0)
// Fri Aug 28 15:58:20 CEST 2009
// This file is automatically created and should not be edited!
/*
* helloworld_listener_main.c
*/
#include "helloworld_listener_main.h"
#include "etch_objecttype... |
package com.google.javascript.rhino.jstype;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
import static com.google.javascript.rhino.jstype.JSTypeIterations.allTypesMatch;
import static com.google.javascript.rhino.jstype.JSTypeIteration... |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sys1yagi.core">
<application android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
>
</application>
</manifest>
|
package com.collective.modelmatrix.transform
import com.collective.modelmatrix.{ModelFeature, ModelMatrix, TestSparkContext}
import org.apache.spark.sql.Row
import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType}
import org.scalatest.FlatSpec
import scalaz.syntax.either._
import scalaz.{-... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class UpdateResourceCountRequest : APIRequest
{
public UpdateResourceCountRequest() : base("updateResourceCount") {}
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
namespace ModernDynamicData.Host.Web.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
... |
set :application, "capistrano-custom-maintenance"
set :repository, "."
set :deploy_to do
File.join("/home", user, application)
end
set :deploy_via, :copy
set :scm, :none
set :use_sudo, false
set :user, "vagrant"
set :password, "vagrant"
set :ssh_options, {
:auth_methods => %w(publickey password),
:keys => File.jo... |
FROM balenalib/iot-gate-imx8-ubuntu:bionic-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apt-ge... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
namespace ImovelBase;
use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;
class Module
{
public function onBootstrap(MvcEvent $e)
{
$eventManager = $e->getApplication()->getEventManager();
$moduleRouteListener = new ModuleRouteListener();
$moduleRouteListener->attac... |
require_relative "sqlite/views"
module Scenic
module Adapters
class Sqlite
class FeatureNotSupportedError < StandardError
def initialize
super "Sqlite3 does not support this feature"
end
end
def initialize(connectable = ActiveRecord::Base)
@connectable = conne... |
// <copyright file="UserDefinedFunction.cs" company="Peter Ibbotson">
// (C) Copyright 2017 Peter Ibbotson
// </copyright>
namespace ClassicBasic.Interpreter
{
/// <summary>
/// Function definition.
/// </summary>
public class UserDefinedFunction
{
/// <summary>
/// Gets or sets li... |
module Rnn; end
|
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 Tyler Wong
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... |
package com.rackspace.com.papi.components.checker.step.base
import javax.servlet.FilterChain
import com.rackspace.com.papi.components.checker.servlet._
import com.rackspace.com.papi.components.checker.step.results.{MismatchResult, MultiFailResult, Result}
import scala.collection.mutable.ListBuffer
//
// Steps tha... |
package com.amazonaws.services.controltower.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.controltower.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* EnableControlRequestMarshaller
*/
@Ge... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-... |
package com.xcode.mobile.smilealarm;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.widget.Button;
/**
* Created by quochuy on 12/10/2015.
*/
public class ViewHelper {
public static void setupToolbar(AppCompatAc... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>R Language on Datathings' Blog</title>
<link>http://datathings.com/blog/tags/r-language/index.xml</link>
<description>Recent content in R Language on Datathings' B... |
function [J, grad] = linearRegCostFunction(X, y, theta, lambda)
%LINEARREGCOSTFUNCTION Compute cost and gradient for regularized linear
%regression with multiple variables
% [J, grad] = LINEARREGCOSTFUNCTION(X, y, theta, lambda) computes the
% cost of using theta as the parameter for linear regression to fit the ... |
@extends('layouts.app')
@section('Digital shop', 'Page Title')
@section('sidebar')
@parent
@endsection
@section('content')
<div class="container">
<div id="loginbox" style="margin-top:50px;" class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
<div class="panel panel-info" >
... |
/*
*
* Area
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import { FormattedMessage } from 'react-intl';
import { createStructuredSelector } from 'reselect';
import { Button, Col } from 'react-bootstrap';
import Uri fro... |
FROM pypy:2-slim
COPY . /maxwell-faker
RUN cd /maxwell-faker && pip install .
|
require 'hash_queue/hash'
require 'hash_queue/queue'
module HashQueue
extend self
def new
Hash.new
end
end
|
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
# :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
has_one :apikey
def add... |