text stringlengths 3 1.05M |
|---|
package org.arquillian.extension.governor.jira.xray.api.validation;
import org.arquillian.extension.governor.jira.xray.configuration.JiraPropertiesUtils;
import org.arquillian.extension.governor.jira.xray.domain.TestExecutionIssue;
public class TestExecStatusTodo extends AbstractValidateRule<TestExecutionIssue> {
... |
This is where the data for the flash cards originates from. The `.json` files here get copied to the `dist` directory by `grunt`. Additionally `util/generate-index.js` creates a directory with information about what decks are available, this is triggered by `grunt`.
## Structure
The files should follow the directory... |
package hardware::server::sun::sfxxk::plugin;
use strict;
use warnings;
use base qw(centreon::plugins::script_simple);
sub new {
my ($class, %options) = @_;
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
bless $self, $class;
$self->{version} = '0.1';
%{$self->{modes}} = (
... |
package com.hknochi.gae.model.location;
public class PlacesException extends Exception {
/**
*
*/
private static final long serialVersionUID = 2087991420249641052L;
public PlacesException(String message) {
super(message);
}
public PlacesException(String message, Throwable cause) {
super(message, cause... |
/**************************************************************************//**
* @file ARMSC000.h
* @brief CMSIS Core Peripheral Access Layer Header File for
* ARMSC000 Device Series
* @version V1.08
* @date 23. November 2012
*
* @note
*
*****************************************... |
package com.amazonaws.services.costexplorer.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* The amount of instance usage, in normalized units. You can use normalized units to see your ... |
package org.apache.livy.thriftserver.session;
import java.math.BigDecimal;
import java.nio.ByteBuffer;
import java.nio.file.Files;
import java.util.Arrays;
import java.util.BitSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.apache.spark.SparkContex... |
export * from './date.js';
export * from './id.js';
export * from './log.js';
export * from './matching.js';
export * from './names.js';
export * from './object.js';
export * from './paths.js';
export * from './rand.js';
export * from './task.js';
|
class MainWindow:public Tempest::Window {
public:
MainWindow( Tempest::AbstractAPI& api );
protected:
Tempest::Device device;
Tempest::TextureHolder texHolder;
Tempest::VertexBufferHolder vboHolder;
Tempest::IndexBufferHolder iboHolder;
Tempest::ShaderProgramHolde... |
#include "pepper_interface_mock.h"
PepperInterfaceMock::PepperInterfaceMock(PP_Instance instance)
: instance_(instance),
// Initialize interfaces.
#include "nacl_io/pepper/undef_macros.h"
#include "nacl_io/pepper/define_empty_macros.h"
#undef BEGIN_INTERFACE
#define BEGIN_INTERFACE(BaseClass, PPInterface, I... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/refresh"
android:icon="@drawable/ic_refresh_white_24dp"
android:title="Обновить"
android:showAsAction="never" />
<item
android:id="@+id/list_s... |
The MIT License (MIT)
([TL;DR summary](https://tldrlegal.com/license/mit-license))
Copyright (c) 2015 Jonathan Raiman, Szymon Sidor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restric... |
<?php
/**
* The template for displaying 404 page (not found)
*
* @package WordPress
* @subpackage Grayscale
*/
get_header();
?>
<?php get_footer()?> |
package executor
import (
"bufio"
"bytes"
"fmt"
"io/ioutil"
"net"
"os/exec"
"path/filepath"
"strings"
"time"
gofig "github.com/akutz/gofig/types"
"github.com/akutz/gotil"
"github.com/thecodeteam/rexray/libstorage/api/registry"
"github.com/thecodeteam/rexray/libstorage/api/types"
"github.com/thecodeteam... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\search\MArticleMultSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="marticle-mult-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... |
namespace MassTransit.Serialization.JsonConverters
{
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
public class CaseInsensitiveDictionaryJsonConverter<T, TValue> :
JsonConverter<T>
where T : class, IEnumerable<KeyValue... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>orb-stab: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
name 'os-sumologic'
maintainer 'OrgSync, Inc.'
maintainer_email 'ops@orgsync.com'
license 'MIT'
description 'Installs/Configures os-sumologic'
long_description 'Installs/Configures os-sumologic'
version '0.9.2'
recipe 'os-sumologic::default', 'Installs sumocollector and manages... |
package org.jboss.weld.module.web.logging;
import static org.jboss.weld.logging.WeldLogger.WELD_PROJECT_CODE;
import org.jboss.logging.Logger;
import org.jboss.logging.Logger.Level;
import org.jboss.logging.annotations.Cause;
import org.jboss.logging.annotations.LogMessage;
import org.jboss.logging.annotations.Messa... |
body {
font-family: Consolas, 'Courier New', 'Global Monospace', monospace;
}
#errorPanel {
margin-top: 10px;
margin-bottom: 10px;
}
#errors {
color: #aa0000;
} |
#if !LITE_EDITION
namespace Telerik.JustMock
{
/// <summary>
/// Defines behavior of the static constructor.
/// </summary>
public enum StaticConstructor
{
/// <summary>
/// Defines that the static constructor is not mocked.
/// </summary>
NonMocked,
/// <summary>
/// Defines that is static construc... |
Build Systems may refer to low-level tools, like CMake, or larger systems that run on servers, like Jenkins or TeamCity. This page will talk about both.
# Continuous Integration systems
Probably the most important aspect to using Catch with a build server is the use of different reporters. Catch comes bundled with th... |
layout: page
title: Welcome
subtitle: "David's personal web page and data blog"
published: true
---
<div class="posts-list">
{% for post in paginator.posts %}
<article class="post-preview">
<a href="{{ post.url | prepend: site.baseurl }}">
<h2 class="post-title">{{ post.title }}</h2>
{% if post.subtit... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- v2.4 for tomcat5.5 -->
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>jauth-full-e... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable... |
import {Component, Prop, Vue} from "vue-property-decorator";
@Component
export default class CustomForm extends Vue {
@Prop({ type: String })
uuid!: string;
@Prop({ type: String })
fromEmail!: string;
@Prop({ type: String })
recipient!: string;
@Prop({ type: String })
action!: string... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>extensible-records: 17 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
var searchData=
[
['jtzeroinstruction',['JtZeroInstruction',['../classMIPS_1_1JtZeroInstruction.html',1,'MIPS']]],
['jumpinstruction',['JumpInstruction',['../classMIPS_1_1JumpInstruction.html',1,'MIPS']]]
];
|
enable_testing()
# Allow the use of valgrind for unit tests, and control its usage
# through the FLOG_USE_VALGRIND option.
find_program(VALGRIND_EXECUTABLE valgrind)
if(NOT VALGRIND_EXECUTABLE)
message(STATUS "Valgrind not found: Disabling valgrind tests")
set(FLOG_ENABLE_VALGRIND OFF CACHE BOOL "Enable testing w... |
<?php namespace App\Kernel;
use Symfony\Component\VarDumper\Dumper\CliDumper;
use Symfony\Component\VarDumper\Cloner\VarCloner;
class VarDumper
{
/**
* Dump a value with elegance.
*
* @param mixed $value
*/
public function dump($value)
{
if (class_exists(CliDumper::class)) {
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.proto... |
It supports Java, Clojure, Scala, JRuby, and anything else that runs on the JVM.
## Using
### Assets
If you use Maven, you can simply reference the following
assets:
* Original Client
* [The Client](http://mvnrepository.com/artifact/io.prometheus/client)
* groupId: _io.prometheus_
* artifactId: _cli... |
class Baza::Driver::Mysql < Baza::MysqlBaseDriver
AutoAutoloader.autoload_sub_classes(self, __FILE__)
attr_reader :conn
def self.from_object(args)
raise "Mysql does not support auth extraction" if args[:object].class.name == "Mysql"
end
def initialize(db)
super
@opts = @db.opts
require "m... |
package com.game.bizModule.msgBox.msg;
import com.game.bizModule.global.AllMsgSerialUId;
import com.game.gameServer.msg.AbstractGCMsgObj;
import com.game.part.msg.type.MsgInt;
import com.game.part.msg.type.MsgStr;
/**
* 消息盒子
*
* @author hjj2019
* @since 2015/7/26
*
*/
public class GCMsgBox extends AbstractGCMsg... |
/**
* 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
* distributed... |
using System;
namespace Xceed.Wpf.Toolkit.Media.Animation
{
public class PennerEquation : IterativeEquation<double>
{
#region Constructors
internal PennerEquation( PennerEquationDelegate pennerImpl )
{
_pennerImpl = pennerImpl;
}
#endregion
public override double Evaluate( TimeS... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Entidades;
using Funciones;
namespace Presentacion
{
public partial class frmPropietario : Fo... |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueMaterial from 'vue-material'
import 'vue-material/dist/vue-material.css'
Vue.config.productio... |
FN="Rattus.norvegicus_1.3.1.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/Rattus.norvegicus_1.3.1.tar.gz"
"https://bioarchive.galaxyproject.org/Rattus.norvegicus_1.3.1.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rattus.norvegicus/bioconductor-rattus.norvegic... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
namespace Osmosis {
namespace Chain {
namespace Remote
{
Connection::Connection( const std::string & hostname, unsigned short port, unsigned int tcpTimeout ) :
_connection( hostname, port, tcpTimeout ),
_labelOps( _connection.socket() )
{}
void Connection::putString( const std::string & blob, const Hash & hash )
{
... |
#include <core/dependencies.h>
#ifdef POK_NEEDS_ERROR_HANDLING
#include <types.h>
#include <core/time.h>
#include <core/error.h>
#ifdef POK_NEEDS_DEBUG
#include <libc/stdio.h>
#endif
pok_error_report_t pok_error_reported[POK_ERROR_MAX_LOGGED];
uint16_t pok_error_nb_reported = 0;
void pok_error_log (cons... |
#pragma once
#include <memory>
#include <optional>
#include <type_traits>
#include "resolve_type.hpp"
#include "types.hpp"
namespace hyrise {
class BaseSegmentAccessor {
public:
BaseSegmentAccessor() = default;
BaseSegmentAccessor(const BaseSegmentAccessor&) = default;
BaseSegmentAccessor(BaseSegmentAccessor... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package com.fx.util;
public class Language {
public static String getValue(String key) {
return null;
}
public static String getValue(String key, String language) {
return null;
}
}
|
<HTML><HEAD>
<TITLE>Review for True Lies (1994)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0111503">True Lies (1994)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?James+J.+DiBenedett... |
//
// AppDelegate.m
// iOS-Sim-Viewer
//
// Created by laoyur on 14-10-15.
// Copyright (c) 2014年 laoyur. All rights reserved.
//
#import "AppDelegate.h"
#define KDevicesDirPath @"Library/Developer/CoreSimulator/Devices/"
@interface DeviceInfo : NSObject
@property NSString* UUID;
@property NSString* Name;
@prope... |
package com.game.commen;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;... |
package com.amazonaws.services.certificatemanager.model;
import java.io.Serializable;
/**
* <p>
* This structure is returned in the response object of the
* <a>DescribeCertificate</a> action.
* </p>
*/
public class CertificateDetail implements Serializable, Cloneable {
/**
* <p>
* Amazon Resourc... |
package org.homeautomation.firealarm.controller.api.exception;
public class DeviceTypeException extends Exception {
private static final long serialVersionUID = 2736466230451105441L;
private String errorMessage;
public DeviceTypeException(String msg, DeviceTypeException nestedEx) {
super(msg, ... |
SEQAN_BEGIN_TESTSUITE(test_bam_io)
{
// Test BamAlignmentRecord class.
SEQAN_CALL_TEST(test_bam_io_bam_alignment_record_class);
SEQAN_CALL_TEST(test_bam_io_bam_alignment_record_has_flag_multiple);
SEQAN_CALL_TEST(test_bam_io_bam_alignment_record_has_flag_unmapped);
SEQAN_CALL_TEST(test_bam_io_bam_al... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// Intel® 82093AA I/O Advanced Programmable Interrupt Controller (I/O APIC) Datasheet
// http://www.intel.com/design/chipsets/datashts/29056601.pdf
// 8259A Programmable Interrupt Controller:
// http://pdos.csail.mit.edu/6.828/2005/readings/hardware/... |
""" Metrics for Symmetric Diffeomorphic Registration """
from __future__ import print_function
import abc
from dipy.utils.six import with_metaclass
import numpy as np
import scipy as sp
from scipy import gradient, ndimage
import dipy.align.vector_fields as vfu
from dipy.align import sumsqdiff as ssd
from dipy.align i... |
package org.springframework.cloud.netflix.rx;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration... |
'use strict';
module.exports = {
initialize: function () {
this._set('data', {keyword: undefined, videos: []});
},
handle_UPDATE_SEARCH_RESULT: function (data) {
var old_data = this._get('data');
if (old_data.keyword !== data.keyword) {
this._set('data', data);
... |
package com.therealdanvega.web.rest;
import com.therealdanvega.config.Constants;
import com.codahale.metrics.annotation.Timed;
import com.therealdanvega.domain.User;
import com.therealdanvega.repository.UserRepository;
import com.therealdanvega.security.AuthoritiesConstants;
import com.therealdanvega.service.MailServi... |
#define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */
#define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */
#include <ctype.h> /* to declare isprint() */
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <assert.h>
/* Note: jpeglib.h prerequires stdlib.... |
layout: page
title: About
permalink: /about/
---
I'm a network administrator and a CS student. I like playing with stuff I don't know anything about.
### Contact me
[wgmeyer@gmail.com](mailto:wgmeyer@gmail.com)
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE253_Incorrect_Check_of_Function_Return_Value__char_snprintf_05.c
Label Definition File: CWE253_Incorrect_Check_of_Function_Return_Value.label.xml
Template File: point-flaw-05.tmpl.c
*/
/*
* @description
* CWE: 253 Incorrect Check of Return Value
* Sinks: snpri... |
Imports System
Imports System.Reflection
Imports 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.
' Review the values of the assembly attributes
<Asse... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>demos: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
goog.module('test_files.namespaced.local_namespace');var module = module || {id: 'test_files/namespaced/local_namespace.js'};/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
var unexported;
(function (unexported) {
class Unexported {
}
unexported.Unexported = Unexported;
}... |
package datasource
import akka.actor.{ActorRef, ActorSystem}
import akka.kafka.scaladsl.Consumer
import akka.kafka.{ConsumerSettings, Subscriptions}
import akka.stream.ActorMaterializer
import com.mongodb.BasicDBObject
import com.mongodb.util.JSON
import org.apache.kafka.common.serialization.StringDeserializer
import ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>poi</title>
<link rel="stylesheet" id="bootstrap-css" href="./components/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="./components/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="./assets/css/app.css">
<link ... |
// Copyright 2004-2017 The Poderosa Project.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... |
package io.grpc.xds;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Stopwatch;
impo... |
This example shows you how you create a `DropdownMenu` that displays the
`MenuItem` in a grid using the `listClassName` prop and a few custom styles.
|
[](https://gitter.im/pywinauto/pywinauto?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](http://pywina... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 Emanuel Moecklin
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
Unle... |
package org.apache.wicket.extensions.markup.html.tree;
import javax.swing.tree.TreeModel;
import org.apache.wicket.model.util.GenericBaseModel;
/**
* @author Timo Rantalaiho
*/
@Deprecated
public class WicketTreeModel extends GenericBaseModel<TreeModel>
{
private static final long serialVersionUID = 1L;
/**
... |
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* PHP version 5.6
*
* @category Laravel
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
* @license http://opensource.org/licenses/MIT MIT License
* @link https://laravel.com/docs/5.2 Laravel Documentation
*/
$uri = urldecode... |
[](https://travis-ci.org/octoblu/meshblu-blink1)
[](https://codeclimate.com/github/octoblu/meshblu-blink1)
[ {
return (
<Link
key={post.id}
to={`/writing${post.fields.slug}`}
className="rounded overflow-hidden mb-8 flex flex-col md:w-1/2 lg:w-full lg:flex-row"
>
<img
className="w-full lg:w-1/3 objec... |
<?php
/**
* Author: jack<linjue@wilead.com>
* Date: 15/7/6
*/
namespace Wiz\ResqueBundle\Service;
use Monolog\Handler\RedisHandler;
use Monolog\Logger;
use Psr\Log\NullLogger;
use Wiz\ResqueBundle\Job\ContainerAwareJob;
use Wiz\ResqueBundle\Job\FailedJob;
use Wiz\ResqueBundle\Job\Job;
use Wiz\ResqueBundle\Model\Qu... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/debug.h>
#include <winpr/environment.h>
#if defined(ANDROID)
#include <android/log.h>
#endif
#include <winpr/wlog.h>
#include "wlog/wlog.h"
#include "../../log.h... |
package me.yanaga.querydsl.args.core.single;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDate;
import java.time.LocalDateTime;
public class SingleArgument {
private SingleArgument() {
}
public static SingleBigDecimalArgument of(BigDecimal value) {
return Sin... |
require 'rspec-api/matchers'
module RSpecApi
module Expectations
module Response
module Body
module Filter
def expect_a_filtered(response, expectations = {})
include RSpecApi::Matchers
if should_check_filtered(response, expectations)
it { expect(resp... |
<?php
namespace gossi\trixionary\action\relationship;
use gossi\trixionary\domain\ObjectDomain;
use keeko\framework\foundation\AbstractAction;
use phootwork\json\Json;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\OptionsResolver\OptionsResolver;
use... |
package tests.sql;
import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetClass;
import dalvik.annotation.TestTargetNew;
import junit.framework.TestCase;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;... |
from __future__ import print_function, division, absolute_import
from fontMath.mathFunctions import add, sub, mul, div
# For Python3
try:
unicode
except NameError:
unicode = str
_infoAttrs = dict(
unitsPerEm=int,
descender=int,
xHeight=int,
capHeight=int,
ascender=int,
italicAngle=floa... |
<?php
namespace test\m\n;
class l { } |
import { APP } from '../constants/actionTypes'
const appInitialState = {
loaded: false
}
export default (state = appInitialState, action) => {
switch (action.type) {
case APP.LOAD.SUCCESS:
return {
...state,
loaded: true
}
default:
return state
}
} |
package org.jrivets.beans.auth.web;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
final class CookieUtils {
static String getCookie(HttpServletRequest httpRequest, String cookieName) {
Cookie[] cookies = httpRequest.getCooki... |
layout: post
title: A Jelly-Fish
published: false
---
Visible, invisible,
A fluctuating charm,
An amber-colored amethyst
Inhabits it; your arm
Approaches, and
It opens and
It closes;
You have meant
To catch it,
And it shrivels;
You abandon
Your intent—
It opens, and it
Closes and you
Reach... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.dnd;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.util.Pair;
import com.intellij.openap... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* Coden.cs -- CODEN
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using di... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lambek: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<?php
namespace Gear\Framework;
class Url extends ArrayObject
{
public function __construct(ArrayObject $url = null)
{
parent::__construct();
$source = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$array = $url? $url : $this->parse($source);
$this->exchangeArray($array);
}
private funct... |
/**
* @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a>
* @version $Id$
*/
package org.gridsphere.layout;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.security.Principal;
import java.util.ArrayList;
impo... |
Generate SVGs of your typeracer WPM graphs, like this:
```bash
trchart codeblock # generates codeblock.svg
```
<img src="http://tmp.elrod.me/codeblock.svg" />
# License
BSD3
|
"""Codec for quoted-printable encoding.
This codec de/encodes from bytes to bytes and is therefore usable with
bytes.transform() and bytes.untransform().
"""
import codecs
import quopri
from io import BytesIO
def quopri_encode(input, errors='strict'):
assert errors == 'strict'
f = BytesIO(input)
... |
"""Module for examining contents of Portable glx.
Adapted from module of same name used in Portable Server.
"""
import os
import re
from common import portable_exceptions
import glc_unpacker
NON_COMPOSITE_LAYER = 0
COMPOSITE_BASE_LAYER = 1
UNKOWN_OR_UNREADABLE_GLX_ERROR_MSG = (
"Unknown or unreadable glx: %s. ... |
package org.apache.activemq.artemis.tests.compatibility;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.activemq.artemis.tests.compati... |
using System;
using System.Collections;
using UnityEngine.Events;
using UnityEngine.EventSystems;
namespace UnityEngine.UI.Extensions
{
// Stepper control
[AddComponentMenu("UI/Extensions/Stepper")]
[RequireComponent(typeof(RectTransform))]
public class Stepper : UIBehaviour
{
private Selec... |
"""
General purpose astronomical coordinate handling routines.
"""
import datetime
import logging
import math
import sys
import pytz
from astropy import wcs as pywcs
from casacore.measures import measures
from casacore.quanta import quantity
logger = logging.getLogger(__name__)
# Note that we take a +ve longitude a... |
from __future__ import unicode_literals
from django.utils import timezone
from django.db import models
class Plant(models.Model):
name = models.CharField(max_length=50)
upper_moisture_bound = models.IntegerField(default=100)
lower_moisture_bound = models.IntegerField(default=0)
def __str__(self):
... |
package main
import (
"fmt"
"github.com/shomali11/fridge"
"time"
)
func main() {
redisCache := fridge.NewRedisCache()
client := fridge.NewClient(redisCache)
defer client.Close()
restock := func() (string, error) {
return "Hot Pizza", nil
}
fmt.Println(client.Put("food", "Pizza", fridge.WithDurations(time... |