text
stringlengths
3
1.05M
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title> <!-- CSS --> <link href="../../css/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="../../css/flat-ui.min.css" rel="stylesh...
Mapbox is awesome. But it doesn't have an official gem. :( So.... This the the _**unofficial**_ way to connect to the [Static Map API from MapBox](http://mapbox.com/developers/api/). This gem provides a simple way to create a static map and add markers. ## Installation Add this line to your application's Gemfile: ...
<?php namespace UniversalMatcher; interface Matcher { /** * The value returned when there is no match * * @return callable */ public function getDefault(); /** * Match a value and return the associated value * * @param mixed $value * @return mixed */ pub...
package yss.sheldon.ychacknews.business; import java.util.ArrayList; import java.util.List; import yss.sheldon.ychacknews.Utls; import yss.sheldon.ychacknews.job.ItemJob; /** * Created by yss on 9/30/2015. */ public class StoryManager { private static StoryManager _instance; private List<Integer> _topStor...
// // Copyright 2018 SenX S.A.S. // // 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...
namespace Cal { class Plane: public Geometry { public: Plane(btDiscreteDynamicsWorld* dynamicsWorld, const btVector3& normal = btVector3(0, 1, 0), const float distance = 0.f); glm::mat4 getWorldTransform(); ~Plane(); static std::vector<glm::vec3> initPlaneVertices(); static std::vector<glm::vec3> i...
package com.ap.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.sprin...
package com.hazelcast.durableexecutor.impl; import com.hazelcast.durableexecutor.impl.operations.DisposeResultBackupOperation; import com.hazelcast.durableexecutor.impl.operations.DisposeResultOperation; import com.hazelcast.durableexecutor.impl.operations.PutResultBackupOperation; import com.hazelcast.durableexecut...
class TestConverter < MiniTest::Unit::TestCase def test_string converter = Confuse::Converter[String] assert_equal '1', converter.call(1) assert_equal '1.0', converter.call(1.0) assert_equal 'true', converter.call(true) assert_equal 'false', converter.call(false) assert_equal 'foo', converter...
module Spree class AffiliateEmail < ActiveRecord::Base belongs_to :spree_user, class_name: "User" end end
{% extends "caproy/base.html" %} {% block title %}Capture Royale{% endblock %} {% block content %} <div class="row"> <div class="col-md-4"> <h2>Sign out</h2> <p class="lead">You have signed out.</p> <br/> <a href="/" class="btn btn-lg btn-primary">Return to ...
require "my_mongoid/version" require "active_support" require "active_model" require "moped" class MyMongoid::DuplicateFieldError < RuntimeError end class MyMongoid::UnknownAttributeError < RuntimeError end class MyMongoid::UnconfiguredDatabaseError < RuntimeError end class MyMongoid::RecordNotFoundError < RuntimeE...
/** * \file * \brief Nameserver application */ /* * Copyright (c) 2016 ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zur...
angular.module('app.services') .factory('commentService', commentService) commentService.$inject = ['$http', 'URLS', 'httpService']; function commentService($http, URLS, httpService) { return { getCommentByEvent: getCommentByEvent, getResponseList: getResponseList, registerComment: registerComment } ...
set -o errexit set -o errtrace set -o nounset set -o pipefail IFS=$'\n' DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )" source "$DIR/.venv/bin/activate" echo "[*] Running flake8..." flake8 archivebox && echo "√ No errors found." echo echo "[*] Running mypy..." echo "(skipping for n...
Tools for packaging and testing FxOS system updates Acknowledgements ================ For convenience, these scripts depend on a number of prebuilt binaries to minimize local build dependencies: * bin/$HOST/adb is from AOSP, and is licensed under the Apache Public License v2. Source code can be found [here](https:/...
Node.js sdk for Paypal Adaptive Payments and Paypal Adaptive Accounts APIs, without dependencies ### Usage * Add dependency 'paypal-adaptive' in your package.json file. * Require 'paypal-adaptive' in your file. ```js var Paypal = require('paypal-adaptive'); var paypalSdk = new Paypal({ userId: ...
#include "tensorflow/lite/tools/benchmark/benchmark_performance_options.h" #include <algorithm> #include <iomanip> #include <memory> #include <sstream> #include <utility> #include "tensorflow/core/util/stats_calculator.h" #include "tensorflow/lite/c/c_api_internal.h" #if defined(__ANDROID__) #include "tensorflow/li...
#include <linux/input.h> #include "recovery_ui.h" #include "common.h" #include "extendedcommands.h" char* MENU_HEADERS[] = { NULL }; char* MENU_ITEMS[] = { "reboot primary system now", "reboot secondary system now", "dual boot menu", "install zip", ...
package org.apache.jmeter.protocol.http.sampler; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.URL; import java.net.URLDecoder; import ja...
/* * 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 * distribut...
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <CheckBoxPreference android:title="Fondo de pantalla estático" android:key="toggle_scrolling_wallpaper" android:defaultValue="false" android:summaryOn="Activado *\nFon...
@interface NetworkTools : AFHTTPSessionManager //全局访问入口 + (instancetype)sharedNetworkTools; @end
from django.conf.urls import url from annotation import views urlpatterns = [ url(r'^$', views.index, name='annotation_index'), url(r'^start_annotation/(?P<basicviz_experiment_id>\w+)/$',views.start_annotation, name='start_annotation'), url(r'^query/(?P<basicviz_experiment_id>\w+)/$', views.query_annotatio...
#ifndef _DATATYPES_H_ #define _DATATYPES_H_ typedef unsigned __int64 Uint64; typedef unsigned __int32 Uint32; typedef unsigned __int16 Uint16; typedef unsigned __int8 Uint8; typedef unsigned int Uint; typedef signed __int64 Sint64; typedef signed __int32 Sint32; typedef signed __int16 Sint16; typedef si...
namespace Dropbox.Api.TeamLog { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>Network control policy</para> /// </summary> public class NetworkControlPolicy { #pr...
package snssqs import ( "context" "fmt" "regexp" "sync" "time" "unicode" "unicode/utf8" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/arn" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/sns" "github.com/aws/aws-sdk-go/ser...
<?php /** * Website Core API calls * * Allow URLs like: * /api/core/status/ => access required: accessAPIStatus * /api/core/update-all/ => access required: accessAPIUpdateAll * * * @return string JSON encoded string containing API call result *...
<?php namespace Firewall\Filesystem\Exception; class FileNotWritableException extends FileException { }
/* -------------------------------------------------------------------------- *\ * utils.ts * Author: Ramiro Rojo <ramiro.rojo.cretta@gmail.com> * Apache 2.0 License - See LICENSE for details. * -------------------------------------------------------------------------- * This file is part of the pixi-isometric-til...
#if !defined(AFX_FILTERSCRIPT_H__93AC86E5_361D_4440_A988_32A0702CAAB5__INCLUDED_) #define AFX_FILTERSCRIPT_H__93AC86E5_361D_4440_A988_32A0702CAAB5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "PackagerFilter.h" #include "../engine_core/wme_ad/dcgf_ad.h" class CFilterScri...
package me.blackphreak.dynamicdungeon; import me.blackphreak.dynamicdungeon.Command.CommandHandler; import me.blackphreak.dynamicdungeon.Command.Core.DefaultCoreCommand; import me.blackphreak.dynamicdungeon.Listeners.MythicMobDeadthEventListener; import me.blackphreak.dynamicdungeon.Listeners.PlayerInteractEventL...
require 'irby' irb
#ifndef __eigen_openma_interp1_linear_h #define __eigen_openma_interp1_linear_h #include "Interp1_base.h" namespace Eigen { namespace internal { template <typename VectorType> struct Interp1Linear : Interp1Base<VectorType> { typedef typename VectorType::Scalar Scalar; typedef typename Ve...
package com.nshirley.engine3d.graphics; import java.awt.image.BufferedImage; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import javax.imageio.ImageIO; import org.lwjgl.opengl.GL30; import com.nshirley.engine3d.N3D; import...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
#include <iostream> #include <typeinfo> #include <memory> #include <stack> #include <functional> #include <atomic> #include <mutex> #include <thread> #include <chrono> #include <condition_variable> #include <exception> #define BOOST_TEST_MODULE RepeatTask #include <boost/test/unit_test.hpp> #include "cool/ng/async....
namespace IoT { namespace NetworkEnvironment { namespace { static Poco::SingletonHolder<NetworkEnvironmentServiceServerHelper> shNetworkEnvironmentServiceServerHelper; } NetworkEnvironmentServiceServerHelper::NetworkEnvironmentServiceServerHelper(): _pORB(0) { _pORB = &Poco::RemotingNG::ORB::instance(); registe...
Public NotInheritable Class SplashScreen1 'TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab ' of the Project Designer ("Properties" under the "Project" menu). Private Sub SplashScreen1_Load(ByVal sender As Object, ByVal e As System.EventArgs) ...
package org.apereo.portal.events.aggr; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import com.google.common.base.Function; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import...
.. currentmodule:: pandas .. _api: ************* API Reference ************* .. _api.functions: Input/Output ------------ Pickling ~~~~~~~~ .. autosummary:: :toctree: generated/ read_pickle Flat File ~~~~~~~~~ .. autosummary:: :toctree: generated/ read_table read_csv read_fwf Clipboard ~~~~~...
package org.springframework.boot.test.context; import org.springframework.beans.BeansException; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.spr...
SYNONYM #### According to Index Fungorum #### Published in Meded. Dept. Landb. Suriname 1: [2] (1915) #### Original name Melanopsammopsis Stahel ### Remarks null
require 'volt/utils/ejson' module Volt # The tasks class provides an interface to call tasks on # the backend server. This class is setup as page.task (as a singleton) class Tasks def initialize(volt_app) @volt_app = volt_app @promise_id = 0 @promises = {} volt_app.channel.o...
ProjectJava Beblue Test
 #include <aws/sagemaker/model/DescribeDomainResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/UnreferencedParam.h> #include <utility> using namespace Aws::SageMaker::Model; using namespace Aws::Uti...
// // LMJCollectionViewController.h // PLMMPRJK // // Created by HuXuPeng on 2017/4/11. // Copyright © 2017年 GoMePrjk. All rights reserved. // #import "LMJBaseViewController.h" #import "LMJElementsFlowLayout.h" #import "LMJVerticalFlowLayout.h" #import "LMJHorizontalFlowLayout.h" @class LMJCollectionViewControll...
package manifest import ( "github.com/cloudfoundry-incubator/candiedyaml" "github.com/starkandwayne/cf-cli/cf/errors" "github.com/starkandwayne/cf-cli/generic" "io" "os" "path/filepath" ) type ManifestRepository interface { ReadManifest(string) (*Manifest, error) } type ManifestDiskRepository struct{} func N...
package com.amazonaws.services.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath" target="_top">AWS API * Documentation</a> */ @Generated("com.amazonaws:aws-java-sdk-...
#include <nanokernel.h> #include <sys_io.h> #include <stdio.h> #include <rtc.h> #include <init.h> #include <clock_control.h> #include "board.h" #include "rtc_dw.h" #define RTC_CLK_DIV_DEF_MASK (0xFFFFFF83) #define CCU_RTC_CLK_DIV_EN (2) #ifdef RTC_DW_INT_MASK static inline void _rtc_dw_int_unmask(void) { sys_writ...
package com.rationaleemotions.internal.locators; import static com.rationaleemotions.internal.locators.DefaultWaitConditions.AVAILABLE; import static com.rationaleemotions.internal.locators.DefaultWaitConditions.CLICKABLE; import static com.rationaleemotions.internal.locators.DefaultWaitConditions.REFRESHED; import st...
<?xml version="1.0" encoding="utf-8"?> <!-- 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/license...
package com.brucecloud.fastclone; import com.brucecloud.fastclone.bean.CompareBean; import com.brucecloud.fastclone.bean.EnumBean; import com.brucecloud.fastclone.bean.OtherBean; import org.junit.jupiter.api.Test; import java.net.MalformedURLException; import java.sql.Time; import java.sql.Timestamp; import java.util...
sudo eopkg up -y # Install developer packages sudo eopkg it -c system.devel -y # Install my apps sudo eopkg it bmon feedreader gdm geany geary git glances gnome-clocks gnome-session gnome-shell hdparm htop kernel-headers nautilus-dropbox ncdu nmap nvidia-glx-driver openjdk-8 openssh-server pithos plank screen viewnior ...
package me.ykrank.s1next.viewmodel; import androidx.databinding.ObservableField; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import android.view.View; import me.ykrank.s1next.data.api.Api; import me.ykrank.s1next.data.api.app.model.AppVote; import me.ykrank.s1next.data.api.model.Vote; im...
<?php $options = isset($options) ? $sf_data->getRaw('options') : null; ?> <?php // Override me to reorder these and add custom stuff. For deeper changes you'll ?> <?php // have to override _sidebar.php. Ideally you won't, because we update that partial ?> <?php // to fix bugs and so forth. Here the only thing you have...
function [dataout,varargout] = fracttoratio(data, error) dataout=data./(1-data); % Error if requested if(nargin>1) varargout{1}=abs((data+error)./(1-(data+error)) - (data-error)./(1-(data-error)))/2; end
counter-strike-rcon =================== Counter-Strike 1.6 / HLDS - based server query library written in Python to get information (status/player info) from your server. tests ----- Library has been tested and fully working with Counter-Strike 1.6 RCON server queries. Unit test (test.py) is included and can be ru...
/** * @author Valentin Al. Sitnick * @version $Revision: 1.1 $ * */ /* *********************************************************************** */ #include "events.h" #include "utils.h" #include "fake.h" static bool test = false; static bool util = false; static bool flag = false; /* ***************************...
using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Dhgms.JobHelper.ApiWebSite.Models; namespace Dhgms.JobHelper.ApiWebSite { // Configure the application user manager used in this applica...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="utf-8"> <title>Thought At Work</title> <!--main stylesheet--> <link type="text/css" rel="stylesheet" href="css/main.css"> <!--favicon--> <link type="image/png" rel="shortcut icon" href="img/Page_elements/navBarIcon.png"> <!-- slick --> ...
@interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. return YES; } - (void)applicationWillResignActive:(UIApplication *)applicat...
extensions = [ 'sphinx.ext.todo', 'sphinx.ext.imgmath', 'sphinx.ext.graphviz', 'rst2pdf.pdfbuilder', ] # The master toctree document. master_doc = 'foobar' # General information about the project. project = u'Foobar' copyright = u'2009, Jason S' # The version info for the project you're documenting, ...
/** * Created by vmurali on 7/8/16. */ 'use strict'; var logger = require('winston'); var router = require('express').Router(); var sudokuService = require('../services/sudokuService'); router.post('/*', function (req, res, next) { // Input validation var grid = req.body.sudoku; var validSudokuPattern ...
<?php namespace Stash; use Stash\Exception\Exception; use Stash\Interfaces\DriverInterface; use Stash\Interfaces\ItemInterface; use Stash\Interfaces\PoolInterface; /** * Stash caches data that has a high generation cost, such as template preprocessing or code that requires a database * connection. This class can...
import {singleActionCreatorBuilder as singleActionCreator} from '../single-action-creator'; export const PENDING = 'PENDING'; export const SUCCESS = 'SUCCESS'; export const ERROR = 'ERROR'; import {capitalize, toUpper} from 'lodash/string'; describe('The singleActionCreatorBuilder', ()=> { describe('when called wi...
package com.amazonaws.services.dlm.model; import javax.annotation.Generated; /** * */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public enum LocationValues { CLOUD("CLOUD"), OUTPOST_LOCAL("OUTPOST_LOCAL"); private String value; private LocationValues(String value) { this.va...
import JSONSerializer from 'ember-graph/serializer/json'; /** * @class EmberGraphSerializer * @extends JSONSerializer */ export default JSONSerializer.extend({ polymorphicRelationships: true });
package com.github.jinahya.ejb; import javax.ejb.LocalBean; /** * * @author Jin Kwon <onacit at gmail.com> */ @LocalBean public class CludBean { }
using Microsoft.AspNetCore.Mvc; namespace Cofoundry.Web.Admin; public class PagesApiController : BaseAdminApiController { private readonly IApiResponseHelper _apiResponseHelper; private readonly IDomainRepository _domainRepository; public PagesApiController( IDomainRepository domainRepository, ...
% filename: loadhyph-pt.tex % language: portuguese % % Loader for hyphenation patterns, generated by % source/generic/hyph-utf8/generate-pattern-loaders.rb % See also http://tug.org/tex-hyphen % % Copyright 2008-2014 TeX Users Group. % You may freely use, modify and/or distribute this file. % (But consider adapting...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview An interface for querying and modifying the global * ChromeVox state, to avoid direct dependencies on the Background * obje...
<?xml version="1.0" encoding="UTF-8"?><?mso-application progid="Excel.Sheet"?><Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsof...
intel-iot-refkit ################ This README file contains information on setting up, building, and booting the IoT Reference OS Kit for Intel(r) Architecture project. Only Linux development hosts are currently supported, as documented in the `Yocto Project Quick Start Guide`_ Follow the instructions in this ...
/** * Package for util classes. * @author Eugene Lazarev mailto(helycopternicht@rambler.ru) * @since 27.06.17 */ package ru.elazarev.util;
require 'resolv' actions :create, :delete default_action :create attribute :type, :kind_of => String, :regex => /a|ptr|cname|mx/i, :required => true, :default => nil attribute :ttl, :kind_of => [String, Integer], :regex => /.*/, :default => node['ddnsupdate']['ttl'] attribute :purge, :kind_of =>...
 CKEDITOR.plugins.setLang( 'devtools', 'gl', { title: 'Información do elemento', dialogName: 'Nome da xanela de diálogo', tabName: 'Nome da lapela', elementId: 'ID do elemento', elementType: 'Tipo do elemento' });
import * as ts from 'typescript'; import * as YAML from 'yamljs'; import { ExtendedSpecConfig } from '../cli'; import { MetadataGenerator } from '../metadataGeneration/metadataGenerator'; import { Tsoa, Swagger } from '@tsoa/runtime'; import { SpecGenerator2 } from '../swagger/specGenerator2'; import { SpecGenerator3 }...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package org.jparsercombinator.examples.expression; import static org.jparsercombinator.ParserCombinators.regex; import static org.jparsercombinator.ParserCombinators.skip; import static org.jparsercombinator.ParserCombinators.string; import java.util.List; import org.jparsercombinator.ParserCombinator; import org.jpa...
import { Component } from '@angular/core'; import { AppService } from '../shared/services'; import { PostService } from '../shared/services'; /** * This class represents the lazy loaded HomeComponent. */ @Component({ moduleId: module.id, selector: 'tc-home', templateUrl: 'home.component.html', styleUrls: ['...
<html> <head> <title>User agent detail - Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.8) Vodafone/1.0/HTC_v3600/1.23.164.7</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/i...
package com.bumptech.glide.request.transition; import android.view.View; /** * A {@link Transition} that accepts an interface that can apply an animation like a {@link * android.view.ViewPropertyAnimator} or a {@link android.animation.ObjectAnimator} that can be used * to transition a resource into a {@link View}....
<!DOCTYPE HTML> <html lang="en"> <!-- Mirrored from labs.rampinteractive.co.uk/touchSwipe/docs/symbols/%24.fn.swipe.phases.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 06 Jun 2015 01:14:30 GMT --> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="generator" content="Js...
/* * Copyright (C) 1990,91,92 Silicon Graphics, Inc. * _______________________________________________________________________ ______________ S I L I C O N G R A P H I C S I N C . ____________ | | $Revision: 1.1.1.1 $ | | Classes: | SoFieldSensor | | Author(s) : Paul Strauss | ____________...
namespace foundation { // // A minimalist hash table implementation with many restrictions: // // * No dynamic resizing (the table is cleared on resize) // * Table size must be a power of two // * No deletion of elements // * No control over memory allocation // * get() expects the element to be present in t...
package com.aebd.jMetro.graphs; /** * Clase para indicar los distintos tipos de grafos con los que se trabaja */ public final class ClaseGrafo{ private ClaseGrafo() {} public static final ClaseGrafo ORIENTADO = new ClaseGrafo(); public static final ClaseGrafo NoORIENTADO = new ClaseGrafo(); }
import re from django import template register = template.Library() # def make_tag(tag, size): # tag_splited = tag.split(" ", 1) # if tag_splited[0].endswith("img"): # if size: # tag_edited = "".join( # tag_splited[0] # + ' class="img-responsive"' # ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_102) on Tue May 02 09:44:14 CST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>MagicWaveGraphStrategyParam...
<?xml version="1.0"?> <openerp> <data> <record model="ir.ui.view" id="view_holiday_graph"> <field name="name">hr.holidays.report_graph</field> <field name="model">hr.holidays</field> <field name="priority">20</field> <field name="arch" type="xml"> ...
package org.eh.core.model; import java.util.Map; /** * Controller处理结果 * @author guojing * @date 2014-3-3 */ public class ResultInfo { private String view; // 对应页面路径 private Map<String, Object> resultMap; // 返回参数值 public String getView() { return view; } public void setView(String view) { this.view = v...
""" Warning: the current maximal number of children per node is 9 """ type TreeNode parent::Int id::Int children::Vector{Int} u_value::Float64 b_value::Float64 mean::Float64 sample::Float64 # hoo never samples the same point twice. Hence one sample nb_pulls::Int depth::Int end Tre...
class User < ActiveRecord::Base has_many :lists has_many :favorites, through: :lists has_many :user_categories has_many :categories, through: :user_categories #RECEIVER has_many :pokes, :foreign_key => 'receiver_id' has_many :relists, :foreign_key => 'receiver_id' #GIVER has_many :pokes, :foreign_k...
package io.aos.netty5.udt.echo.message; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.udt.UdtChannel; import io.netty.channel.ud...
package org.gradle.platform.base.internal.toolchain; public interface ResolvedTool<T> extends ToolSearchResult { public T get(); }
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code ; ; least common multiple ; bnLCM proc uses edi esi bnX:DWORD, bnY:DWORD, bnR:DWORD bnCreateX edi,esi invoke bnGCD,bnX,bnY,edi invoke bnMul,bnX,bnY,esi invoke bnDiv,esi,edi,bnR,0 bnDestroyX ret bnLCM endp end
<?php class Users_Controller extends Controller { public function __construct(){ parent::__construct(); } public function users(){ $data['title'] = 'mightyCMS - Users'; $data['description'] = ''; $data['keywords'] = ''; $data['permissions'] = Mighty::Users()->getPermissions(); i...
namespace TotalDischargeExternalProcessor { public class Context { public string Server { get; set; } public string Username { get; set; } = "admin"; public string Password { get; set; } = "admin"; public string ConfigPath { get; set; } public bool CreateMissingTimeSerie...
import { defaultValue } from "../../index.js"; describe("Core/defaultValue", function () { it("Works with first parameter undefined", function () { expect(defaultValue(undefined, 5)).toEqual(5); }); it("Works with first parameter null", function () { expect(defaultValue(null, 5)).toEqual(5); }); it...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="Open Knowledge"> <meta name="description" content="The Global Open Data Index assesse...