text stringlengths 3 1.05M |
|---|
package partner
import (
"fmt"
"github.com/atnet/gof/app"
"github.com/atnet/gof/web"
"go2o/app/front"
"go2o/app/session"
"net/http"
)
type mainC struct {
app.Context
*front.WebCgi
}
//入口
func (this *mainC) Index(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("<script>location.replace('/dashboard'... |
var parent = require('../../../stable/array/virtual/unshift');
module.exports = parent;
|
For information, api and documentation about this module: visit <b><a href="http://itsa.io">itsa.io</a></b>
[](https://travis-ci.org/itsa/dom-ext)
[](https://ci.testling.com/itsa/dom-ext) |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="lang... |
package apple.coredata;
import apple.NSObject;
import apple.foundation.NSArray;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import org.moe.natj.c.ann.FunctionPtr;
import org.moe.natj.general.NatJ;
import org.moe.natj.general.Pointer;
import org.moe.natj.general.ann.Generated;
import org... |
package eu.arkitech.logging.datastore.lucene;
import ch.qos.logback.classic.spi.ILoggingEvent;
public final class LuceneQueryResult
{
public LuceneQueryResult (final String key, final ILoggingEvent event, final float score)
{
super ();
this.key = key;
this.event = event;
this.score = score;
}
public... |
package com.darrensun.spoj.buglife;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.*;
/**
* SPOJ 3377 - A Bug’s Life
* Created by Darren on 14-8-6.
* Solved by DFS.
* The idea is to find if there is any cycle of odd length.
*/
public class Main {
Parser i... |
@implementation DTPDFViewController
{
DTPDFPage *_PDFPage;
DTPDFImageView *_PDFImageView;
}
- (id)initWithPDFPage:(DTPDFPage *)PDFPage
{
self = [super init];
if (self)
{
_PDFPage = PDFPage;
}
return self;
}
- (void)loadView
{
_PDFImageView = [[DTPDFImageView allo... |
<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright (C) 2015 Google Inc.
~
~ 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... |
package com.komanov.redis.bin
import com.komanov.redis.StringUuidCodec
import io.lettuce.core.RedisClient
import io.lettuce.core.api.StatefulRedisConnection
import java.nio.file.{Files, Paths}
import java.util.UUID
import scala.collection.mutable
// Usage: SET_NAME INPUT_FILE
object DataFiller extends App {
val A... |
<?php
/*
DATA class v1.1 2003-11-25
phil@gyford.com
REQUIRED:
utiltity.php v1.0
GLOBALS:
METADATAPATH /Library/Webserver/haddock/includes/directory/metadata.php
DOCUMENTATION:
Instantiates itself as $DATA.
Includes a metadata file that contains the actual data. It will have an array like:
$this->page =... |
package fr.paris.lutece.portal.web.style;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.lang3.StringUtils;
impor... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="lang... |
from django.db import models
class ResultError(models.Model):
exception_type = models.CharField(max_length=100)
message = models.TextField(null=True, blank=True)
stacktrace = models.TextField(null=True, blank=True)
stdout = models.TextField(null=True, blank=True)
stderr = models.TextField(null=Tru... |
require "kyoudousagyou/version"
module Kyoudousagyou
puts "hello"
end
|
A benchmark of anonymization methods for high-dimensional data implemented in ARX
====
Introduction
------
This repository implements a benchmark comparing the Lightning algorithm implemented in ARX with IGreedy and DataFly.
Setup
------
Please context us at arx.deidentifier@gmail.com for information on ... |
using System;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.UnitTests.Mocks
{
public class MockEventView : View
{
public event EventHandler? Event;
public void InvokeEvent() => Event?.Invoke(this, EventArgs.Empty);
}
} |
sap.ui.define([
"sap/ui/test/opaQunit"
], function (opaTest) {
"use strict";
QUnit.module("Worklist");
opaTest("Should see the table with all entries", function (Given, When, Then) {
// Arrangements
Given.iStartMyApp();
//Actions
When.onTheWorklistPage.iLookAtTheScreen();
// Assertions
Th... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>IndexWriter.PrepareCommit Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css... |
<!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... |
//
// NSManagedObject+CBDActiveRecord.m
// MyCBDCoreDataToolKit
//
// Created by Colas on 10/02/2014.
// Copyright (c) 2014 Colas. All rights reserved.
//
//
//Copyright (c) 2012 Víctor Pena Placer (@vicpenap) http://www.victorpena.es/
//
//Permission is hereby granted, free of charge, to any person obtaining a cop... |
<?php
namespace PSlim\Instruction;
use PSlim\Instruction;
use PSlim\Response\Value;
/**
* Class for execution of FitNesse callAndAssign instruction
*
* @author lltwox <lltwox@gmail.com>
*
*/
class CallAndAssign extends Call {
/**
* Symbol name to store a value under
*
* @var string
*/
... |
@charset "UTF-8";
*,
*::before,
*::after {
box-sizing: border-box;
scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
-webkit-animation-delay: -1ms;
animation-delay: -1ms;
-webkit-animation-duration: 1ms;
animation-duration: 1ms;
-... |
package tmp;
import java.math.BigInteger;
import java.util.Optional;
import java.util.function.UnaryOperator;
import java.util.stream.Stream;
/**
* Created by kmhaswade on 2/24/16.
*/
public class InfiniteStreams {
static Stream<Integer> evens(int start) {
return Stream.iterate(start % 2 == 0 ? start : ... |
package io.quarkus.hibernate.orm.runtime;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceException;
import javax.persistence.spi.Per... |
<!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_45) on Wed Mar 04 22:48:14 CET 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.optaplanner.core.config.local... |
<?php
namespace Sonata\PageBundle\Form\Type;
use Sonata\PageBundle\Model\PageInterface;
use Sonata\PageBundle\Model\PageManagerInterface;
use Sonata\PageBundle\Model\SiteInterface;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList;
use Symfony\Component\O... |
namespace WebCore {
GraphicsOperationCollection::GraphicsOperationCollection(const IntRect& drawArea)
: m_drawArea(drawArea)
{
}
GraphicsOperationCollection::~GraphicsOperationCollection()
{
for (unsigned int i = 0; i < m_operations.size(); i++)
SkSafeUnref(m_operations[i]);
}
void GraphicsOperationC... |
package tutorials.tools;
import java.io.File;
import net.sf.javaml.core.Dataset;
import net.sf.javaml.tools.data.FileHandler;
/**
* Demonstrates how you can store data to a file.
*
* @author Thomas Abeel
*
*/
public class TutorialStoreData {
public static void main(String[] args) throws Exception {
... |
package speakman.whatsshakingnz.dagger;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.inject.Scope;
/**
* Created by Adam on 15-06-13.
*/
@Scope
@Retention(RetentionPolicy.RUNTIME)
public @interface AppScope {
}
|
use lua;
use config;
use std::{io, libc, str};
static ERROR_HANDLER: &'static str = "error_handler";
/// Manages the Lua state for plugins
pub struct PluginManager {
priv state: lua::State,
priv plugin_dir: Path
}
impl PluginManager {
/// Creates a new PluginManager and loads all the plugins
pub fn n... |
<bp-table class='bp-content'>
<bp-cell>Here be some details<bp-cell>
<bp-table>
|
// Copyright 2021 Google Inc.
//
// 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... |
#ifdef USE_TI_UIWINDOW
#import "TiUIWindowProxy.h"
#import "Webcolor.h"
#import "TiUIViewProxy.h"
#import "ImageLoader.h"
#import "TiComplexValue.h"
#import "TiApp.h"
#import "TiTabController.h"
#import "TiLayoutQueue.h"
// this is how long we should wait on the new JS context to be loaded
// holding the UI thread b... |
package org.apache.druid.frame.allocation;
import com.google.common.base.Preconditions;
import org.apache.datasketches.memory.WritableMemory;
import org.apache.druid.collections.ResourceHolder;
import org.apache.druid.java.util.common.ISE;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.Opti... |
-- Function: "FormBuilder".refresh_question_ts_data(integer)
-- DROP FUNCTION "FormBuilder".refresh_question_ts_data(integer);
CREATE OR REPLACE FUNCTION "FormBuilder".refresh_question_ts_data(qid integer)
RETURNS integer AS
$BODY$
DECLARE
f RECORD;
q RECORD;
a RECORD;
av RECORD;
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fundamental-arithmetics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../b... |
<manifest package="permissions.dispatcher"
xmlns:tools="http://schemas.android.com/tools">
<uses-sdk tools:overrideLibrary="android.support.v13"/>
</manifest>
|
App.ProfileRoute = App.AuthenticatedRoute.extend({
model : function(params) {
// find presence based on the presence_id provided by the route
return this.store.fetchById('presence', params.presence_id);
},
setupController : function(controller, model) {
// set the appli... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SED xmlns="http://www.ivoa.net/xml/Spectrum/Spectrum-1.01.xsd" xmlns:ns2="http://www.w3.org/1999/xlink">
<BaseSegment>
<Char>
<SpectralAxis unit="Angstrom" ucd="em.wl" name="Wavelength">
<Resolution>0.0</Resolution>
... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">android-application-override</string>
<string name="hello_world">Hello world!</string>
</resources>
|
package structures
package laws
trait MonoidLaws[A] extends SemigroupLaws[A] {
implicit val typeClass: Monoid[A]
import Monoid.ops._
def combineRightIdentity(x: A): IsEqual[A] =
(x |+| typeClass.empty) =?= x
def combineLeftIdentity(x: A): IsEqual[A] =
(typeClass.empty |+| x) =?= x
}
object MonoidL... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace DNCP.AngleSharpDemo.Migrations
{
/// <summary>
///
/// </summary>
public partial class updatedb : Migration
{
/// <summary>
///
/// </summary>
/// <param name... |
package org.apache.spark.sql.hive.execution
import java.io.File
import java.util.{Locale, TimeZone}
import org.scalatest.BeforeAndAfter
import org.apache.spark.sql.catalyst.rules.RuleExecutor
import org.apache.spark.sql.hive.HiveUtils
import org.apache.spark.sql.hive.test.TestHive
import org.apache.spark.sql.inter... |
inFile=${1}
touch inputPA.xml
rm -f inputPA.xml
touch inputPA.xml
echo "<In FileName=\"${1}\" Lumi=\"1.0\" />" >> inputPA.xml
sframe_main PostAnalysis_customInput_config.xml
#cp PostAnalysis.Data1.Reco.root ${1}_PA.root
|
package com.microsoft.azure.management.network.v2019_11_01;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Parameters that define destination of connection.
*/
public class ConnectivityDestination {
/**
* The ID of the resource to which a connection attempt will be made.
*/
@JsonPro... |
vagrant-symfony2
================
Vagrant configuration for Symfony2 applications
|
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EventStore.Projections.Core.Services.Processing
{
public class IndexedEventTypesEventFilter : EventFilter
{
private readonly HashSet<string> _streams;
public IndexedEventTypesEventFilter(string[] eventTypes)
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/vlctechhub.iml" filepath="$PROJECT_DIR$/vlctechhub.iml" />
... |
<?php
namespace Google\AdsApi\AdManager\v202211;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class updateCustomFieldOptionsResponse
{
/**
* @var \Google\AdsApi\AdManager\v202211\CustomFieldOption[] $rval
*/
protected $rval = null;
/**
* @param \Google\AdsApi\AdManager\v202... |
package com.amazonaws.services.connect.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TransferContact" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")... |
package io.reactivex.internal.operators.flowable;
public class FlowableMulticastTest {
// @Test
// public void testMulticast() {
// Processor<String, String> source = PublishProcessor.create();
//
// ConnectableObservable<String> multicasted = new OperatorMulticast<String, String>(source, new Pub... |
package definiti.core.validation.controls
import definiti.common.ast._
import definiti.common.control.{Control, ControlLevel, ControlResult}
import definiti.core.validation.helpers.{ExpressionControlHelper, ParameterControlHelper, TypeReferenceControlHelper}
private[core] object FunctionParametersControl extends Cont... |
<?php
/*
* Users of PHP 5.2 should be able to run the requirements checks.
* This is why the file and all classes must be compatible with PHP 5.2+
* (e.g. not using namespaces and closures).
*
* ************** CAUTION **************
*
* DO NOT EDIT THIS FILE as it will be overridden by Composer as part of
* ... |
<?php
namespace AframeVR\Core\Assets;
use \AframeVR\Core\Exceptions\BadComponentCallException;
use \AframeVR\Interfaces\Core\Assets\MixinInterface;
use \AframeVR\Core\Helpers\AssetsAbstract;
final class Mixin extends AssetsAbstract implements MixinInterface
{
/**
* DOM tag name of asset item
*
* ... |
casename='case #11'
prefix_msg='DEBUGDEBUG'
echo ">>>>>> $prefix_msg client test $casename : preparing..."
pkill -INT memcached
sleep 2
rm zk_noti
rm op_ignore
touch ch_exception
touch delay_switchover
./run.memcached.bash master 11215
sleep 1
./run.memcached.bash master 11216
sleep 5
echo ">>>>>> $prefix_msg clie... |
package data.player;
import com.wrapper.spotify.SpotifyApi;
import com.wrapper.spotify.exceptions.SpotifyWebApiException;
import com.wrapper.spotify.requests.data.player.SkipUsersPlaybackToPreviousTrackRequest;
import org.apache.hc.core5.http.ParseException;
import java.io.IOException;
import java.util.concurrent.Can... |
package com.google.cloud.managedidentities.v1beta1.samples;
// [START managedidentities_v1beta1_generated_ManagedIdentitiesService_CreateMicrosoftAdDomain_async]
import com.google.api.core.ApiFuture;
import com.google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomainRequest;
import com.google.cloud.managediden... |
Template.Content.helpers({
section: function() {
var slug = FlowRouter.getParam('slug');
return Sections.findOne({
slug: slug
});
}
});
|
module Data.Mathematica.Parser where
import Data.Mathematica
import Prelude hiding (takeWhile)
import Control.Applicative
-- import qualified Data.Attoparsec as P
-- import Data.Attoparsec.Combinator
import Data.Attoparsec.Char8
import qualified Data.ByteString.Char8 as BC
import Debug.Trace
alphanumeric :: C... |
<?xml version="1.0" encoding="utf-8" ?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 没有焦点时的背景颜色 -->
<item android:state_window_focused="false" android:drawable="@android:color/white" />
<!-- 非触摸模式下获得焦点并单击时的背景颜色 -->
<item android:state_focused="true" android:state_presse... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>CrossTalk December 2007</title>
<link rel="stylesheet" href="../cogges.css">
<link rev=made href="mailto:cogges.pcc@comlab.ox.ac.uk">
</head>
<body bgcolor="#ffffff">
<center>
<t... |
layout: post
title: "CSS for all hours"
date: 2015-05-28 10:00:00
tags: javascript
project: "https://github.com/JaredCubilla/goodnight"
author: "https://github.com/JaredCubilla"
pn: "Goodnight"
an: "Jared Cubilla"
description: "Goodnight is a JavaScript library that swaps your stylesheet depending on the time of da... |
using System.Collections.Generic;
using NUnit.Framework;
namespace RDumont.NugetContentGenerator.Runtime.Tests
{
[TestFixture]
public class GeneratorTests
{
[Test]
public void Get_extension_from_file_path()
{
// Arrange
var path = "/path/to/some/file.abc.cs"... |
package waiter_test
import (
"bytes"
"io/ioutil"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
"github.com/aws/aws-sdk-go/awstesting"
"github.com/revinate/etcd2s3/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws"
"github.com/revinate/etcd2s3/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
N. Amer. Fl. (New York) 10(1): 58 (1914)
#### Original name
Lepiota muticolor Murrill
### Remarks
null |
<?php
namespace Mobly\MoblyBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class XmlControllerTest extends WebTestCase
{
public function testXml()
{
$client = static::createClient();
$crawler = $client->request('GET', '/xml');
}
}
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/whiteBtn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
... |
package org.osiam.auth.token;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.osiam.resources.scim.User;
import org.springframework.security.oauth2.common.DefaultExpiringOAuth2RefreshToken;
import org.springframework.security.oauth2.common.DefaultOAuth2... |
<!DOCTYPE html>
<html lang="en" xml: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">
<link rel="shortcut icon" href="https://www.mexpro.com/images/favicon.ico">
<title>Temporary Vehicle Im... |
:label:`sec_adadelta`
Adadelta is yet another variant of AdaGrad (:numref:`sec_adagrad`). The main difference lies in the fact that it decreases the amount by which the learning rate is adaptive to coordinates. Moreover, traditionally it referred to as not having a learning rate since it uses the amount of change itse... |
import argparse
from multiprocessing import Pool
import os
import sys
import yaml
from bakery_cli import pipe
from bakery_cli.bakery import Bakery, BAKERY_CONFIGURATION_DEFAULTS
from bakery_cli.utils import UpstreamDirectory
def run_bakery(sourcedir, config=None):
try:
if config:
config = ya... |
package com.facebook.buck.rules;
import com.facebook.buck.model.Pair;
import com.facebook.buck.util.cache.FileHashCache;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Function;
import com.google.common.base.Optional;
import com.google.common.base.Preconditions;
import com.goog... |
let {session, contextGroup, Protocol} = InspectorTest.start(
'Test Counters collection using Profiler.getCounters.');
var source =
`
function fib(x) {
if (x < 2) return 1;
return fib(x-1) + fib(x-2);
}
fib(5);
`;
function buildCounterMap(result) {
let counterMap = new Map();
let counters = result.result.... |
@extends('app')
@section('content')
<section class="container-fluid">
<div class="row">
<div class="col-sm-2">
@include('awesovel.app.html.partials.sidebar')
</div>
<div class="col-sm-10">
<div class="row card">
<... |
from setuptools import setup
setup(name="measurement", use_scm_version=True)
|
package org.apache.sis.internal.filter;
import java.util.Collection;
import org.apache.sis.filter.Expression;
/**
* A factory of {@code org.opengis.filter} functions identified by their names.
* Each factory can provide an arbitrary number of functions, enumerated by {@link #getNames()}.
* The {@link org.apache.... |
class StatusResult
attr_accessor :train_num
attr_reader :resp_txt, :resp_hash, :train_code
def initialize(response_txt, train_code, dep_station=nil)
@resp_txt = response_txt
@train_code = train_code
@resp_hash = parse_text(response_txt, train_code, dep_station)
@dep_station = dep_station
en... |
package ca.pfv.spmf.input.sequence_database_list_strings;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import ca.pfv.spmf.input.sequence_database_array_integers.SequenceDatabase;
/**
* Implementation of a sequence as a list of itemsets, where an itemset is a list of... |
<!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/html; charset=utf-8" />
<title>Contact Information — Cavro XP3000 GUI 1.0 do... |
package tuling
import (
"bytes"
"crypto/md5"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"time"
"github.com/lvzhihao/goutils"
)
var TulingErrorCode = map[int]string{
40001: "参数 key 错误",
40002: "请求内容 info 为空",
40004: "当天请求次数已使用完",
40007: "数据格式异常",
}
var TulingTypeCode = map[int]string{
100000... |
package org.jetbrains.idea.maven.importing;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.roots.*;
import com.intellij.openapi.roots.libraries.Library;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.pom.java.LanguageLevel;
import org.jetbrains.annotations.NotNull;
import or... |
<!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="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
<style type="text/css">
* {
margin... |
using Demo.Platformer.Screens;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using MonoGame.Extended.Screens;
namespace Demo.Platformer
{
public class GameMain : Game
{
// ReSharper disable once NotAccessedField.Local
private readonly GraphicsDeviceManager _graphicsDevice... |
"use strict";
describe("define/definition/class", function () {
if (gpf.internals) {
var _GpfClassDefinition = gpf.internals._GpfClassDefinition,
_GpfClassDefMember = gpf.internals._GpfClassDefMember;
describe("Class name", function () {
it("exposes name properties (no n... |
'use strict';
const express = require('express');
const path = require('path');
const bodyParser = require('body-parser');
const app = express();
//middleware
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
// app.get('/', (req, res) => {
// res.sendFile(path.join(__dirname, 'index.... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using ServiceStack.Common.Tests.Models;
namespace ServiceStack.Text.Tests
{
[TestFixture]
public class GenericCollectionTests
: TestBase
{
[Test]
public void Can_serialize_Queue_string()
{
var queue = new Q... |
package org.apache.harmony.luni.internal.locale;
public class Currency_pt_PT extends java.util.ListResourceBundle {
protected Object[][] getContents() {
Object[][] contents = {
{"PTE","Esc.",},
};
return contents;
}
}
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... |
package org.quicktheories.generators;
import static org.assertj.core.api.Assertions.assertThat;
import static org.quicktheories.impl.GenAssert.assertThatGenerator;
import org.junit.Test;
import org.quicktheories.WithQuickTheories;
import org.quicktheories.core.Gen;
import org.quicktheories.generators.CodePoints;
pub... |
<div class="topbar">
<div class="headtitle font18"><#$shopinfo[0]['shopname']#></div>
</div> |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Taskling.Blocks.Common
{
public enum BlockExecutionStatus
{
NotDefined = 0,
NotStarted = 1,
Started = 2,
Completed = 3,
Failed = 4
}
}
|
using System;
#endregion
namespace SimpleFramework.Xml.Stream {
/// <summary>
/// The <c>InputPosition</c> object is used to acquire the line
/// number within the XML document. This allows debugging to be done
/// when a problem occurs with the source document. This object can
/// be converted to a stri... |
Find a random MEP and write a mail or a fax in your browser.
## Installation
pimail depends on:
* Python 2
* web.py
* Jinja2
* flup
* GeoIP
install with ```pip install -r requirements.txt```
Edit the mail.tmpl and files in static/ to your liking
Edit settings.py (look at settings.py.tmpl for an example file)
Fil... |
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
export default class DashboardRoute extends AuthenticatedRoute {
beforeModel() {
super.beforeModel(...arguments);
if (this.session.user.isContributor) {
return this.transitionTo('posts');
} else if (!this.sessio... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddin... |
export default class PhotoMarkerOverlayView extends google.maps.OverlayView {
constructor( imgUrl, latLng ) {
super( );
this.imgUrl = imgUrl;
this.latLng = latLng;
}
onAdd( ) {
this.div = document.createElement( "div" );
this.div.style.position = "absolute";
this.div.classList.add( "photo... |
package com.fitbur.playground.hk2.factory.impl;
/**
*
* @author Sharmarke Aden
*/
public class PerThreadInstance {
}
|
/**
* @license Angular v0.10.1
* (c) 2010-2019 Google LLC. https://angular.io/
* License: MIT
*/
!function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MI... |
/* Set the defaults for DataTables initialisation */
$.extend( true, $.fn.dataTable.defaults, {
"sDom": "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>",
"sPaginationType": "bootstrap",
"oLanguage": {
"sLengthMenu": "_MENU_ records per page"
}
} );
/* Default class modification */
$.extend... |