text stringlengths 3 1.05M |
|---|
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace Org.Achartengine.Util {
// Metadata.xml XPath class reference: path="/api/package[@name='org.achartengine.util']/class[@name='MathHelper']"
[global::Android.Runtime.Register ("org/achartengine/util/MathHelper", DoNotGenerateAcw=... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
package wb.control;
public interface OnYesNoDialogListener {
void OnYesNoDialog(int typ, Boolean antwort);
}
/*
antwort: 0: negativ, 1: positiv
typ: dialogtyp zur Unterscheidung
TODO: std YesNo dialog auch auf diesen Listener umstellen!!
*/ |
#region Using directives
using System;
using System.Drawing;
using System.Windows.Forms;
using log4net;
using treeDiM.Basics;
using treeDiM.StackBuilder.Basics;
using treeDiM.StackBuilder.Graphics;
using treeDiM.StackBuilder.Desktop.Properties;
using treeDiM.PLMPack.DBClient;
using treeDiM.PLMPack.DBClient.PLMPackS... |
/**
Styles for old GFX form widgets
**/
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
*|*::-moz-fieldset-content {
display: block;
height: 100%; /* Need this so percentage heights of k... |
package com.mcmod.inter;
public interface WindowAdapter {
}
|
package com.qumasoft.guitools.qwin.operation;
import static com.qumasoft.guitools.qwin.QWinUtility.warnProblem;
import com.qumasoft.qvcslib.MergedInfoInterface;
import com.qumasoft.qvcslib.QVCSException;
import com.qumasoft.qvcslib.UserLocationProperties;
import com.qumasoft.qvcslib.Utility;
import com.qumasoft.qvcsl... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="Sample.Sample" android:versionCode="1" android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<application android:label="FoldingLayout Samples" android:icon="@drawable/icon"></application>... |
using Newtonsoft.Json;
namespace TETCSharpClient.Request
{
internal class TrackerGetRequest : RequestBase
{
public TrackerGetRequest()
: base(Protocol.CATEGORY_TRACKER, Protocol.TRACKER_REQUEST_GET)
{
}
[JsonProperty(PropertyName = Protocol.KEY_VALUE... |
$(document).ready(function() {
// confirmation box
$('a[data-confirm]').click(function(ev) {
var href = $(this).attr('href');
if (!$('#dataConfirmModal').length) {
$('body').append(
'<div id="dataConfirmModal" class="modal" role="dialog" aria-labelledby="dataConfirmLabel" aria-hidd... |
#region License
#endregion
#region Contact
/*
* Leslie Sanford
* Email: jabberdabber@hotmail.com
*/
#endregion
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Sanford.Multimedia.Timers;
namespace Sanford.Multimedia.Midi
{
/// <summary>
/// Generates clock events internall... |
#include "config.h"
#if ENABLE(WEBGL)
#include "WebGLFramebuffer.h"
#include "WebGLRenderingContext.h"
namespace WebCore {
namespace {
bool isAttachmentComplete(WebGLObject* attachedObject, GC3Denum attachment)
{
ASSERT(attachedObject && attachedObject->object());
ASSERT(attachedObject->... |
function Copy-LabModule {
<#
.SYNOPSIS
Copies Lability PowerShell and DSC Resource modules.
#>
[CmdletBinding(SupportsShouldProcess)]
param (
## Specifies a PowerShell DSC configuration document (.psd1) containing the lab configuration.
[Parameter(Mandatory, ValueFromPipelineByProper... |
<?php
namespace Eeemarv\EeemarvBundle\Form\DataTransformer;
use Symfony\Component\Form\DataTransformerInterface;
class DateTimeToStringTransformer implements DataTransformerInterface
{
public function __construct()
{
}
/**
* @param \DateTime|null $datetime
* @return string
*/
pu... |
:mod:`yadll.utils`
Utils
=====
.. automodule:: yadll.utils
.. autosummary::shared_variable
.. autofunction:: to_float_X
.. autofunction:: shared_variable
.. autofunction:: format_sec
.. autofunction:: timer |
// Code generated by injection-gen. DO NOT EDIT.
package fake
import (
context "context"
filtered "knative.dev/caching/pkg/client/injection/informers/caching/v1alpha1/image/filtered"
factoryfiltered "knative.dev/caching/pkg/client/injection/informers/factory/filtered"
controller "knative.dev/pkg/controller"
i... |
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [KIntent](index.md) / [invoke](./invoke.md)
# invoke
`operator fun invoke(function: `[`KIntent`](index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/... |
bilibili api 解析用<br />
参数说明:av=av号,bv=bv号<br />
建议使用iframe调用视频,比如
<iframe src="//player.bilibili.com/player.html?aid={av号}&bvid={bv号}&cid={cid}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
|
from pysmt.shortcuts import *
from pysmt.typing import REAL, INT
from pysmt.test import TestCase, skipIfSolverNotAvailable, main
from pysmt.exceptions import NoSolverAvailableError
from pysmt.logics import UFLIRA
class TestInterpolation(TestCase):
def test_selection(self):
with self.assertRaises(NoSolverA... |
define(['jquery', 'swig', 'ckeditor', 'app/pager', 'fileupload', 'comp/dialog/index', 'app/base', 'api/index'],
function ($, swig, CKEDITOR,Pager, upload, Dialog, BaseController, API) {
var jQuery = $;
//console.log(CKEDITOR)
var userId = parseInt(window.location.pathname.split('/')[2]);
api = new ... |
import j from 'jscodeshift';
import preserveQuote from './preserveQuote';
export default {
find(ast, moduleName) {
return ast.find(j.CallExpression, {
callee: {
name: 'require'
}
}).filter(requireStatement => (
requireStatement.value.arguments[0].type === 'Literal' && [...moduleName... |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004-2020 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redist... |
import requests
import sys
import os.path
import time
status=0
url='http://192.168.200.3:8080/motech-platform-server/module/mds/rest/alertsmodule/alert'
Critical_Count = 0
High_Count = 0
Medium_Count = 0
Low_Count = 0
File='/tmp/AllmotechAlert.csv'
Header="DATE TIME"+","+"id"+","+"priority"+","+"alertType"+","+"name"+... |
package gov.nih.nci.cagrid.portal.portlet.browse.sharedQuery;
import gov.nih.nci.cagrid.portal.dao.catalog.CatalogEntryDao;
import gov.nih.nci.cagrid.portal.domain.catalog.SharedQueryCatalogEntry;
import gov.nih.nci.cagrid.portal.domain.dataservice.Query;
import gov.nih.nci.cagrid.portal.portlet.PortalPortletIntegrati... |
#include "coda-ascbin.h"
#include "coda-definition.h"
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* cursor should point to record for this function */
static int get_relative_field_bit_offset_by_index(const coda_cursor *cursor, long field_index, int64_t *rel_bi... |
/**
* @file
* Address Resolution Protocol module for IP over Ethernet
*
* Functionally, ARP is divided into two parts. The first maps an IP address
* to a physical address when sending a packet, and the second part answers
* requests from other machines for our physical address.
*
* This implementation complies... |
"""Tests for BPD and music playing.
"""
from __future__ import (division, absolute_import, print_function,
unicode_literals)
from test._common import unittest
from beetsplug import bpd
class CommandParseTest(unittest.TestCase):
def test_no_args(self):
s = r'command'
c = bp... |
<?php
namespace Dez\ORM\Relation;
class HasOne extends Relation
{
protected function makeRelation()
{
$related = $this->related;
$this->collection = $related::query()->where($this->foreignKey, $this->ids)->find();
}
}
|
export default function createHOC(hocClassFactory, prefix = 'with') {
return (options) => {
return WrappedComponent => {
const componentName = WrappedComponent.displayName || WrappedComponent.name;
const hocClass = hocClassFactory(options);
hocClass.displayName = `${prefix}${hocClass.name}(${com... |
/**
* cc.Sprite invalid index on the cc.SpriteBatchode
* @constant
* @type Number
*/
cc.SPRITE_INDEX_NOT_INITIALIZED = -1;
/**
* generate texture's cache for texture tint
* @function
* @param {HTMLImageElement} texture
* @return {Array}
*/
cc.generateTextureCacheForColor = function (texture) {
if (text... |
__author__ = 'buddha'
from . import app
import models
from BeautifulSoup import BeautifulStoneSoup
from pprint import pprint
# import simplejson
import urllib, urllib2
from flask import render_template, flash, redirect, url_for
class TMError(Exception):
pass
@app.route('/')
@app.route('/index')
def index():
... |
@interface CMSDocument : NSObject
@property (strong, nonatomic, readonly) NSManagedObjectContext *managedObjectContext;
@property (strong, nonatomic, readonly) NSManagedObjectModel *managedObjectModel;
@property (strong, nonatomic, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly... |
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
namespace MinimalContainer.Tests.Utility
{
public class Perf
{
private readonly Action<string> Log;
public Perf(Action<string> log) => Log = log;
private static double MeasureTicks(Action action)
{
... |
module Azure::EventGrid::Mgmt::V2019_01_01
module Models
#
# Result of the List Operations operation
#
class OperationsListResult
include MsRestAzure
# @return [Array<Operation>] A collection of operations
attr_accessor :value
#
# Mapper for OperationsListResult class... |
<?php
namespace OpenConext\EngineBlock\Metadata\MetadataRepository;
use Exception;
use InvalidArgumentException;
use Mockery;
use OpenConext\EngineBlock\Metadata\Entity\IdentityProvider;
use OpenConext\EngineBlock\Metadata\Entity\ServiceProvider;
use OpenConext\EngineBlock\Metadata\Utils;
use PHPUnit_Framework_Error;... |
require "jurisdiction/version"
module Jurisdiction
module DSL
def jurisdiction(concern, opts={}, &b)
mod = Module.new
mod.instance_eval &b
if Array(opts[:using]).include?(:capybara)
mod.send :extend, Capybara::DSL
end
mref = Jurisdiction.const_set(concern.to_s.capitalize,... |
const ioHook = require('../../index');
const robot = require('robotjs');
describe('Keyboard events', () => {
afterEach(() => {
ioHook.stop();
});
it('receives the text "hello world" on keyup event', (done) => {
expect.assertions(22);
const chars = [
{ keycode: 35, value: 'h' },
{ keycod... |
@charset "UTF-8";
/* 全局变量 */
/* master样式 */
/* 全局样式 */
body, h1, h2, h3, h4, h5, .ui.button, .ui.modal > .header .ui.menu, .ui.header, pre {
font-family: "Hiragino Sans GB", "open sans", "sans-serif", "Helvetica", "STHeiti", "Arial", "Microsoft YaHei", "simsun";
-webkit-font-smoothing: antialiased;
-moz-osx-font-... |
angular.module('AppModule', ['ngRoute',
'SeriadoModule',
'GeneroModule',
'AutenticacaoModule'
])
.controller('AppController', ['$scope', function($scope) {
}])
/* **************************************************
* Configuração das rotas
*/
.config(['$routeProvider', function ($routeProvider) { ... |
/* jshint esversion: 6 */
let fs = require("fs");
let load = require("require-reload")(require);
let CSV;
// Bootstrap data
let data = {
csv: {},
json: {}
};
let path = (dataset, format) => `./datasets/${format}/${dataset}.${format}`;
let readFile = (dataset, format) => (err, file) => {
if (err) throw err;
da... |
package mongoDriver;
import com.mongodb.MongoClient;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import org.bson.Document;
import java.util.ArrayList;
/* This class connect with the localhost mongo and with
* the database 'myDatabase'. Use the GridFS to find metadata
* info ab... |
"""The Android IP Webcam integration."""
from __future__ import annotations
from pydroid_ipcam import PyDroidIPCam
import voluptuous as vol
from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry
from homeassistant.const import (
CONF_HOST,
CONF_NAME,
CONF_PASSWORD,
CONF_PORT,
CONF_SCA... |
class DashboardController < ApplicationController
before_action :authenticate_user!
def index
@application_list = Log.access_filter(current_user).uniq.pluck(:application)
@activity_list = Log.access_filter(current_user).uniq.pluck(:activity)
end
def get_monitoring_data
application = params[:appli... |
from m5.params import *
from m5.SimObject import SimObject
class MemoryControl(SimObject):
abstract = True
type = 'MemoryControl'
cxx_class = 'MemoryControl'
version = Param.Int("");
ruby_system = Param.RubySystem("")
mem_bus_cycle_multiplier = Param.Int(10, "");
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<Gallery
android:id="@+id/gallery"
android:layout_width="match_parent... |
using System;
namespace De.Osthus.Ambeth.Merge.Model
{
public interface IEntityLifecycleExtension
{
void PostCreate(IEntityMetaData metaData, Object newEntity);
void PostLoad(IEntityMetaData metaData, Object entity);
void PrePersist(IEntityMetaData metaData, Object entity);
}
}
|
CKEDITOR.plugins.setLang( 'div', 'et', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Soovitatav pealkiri',
cssClassInputLabel: 'Stiililehe klassid',
edit: 'Muuda Div',
inlineStyleInputLabel: 'Reasisene stiil',
langDirLTRLabel: 'Vasakult paremale (LTR)',
langDirLabel: 'Keele suund',
langDirRTLLabel:... |
package org.papoose.core;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import java.util.jar.Attribute... |
<?php
/**
* SMOF Admin
*
* @package WordPress
* @subpackage SMOF
* @since 1.4.0
* @author Syamil MJ
*/
function generate_options_css($newdata) {
$data = $newdata;
$css_dir = get_stylesheet_directory() . '/css/'; // Shorten code, save 1 call
ob_start(); // Capture all output (output bufferin... |
var path = require("path");
var dirname = path.dirname;
var loaderUtils = require("loader-utils");
var nodeResolve = require("resolve").sync;
var walk = require('pug-walk');
module.exports = function(source) {
this.cacheable && this.cacheable();
var modulePaths = {};
modulePaths.pug = require.resolve("pug");
modu... |
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { Router } from 'react-router';
import App from './components/App';
const root = document.getElementById('root');
render(
<Provider>
<Router>
<App />
</Router>
</Provider>... |
package org.broadinstitute.hellbender.tools.funcotator.compositeoutput;
import htsjdk.variant.variantcontext.VariantContext;
import org.broadinstitute.hellbender.tools.funcotator.FuncotationMap;
import org.broadinstitute.hellbender.tools.funcotator.OutputRenderer;
import java.util.List;
/**
* Class to make multipl... |
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by referrer-policy/generic/tools/generate.py using referrer-policy/generic/template/test.release.html.template. -->
<html>
<head>
<title>Referrer-Policy: Referrer Policy is not explicitly defined</title>
<meta name="description" content="Check that sub-resource gets... |
<?php
namespace EntityManager50f2c3d8e37d3_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM;
/**
* CG library enhanced proxy class.
*
* This code was generated automatically by the CG library, manual changes to it
* will be lost upon next generation.
*/
class EntityManager extends \Doctrine\ORM\Entit... |
ACCEPTED
#### According to
Belgian Species List
#### Published in
null
#### Original name
null
### Remarks
null |
#define LUA_API extern "C" __declspec(dllimport)
extern "C"
{
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
}
// IElement members
int LuaElement_GetElementSysName(lua_State *L);
int LuaElement_GetElementType(lua_State *L);
int LuaElement_GetElementID(lua_State *L);
// Additional f... |
<md-dialog class="pip-dialog pip-options-dialog layout-column"
min-width="400" md-theme="{{ $ctrl.theme }}">
<md-dialog-content class="pip-body lp0 tp0 rp0 bp24 pip-scroll">
<div class="pip-header" >
<h3>{{ ::$ctrl.title | translate }}</h3>
<div ng-show="$ctrl.checkboxOpti... |
require "map"
module MVCLI
module Provisioning
MissingScope = Class.new StandardError
def self.included(base)
base.send :extend, Requires
end
module Requires
def requires(*deps)
deps.each do |dep|
self.send(:define_method, dep) {Scope[dep]}
end
end
en... |
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@*common:drawable/ic_settings_more"
android:tint="@*common:color/settings_side_icons" /> |
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="generator" content="Hugo 0.30.2" />
<title>Ezra ... |
class Point {
/**
* Create a point.
* @param {number} x - The x value.
* @param {number} y - The y value.
*/
constructor(x, y) {
this.x = x;
this.y = y;
}
/**
* Get the x value.
* @return {number} The x value.
*/
getX() {
return this.x;
}
... |
var OrdersListCtrl = function($route, $routeParams, $location, $window, apiRequests, sessionCache, commonUtils, formUtils) {
OrdersCtrl.call(this, $route, $routeParams, $location, $window, apiRequests, sessionCache, commonUtils, formUtils);
this.processListParams();
this.getOrders(this.page);
this.researchers... |
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("Pa... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:amq="http://activemq.apache.org/schem... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import * as ReactDOM from 'react-dom';
import { elementTypeAcceptingRef } from '@material-ui... |
package com.yahoo.platform.yui.compressor;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Hashtable;
class ScriptOrFnScope {
private int braceNesting;
private ScriptOrFnScope parentScope;
private ArrayList subScopes;
private Hashtable identifiers = new Hasht... |
<?php
namespace SilverStripe\AssetAdmin\Forms;
use SilverStripe\AssetAdmin\Controller\AssetAdmin;
use SilverStripe\Assets\File;
use SilverStripe\Assets\Folder;
use SilverStripe\Forms\FormField;
use SilverStripe\ORM\DataObject;
/**
* For providing schema data to the client side to build a preview field with upload r... |
#pragma once
#include <openssl/ec.h>
#include "stuffer/s2n_stuffer.h"
#include "crypto/s2n_hash.h"
struct s2n_ecc_named_curve {
/* See https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8 */
uint16_t iana_id;
/* See nid_list in openssl/ssl/t1_lib.c */
int libcrypto_... |
module Azure::Web::Mgmt::V2016_03_01
module Models
#
# Stamp capacity information.
#
class StampCapacity
include MsRestAzure
# @return [String] Name of the stamp.
attr_accessor :name
# @return [Integer] Available capacity (# of machines, bytes of storage
# etc...).
... |
package com.qihoo360.replugin.sample.demo1.fragment;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.qihoo360.replugin.RePlugin;
import com.qihoo360.replugin.sample.demo1.... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_char_ncpy_01.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml
Template File: sources-sink-01.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate ... |
using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.CSharp.Worksheets.Management
{
public class AddingWorksheetsToNewExcelFile
{
public static void Run()
{
// ExStart:1
// The path to the documents directory.
string dataDir = RunExamples.Get... |
require 'rails_helper'
RSpec.describe 'Login', type: :system do
it 'shows login form' do
visit root_path
expect(page).to have_content 'ユーザー名'
expect(page).to have_content 'パスワード'
end
describe 'signin with username and password' do
before do
allow(User).to receive(:username).and_return('use... |
Use Nimble to express the expected outcomes of Swift
or Objective-C expressions. Inspired by
[Cedar](https://github.com/pivotal/cedar).
```swift
// Swift
expect(1 + 1).to(equal(2))
expect(1.2).to(beCloseTo(1.1, within: 0.1))
expect(3) > 2
expect("seahorse").to(contain("sea"))
expect(["Atlantic", "Pacific"]).toNot(con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DojoTypeDescriptor.Controllers
{
[RoutePrefix("home")]
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
return View(... |
<?php
declare(strict_types=1);
namespace Ivory\Value\Alg;
use Ivory\Exception\IncomparableException;
/**
* Specifies that the implementing object can compare itself to other values, making a total order.
*/
interface IComparable extends IEqualable
{
/**
* Compares this object to another value.
*
... |
// Project: angulate2 (https://github.com/jokade/angulate2)
// Description:
// Copyright (c) 2017 Johannes.Kastner <jokade@karchedon.de>
// Distributed under the MIT License (see included LICENSE file)
package de.surfice.angulate2.sbtplugin
import de.surfice.sbtnpm.assets.AssetsPlugin
import de.surf... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.4.4; Nexus 5 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/19.77.34.5 Mobile Safari/537.36</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<l... |
import {EnlistFeedbackEffects} from './enlist-feedback.effects';
import {EnlistHistoryPageEffect} from './enlist-history-page.effect';
import {EnlistProgressPageEffects} from './enlist-progress-page.effects';
import {EnlistUpdatePageEffects} from './enlist-update-page.effects';
import {EnlistEffects} from './enlist.eff... |
using System;
using System.Globalization;
using System.Threading;
using SettingsManager.Serialization.Cryptography.Helpers;
namespace SettingsManager.Serialization.Cryptography {
public class PlainTextEncoder : EncoderBase {
/// <summary>
/// Encodes a primitive <see cref="object"/> into an encod... |
class TagNode(object):
def __init__(self, tagname, tagmap):
self.tagname = tagname
self.content = set()
self.next = {} # TagName: Tag
self.path = None
tagmap.setpath(tagname, self)
def insert(self, tagtree):
tagtree.path = self.path + "." + tagtree.tagname
... |
package main
import (
"fmt"
"time"
mqtt "github.com/eclipse/paho.mqtt.golang"
)
func onMessagePub(client mqtt.Client, msg mqtt.Message) {
fmt.Printf("topic: %s\n %s\n", msg.Topic(), msg.Payload())
}
func onConnect(client mqtt.Client) {
fmt.Println("connected.")
}
func onDisconnect(client mqtt.Client, err err... |
module QLearn where
import qualified Helpers
import qualified Data.Map as Map
import Table
getQ :: (Ord state, Ord action) => state -> Table state action-> action -> Double
getQ state q action = table q Map.! (state, action)
greater :: (Ord a) => a -> a -> a
greater x y = if x > y then x else y
getMaxActionVal :: (... |
package com.paypal.psix.activities;
import android.os.Bundle;
import com.paypal.psix.R;
import com.paypal.psix.models.Event;
import com.paypal.psix.utils.HasEvent;
/**
* Created by benny on 3/3/15.
*/
public class SetupEventActivity extends PSixActionBarActivity implements HasEvent {
public Event event;
... |
import logging
import os
import requests
import six
from collections import OrderedDict
from django.conf import settings
from django.contrib.auth import authenticate, login
from django.contrib.auth.models import User
from django.core import management
from horizon_contrib.common import get_class
from leonardo.models i... |
package com.seasual.socketnio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import java.util.HashMap;
import java... |
namespace some_ns {
struct any_foo
{
explicit any_foo (int i);
void print () const;
void print ();
struct ignored_nested_struct
{
int i;
};
};
bool operator< (any_foo lhs, any_foo rhs);
namespace some_other_ns {
class any_bar
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-checker: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... |
package org.apereo.cas.support.oauth.validator.token;
import org.apereo.cas.support.oauth.OAuth20Constants;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.util.OAuth20Utils;
import org.apereo.cas.support.oauth.web.endpoints.OAuth20ConfigurationContext;
import lombok.val;
im... |
package nl.rostykerei.cci.ch02.q08;
public class LoopDetectionBackrunnerTest extends LoopDetectionAbstractTest {
@Override
protected LoopDetection<String> createTestInstance() {
return new LoopDetectionBackrunner<>();
}
} |
A Chrome extension to that converts units of measurement.
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<meta name="author" content="KSHITIJ SARAOGI">
<meta name="description" content="Context My Downloads folder is a mess!
I have got h... |
<!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 (9.0.4) on Mon Mar 12 03:03:52 PDT 2018 -->
<title>edu.ucsb.cs56.projects.games.minesweeper.constants</title>
<meta http-equiv="Content-Type" content=... |
package org.apache.solr.cloud;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Metric;
import com.codahale.metrics.Timer;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.M... |
<!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_67) on Thu Aug 21 16:14:34 BST 2014 -->
<title>Uses of Class figglewatts.slagd.Settings</title>
<meta name="date" content="2014-08-21">... |
package org.aml.typesystem.ramlreader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import org.aml.apimodel.Action;
import org.aml.apimodel.Api;
import org.aml.apimodel.INamedParam;
import org.aml.apimodel.INamedParam.TypeKind;
import org.aml.apimodel.MimeType;
im... |
// *****************************************************************************
// Copyright 2013-2017 Aerospike, 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... |
enum ConfigValueType
{
CONFIG_INT,
CONFIG_FLOAT,
};
union ConfigValueUnion
{
int int_val;
float float_val;
};
enum ConfigValueId // this is the list of the known configuration settings
{
CONFIG_WINDOW_POS_X,
CONFIG_WINDOW_POS_Y,
CONFIG_WINDOW_SIZE_WIDTH,
CONFIG_WINDOW_SIZE_HEIGHT,
CONFIG_MIDDLE_SPLITTER_PER... |
package laol.rt;
import laol.rt.primitives.String;
import java.util.Objects;
/**
* Box types.
*
* @author kpfalzer
* @param <T> primitive type to box.
*/
public abstract class Box<T> extends LaolBase implements Cloneable {
public Box(final T val) {
m_val = val;
}
public final Box<T> set(fi... |